next up previous contents index
Next: ``Long Text'' Capability Up: The label Button: Create/Edit Previous: Ctrl-a and Ctrl-p   Contents   Index


Spicetext Labels

In electrical mode, for efficiency reasons it is best not to use the SCED layer for labels. If the current layer is the SCED layer, a new label will instead be created using the ETC1 layer. If for some reason a label is required on the SCED layer, the Change Layer command in the Modify Menu can be used to move an existing label to the SCED layer.

In electrical mode, labels can be used to enter arbitrary text into the SPICE output. There are two methods to achieve this. In addition, the SpiceInclude variable can be used to add a file inclusion to the SPICE output.

If an electrical layer named ``SPTX'' exists, labels on this layer will be included, verbatim, as separate lines in SPICE output, unless the label is a ``spicetext'' label (below). These labels are sorted by position, top-to-bottom and left-to-right in output, and are placed ahead of the spicetext labels. A label on the SPTX layer in the format of a spicetext label will be output as a spicetext label.

If the first word of the label is of the form

spicetextN
the label is a ``spicetext'' label, and the text which follows will be entered verbatim as a separate line in the SPICE output. The spicetext labels can appear on any layer. The integer N, which is optional, is a sorting parameter. If there are multiple labels containing SPICE text, they will be sorted by N before being added to the SPICE output. Smaller N will appear earlier in the listing, with omitted N corresponding to a value of zero. The spicetext lines are written as a contiguous block in the listing.

Any text which can be interpreted by the SPICE simulator in use can be added using these methods, but erroneous syntax will of course cause errors as the SPICE text is sourced.


next up previous contents index
Next: ``Long Text'' Capability Up: The label Button: Create/Edit Previous: Ctrl-a and Ctrl-p   Contents   Index
Stephen R. Whiteley 2022-05-28