• 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 Design
  3. Parse instance brackets in Ocean

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 13386
  • 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

Parse instance brackets in Ocean

BVT1
BVT1 over 14 years ago

Hello there,

I am trying to save/print the vth of a MOS in instance DIODE<0> using Ocean. The pointy brackets do not seem to work with Ocean. I tried one backslash, two backslashes and none in front of each bracket. The latter option seems to be going through okay (i.e. Ocean doesn't complain), but the result is nil.

 This is what I've tried with no success:

"VDSAT_MD"  "DC"  "OP(\"BIAS_MIR.DIODE\<0\>.MMIR0.mds\" \"vth\")

"VDSAT_MD"  "DC"  "OP(\"BIAS_MIR.DIODE\\<0\\>.MMIR0.mds\" \"vth\")

"VDSAT_MD"  "DC"  "OP(\"BIAS_MIR.DIODE<0>.MMIR0.mds\" \"vth\")

 Any help will be much appreciated.

 Thank you

 

  • Cancel
Parents
  • BVT1
    BVT1 over 14 years ago

    Hi Lawrence,

    I just cracked it!

    The DC Operating Point results in ADE give you the following expression for a MOS parameter:

    OP("BIAS_MIR.DIODE\\<0\\>.MMIR0.mds" "vth")

    Since we need to escape both " and \ in the expression above for Ocean to parse it with no errors, and given that the above expression uses double \, I escaped each of the " and \ above resulting in the following working expression:

    OP(\"BIAS_MIR.DIODE\\\\<0\\\\>.MMIR0.mds\" \"vth\")

    I hope it makes sense and helps others with similar issues.

    BVT1

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • BVT1
    BVT1 over 14 years ago

    Hi Lawrence,

    I just cracked it!

    The DC Operating Point results in ADE give you the following expression for a MOS parameter:

    OP("BIAS_MIR.DIODE\\<0\\>.MMIR0.mds" "vth")

    Since we need to escape both " and \ in the expression above for Ocean to parse it with no errors, and given that the above expression uses double \, I escaped each of the " and \ above resulting in the following working expression:

    OP(\"BIAS_MIR.DIODE\\\\<0\\\\>.MMIR0.mds\" \"vth\")

    I hope it makes sense and helps others with similar issues.

    BVT1

    • 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