Command-Line Options for Spectre FX
The following table describes the command-line options that can be used for Spectre FX simulator:
| Option | Description |
|
Lists the Spectre FX command options and their descriptions. You can use |
|
|
Specifies the preset mode. Possible values are |
|
|
Defines the parasitic optimization in Spectre FX. The most accurate parasitic optimization can be obtained using the value |
|
|
Defines the simulation tolerance for voltage and current calculation. Possible values are |
|
|
Turns on the multithreading capability. N is the specified number of threads, up to a maximum of 64 threads.
You can use This option also lets you run simulations in distributed mode with LSF. Related topic: Multithreading in Spectre FX |
|
|
Enables you to append all the Spectre FX commands defined in file to the netlist. file may contain one or more Spectre FX netlist lines. Multiple |
|
|
Enables you to prepend all Spectre commands defined in file to the netlist. file may contain one or more Spectre netlist lines. Multiple |
|
|
Dumps the options specified in the netlist and configuration files. |
|
|
Generates the raw data in the specified format. Possible values are |
|
|
Changes the default location of the Spectre FX output files. However, this option neither changes the location of the raw directory if explicitly specified by using the -raw option, nor changes the location of the files that have slashes in their names. You can use |
|
|
When you specify |
|
|
Reads the specified file for information to modify the existing CMI configuration. |
|
|
Displays the log information on the standard output (shell) only and does not copy it to a log file. You can use |
|
|
Displays the log information on the standard output (shell) and copies it to the specified log file. You can use |
|
|
Sends the log information to the specified file only and does not display it on the standard output (shell). You can use |
|
|
Saves the simulation results in the specified file or directory. If |
|
|
Enables the savestate capability. You can use |
|
|
Disables the savestate capability. You can use |
|
|
Restarts the simulation using a checkpoint or savestate file. If both checkpoint and savestate files exist and the file name is not specified, the savestate file is used. You can use |
|
|
Does not restart the simulation even if a checkpoint file exists. You can use |
|
|
Sets the screen width based on the number of characters specified. This is needed only if the simulator cannot determine the screen width automatically or if the default value of 80 is not acceptable. You can use |
|
|
Sets the log file width based on the number of characters specified. The default log file width is 80 characters. |
|
|
Specifies the maximum number of times a particular type of warning message will be issued per analysis. You can use |
|
|
Specifies the maximum number of times a particular type of notice message will be issued per analysis. You can use |
|
|
Specifies the maximum number of times a particular type of warning message will be printed to the log file per analysis. You can use |
|
|
Specifies the maximum number of times a particular type of notice message will be printed to the log file per analysis. You can use |
|
|
Specifies the duration (in seconds) for which Spectre FX should wait to retrieve a license. When set to |
|
|
Specifies the wait duration between two attempts made by Spectre FX to check out a license when queuing. Setting the value to a positive number overrides the default wait duration of 30 seconds. You can use |
|
|
Enables the license suspend/resume capability. When Spectre FX receives |
|
|
Writes the license check-in and check-out information in the log file. |
|
Related Topics
Output Files of a Spectre FX Run
Managing Output Files Using Predefined Percentage Codes
Modes Compatible with Spectre FX
Spectre FX automatically sets spice or spectre compatible mode by detecting the input file format and prints an information message in the log file. However, you can add +spice or +spectre at the command line to ensure the compatible mode is used as you expect.
-
+spiceensures that the netlist convention and device models are considered to be in SPICE format -
+spectreensures that the netlist convention and device models are considered to be in Spectre format.
The following examples show the log file entries with different command-line options:
-
% spectrefx -f fsdb +mt=4 top.sp
Comment in the log file:Enabled Spice mode for Spectre FX.
-
% spectrefx -f fsdb +mt=4 +spice top.sp
Comment in the log file:Enabled Spice mode for Spectre FX based on the command-line option +spice.
-
% spectrefx -f fsdb +mt=4 top.scs
Comment in the log file:Enabled Spectre mode for Spectre FX.
-
% spectrefx -f fsdb +mt=4 +spectre top.scs
Comment in the log file:Enabled Spectre mode for Spectre FX based on the command-line option +spectre.
+spice or +spectre at the command line, Spectre FX checks the environment variable SPECTRE_COMPATIBLE_FX. If SPECTRE_COMPATIBLE_FX is set, Spectre FX enables Spectre compatible mode. This environment variable is ignored if you specify +spice or +spectre at the command line.Return to top