axi_vip_v1_1_top APIs - 1.1 English

AXI Verification IP LogiCORE IP Product Guide (PG267)

Document ID
PG267
Release Date
2024-06-07
Version
1.1 English

This appendix contains information about the axi4stream_vip_v1_1_top APIs. These APIs can be called through the following code. The set_passthrough_mode, set_master_mode, and set_slave_mode are used to switch the pass-though VIP into different runtime modes. Other APIs are used for assertion purposes. These APIs can be called through the test bench by hierarchy pointing to the top. An example would be set_passthrough_mode.

<hierarchy_path>.set_passthrough_mode()

For <hierarchy_path>, see figure, Design Flow Steps and AXI Pass-Through VIP.

set_passthrough_mode
function void set_passthrough_mode()
Sets AXI4STREAM VIP passthrough into run time passthrough mode

set_master_mode
function void set_master_mode()
Sets AXI4STREAM VIP passthrough into run time master mode

set_slave_mode
function void set_slave_mode()
Sets AXI4STREAM VIP passthrough into run time slave mode

set_xilinx_slave_ready_check
function void set_xilinx_slave_ready_check()
Sets xilinx_slave_ready_check_enable of IF to be 1

clr_xilinx_slave_ready_check
function void clr_xilinx_slave_ready_check()
Sets xilinx_slave_ready_check_enable of IF to be 0

set_max_aw_wait_cycles
function void set_max_aw_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_aw_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_ar_wait_cycles
function void set_max_ar_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_ar_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_r_wait_cycles
function void set_max_r_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_r_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_b_wait_cycles
function void set_max_b_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_b_wait_cycles of PC (Arm Protocol Checker), not available in Vivado Simulator.

set_max_w_wait_cycles
function void set_max_w_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_w_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_wlast_wait_cycles
function void set_max_wlast_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_wlast_to_awvalid_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_rtransfer_wait_cycles
Sets max_rtransfer_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_wtransfer_wait_cycles
Sets max_wtransfer_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_max_wlcmd_wait_cycles
function void set_max_wlcmd_wait_cycles(	
input integer 	unsigned 	new_num)
Sets max_wlcmd_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_aw_wait_cycles
function integer unsigned get_max_aw_wait_cycles()
Returns max_aw_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_ar_wait_cycles
function integer unsigned get_max_ar_wait_cycles()
Returns max_ar_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_r_wait_cycles
function integer unsigned get_max_r_wait_cycles()
Returns max_r_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_b_wait_cycles
function integer unsigned get_max_b_wait_cycles()
Returns max_b_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_w_wait_cycles
function integer unsigned get_max_w_wait_cycles()
Returns max_w_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_wlast_wait_cycles
function integer unsigned get_max_wlast_wait_cycles()
Returns max_wlast_to_awvalid_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_rtransfer_wait_cycles
Returns max_rtransfer_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_wtransfer_wait_cycles
Returns max_wtransfer_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

get_max_wlcmd_wait_cycles
function integer unsigned get_max_wlcmd_wait_cycles()
Returns max_wlcmd_wait_cycles of PC(Arm Protocol Checker), not available in Vivado Simulator.

set_fatal_to_warnings
function void set_fatal_to_warnings()
Sets fatal_to_warnings of PC(Arm Protocol Checker) to be 1, not available in Vivado Simulator.

clr_fatal_to_warnings
function void clr_fatal_to_warnings()
Sets fatal_to_warnings of PC(Arm Protocol Checker) to be 0, not available in Vivado Simulator.