next up previous contents index
Next: Subcircuit Calls Up: Subcircuits Previous: spice3 Mode   Contents   Index


.ends Line

General Form:
.ends [subnam]
Example:
.ends opamp

The keyword ``.eom'' is equivalent to ``.ends''. The ``.ends'' is actually a default and the keyword can be changed by setting the subend variable. The .eom keyword applies in any case.

This line must be the last one for any subcircuit definition. The subcircuit name, if included, indicates which subcircuit definition is being terminated; if omitted, all subcircuits being defined are terminated. The name is needed only when nested subcircuit definitions are being made.



Stephen R. Whiteley 2017-11-08