Enabling Third-Party Simulators - 2022.1 English

Versal ACAP AI Engine Programming Environment User Guide (UG1076)

Document ID
UG1076
Release Date
2022-05-25
Version
2022.1 English
Third-party simulators such as Questa Advanced Simulator (Mentor Grahpics), Xcelium (Cadence), and VCS (Synopsys) are supported when executing hardware emulation of your design. You can enable these simulators by updating the Vitis configuration file (config.ini or system.cfg).
Table 1. Vitis Link Settings
Simulator v++ --link Configuration
Questa Advanced Simulator EXPORT simulator=questa
[advanced]
param=hw_emu.simulator=QUESTA
[vivado]
prop=project.__CURRENT__.compxlib.questa_compiled_library_dir=/path/to/questa/2021.3/lin64/lib/
prop=project.__CURRENT__.simulator.questa_install_dir=/path/to/questa
Xcelium EXPORT simulator=xcelium
[advanced]
param=hw_emu.simulator=XCELIUM
[vivado]
prop=project.__CURRENT__.simulator.xcelium_install_dir=/path/to/xcelium/bin/
prop=project.__CURRENT__.compxlib.xcelium_compiled_library_dir=/path/to/xcelium/21.09.002/lin64/lib/
prop=fileset.sim_1.xcelium.elaborate.xmelab.more_options={-timescale 1ns/1ps}
VCS
Note: Before running the flow, you must set the VG_GNU_PACKAGE environment variable.
export VG_GNU_PACKAGE=<GNU INSTALL DIR>/2021.09/linux

EXPORT simulator=vcs

[advanced]
param=hw_emu.simulator=VCS
param=project.alignLibraryPathEnvForVCS=true
[vivado]
prop=project.__CURRENT__.simulator.vcs_install_dir=/path/to/vcs/S-2021.09/bin/
prop=project.__CURRENT__.compxlib.vcs_compiled_library_dir=/path/to/clibs/vcs/R-2021.09/lin64/lib/
prop=project.__CURRENT__.simulator.vcs_gcc_install_dir=/path/to/synopsys/vg_gnu/2021.09/amd64/gcc-9.2.0_64/bin
prop=fileset.sim_1.vcs.simulate.log_all_signals=false
Riviera
[advanced]
param=hw_emu.simulator=RIVIERA
param=hw_emu.simulator=RIVIERA
param=project.useScriptExecutionCmd=true
[vivado]
prop=project.__CURRENT__.simulator.riviera_install_dir=/tools/gensys/riviera/2021.04.SR1-lin64/bin/
prop=project.__CURRENT__.compxlib.riviera_compiled_library_dir=/proj/xbuilds/2022.1_daily_latest/clibs/riviera/2021.04/lin64/lib/
prop=project.__CURRENT__.simulator.xcelium_gcc_install_dir=/tools/gensys/riviera/2021.04.SR1-lin64/gcc_Linux64/bin/
prop=fileset.sim_1.riviera.simulate.asim.more_options={+access +r}

When the modifications have been made, build the design as normal, run the script launch_hw_emu.sh and the new simulator will be used. More information on emulation is provided in Running the System in Hardware.