Skip to content

The BFM (Bus functional models) is dedicated to multi vendor simulations IPCores in Riviera-Pro

Notifications You must be signed in to change notification settings

mikep996/Bus_Functional_Model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example was tested on Ubuntu 22.04.3 LTS and Windows 11 with Xilinx Vivado 2022.1 and Aldec Riviera-PRO 2022.10 but also works with newer versions of Riviera-Pro simulator.

  1. Run Vivado
  2. Make sure a proper path to Riviera-Pro simulator is selected in Tools > Settings > Tool Settings > 3rd Party Simulators
  3. Make sure that Vivado environment is in the same directory as TOP_module.tcl file.
  4. Source TOP_Module.tcl using Tools > Run Tcl Script...
  5. Wait until the example project generation is complete
  6. Run Simulation

Known Problems

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 asim command located in "simulate.do" file. Correct the path in project file (visible in Riviera-Pro) or in source file (src/simulate.do). Actualisation of source file requires vivado project re-generation.

The path should be established as follows:

Windows -pli <path_to_Riviera-Pro>/bin/libAxiBfmPliRiv

Linux -pli <path_to_Riviera-Pro>/bin/Linux64/libAxiBfmPliRiv

About

The BFM (Bus functional models) is dedicated to multi vendor simulations IPCores in Riviera-Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Verilog 64.2%
  • VHDL 22.2%
  • Tcl 13.2%
  • Stata 0.4%