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.

370 3. Reference Manual<br />

Read and convert a PSpice<br />

netlist.<br />

Display the netlist.<br />

Read a PSpice netlist<br />

including operating-point<br />

information.<br />

In[2]:= netdc = ReadNetlist[<br />

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

Simulator −> "PSpice"]<br />

Out[2]= Circuit <br />

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

Out[3]//DisplayForm=<br />

Circuit:<br />

Netlist Raw, 9 Entries:<br />

R1, 1, 2, Type Resistor, Value 4700., Symbolic R1<br />

R2, 2, 0, Type Resistor, Value 4700., Symbolic R2<br />

R3, 4, 0, Type Resistor, Value 39000., Symbolic R3<br />

R4, 5, 0, Type Resistor, Value 82000., Symbolic R4<br />

R5, 1, 3, Type Resistor, Value 18000., Symbolic R5<br />

IC, 4, 5, Type CurrentSource, Value AC 0, DC Transient 0<br />

Q1, 3 C, 2 B, 4 E, Model ModelBJT, BC182, Q1, Selector SelectorBJT<br />

Q2, 1 C, 3 B, 5 E, Model ModelBJT, BC182, Q2, Selector SelectorBJT<br />

VCC, 1, 0, Type VoltageSource, Value AC 0, DC Transient 9., Symboli<br />

ModelParametersName BC182, Type NPN, CJC 1. 10 12 <br />

GlobalParametersSimulator PSpice<br />

In[4]:= buffer = ReadNetlist[<br />

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

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

Simulator −> "PSpice"]<br />

Out[4]= Circuit <br />

3.10.2 Simulator-Specific Remarks on ReadNetlist<br />

The command ReadNetlist translates netlists from several external simulators to the Analog Insydes<br />

netlist format. The following section describes the different features supported by ReadNetlist for<br />

each simulator.<br />

AnalogArtist<br />

ReadNetlist["netfile", Simulator −> "AnalogArtist"] is basically a wrapper function which is<br />

used to load a Mathematica compatible *.m file, generated by the Spectre to Analog Insydes Interface<br />

for Analog Artist. Additionally, ReadNetlist skips the data extraction step and returns the raw data<br />

in Mathematica format, if the options ParseOnly is set to True. For more information please refer to<br />

the documentation of the Cadence/Analog Insydes interface.<br />

AnalogInsydes<br />

ReadNetlist["netfile", Simulator −> "AnalogInsydes"] is basically only a wrapper function for<br />

the Mathematica command Get. Additionally, ReadNetlist checks if the netfile loaded contains a<br />

Circuit object and appends Simulator −> "AnalogInsydes" to the GlobalParameters field.

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

Saved successfully!

Ooh no, something went wrong!