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.

36 2. Tutorial<br />

The Netlist command returns a raw netlist object which prints its content in short notation, i.e.<br />

only the number of elements is shown. To get a more detailed view of the netlist content use the<br />

command DisplayForm:<br />

In[3]:= DisplayForm[voltageDivider]<br />

Out[3]//DisplayForm= Netlist Raw, 3 Entries:<br />

V0, 1, 0, 10<br />

R1, 1, 2, R1<br />

R2, 2, 0, R2<br />

The netlist entry format (see Section 3.1.3) bears some remote similarity to that of the well-known and<br />

widely used numerical circuit simulator SPICE in that circuit elements are specified by an individual<br />

name, a list of nodes, and a value. In Analog Insydes, netlist entries must be lists of three fields<br />

which are called the reference designator, the connectivity list, and the value field:<br />

{reference designator, {connectivity list}, value field}<br />

This global scheme describes the only valid syntax for netlist entries – there is no exception to this<br />

format.<br />

Reference Designators<br />

The reference designator is a unique name by which a particular circuit element can be distinguished<br />

from all other elements in the same netlist. Typically, the leading one, two, or three characters of a<br />

reference designator implicitly determine the type of the corresponding element. Hence, V0 denotes<br />

a voltage source (type tag V), R1 and R2 denote resistors (type tag R), and VCCS a voltage-controlled<br />

current source (type tag VC).<br />

There are mechanisms to override automatic type detection from reference designators explicitly but this and<br />

other related advanced topics will be discussed later.<br />

Unlike Mathematica variables, type tags are not case sensitive. Therefore, two circuit elements with<br />

reference designators R1 and r1 are both recognized as resistors. However, the symbols R1 and r1<br />

represent two entirely different elements.<br />

Connectivity Lists and Node Identifiers<br />

The connectivity list specifies the nodes of the circuit to which the terminals of an element are<br />

connected. For that purpose, every node in a circuit must be given a unique name, a node identifier,<br />

by which it can be referenced. While some circuit simulators require the nodes to be enumerated<br />

by consecutive nonnegative integers, Analog Insydes lets you choose node identifiers quite freely.<br />

You do not have to number your nodes consecutively, nor do you need to use numbers as node<br />

identifiers at all. In addition to nonnegative integers, you may also use symbols or strings as node<br />

labels. The only requirement is that the circuit’s ground node must be identified by the label 0<br />

(zero). Internally all node identifiers are converted to strings. Thus, the node identifiers OUT and<br />

"OUT" refer to the same node. Moreover, node identifiers are case sensitive. Thus, OUT and Out refer<br />

to different nodes.

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

Saved successfully!

Ooh no, something went wrong!