SourceForge has been redesigned. Learn more.
Close

Measure Operating Point

Help
2014-02-25
2014-02-25
  • Justin Fisher

    Justin Fisher - 2014-02-25

    Is it possible to find operating point conditions in a .MEAS statement?

    For instance, in an NGSPICE window I can do this:

    plot @m1.x1.xmp1.mp1[vgs]-@m1.x1.xmp1.mp1[vth]

    and I can get a plot of the overdrive of my device. It's not clear to me from the manual how or even if one can use this in a measure statement.

    regards,

    Justin Fisher.

     
  • Justin Fisher

    Justin Fisher - 2014-02-25

    Ok, the answer is to not make it this complicated :)

    In the control section, one would just put:

    print @m1.x1.xmp1.mp1[vgs]-@m1.x1.xmp1.mp1[vth]

     
  • Robert Larice

    Robert Larice - 2014-02-25

    Hello Justin,

    if the syntax was to complicated to be parsed
    by 'measure'
    then you might try to work around with something like

     let foo = @m1.......
     plot foo
     print foo
     measure .... foo ....
    

    Regards,
    Robert

     

Log in to post a comment.