Hard Processor System Component Reference Manual: Agilex™ 5 SoCs

ID 813752
Date 8/15/2025
Public
Document Table of Contents

3.1.3.4. Riviera-PRO* Simulation Steps

  1. Locate your top-level simulation model, TopLevel.v or TopLevel.vhdl, which you have created.
  2. Locate the rivierapro_setup.tcl script and execute the simulator in the <project directory>/<Platform Designer design name>/sim/aldec/.
  3. Create a new file my_rivierapro_setup.do and write the following content to the file.
    source <path_to>/rivierapro_setup.tcl 
    dev_com
    com
    vlog <compilation_options> <design_top_level_vfile> 
    # example: vlog -timescale 1ps/1ps ../TopLevel.v
    
    set TOP_LEVEL_NAME <design_top_level_name> 
    # example: set TOP_LEVEL_NAME TopLevel
    
    set USER_DEFINED_ELAB_OPTIONS <elaboration options> (optional)
    elab
    run -a
    exit -code 0 (optional)
    
    Refer to VSIM Command Line Aliases and Variables for more information about the vsim aliases and variables.
  4. Set up your developer environment with the proper resources. The Riviera-PRO* simulator requires an end user proprietary license.
  5. Run the simulation script to start simulation runtime.
    vsim -do my_rivierapro_script.do
    Since no testbench is added, it only shows that all the HPS IP simulation files were successfully compiled and elaborated.