• 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. ocnxlOutputSummary on a calculated variable

Stats

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

ocnxlOutputSummary on a calculated variable

Fabb
Fabb over 10 years ago

Hello,

Instead plotting a calculated variable (var1 in the example below), I would like to save it. To do So I use ocnxlOutputSummary, but I have this error 

*Error* eval: undefined function - _ocniGetXLProjDir

Can you help me.

Regards,

Fabrice

paramRun()
selectResult( 'tran )
var1= (cross(VT("/state") 0.5 1 "either" nil nil) - 1e-09)
plot( TauSwitch ?expr '( "var1" ) )
ocnxlOutputSummary(?exprSummary t ?specSummary t ?detailed t ?wave t ?fileName "myOutPutfile")

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    It looks as if you are mixing OCEAN and OCEAN XL functions. paramRun() is not used in an OCEAN XL script, and ocnxlOutputSummary is not used in an OCEAN script. I've found some reports of this in the past (using old versions) but didn't think it happened nowadays - I got a clear error when I tried something similar.

    Probably you want to use ocnPrint(var1) or similar? Or even an fprintf()?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Fabb
    Fabb over 10 years ago

    Thanks Andrew for your answer.

    Indeed I was not aware about the impossibility to mix ocn and acnXL script.So I chose ocnprint() function like this:

    paramRun()
    selectResult( 'tran )
    var1= (cross(VT("/state") 0.5 1 "either" nil nil) - 1e-09)
    ocnPrint( ?output "./myOutputFile" getData("var1")

    it run pretty well but i can't find ./myOutputFile.

    Something I miss ?

    regards,

    Fabrice

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Fabrice,

    This should go in your working directory. However, I do notice that you are missing a close parenthesis on the ocnPrint - not sure if that's the error?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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