- OS: This example was tested on Ubuntu 22.04.5 LTS and Windows 11
- Tools:
- Xilinx Vivado 2024.2 or newer
- Aldec Riviera-PRO 2024.10 or newer with preinstalled simulation libraries:
- unisim
- unisims_ver
- unimacro_ver
- secureip
- Run Vivado
- Make sure a proper path to Riviera-Pro simulator is selected in Tools > Settings > Tool Settings > 3rd Party Simulators
- Make sure that Vivado environment is in the same directory as TOP_module.tcl file.
- Source TOP_Module.tcl using Tools > Run Tcl Script...
- Wait until the example project generation is complete
- Run Simulation
-
If the path to Riviera-PRO is not established. After Run Simulation is selected, the tcl console should print:
ERROR: [USF-Riviera-PRO-35] Failed to locate '../rungui' executable in the shell environment 'PATH' variable. Please source the settings script included with the installation and retry this operation again. ERROR: [Common 17-39] 'send_msg_id' failed due to earlier errors. -
If the path to BFM license is incorrect, the Riviera-Pro console should print:
ELAB2: Warning: ELAB2_0113 Task or function "$check_license" not defined in module "Ax_Axi4MasterBFMcore" from library "xil_defaultlib"Make sure the correct path is given in -pli switch in box
riviera.simulate.asim.more_optionsin Vivado Simulation Settings.
The path should be established as follows:-pli libAxiBfmPliRiv