• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Measures with spectre syntax (OCEAN measure)

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 20064
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Measures with spectre syntax (OCEAN measure)

AnnaS
AnnaS over 15 years ago
Hello. Just wondering if someone could be able to help me to use FindWhen measure for DC analysis with spectre syntax.

Here is  corresponding hspice sample which I am trying to convert:

.MEASURE vtsat_sp find VTH(MN2) when v(vg1)=0.2

.MEASURE idsat    find i(vd3)   when V(Vg1)=0.2
 

Thanks in advance.

Anna

 
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Anna,

    I think you'd need to save the operating point data for various components during the transient (assuming it's a transient) by including:

    save *:oppoint sigtype=dev

    in the netlist (or including a file containing that).

    Then in OCEAN you can do:

    openResults("/path/to/results.raw")
    selectResult('tran)
    threshTime=cross(v("Vg1") 0.2 1 "either" nil nil)
    vtsat_sp=value(getData("MN2:vth") threshTime)
    idsat=value(getData("vd3:i") threshTime)

    Something like that anyway...

    You may have to be cautious about the case of the names. If you interactively try typing outputs() after doing the selectResult, you'll see what's present. You can also use outputs(?map nil) which will give all the names in simulator names - I'm not sure whether you're doing this from ADE or from a standalone netlist.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Anna,

    I think you'd need to save the operating point data for various components during the transient (assuming it's a transient) by including:

    save *:oppoint sigtype=dev

    in the netlist (or including a file containing that).

    Then in OCEAN you can do:

    openResults("/path/to/results.raw")
    selectResult('tran)
    threshTime=cross(v("Vg1") 0.2 1 "either" nil nil)
    vtsat_sp=value(getData("MN2:vth") threshTime)
    idsat=value(getData("vd3:i") threshTime)

    Something like that anyway...

    You may have to be cautious about the case of the names. If you interactively try typing outputs() after doing the selectResult, you'll see what's present. You can also use outputs(?map nil) which will give all the names in simulator names - I'm not sure whether you're doing this from ADE or from a standalone netlist.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information