Reading/exporting DC solution

Georgie
2011-08-19
2013-06-12
  • Georgie
    Georgie
    2011-08-19

    Hi,

    Is there any way to export individual values of the DC solution? Like for example vdsat for a specific transistor.

    Thanks in advance,

    George

     
  • Holger Vogt
    Holger Vogt
    2011-08-19

    George,

    * transistor output characteristics
    *
    vdd d1 0 2.0
    vss vsss 0 0
    vsig g1 vsss 0

    m1 d1 g1 vsss vsss nmos w=1e-5 l=3.5e-007

    .dc vdd 0 5 0.1 vsig 0 5 1

    .control
    save all @m1
    run
    plot vss#branch
    plot @m1
    .endc

    .MODEL NMOS NMOS  LEVEL   = 8
    +VERSION = 3.2.4  TNOM    = 27  TOX     = 7.4E-9

    .end

    Holger

     
  • Georgie
    Georgie
    2011-08-24

    Holger,

    I was having problems accessing the parameters for transistors inside a subckt (e.g. xx2). I found out that for ngspice you can do (interactive):

    print @m.xx2.mnip1

    Thanks for you help.

    George

     
  • Holger Vogt
    Holger Vogt
    2011-08-26

    George,

    I have added some remarks to our manual.

    Holger