The xrun command options listed in this topic are the commonly used options for analog and digital mixed-signal design simulations. For the complete set of xrun command options, see Common Options.
To see the set of command-line options (xrunOptions) that relate to AMS simulation, type the following on the command line:
xrun -helpsubject ams
You can use the xrun -helpsubject amsspice to view the xrun options for AMS-SPICE.
xrunOptions |
Description |
|---|---|
-ams |
Force This option indicates that some or all of the HDL design units are written in the Verilog-AMS language. If you do not use this option, For example, to compile the files
Be careful to use the |
|
Sets the visibility access for all objects in the design. |
-ade |
Enable plotting of digital signals in ViVA on digital simulation in ADE flow. |
|
Specifies an access file. |
-amsvivalog |
Generate |
|
Specify connect rules to use for automatic connect module insertion (for example, between the default You can specify more than one If you use the Cadence-installed connect rules, you can use an |
-amsdebug |
Generates readable call stack for the log file. |
-ams_dig_wreal |
Keeps wreal as discrete discipline. |
-ams_dspf_bbox |
Enables the DPSF-in-the-middle flow for AMS simulations in Virtuoso ADE. |
|
Specifies a Spectre-language file. You can specify more than one Spectre-language file on the
|
-amsoutdir |
Redirect the temporary files and subdirectories created during compilation, elaboration, and simulation to the specified subdirectory . The -amsoutdir option will override the It is recommended not to use the |
|
|
Specifies a file to hold mixed-signal partition and connect module insertion information. The file also contains information about Real Number Modeling nettype (for example, wrealavg, wrealsum, and so on) in the design. The format of the file might change from release to release. |
|
Specifies the output raw file directory. |
-amselabtrace assert| digitaloomr| ssoveride |
Allows to trace nets in a design. You can specify the following values:
|
|
Overrides extensions for VHDL-AMS source files. |
|
Overrides extensions for Verilog-AMS source files. You can also add file extensions to the list of built-in extensions, by specifying a plus sign (+) before the extensions to be added. For example, the following option adds
|
|
Sets the Universal Connect Module (UCM) to be enabled by default for APS and Spectre X simulation performance mode. |
-ams_weak_setd |
Allows to override the BDR setting on domainless nets to any appropriate discipline. |
|
Specifies the analog simulation control file. The analog simulation control file is an ASCII text file written in the Spectre or Spectre control languages. The contents of the file control the behavior of the analog solvers. For example:
|
|
Lets you specify how to run Spectre. Example:
|
|
Enables the use of PLI / VPI routines that modify delays at simulation time. |
|
|
Appends log data from multiple runs of |
|
Forces an explicit submodule binding. |
|
Writes the compiled design data to Establishes a directory to hold any created temporary libraries. This directory is used even when For example, your
Without a
Using the same
|
|
When you use this option with the You can use the |
|
|
Specifies the cds.lib file to use. |
|
|
Performs discipline compatibility of the digital net. |
|
|
Checks that all $tasks are predefined system tasks. |
|
|
Deletes the complete set of output files and directories that are created by the tool to perform additional processing of Verilog and SPICE interfaces. These files include the |
|
|
Deletes all The Use the |
|
|
Behaves similarly as the |
|
|
This option creates an executable script, which upon executing, produces the same result as the |
|
Enables coverage instrumentation. |
|
|
Assigns a default value ( |
|
|
Defines a macro. See Defining Macros on the Command Line. |
|
Specifies the delay mode to use for digital Verilog-AMS portions of the hierarchy. |
|
Specifies that you want to use the desktop simulator after starting the launch program. |
|
Specifies the discipline to use for undisciplined digital wires. |
|
|
Sets discipline resolution. |
|
Provides a high-level report of mixed-signal and co-simulation designs. It helps you understand the various design configurations used in a design. See Mixed-Signal Design Debugging Reports. |
-dms_perf |
Enables performance optimizations in some mixed-signal design. |
|
Filters cancelled events (negative pulses) to the e state. |
|
|
Does not filter cancelled events (negative pulses) to the e state. |
|
|
Uses On-Detect filtering of error pulses. |
|
|
Uses On-Event filtering of error pulses. |
|
|
Specifies the maximum number of errors to process. |
|
|
Expands all vector nets. |
|
Enables enhanced recompilation, which improves recompilation and re-elaboration performance when compared to the default flow. When working with a larger design, or a design that requires temporary access to distinct source files, the default recompilation flow can reduce simulator performance or introduce unnecessary recompilation and re-elaboration. Use this option to enable the enhanced recompilation flow, which improves performance and helps to avoid any unnecessary recompilation and re-elaboration introduced by the default flow. You can specify this option on single or multiple xrun command lines. For more information, see the Specifying Enhanced Recompilation section in the Xcelium Xrun User Guide. |
|
|
Specifies a file of command-line arguments to use. |
|
|
Detects zero-delay loop of gate-level Verilog (or VHDL) models and prints the details in the form of proper error messages. |
|
|
Generates an access file with the specified file name. |
|
|
Specifies a value for a top-level generic. |
|
|
Specifies the hdl.var file to use. |
|
|
Displays a list of the xrun command-line options. |
|
|
Specifies |
-honorvams |
Specifying the For example, in the following scenario, the To compile
|
|
|
Reports errors according to the IEEE 1364 Verilog standard. |
|
The The The |
|
|
Generates a Tcl file, |
|
|
Generates a user-specified Tcl file that contains drivers and loads information for both CE and IE. |
|
|
Specifies the file to which the results of the |
|
|
Generates a Tcl file |
|
|
Generates a user-specified Tcl file that contains the probe-related information for both IE and CE. |
|
Generates a summarized report containing IE-related information. See Mixed-Signal Design Debugging Reports. The |
-ignore_analog_tstop |
Ignores the When this option is set, the stop time is controlled by the digital simulator. The stop time specified in the Spectre tran statement is still used to initiate the analog solver. For example, the matrix and time step. |
|
|
Ignores the missing SPICE ports displayed as "not found" in the port bind file. |
|
|
Ignores any digital statements that contain out-of-module references to SPICE blocks See Reusing Mixed-Language Testbenches for more information. |
|
|
Ignores the SV bind statements on SPICE blocks. See SystemVerilog Binding on SPICE for more information. |
|
|
Specifies an include directory. |
|
|
Enables multisource and transport delay behavior with pulse control for interconnect delays. |
|
|
Enables processing of lexical pragmas. |
|
|
Marks all cells with |
|
|
Displays messages about module and UDP instantiations. |
|
Provides information on the simulation-time licenses required for the specified design. It also provides additional information about the features that are being used for AMSD licensing. The
The |
|
|
Enables line debug capabilities. |
|
|
Dynamically loads the specified PLI 1.0 application. |
|
|
Dynamically loads the specified VPI application. |
|
|
Saves the |
|
|
Specifies the file to contain log data. |
|
|
Applies the maximum delay value from a timing triplet in the form min:typ:max in the SDF file while annotating to Verilog or to VITAL. |
-mccodegen |
Enables multi-core code generation for AMS designs and RNM designs. See Analog mixed-signal designs are not supported. |
|
|
Turns on the printing of informative messages. |
|
|
Does not allow mixed buses to be automatically generated for unsupported constructs. |
|
|
Required when elaborating if you instantiate VHDL or VHDL-AMS in a Verilog or Verilog-AMS module and you use escaped entity, port, or generic names within the VHDL or VHDL-AMS descriptions. |
|
Specifies a list of paths to be searched for model files, included files, or files that are passed as instance parameter values. |
|
For Verilog-AMS, specify one or more model files, optionally including a model section specifier such as
|
|
|
Allows negative values in |
|
|
Allows for relaxed port compatibility rules for connections of built-in nettypes. See Using Real Number Modeling in SystemVerilog. |
|
|
Disables printing of all warning messages. |
|
|
Turns off the printing of elaborator information messages that display information contained in the SDF command file. |
|
|
Turns off the display of timing check warning messages. |
|
|
Turns off X generation in accelerated VITAL timing checks. |
|
|
Turns off glitch messages from accelerated VITAL pathdelay procedures. |
|
|
Turns off X generation in accelerated VITAL pathdelay procedures. |
|
|
Turns off automatic SDF annotation. |
|
|
Suppresses printing of the copyright banner. |
|
|
Turns off recognition of input path delays in a VITAL level 1 cell and uses the non-delayed input signals directly. |
|
|
Turns off source line locations for errors. |
|
|
Turns off generation of a log file. |
|
|
Tells the elaborator to ignore notifiers in timing checks. |
|
|
Enables use of the PLI routine |
|
|
Tells the elaborator to allow undeclared parameters to be overridden. |
|
|
Tells the elaborator to allow the instantiation of design units that do not have all the ports that are specified in the port connection list. For more information, see the |
|
|
Disables pragma-related warning messages. |
|
|
Turns off source file timestamp checking when using the -UPdate option. |
|
|
Suppresses the printing of most output to the screen. |
|
|
Turns off the execution of timing checks. |
|
|
Suppresses the acceleration of VITAL level 1-compliant cells. |
|
|
Disables printing of the specified warning message. |
|
|
Prints convergence warnings for negative timing checks for both Verilog and VITAL if delays cannot be calculated given the current limit values. |
|
|
Disables printing of the specified warning message. |
|
|
Disables flag setting undefined parameters as error. |
|
Runs the simulation without invoking the Spectre AMS simulator in digital-only logic and RNM simulations. This option is automatically turned on when there is digital-only logic or RNM designs that do not have electrical/SPICE or need ie card (.scs). Also, you can manually specify this option if you do not want to invoke Spectre AMS simulator in a design where ie card (.scs) is available. |
|
|
Specifies the OMI checking level to use. |
|
|
Enables |
|
|
Prints a warning message only the first time that a PLI read, write, or connectivity access violation is detected. |
|
|
Disables printing of PLI warning and error messages. |
|
|
Enables pragma processing. |
|
|
Preserves resolution functions on signals with only one driver. |
|
Specifies the path to the Alternatively, you can instruct the internal translator to convert your |
|
Invokes the post-processing environment (PPE) See for more information. |
|
|
Specifies analog occurrence property database file |
|
|
Sets the percentage of delay for the pulse error limit for both module paths and interconnect. |
|
|
Sets the percentage of delay for the pulse error limit for interconnect only. |
|
|
Sets the percentage of delay for the pulse reject limit for interconnect only. |
|
|
Sets the percentage of delay for the pulse reject limit for both module paths and interconnect. |
|
|
Suppresses all informational messages (quiet mode). |
|
|
Enables relaxed VHDL interpretation. |
|
Enables or disables wreal coercion globally and/or on certain design scopes. You can turn off wreal coercion:
You can turn on wreal coercion:
It is not supported on scopetypes: Possible values are:
Example:
All the net of instance
If multiple If you are a digital-centric user running an AMS simulation that requires only the digital solver, it is recommended to specify |
|
Enables Real Number Modeling (RNM) in Elaboration Mode. The option enables you to compile and elaborate structural netlists/file in SystemVerilog ( |
|
Allows you to specify the precedence order for choosing the type of coercion for an interconnect net when it connects to different nettypes of ports. You can specify the multiple types, without space, separated with the greater than symbol (
or
or
In this example, if a nettype of wrealsum is present in the connection, it gets priority and the wire is coerced as wrealsum. You must specify the |
|
|
Specifies one scope-based discipline. |
|
|
Specifies an SDF command file to control SDF annotation. |
|
|
Suppresses error messages from the SDF annotator. |
|
|
Suppresses warning messages from the SDF annotator. |
|
|
Disables celltype validation between the SDF annotator and the Verilog description. |
|
|
Modifies SDF data to this precision. |
|
|
Includes detailed information in the SDF log file. |
|
|
Truncates the min value, rounds the typ value, and rounds up the max value for the timing values in the SDF file. |
|
|
Specifies a discipline for the elaborator to use for domainless nets in the specified scope. Using |
-shm_filter_group <precision> |
Enables real value filtering for all real value probes. You can specify a precision (delta value) for real number probes to remove recorded values whose delta is less that the precision specified. For more information, see Enabling Real Value Probe Filtering. |
|
Specifies whether to set simulation values for compatibility with the Spectre language or with the HSPICE language. The default is Specifies the compatibility setting for simulation values. Valid settings are as follows:
The default is
In addition, for For example:
The simulator uses these values regardless of which language you use. The
to specify the language for the statements that follow. |
|
|
Specifies a name for the simulation snapshot. If you do not use this option, |
|
|
Specifies whether the Spectre solver, or the APS solver is to be used with the AMS Designer simulator. If this parameter is not specified with the |
|
|
Compiles the specified unit from the source file. |
|
Specifies one or more Spectre command-line arguments. You can also include multiple entries of the Note: |
|
Specifies the path to a file containing space-separated command arguments for |
|
|
Runs Spectre parser with the |
|
This option is used in the AMSD flex mode to specify the directory where Syntax:
Here, < If
Example of Wrapper Script Usage: The following examples illustrate how spectre wrapper
spectre_root wrapper
|
|
Runs the Spectre parser with |
-spectre_validated |
Lists the Spectre versions compatible with the current Xcelium release. Example:
To view the Xcelium versions validated with the current Spectre release, use the spectre option Example:
|
|
Overrides extensions for Spectre and SPICE source files. |
|
|
Prints statistics on memory and CPU usage. |
-sysv_ext extension |
Compiles custom file extension as SystemVerilog file. For example, the following option compiles with a -sysv_ext .dvams |
|
Specifies You must use Note: See -top. For more information about using |
|
Sets the default timescale for Verilog (digital) modules that do not have a timescale set. |
|
|
Applies the typical delay value from a timing triplet in the form min:typ:max in the SDF file while annotating to Verilog or to VITAL. |
|
|
Specifies the unit to be compiled. |
|
|
Changes all identifiers (including keywords) to upper case (case-insensitive). Using this option can cause conflicts. For example, if you use this option, you must create and use a case-insensitive version of the disciplines.vams file that distinguishes |
|
Recompiles out-of-date design units. The |
|
Specifies a custom prioritized license checkout order for simulation. For example:
where For more information about these and other digital-specific mnemonics, see Product and Licensing Information for Mixed-Signal Designs. The - |
|
|
Enables VHDL-93 features. |
|
|
Prints the compiler version number. |
|
|
Specifies a view association. |
|
|
Selects the Max. delay value for VitalInterconnectDelays. |
|
|
Selects the Min. delay value for VitalInterconnectDelays. |
|
Using this option enables the waveform aliasing feature, which improves the waveform database size by leveraging the alias semantics for waveform storage. The |
|
|
Specifies the library to be used as the work library. |
|
Specifies the
|
|
Maps VHDL analog X/Z states with the Verilog wrealZ/X states. You can specify the VHDL/wreal X and Z state mappings in a |
-wreal2vhd_probe |
Generates a TCL probe file named, wreal2vhd_probe.tcl file. It probes the Wreal and VHDL ports where xrun code implements the wreal2vhdl mapping. |
|
Enables zparsing. The |
