The Versal Extensible Platform Example has set up the simulation model of each IP properly. You will review the settings in this session. If you created the block design by yourself, ensure these settings are applied before running emulation on your platform.
Some blocks in the block design has multiple types of simulation models. Vitis emulation requires these blocks to use SystemC TLM (Transaction-level Modeling) model when available. TLM is the default simulation model for CIPS, NoC, and AI Engine. You can review them to make sure they are correct before exporting the hardware.
Review CIPS simulation model settings:
In the Vivado GUI, select the CIPS instance.
Check the Block Properties window.
In Properties tab, it shows ALLOWED_SIM_MODELS is
tlm,rtl
, SELECTED_SIM_MODEL istlm
. It means this block supports two simulation models. You have selected thetlm
model.
Review the simulation model property for NoC and AI Engine in the block diagram.
Run the following scripts to generate the emulation XSA.
set_property PREFERRED_SIM_MODEL "tlm" [current_project] generate_switch_network_for_noc launch_simulation -scripts_only launch_simulation -step compile launch_simulation -step elaborate set_property platform.platform_state "pre_synth" [current_project] # Default Value write_hw_platform -hw_emu -file hw_emu/hw_emu.xsa