#13 .measure support v(x,y)

closed
Holger Vogt
5
2011-03-16
2011-01-25
Simon Y.H Chen
No

Dear NGTeam,

Please support this syntax like:
.meas dc vt find v(2,3) when .....

Thank you.

Discussion

  • Holger Vogt
    Holger Vogt
    2011-01-25

    Simon,

    for now you might use
    .meas dc vt find par('(v(2)-v(3))’) when .....

    Holger

     
  • Holger Vogt
    Holger Vogt
    2011-01-25

    Simon,

    par('(v(2,1))') is working as well, see below.

    File: simple-meas-tran.sp
    * Simple .measurement examples
    * transient simulation of two sine signals with different frequencies
    vac1 1 0 DC 0 sin(0 1 1k 0 0)
    vac2 2 0 DC 0 sin(0 1.2 0.9k 0 0)
    .tran 10u 5m
    *
    .measure tran diffat when par('(v(2,1))')=0.5 RISE=1
    .measure tran diffat when par('(v(2,1))')=0.5 RISE=2
    *
    .control
    run
    plot v(1) v(2)
    .endc
    .end

     
  • Holger Vogt
    Holger Vogt
    2011-01-25

    • labels: --> Frontend improvements
    • assigned_to: nobody --> h_vogt
     
  • Simon Y.H Chen
    Simon Y.H Chen
    2011-01-26

    Dear Holger,

    The syntax is not work in my place( DC analysis).
    **my deck
    .Temp 25
    vd 1 0 1.8
    vg 2 0 0
    vs 3 0 1.8
    vb 4 0 1.3
    m1 1 2 3 4 pmos L=2e-6 W=2e-6
    .dc vg 0 2.3 0.01
    .meas dc vt find par('(v(2)-v(3))') when i(vd) = '1e-8'

    .end

     
  • Simon Y.H Chen
    Simon Y.H Chen
    2011-01-26

    Error message:

    Error : measure vt (null)(WHEN) :
    out of interval

     
  • Holger Vogt
    Holger Vogt
    2011-03-16

    • status: open --> closed
     
  • Holger Vogt
    Holger Vogt
    2011-03-16

    see bug no. 3165634

    Holger