AXI VIF Proxy Class. It has virtual interface for AXI VIP interface.
Drivers of AXI VIP drive transaction/ready onto AXI VIP bus interface through APIs(such as put_w/rdata) of this class,
monitor of AXI VIP collects AXI interface information and convert it into transaction through APIs(get_w/rdata) in this class.
virtual task wait_aclks( |
| ); |
Waits specified amount of posedge of aclk
Waits posedge of ACLK of m_vif
Waits posedge of ACLK of m_vif occurs,then wait hold_time
Waits negedge of ACLK of m_vif
Waits areset to be deasserted
Returns TRUE if the aclk is in the HIGH phase of the cycle.
Returns TRUE if the aclk is in the LOW phase of the cycle.
Returns TRUE if dummy_drive_type is XIL_AXI_VIF_DRIVE_X, else returns FALSE
virtual function xil_axi_vif_dummy_drive_t get_dummy_drive_type( |
| ); |
Returns dummy_drive_type of m_vif. Refer xil_axi_vif_dummy_drive_t for dummy type.
virtual task put_rdata( |
| ); |
Puts specified beat into READ data Channel of axi_vif_mem_proxy.
virtual task put_wdata( |
| ); |
Puts specified beat into Write Data Channel of axi_vif_mem_proxy.
function new( |
| ); |
Constructor to create a new axi vif proxy and set protocol version, ~name~ is the instance name.
Returns axi_version of <axi_vif_mem_proxy>.refer xil_axi_vif_axi_version_t for axi_version information.
virtual function void set_axi_version( |
| ); |
Sets axi_version of axi_vif_mem_proxy. refer xil_axi_vif_axi_version_t for axi_version information.
Returns axi_version's name. refer xil_axi_vif_axi_version_t for axi_version information.
Sets dummy_drive_type to be XIL_AXI_VIF_DRIVE_X of axi_vif_mem_proxy. Refer xil_axi_vif_dummy_drive_t for dummy drive type.
virtual function void set_dummy_drive_type( |
| ); |
Sets dummy_drive_type of axi_vif_mem_proxy. Refer xil_axi_vif_dummy_drive_t for dummy drive type.
function void assign_vi ( |
| ) ; |
Assigns m_vif of axi_vif_mem_proxy.
Returns clk_edge_counter of axi_vif_mem_proxy. Increment the clock edge counter on clock negedges, to avoid race conditions with synchronous tasks, that could otherwise execute either before or after thie clock edge counter is incremented.
Returns clk_edge_time of axi_vif_mem_proxy. clk_edge_time is the time of posedge aclk.
Puts noise on Write command channel of axi_vif_mem_proxy.
Puts noise on read command channel of axi_vif_mem_proxy.
Puts noise on write data channel of axi_vif_mem_proxy.
Puts noise on Read data channel of axi_vif_mem_proxy.
Reset AW channel of <axi_vif_mem_proxy>.clear awvalid and put noise into write command channel.
Resets AR channel of axi_vif_mem_proxy. clear arvalid and put noise into read command channel.
Resets W channel of axi_vif_mem_proxy. clear wvalid and put noise into write data channel.
Resets R channel of axi_vif_mem_proxy. clear rvalid and put noise into read response channel.
Resets B channel of axi_vif_mem_proxy. clear bvalid and put noise into write response channel.
virtual function void put_cmd( |
| ); |
Puts write/read commands on Write/Read commands Channel of axi_vif_mem_proxy.
virtual function void put_bresp( |
| ); |
Puts transaction information onto BRESP channel of axi_vif_mem_proxy.
Collects write command channel info from IF and returns it to write command beat of axi_vif_mem_proxy.
Collects read command channel info from IF and returns it to read command beat of axi_vif_mem_proxy.
Collects bresp channel info from IF and returns it to bresp beat of axi_vif_mem_proxy.
Collects read data channel info from IF and returns it to read data beat of axi_vif_mem_proxy.
Collects write data channel info from IF and returns it to write data beat.
Sets awvalid of m_vif to be 1
Sets arvalid of m_vif to be 1
Sets awvalid of m_vif to be 0
Sets arvalid of m_vif to be 0
Sets bvalid of m_vif to be 1
Sets bvalid of m_vif to be 0
Sets rvalid of m_vif to be 1
Sets rvalid of m_vif to be 0
Sets wvalid of m_vif to be 1
Sets wvalid of m_vif to be 0
Sets awready of m_vif to be 1
Sets arready of m_vif to be 1
Sets awready of m_vif to be 0
Sets arready of m_vif to be 0
Sets bready of m_vif to be 1
Sets bready of m_vif to be 0
Sets rready of m_vif to be 1
Sets rready of m_vif to be 0
Sets wready of m_vif to be 1
Sets wready of m_vif to be 0
Returns 1 if AWREADY of clock block in m_vif is 1, else returns 0
Returns 1 if ARREADY of clock block in m_vif is 1, else returns 0
Returns 1 if WREADY of clock block in m_vif is 1, else returns 0
Returns 1 if RREADY of clock block in m_vif is 1, else returns 0
Returns 1 if BREADY of clock block in m_vif is 1, else returns 0
Returns 1 if AWVALID of clock block in m_vif is 1, else returns 0
Returns 1 if ARVALID of clock block in m_vif is 1, else returns 0
Returns 1 if WVALID of clock block in m_vif is 1, else returns 0
Returns 1 if RVALID of clock block in m_vif is 1, else returns 0
Returns 1 if BVALID of clock block in m_vif is 1, else returns 0
Returns 1 if AWVALID of m_vif is 1, else returns 0
Returns 1 if ARVALID of m_vif is 1, else returns 0
Returns 1 if WVALID of m_vif is 1, else returns 0
Returns 1 if RVALID of m_vif is 1, else returns 0
Returns 1 if BVALID of m_vif is 1, else returns 0
Wait AWVALID of m_vif is 1
Wait ARVALID of m_vif is 1
Wait WALID of m_vif is 1
Wait RVALID of m_vif is 1
Wait BVALID of m_vif is 1
Waits areset to be asserted
Wait till WVALID is sampled
Waits till AWREADY/AWVALID handshake occurs
Waits till ARREADY/ARVALID handshake occurs
Waits till RREADY/RVALID handshake occurs
Waits till WREADY/WVALID handshake occurs
Waits till BREADY/BVALID handshake occurs
Returns 1 if AWREADY/AWVALID handshake occurs
Returns 1 if ARREADY/ARVALID handshake occurs
Returns 1 if RREADY/RVALID handshake occurs
Returns 1 if WREADY/WVALID handshake occurs
Returns 1 if BREADY/BVALID handshake occurs