Test Engine FPGA IP User Guide: Agilex™ 5 and Agilex™ 7 FPGAs

ID 817758
Date 7/08/2024
Public
Document Table of Contents

5.2.2.22. read_cmd

Usage

def pyhydra.ipkits.hydra.driver_mem_axi4.driver_compiler.MemAxi4Driver.read_cmd (cls, iters, arvalid, rready, arid, workers)

Description

Configures the AXI read traffic stream.

This API controls the read traffic stream: generating commands on the AR channel, and monitoring responses on the R channel. You can configure multiple "workers", each controlling a distinct traffic stream for every unique ARID, and the workers are multiplexed onto the AXI bus. This API waits for the generation of all the AR channel commands but does not wait for the R channel responses to return.

Parameters

iters

Number of AXI write commands to generate. Max iterations is 65,536.

arvalid

ARVALID waveform specified as a tuple representing pulse-width-modulation: (on_cycles, total_cycles). Unit is in clock cycles, max total_cycles is 8.

rready

RREADY waveform specified as a tuple representing pulse-width-modulation: (on_cycles, total_cycles). Unit is in clock cycles, max total_cycles is 64.

arid

Worker execution sequence specified as a list of their ARIDs.

workers

List of worker objects (read_worker_op). Every worker in this list must have a unique ARID.

Returns

Compiler IR object