« Prev | Next » Riviera-PRO Simulator Options in Vivado This document discusses the options for controlling Riviera-PRO Simulator from within the Vivado environment. The options are located in the Compilation, Elaboration, and Simulation tabs of the table visible in the Project Settings | Simulation category of the Settings window. They are available if the Target simulator field is set to Riviera-PRO Simulator and modify the content of the compilation and simulation scripts generated by the tool. Figure 1: The Riviera-PRO options in the Vivado Settings window. Compilation Tab The following options are available in the Compilation tab: riviera.compile.tcl.pre Specifies a custom Tcl script that will be executed before the compilation of the design. Equivalent of executing the script with the source command. The file can be specified with the full hierarchical path or as a filename provided that it is included in the Vivado project resources. riviera.compile.vhdl_syntax Specifies the revision of the VHDL standard. Equivalent of the -93, -2002, -2008, and -2019 arguments of the vcom command. riviera.compile.vlog_syntax Specifies the revision of the SystemVerilog standard. Equivalent of the -sv2k5, -sv2k9, and -sv2k12 arguments of the vlog command. riviera.compile.sv_syntax Specifies the revision of the Verilog standard. Equivalent of the -v95, -v2k, and -v2k5 arguments of the vlog command. riviera.compile.vhdl_relax Relaxes the strict checking of VHDL language rules. Equivalent of the -relax argument of the vcom command. riviera.compile.debug Enables collecting the debug information. Equivalent of the -dbg argument of the vcom, vlog, and ccomp commands. riviera.compile.load_glbl Compiles the Verilog GLBL module. riviera.compile.vlog.more_options Allows specifying additional arguments that will be passed to the vlog command. riviera.compile.vcom.more_options Allows specifying additional arguments that will be passed to the vcom command. riviera.compile.ccomp.more_options Allows specifying additional arguments that will be passed to the ccomp command. riviera.compile.statement_coverage Enables Statement Coverage analysis. Equivalent of passing the -coverage s argument to the vlog and vcom commands. riviera.compile.branch_coverage Enables Branch Coverage analysis. Equivalent of passing the -coverage b argument to the vlog and vcom commands. riviera.compile.expression_coverage Enables Expression Coverage analysis. Equivalent of passing the -coverage e argument to the vlog and vcom commands. riviera.compile.condition_coverage Enables Condition Coverage analysis. Equivalent of passing the -coverage c argument to the vlog and vcom commands. riviera.compile.path_coverage Enables Path Coverage analysis. Equivalent of passing the -coverage p argument to the vcom command. riviera.compile.assertion_coverage Enables Assertion Coverage analysis. Equivalent of passing the -coverage a argument to the vlog and vcom commands. riviera.compile.fsm_coverage Enables FSM Coverage analysis. Equivalent of passing the -coverage m argument to the vlog and vcom commands. riviera.compile.enable_expressions_on_subprogram_arguments Includes expressions from subprogram parameter lists in the Expression Coverage analysis. Equivalent of passing the -coverage_options args argument to the vlog and vcom commands. riviera.compile.enable_atomic_expressions_in_the_conditional_statements Includes atomic expressions from conditional statements in the Expression Coverage analysis. Equivalent of passing the -coverage_options implicit argument to the vlog and vcom commands. riviera.compile.enable_the_expressions_consisting_of_one_variable_only Includes expressions consisting of one variable only in the Expression Coverage analysis. Equivalent of passing the -coverage_options onevar argument to the vlog and vcom commands. riviera.compile.enable_the_expressions_with_relational_operators Includes expressions with relational operators in the Expression Coverage analysis. Equivalent of passing the -coverage_options relational argument to the vlog and vcom commands. riviera.compile.enable_the_expressions_returning_vectors Includes expressions returning vectors in the Expression Coverage analysis. Equivalent of passing the -coverage_options vectors argument to the vlog and vcom commands. riviera.compile.enable_fsm_sequences_in_fsm_coverage Includes FSM sequences in the FSM Coverage analysis. Equivalent of passing the -coverage_options fsmsequence argument to the vlog and vcom commands. riviera.compile.basic_libraries Detaches global libraries and attaches the following libraries from the location specified with the Compiled library location option: secureip, simprims_ver, unifast, unifast_ver, unimacro, unimacro_ver, unisim, unisims_ver, xilinx_vip, and xpm. The libraries are attached provided they are present in the specified directory and the Use Precompiled IP simulation libraries checkbox located in the IP category is cleared. Elaboration Tab The following options are available in the Elaboration tab: riviera.elaborate.access If this checkbox is selected, the read access is disabled. Leaving this check box cleared, enables read access to design objects. Equivalent of passing the +access+r+m+<top> argument to the asim command. riviera.elaborate.unifast Enables searching for the unknown symbols in the the UNIFAST (unifast_ver) library. Equivalent of passing the -L unifast_ver argument to the asim command. Simulation Tab The following options are available in the Simulation tab: riviera.simulate.custom_do Specifies a custom macro that will be launched instead of the default simulation macro. The file can be specified with the full hierarchical path or as a filename provided that it is included in the Vivado project resources. riviera.simulate.custom_udo Specifies a user macro that will be executed after the asim command in the default simulation macro. Equivalent of executing the do <filename> command. The file can be specified with the full hierarchical path or as a filename provided that it is included in the Vivado project resources. riviera.simulate.tcl.post Specifies a Tcl script that will be executed after the simulation will reach the time specified with the riviera.simulate.runtime field. Equivalent of the script_name argument of the source command. The file can be specified with the full hierarchical path or as a filename provided that it is included in the Vivado project resources. riviera.simulate.runtime Specifies the simulation end time. Equivalent of the time_step argument of the run command followed by an optional time unit which can be one of the following: fs, ps, ns, us, ms, s, sec, min, or hr. riviera.simulate.log_all_signals Logs all the signals to the simulation database recursively. Equivalent of passing the rec * argument to the log command. riviera.simulate.debug Enables debugging features and disables some optimizations. Equivalent to the -dbg argument of the asim command. simulate.verilog_acceleration Enables SystemVerilog acceleration. Selecting this check box is equivalent of passing the -O5 argument to the asim command. Leaving this check box cleared is equivalent of passing the -O2 argument. riviera.simulate.saif_scope Specifies a design region to be exported to SAIF (Switching Activity Interchange Format). Equivalent of the -scope argument of the asdb2saif utility. riviera.simulate.saif Specifies the name of the SAIF file. Equivalent of the saif_file argument of the asdb2saif utility. riviera.simulate.asim.more_options Allows specifying additional arguments that will be passed to the asim command in the default macro. riviera.simulate.statement_coverage Enables collection of the Statement Coverage data into ACDB. riviera.simulate.branch_coverage Enables collection of the Branch Coverage data into ACDB. riviera.simulate.functional_coverage Enables collection of the Covergroup Coverage data into ACDB. riviera.simulate.expression_coverage Enables collection of the Expression Coverage data into ACDB. riviera.simulate.condition_coverage Enables collection of the Condition Coverage data into ACDB. riviera.simulate.path_coverage Enables collection of the Path Coverage data into ACDB. riviera.simulate.toggle_coverage Enables collection of the Toggle Coverage data into ACDB. riviera.simulate.assertion_coverage Enables collection of the Assertion Coverage data into ACDB. riviera.simulate.fsm_coverage Enables collection of the FSM Coverage data into ACDB. Passing Simulator Options from Command Line The options can be also specified from the command line by using the set_property Vivado command. The Riviera-PRO option name and its value should be passed to the -name and -value arguments, respectively. Both of them have to be specified in the "{}" curly brackets, for example: set_property -name {riviera.compile.sv_syntax} -value {2005} -objects [get_filesets sim_1] Previous article Next article