Active-HDL Simulator Options in Vivado

This document discusses the options for controlling Active-HDL 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 Active-HDL Simulator and modify the content of the compilation and simulation scripts generated by the tool.

Figure 1: The Active-HDL options in the Vivado Settings window.

Compilation Tab

The following options are available in the Compilation tab:

activehdl.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.

activehdl.compile.vhdl_syntax

Specifies the revision of the VHDL standard. Equivalent of the -93, -2002, -2008, and -2019 arguments of the vcom command.

activehdl.compile.vlog_syntax

Specifies the revision of the SystemVerilog standard. Equivalent of the -sv2k5, -sv2k9, and -sv2k12 arguments of the vlog command.

activehdl.compile.sv_syntax

Specifies the revision of the Verilog standard. Equivalent of the -v95, -v2k, and -v2k5 arguments of the vlog command.

activehdl.compile.vhdl_relax

Relaxes the strict checking of VHDL language rules. Equivalent of the -relax argument of the vcom command.

activehdl.compile.debug

Enables collecting the debug information. Equivalent of the -dbg argument of the vcom, vlog, and ccomp commands.

activehdl.compile.load_glbl

Compiles the Verilog GLBL module.

activehdl.compile.vlog.more_options

Allows specifying additional arguments that will be passed to the vlog command.

activehdl.compile.vcom.more_options

Allows specifying additional arguments that will be passed to the vcom command.

activehdl.compile.ccomp.more_options

Allows specifying additional arguments that will be passed to the ccomp command.

activehdl.compile.statement_coverage

Enables Statement Coverage analysis. Equivalent of passing the -coverage s argument to the vlog and vcom commands.

activehdl.compile.branch_coverage

Enables Branch Coverage analysis. Equivalent of passing the -coverage b argument to the vlog and vcom commands.

activehdl.compile.expression_coverage

Enables Expression Coverage analysis. Equivalent of passing the -coverage e argument to the vlog and vcom commands.

activehdl.compile.condition_coverage

Enables Condition Coverage analysis. Equivalent of passing the -coverage c argument to the vlog and vcom commands.

activehdl.compile.path_coverage

Enables Path Coverage analysis. Equivalent of passing the -coverage p argument to the vcom command.

activehdl.compile.assertion_coverage

Enables Assertion Coverage analysis. Equivalent of passing the -coverage a argument to the vlog and vcom commands.

activehdl.compile.fsm_coverage

Enables FSM Coverage analysis. Equivalent of passing the -coverage m argument to the vlog and vcom commands.

activehdl.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.

activehdl.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.

activehdl.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.

activehdl.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.

activehdl.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.

activehdl.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.

activehdl.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:

activehdl.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.

activehdl.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:

activehdl.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.

activehdl.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.

activehdl.simulate.tcl.post

Specifies a Tcl script that will be executed after the simulation will reach the time specified with the activehdl.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.

activehdl.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.

activehdl.simulate.log_all_signals

Logs all the signals to the simulation database recursively. Equivalent of passing the rec * argument to the log command.

activehdl.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.

activehdl.simulate.saif_scope

Specifies a design region to be exported to SAIF (Switching Activity Interchange Format). Equivalent of the -scope argument of the asdb2saif command.

activehdl.simulate.saif

Specifies the name of the SAIF file. Equivalent of the saif_file argument of the asdb2saif command.

activehdl.simulate.asim.more_options

Allows specifying additional arguments that will be passed to the asim command in the default macro.

activehdl.simulate.statement_coverage

Enables collection of the Statement Coverage data into ACDB.

activehdl.simulate.branch_coverage

Enables collection of the Branch Coverage data into ACDB.

activehdl.simulate.functional_coverage

Enables collection of the Covergroup Coverage data into ACDB.

activehdl.simulate.expression_coverage

Enables collection of the Expression Coverage data into ACDB.

activehdl.simulate.condition_coverage

Enables collection of the Condition Coverage data into ACDB.

activehdl.simulate.path_coverage

Enables collection of the Path Coverage data into ACDB.

activehdl.simulate.toggle_coverage

Enables collection of the Toggle Coverage data into ACDB.

activehdl.simulate.assertion_coverage

Enables collection of the Assertion Coverage data into ACDB.

activehdl.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 Active-HDL 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 {activehdl.compile.sv_syntax} -value {2005} -objects [get_filesets sim_1]
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.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.