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.

148 2. Tutorial<br />

6<br />

VDD<br />

M3<br />

M4<br />

5<br />

1<br />

M1<br />

4<br />

M2<br />

2<br />

V1<br />

3<br />

V2<br />

CL<br />

IBIAS<br />

Figure 9.4: Single-ended CMOS differential stage<br />

Following, the netlist description of the circuit is not written by hand, but imported via the Analog<br />

Insydes command ReadNetlist (Section 3.10.1) from already existing simulator files. This function<br />

supports the standard application of symbolic analysis which is the extension of a simulation<br />

performed with a numerical circuit simulator. By this, a time-consuming and error-prone data<br />

conversion by hand is ruled out. In our case we start from a PSpice simulation. Thus, we need<br />

to specify the PSpice netlist and output file in the ReadNetlist call, as well as the option setting<br />

Simulator −> "PSpice" for applying the simulator-specific interface functionality.<br />

In[5]:= cmosdiffamp = ReadNetlist[<br />

"AnalogInsydes/DemoFiles/CMOSdiffamp.cir",<br />

"AnalogInsydes/DemoFiles/CMOSdiffamp.out",<br />

KeepPrefix −> False, Simulator −> "PSpice"]<br />

Out[5]= Circuit <br />

In[6]:= Statistics[cmosdiffamp]<br />

Number of Capacitors : 1<br />

Number of CurrentSources : 1<br />

Number of VoltageSources : 3<br />

Number of models MOSFET/MODN : 2<br />

Number of models MOSFET/MODP : 2<br />

Total number of elements : 9<br />

The automatically generated netlist description of the amplifier contains generic model references of<br />

the form

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

Saved successfully!

Ooh no, something went wrong!