23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.3 Circuits and Subcircuits 49<br />

Throughout this text, the terms "subcircuit" and "model" shall be used as synonyms because small-signal<br />

device models are effectively implemented as subcircuits composed of circuit primitives like resistors and<br />

controlled sources.<br />

Keeping all netlist and subcircuit components of a circuit together is the task of the Analog Insydes<br />

data structure Circuit (Section 3.1.2), whose content sequence may be any number of netlist and<br />

subcircuit definitions.<br />

Circuit[<br />

Netlist[top-level netlist with subcircuit references],<br />

Model[subcircuit/model definition],<br />

<br />

Model[subcircuit/model definition]<br />

]<br />

A Circuit object additionally may contain model parameters and global parameters, see<br />

ModelParameters (Section 3.1.10) and GlobalParameters (Section 3.1.11).<br />

When a Circuit object is defined, it is printed in short notation only. To view the entire circuit<br />

structure use the command DisplayForm.<br />

2.3.2 Defining Subcircuits and Device Models<br />

The Model Object<br />

Let’s start to work with hierarchically structured netlists by learning how to define subcircuits using<br />

the Analog Insydes objects Model (Section 3.2.1) or Subcircuit (Section 3.2.2). This section describes<br />

how to write netlist-based models or subcircuits. Section 2.6.2 shows how to write equation-based<br />

models.<br />

Model and Subcircuit are semantically equivalent symbols. In fact, Subcircuit is just an alias name<br />

for Model. You may want to use both names in a Circuit if you wish to give visual cues as to which<br />

subcircuits represent device models by using the Model directive for these and the Subcircuit object for all<br />

other subcircuits.<br />

The Model object takes several arguments which must all be written in Mathematica’s option syntax<br />

keyword −> value. Four of the arguments must always be present whereas the remaining ones are<br />

optional or have default values. Below, the optional arguments are printed in slanted typewriter<br />

font. For now, we will restrict ourselves to the discussion of the required arguments. The optional<br />

ones will be introduced later in a step-by-step fashion, as this will help you to better understand<br />

why and when they are needed.

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

Saved successfully!

Ooh no, something went wrong!