next up previous contents index
Next: Subcircuit Calls Up: Subcircuits Previous: .subckt Line   Contents   Index


.ends Line

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

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 2006-10-23