Download S-Edit User Guide
Transcript
Chapter 8: Importing and Exporting Netlists and Schematics
Importing a Design
.ENDS [name]
The SPICE.DEFINITION value is always taken from symbol, never from an instance. S-Edit will take
the symbol property and ignore the overwritten instance property.
Quick SPICE Control Properties
Alternately, you can use the following control properties that do not require the full syntax of the
.OUTPUT and .DEFINITION properties.
If there is a conflict, the SPICE.OUTPUT predominates unless a string contains %% or $$. If %% is
present, S-Edit looks for a pin order to use if it exists, otherwise all the pins are written out. Similarly,
$$ triggers a search for a parameter list; if one is not found all parameters are written out.
.PREFIX property
The SPICE.PREFIX property is used to automatically specify the prefix when writing an instance. For
example, the SPICE.PREFIX for a MOSFET would be:
SPICE.PREFIX = M
.PINORDER property
The SPICE.PINORDER property is used to specify the list of pins written for a device or subcircuit
instance, and for a subcircuit definition. The pin list for a MOSFET would be:
SPICE.PINORDER = D G S B
Buses should be written in the pin list with a specified range in the format <start:stop> or
<start:stop:step>. The order of the bus must be the same as the pin order. For example, a symbol with
input bus IN<0:7>, output bus OUT<0:7> and VDD and GND connections:
SPICE.PINORDER = IN<0:7> OUT<0:7> VDD GND
is equivalent to specifying the following in the SPICE.OUTPUT property:
%{IN<0:7>} %{OUT<0:7>} %{VDD} %{GND}
.MODEL property
The SPICE.MODEL property is used to specify the model name written for a device or subcircuit
instance, or for a subcircuit definition. The value of this property is evaluated and written out.
For example, use the following to write out NMOS as the model name:
SPICE.MODEL = NMOS
Or, use the following to write the value of the property modelname.
SPICE.MODEL = $modelname
S-Edit 16 User Guide
186