|
发表于 2019-5-29 13:49:47
|
显示全部楼层
SPICE Compatibility
The Virtuoso Spectre circuit simulator parser and elaborator now offers greatly increased capacity. Circuits that previously failed due to insufficient memory are now easily read in by the Spectre circuit simulator. The Spectre circuit simulator also provides SPICE netlist compatibility, eliminating the need for the Spice Pre-Parser (SPP) in your flow.
For migration issues , see Spectre Circuit Simulator Migration Guide.
You can add the +spice option to the spectre command line option:
spectre +spice options inputfile
The +spice option
sets tnom and temp to 25C.
sets parameter inheritance to global rather than the Spectre default of local. This means that global parameter definitions override local ones.
sets flags on files that do not have an .scs extension or those that have sections with simulator lang=spice to be HSPICE compatible. This maps models in the SPICE sections to their Spectre equivalents, but does not modify Spectre files or sections.
enforces .IC statements and initial conditions on elements for DC and OP analyses. By default, Spectre only forces initial conditions if the DC analysis force option is set.
Support for SPICE Netlists
The Spectre circuit simulator can read syntax that is consistent with other commercial SPICE simulators. These features include, but are not limited to.
Hierarchical identifiers
These are used to allow a parasitic device to connect to an internal node of the subcircuit.
Miscellaneous SPICE syntax
Identifiers (instances, nodes, parameters, etc.) can include characters such as #, @ and |.
Multiple namespaces
The same identifier can be used for different types of objects. In the following example,
.param res=1k
res res 0 res
.model res r r=res
res is an instance, node, model, and parameter.
Global nodes
You can now have multiple global statements in a design.
Mixed Spectre and SPICE syntax
You can include both Spectre and SPICE languages in a design, as long as you insert simulator lang switches.
Behavioral primitives
The Spectre circuit simulator supports the SPICE feature that allows a source, resistor, capacitor and/or inductance value to be expressed as a behavioral expression.
Library files and sections
The Spectre circuit simulator supports the .lib card for model inclusion.
Model binning
With the new parser, the Spectre circuit simulator supports the syntax of popular SPICE models, including the syntax that allows you to bin models according to geometry size. |
|