Loading Spectre FX Options from a Configuration File
Spectre FX can read the simulation configuration files containing a set of options.
You can load configuration files in one of the following ways:
-
spectre.cfg configuration file: A predefined file name,
spectre.cfg, can be used to create a configuration file. This file can be loaded to set the default options for the simulator. This file is located and automatically read from the following locations: -
Any other configuration file: You can also specify the options in a configuration file that can be added using the
+configcommand-line option. If you specify multiple files using multiple+configcommand-line options, all files are read by Spectre FX. In this way, the original netlist need not be changed for the Spectre FX simulation.%> spectrefx +config /path/user1.cfg +config /path/user2.cfg -f fsdb +mt=8 top.sp …
If +echooptions is specified at the command line, Spectre FX displays how the configuration files are read. It also displays the options from the configuration files.
Options in the configuration file added using the
+config on command-line option, have higher priority than the options specified in the netlist and spectre.cfg file.Related Topics
Specifying Command-Line Options for Spectre FX
Specifying Spectre FX Options with the options or .option Argument
Return to top