10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Subcircuit Definitions and Calls<br />

Eldo Netlist Setup<br />

Subcircuit Definitions and Calls<br />

A subcircuit consists of a group of elements. To define a subcircuit within a circuit description<br />

file, begin the subcircuit block with a .SUBCKT command and terminate it with the .ENDS<br />

command.<br />

Use the Xxx statement to instantiate a subcircuit previously defined using a .SUBCKT<br />

command. All components and nodes used in the subcircuit definition are known only locally,<br />

unless they have been globally defined via .GLOBAL or .PARAM commands. .MODEL<br />

specifications inside the subcircuit are also known only locally. There is no limit to the size or<br />

complexity of the subcircuit.<br />

Tip<br />

See “.SUBCKT,” “.ENDS” and “Subcircuit Instance” in the Eldo Reference Manual.<br />

Related Topics<br />

Netlist Structure<br />

Working With Subcircuits and Device Libraries<br />

Element and Source Definitions<br />

The circuit connectivity (netlist) is described in the netlist file by element statements of devices<br />

and sources.<br />

Element statements provide:<br />

• element name<br />

• nodes the element is connected to<br />

• parameter values<br />

The first letter of the element name is a key letter indicating the element type, for example:<br />

R for resistor, M for MOSFET, V for voltage source, and X for subcircuit instance.<br />

Component Names<br />

Component names start with the component reserved characters and continue with an arbitrary<br />

sequence of alphanumeric characters, including %, $, #, _. Component names cannot be broken<br />

at the end of a line.<br />

Node Name Conventions<br />

Node names may contain an arbitrary sequence of alphanumeric characters and some nonalphanumeric<br />

characters including: !, $, #, _, [], , :, \, /, |, +, -, *, %.<br />

Eldo® User's Manual, 15.3 99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!