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.

Eldo Netlist Setup<br />

Subcircuits<br />

.GLOBAL QWE<br />

VG QWE 0 DC 3<br />

*.SUBCKT with a global node name in argument list<br />

.SUBCKT B QWE<br />

R1 QWE 0 1K<br />

.ENDS<br />

V2 PIN2 0 DC 2<br />

X2 PIN2 B<br />

By default, Eldo will connect R1 between PIN2 and 0 because the symbolic subckt pin QWE is<br />

related to real node PIN2.<br />

When option DSCGLOB=GLOBAL is specified Eldo will connect R1 between global node<br />

QWE and 0.<br />

Multiplication (M) Factor<br />

The M factor is an element multiplier, simulating the effect of multiple elements in parallel. The<br />

M factor can be specified as a subcircuit parameter and applies to all elements.<br />

For example, if you have a subcircuit defined and instantiated as follows:<br />

.SUBCKT MYRSUB IN OUT<br />

R1 IN 1 1000 M=4<br />

R2 1 OUT 1000<br />

.ENDS MYRSUB<br />

X1 IN OUT MYRSUB M=2<br />

By default, the resistances of X1.R1 and X1.R2 will be 125 Ω and 500 Ω respectively. It is<br />

simulated as if there are eight X1.R1 devices in parallel and two X1.R2 devices in parallel. As<br />

can be seen in the example, the M factor works through the hierarchy. When it is specified on a<br />

subcircuit instance (X instance), every element defined in the subcircuit will be duplicated by<br />

this multiplication factor.<br />

You should not specify an M factor value less than 1 on devices as this could lead to simulating<br />

devices that cannot be physically realized. However, specifying M=0 on a subcircuit instance<br />

means the M factor is ignored for that subcircuit.<br />

To change the M factor behavior, so that the M=val factor of a subcircuit instance is handled as<br />

a <strong>user</strong>-defined parameter instead of a multiplication factor, specify the M53 option. In the<br />

previous example, with M53 specified, the final resistances of X1.R1 and X1.R2 will be 250 Ω<br />

and 1000 Ω, respectively. It is simulated as if there are four X1.R1 devices in parallel.<br />

See Also<br />

• Subcircuit Instance in the Eldo Reference Manual<br />

• .SUBCKT in the Eldo Reference Manual<br />

• .GLOBAL in the Eldo Reference Manual<br />

130<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!