AddPin is a Symbol Definition Command. A pin is a point on a symbol where wires can be connected. Refer to Schematic Symbol Script Definition for more details.
AddPin <pin-name> <pin-number> <x> <y> [<label-x> <label-y> <label-flags>] [<qualifier-list>]
pin-name |
Text string. Any pin name can be used as long as it does not contain spaces. However, in order to allow the plotting of currents from the schematic, certain pin names must be used for primitive components. |
||||||||||||||||||||||||||
pin-number |
Integer. Determines the order in which the pins appear on the device's netlist entry. Must be in a certain order for primitive components. |
||||||||||||||||||||||||||
x,y |
Integer. Symbol co-ordinates of pin. As wires always snap to grid points pins must lie on grid points if is to be possible to connect to them. This means that the x and y co-ordinates must be a multiple of 100. |
||||||||||||||||||||||||||
label-x, label-y |
X and Y position relative to pin of pin label. Text of label will be pin name. Scaling is 100 points per grid square. Justification is determined by label_flags - see below. |
||||||||||||||||||||||||||
label-flags |
Justification of pin label text. Values as follows:
Baseline means the base for upper case characters. The tails of some lower case characters go below the baseline. |
||||||||||||||||||||||||||
qualifier-list |
One or more qualifiers used for XSPICE devices. For more
information refer to
Simulator Reference Manual/Simulator Devices/Using XSPICE Devices
.
Qualifiers may be one of:
|
▲ Command Summary ▲ | ||
◄ AddLegendProp | AddProp ▶ |