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.

182 3. Reference Manual<br />

A complex circuit<br />

description.<br />

In[2]:= amplifier = Circuit[<br />

Netlist[<br />

{V0, {VCC, 0}, Symbolic −> {AC−>0, _ −> VCC},<br />

Value −> {DC | Transient −> 12}},<br />

{V1, {1, 0}, Symbolic −> V1, Value −> {AC −> 1,<br />

DC | Transient −> SinWave[Time, 0.8, 0.01, 1000]}},<br />

{Q1, {2 −> C, 1 −> B, 0 −> E},<br />

Model −> Model[BJT, DEFNPN, Q1],<br />

Selector −> Selector[BJT, DEFNPN, Q1],<br />

Parameters −> Parameters[BJT, DEFNPN, Q1],<br />

GM$ac −> 0.02, RPI$ac −> 5.0*^3, RO$ac −> 1.0*^4},<br />

{RC, {VCC, 2}, Value −> 500, Symbolic −> RC}<br />

],<br />

Model[Name −> BJT, Selector −> ACsimple,<br />

Scope −> Global, Ports −> {C, B, E},<br />

Parameters −> {gm, Rpi, Ro, GM$ac, RPI$ac, RO$ac},<br />

Definition −> Netlist[<br />

{RPI, {B, E}, Value −> RPI$ac, Symbolic −> Rpi},<br />

{VC, {B, E, C, E}, Value −> GM$ac, Symbolic −> gm},<br />

{RO, {C, E}, Value −> RO$ac, Symbolic −> Ro}<br />

]<br />

],<br />

ModelParameters[Name −> DEFNPN, Type −> "NPN",<br />

IS −> 1.0*^−16, BF −> 100, BR −> 1, VAF −> 150],<br />

GlobalParameters[TEMP −> 300.15, GMIN −> 1.0*^−12]<br />

]<br />

Out[2]= Circuit <br />

3.1.3 Netlist Entries<br />

Netlist entries must be written in one of the following ways:<br />

{refdes, {nodes}, value}<br />

simple netlist entry format<br />

{refdes, {nodes}, Value−>value, opts}<br />

extended value field format for netlist entries<br />

{refdes, {node −>port <br />

, † † † }, Model−>name, Selector−>sel, par <br />

−>val , † † † }<br />

netlist entry format for model references<br />

Netlist entry formats.<br />

The reference designator (refdes) is a unique name (a symbol or a string) by which a circuit component<br />

can be identified, such as R1 and CL for a resistor R and a load capacitor C L . For linear netlist<br />

elements, the first one, two, or three letters of the reference designator (the type tag) determine the<br />

type of the element (see Chapter 4.2 for a list of available linear element types). In the following,<br />

the simple and extended netlist entry format is described. Section 3.1.8 describes the netlist format<br />

for model references in more detail.

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

Saved successfully!

Ooh no, something went wrong!