Download Star-Hspice User Guide

Transcript
Input Netlist File (<design>.sp) Guidelines
Simulation Input and Controls
Nodes
■
■
■
■
■
■
■
Node identifiers can be up to 1024 characters long, including periods and
extensions.
Numerical node names are valid in the range of 0 through
9999999999999999 (1-1E16).
Leading zeros are ignored in node numbers.
Trailing characters are ignored in node numbers. For example, node 1A is
the same as node 1. Exception: Star-Hspice recognizes the following special
alphabetic trailing characters (d, e, f, g, i, m, n, o, p, u, x, k, t).
A node name can begin with any of the following characters: # _ ! %.
Nodes are made global across all subcircuits by a .GLOBAL statement.
Node 0, GND, GND!, and GROUND all refer to the global Star-Hspice
ground. Star-Hspice treats nodes with any of these names as a ground node
during simulation, and produces v(0) into the output files.
Instance Names
The names of element instances begin with the element key letter (for
example, M for a MOSFET element, D for a diode, R for a resistor, and so
on), except in subcircuits.
■ Subcircuit instance names begin with “X”. (Subcircuits are sometimes
called macros or modules.)
■ Instance names are limited to 1024 characters.
■ .OPTIONS LENNAM controls the length of names in Star-Hspice printouts
(default = 8).
■
Hierarchy Paths
■
■
■
■
■
3-4
Path hierarchy is indicated by a period.
Paths can be up to 1024 characters long.
Path numbers compress the hierarchy for post-processing and listing files.
Path number cross references are found in the listing and in the
<design>.pa0 file.
.OPTIONS PATHNUM controls whether full path names or path numbers
are shown in list files.
Star-Hspice User Guide, Release 2001.4