next up previous contents index
Next: Labloc Property: Property Number Up: Device Properties Set By Previous: Node Property: Property number   Contents   Index


Name Property: Property Number 11

The name property gives the device an identifying prefix or name. If a name has been assigned to the device with the Properties command or equivalent, that name will be used in SPICE output. Otherwise, the name prefix from the device library file is suffixed with a unique integer generated by Xic to form the name. SPICE expects that the first character of the name match the convention for the device, for example, resistors use R, capacitors C, etc. (see the SPICE documentation).

5 11 prefix{.assigned_name} devnum {subname physX physY};

The prefix is the default name prefix, and should conform to the SPICE conventions. The assigned_name, if present, will be used in actual spice output. The assigned_name should not be present in device library file entries, it is used in cell files for device instances to which a name has been assigned with the Properties command. The prefix can start with any character, but is intended to have significance to SPICE. The character `@' is reserved for the terminal device, and `#' is reserved for the bus terminal device. The assigned_name can be any contiguous string. The devnum is an index assigned by Xic to the device, and is used when forming the default device name. This should always be specified as 0 in the device library file.

If the name applies to a subcircuit (not a subcircuit macro reference in the device library file), the three additional entries may appear in cell files. The subname will be set to ``subckt'', and the physX and physY are coordinates where the physical subcircuit instance label is applied. This will be in a physical instance of the subcircuit, or the two coordinates are set to -1 to indicate that the label has not been placed.

Xic generates the internal device or subcircuit index, used as part of the default device or subcircuit name, according to the position of the upper-left corner of the bounding box of the object. The numbering starts with zero, and increases for positions with smaller Y value, or with larger X value for devices with the same Y coordinate. Each device and subcircuit type has its own numbering.


next up previous contents index
Next: Labloc Property: Property Number Up: Device Properties Set By Previous: Node Property: Property number   Contents   Index
Stephen R. Whiteley 2012-04-01