23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

3.4 Expanding Subcircuits and Device Models 223<br />

3.4 Expanding Subcircuits and Device Models<br />

Before Analog Insydes can set up a system of circuit equations from a netlist, all subcircuits and model<br />

references in the netlist must be expanded and instantiated with ExpandSubcircuits. Subcircuit<br />

expansion is taken care of automatically by CircuitEquations, so that, except for debugging<br />

purposes, there is usually no need to call ExpandSubcircuits explicitly.<br />

3.4.1 ExpandSubcircuits<br />

ExpandSubcircuits[netlist, opts]<br />

Command structure of ExpandSubcircuits.<br />

expands and instantiates all subcircuit and model<br />

references in netlist<br />

Given a Netlist or Circuit object, ExpandSubcircuits expands all model references and stores<br />

model definitions to the global model data base. It returns a Netlist object. Expanding subcircuits<br />

is taken care of automatically by CircuitEquations, so that there is usually no need to call<br />

ExpandSubcircuits explicitly nor to take care of its options.<br />

ExpandSubcircuits has the following options:<br />

option name<br />

default value<br />

AutoloadModels True whether to load device models<br />

automatically from the model library<br />

DefaultSelector None the default value to be used to replace<br />

generic subcircuit selectors<br />

HoldModels None a list of patterns matching the names and<br />

selectors of model references that shall<br />

remain unexpanded<br />

InstanceNameSeparator<br />

Inherited[AnalogInsydes]<br />

the separator string for name components<br />

of model variables and reference<br />

designators (see Section 3.14.2)<br />

KeepLocalModels False whether to keep local model definitions in a<br />

netlist after subcircuit expansion<br />

Options for ExpandSubcircuits, Part I.

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

Saved successfully!

Ooh no, something went wrong!