The following shows how to generate a transaction for each mode:
- To generate a transaction for the AXI master VIP, see the mst_stimulus.sv from any of the 10 simulation sets in Table 1.
- To generate a transaction response for a basic AXI slave VIP, see the slv_basic_stimulus.sv from any of the 10 simulation sets in Table 1. For memory model requirements, see the mem_basic_stimulus.sv.
- To generate a transaction response for an advanced AXI slave VIP, see the slv_stimulus.sv from any of the 10 simulation sets in Table 1. For memory model requirements, see the mem_stimulus.sv.
- To generate a transaction for the AXI pass-through VIP, see the passthrough_mst_stimulus.sv from any of the simulation sets in Table 1.
- To generate a transaction response for a basic AXI pass-through VIP, see the passthrough_slv_basic_stimulus.sv from any of the simulation sets in Table 1. For memory model requirements, see the passthrough_mem_basic_stimulus.sv.
- To generate a transaction response for an advanced AXI pass-through VIP, see the passthrough_slv_stimulus.sv from any of the simulation sets in Table 1. For memory model requirements, see the passthrough_mem_stimulus.sv.
- When you open the AXI VIP example design under the Sources window, it shows 11 simulation sets. You can choose any simulation sets and run simulation or view the source codes of each test bench.
Simulation Set Name | Files Included | Description |
---|---|---|
im_basic_mst_passive_pt_mst_slv_comb |
passthrough_mst_stimulus.sv slv_basic_stimulus.sv generic_tb.sv |
Basic feature of AXI VIP when AXI master VIP is in passive mode. AXI pass-through VIP is in runtime master mode and talks to AXI slave VIP which does not include memory model. |
sim_basic_mst_active_pt_slv_slv_passive |
mst_stimulus.sv passthrough_slv_basic_ stimulus.sv generic_tb.sv |
Basic feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in runtime slave mode without memory model. AXI slave VIP is in passive mode. |
sim_basic_mst_active_pt_mem_slv_passive |
mst_stimulus.sv passthrough_mem_basic_ stimulus.sv generic_tb.sv |
Basic feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in runtime slave mode with memory model. AXI slave VIP in passive mode. |
sim_basic_mst_active_pt_passive_slv_mem |
mst_stimulus.sv mem_basic_stimulus.sv generic_tb.sv |
Basic feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in passive mode. AXI slave VIP is in active mode with memory model. |
sim_basic_mst_active_pt_passive_slv_comb |
mst_stimulus.sv slv_basic_stimulus.sv generic_tb.sv |
Basic feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in passive mode AXI slave VIP is in active mode without memory model. |
sim_adv_mst_passive_pt_mst_slv_comb |
passthrough_mst_stimulus.sv slv_stimulus.sv generic_tb.sv |
Advanced feature of AXI VIP when AXI master VIP is in passive mode. AXI pass-through VIP is in runtime master mode and talks to AXI slave VIP which does not include memory model. |
sim_adv_mst_active_pt_slv_slv_passive |
mst_stimulus.sv passthrough_slv_stimulus.sv generic_tb.sv |
Advanced feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in runtime slave mode without memory model. AXI slave VIP is in passive mode. |
sim_adv_mst_active_pt_mem_slv_passive |
mst_stimulus.sv passthrough_mem_stimulus.sv generic_tb.sv |
Advanced feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in runtime slave mode with memory model. AXI slave VIP in passive mode. |
sim_adv_mst_active_pt_passive_slv_mem |
mst_stimulus.sv mem_stimulus.sv generic_tb.sv |
Advanced feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in passive mode. AXI slave VIP is in active mode with memory model. |
sim_adv_mst_active_pt_passive_slv_comb |
mst_stimulus.sv slv_stimulus.sv generic_tb.sv |
Advanced feature of AXI VIP when AXI master VIP is in active mode. AXI pass-through VIP is in passive mode. AXI slave VIP is in active mode without memory model. |
sim_all_config | Shows all of the configured examples. | |
sim_ready_gen | Usage about ready signal generation with different ready policy and randomization policy. | |
sim_memory | Usage about memory model such as backdoor_memory_write/read and pre_load_mem. |
Figure 1 to Figure 3 show the basic, advanced, and all configured simulation sets for AXI VIP.
The following figure shows a simulation configuration example in Vivado IDE.