Starting Riviera-PRO as the Default Simulator in Xilinx Vivado

Introduction

This document describes how to start the Riviera-PRO simulator from Xilinx Vivado™ to run behavioral and timing simulations. This application note has been verified on Riviera-PRO 2015.02 and Xilinx Vivado 2015.1. This integration allows users to run VHDL, Verilog, Mixed, and SystemVerilog (Design) simulations using Riviera-PRO as the default simulator.

Installing Xilinx libraries in Riviera-PRO

In order to run the simulation successfully, depending on the design, both VHDL and Verilog simulation libraries for the respective Xilinx Vivado version may have to be installed in Riviera-PRO. You can check which libraries are currently installed in the Libraries window. The tool can be accessed by selecting the Libraries option available in the Design Management Windows category of the View menu. Libraries have to be compiled for the Riviera-PRO version you are using for simulation.

You can obtain libraries in multiple ways:

  1. You can compile Xilinx libraries from sources with the compile_simlib command of Vivado.

    NOTE: After generating the compiled libraries from Xilinx, they have to be manually attached to Riviera-PRO. For more information refer to Compiling Xilinx Vivado Simulation Libraries for Active-HDL.

    You can also install precompiled libraries:

  2. If you have received a web link to download Riviera-PRO, on the same page, you will find the links to download Xilinx libraries.

  3. At any time you can visit the update center to download the latest Xilinx libraries at http://www.aldec.com/en/downloads.

  4. If you do not find the library matching the Xilinx version in the above link, then please create a support case in the Support Portal and request a library with Xilinx and Riviera-PRO version numbers.

Here is the typical sequence you would like to follow to run the Riviera-PRO from Vivado:

  1. Add the <Riviera-PRO_installation_path>\bin path to your %PATH% environment variable. To confirm that you have the %PATH% variable set correctly, open the windows command prompt, type "path", and press ENTER. Then check if the path to the Riviera-PRO installation directory is present in the command output.

    NOTE: If Vivado is already running while you add the path, then you will have to restart Vivado to have your new PATH variable effective inside Vivado.

  2. Select the Xilinx Tcl Store option from the Tools menu, switch to the Installed tab, and make sure that the Riviera-PRO Simulator plug-in is already installed. If it is not, find the plug-in under the All tab and click the Install button.

  3. Create or Open a project in Xilinx Vivado Project Manager.

  4. From Flow Navigator, click on the Simulation Settings item.

  5. Under the Simulation category of the Project Settings window, change the Target Simulator to Riviera-PRO Simulator.

  6. Here under the Compilation tab, you can pass arguments to the Verilog and VHDL compiler.

    NOTE: You may need to select the riviera.compile.vhdl_relax checkbox that relaxes some LRM requirements when compiling VHDL files.

  7. Under the Elaboration and Simulation tabs you can set simulation related arguments e.g. logging all signals to simulation database, accessing signals for waveform, or simulation run time.

  8. Once all options are set according to your requirements, click OK.

    NOTE: If a version of Riviera-PRO was updated between subsequent simulation runs, you should use the Clean Up Simulation files option available in the Simulation category of the Project Settings window to remove the files generated with the previous version of the Aldec simulator.

  9. Now, click on the Run Simulation tab from the Flow manager and select the type of simulation you want to run.

  10. This will launch Riviera-PRO. Vivado will generate DO macro scripts for compilation and simulation based upon the settings you provided in the above steps.

  11. Riviera-PRO will start executing the automatically generated DO macro, and will launch the waveform window with the signals loaded.

Ask Us a Question
x

Ask Us a Question

x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.