• 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. ocean XL

Stats

  • Locked Locked
  • Replies 14
  • Subscribers 125
  • Views 16618
  • 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

ocean XL

analogdesign
analogdesign over 11 years ago

 Hai,

        I am very much new to oceanXL script.

        By using "save M1.m1:oppoint", i can't plot small signal parameters of MOS in ocean script.

        The expression willl appear as

        ocnxlOutputExpr( "getData("M1.m1:gm" ?result "dc-dc")" ?name "namegm" ?plot t ?save t).

        I would be thankful if anybody can post the solution for the above problem.

 Thanks,

 krishna   

 

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

     That's because you have a (pretty clear) syntax error in your script. You have:

     ocnxlOutputExpr("getData("M1.m1:gm" ?result 'dc)" ...)

    The problem is that you have quotation marks in the expression, and these are embedded within the string expression. So the string ends at the first quotation mark (so it just contains "getData(") and then some free text appears, and then you have " ?result 'dc)" - these are all stuck up against each other end hence you get syntax errors. It even tells you where they are!

    So you need to escape the embedded quotation marks:

     ocnxlOutputExpr("getData(\"M1.m1:gm\" ?result 'dc)" ...)

    Regards,

    Andrew.

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

     That's because you have a (pretty clear) syntax error in your script. You have:

     ocnxlOutputExpr("getData("M1.m1:gm" ?result 'dc)" ...)

    The problem is that you have quotation marks in the expression, and these are embedded within the string expression. So the string ends at the first quotation mark (so it just contains "getData(") and then some free text appears, and then you have " ?result 'dc)" - these are all stuck up against each other end hence you get syntax errors. It even tells you where they are!

    So you need to escape the embedded quotation marks:

     ocnxlOutputExpr("getData(\"M1.m1:gm\" ?result 'dc)" ...)

    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