AXI4STREAM VIF Proxy Object. It has virtual interface for AXI4STREAM VIP interface. Drivers of AXI4STREAM VIP drive transaction/ready onto AXI4STREAM VIP bus interface through APIs(such as put_transaction) of this class, monitor of AXI4STREAM VIP collects AXI4STREAM interface information and convert it into transaction through APIs(get_transaction) in this class.
virtual task wait_aclks( |
| ); |
Waits specified amount of posedge aclk occur
Waits posedge of ACLK of m_vif
Waits posedge of ACLK of m_vif and then wait hold_time
Waits negedge of ACLK of m_vif
Waits areset to be deasserted
Returns 1 if dummy_drive_type is XIL_AXI4STREAM_VIF_DRIVE_X, else returns 0
Generate simplified randomization of xid,xdest and xlast of VIF when user define XIL_DO_NOT_USE_ADV_RANDOMIZATION
Get Dummy Drive Type of m_vif
Waits TVALID of m_vif asserted
function new( |
| ); |
Constructor to create a new axi4stream vif proxy
Starts control processes for operation
Returns clk_edge_counter
Returns clk_edge_time
Sets Dummy Drive type to be XIL_AXI4STREAM_VIF_DRIVE_X
virtual function void set_dummy_drive_type( |
| ); |
Sets Dummy Drive Type
function void assign_vi ( |
| ) ; |
Assigns m_vif
Puts noise on bus
Sets TVALID to be 0 and puts noise onto bus
virtual function void put_transaction( |
| ); |
Puts transaction information onto bus
Collects m_vif information and returns it to transaction class
Sets valid of m_vif to be 1
Sets valid of m_vif to be 0
Sets ready of m_vif to be 1
Sets ready of m_vif to be 0
Returns 1 if TVALID of m_vif is 1, else returns 0
Wait TVALID of m_vif is 1
If HAS_TRAEADY is on, returns 1 if TREADY of clock block in m_vif is 1, else returns 0 If HAS_TRAEADY is off, returns 1.
Returns 1 if TVALID of clock block in m_vif is 1, else returns 0
Returns 1 if ARESET_N of clock block in m_vif is 0, else returns 0
Waits negedge of ARSET_N of m_vif
Waits till TVALID is sampled
Waits till TREADY/TAVLID handshake occurs
Returns 1 if TREADY/TVALID handshake occurs, otherwise returns 0