• 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. getData returns nil

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 14600
  • 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

getData returns nil

Nicolas Callens
Nicolas Callens over 6 years ago

Dear all,

To get a wave object from my simulation results, I am trying to use the getData() command. However, I am having some issues with it. For example, getData("/OUT") returns nil in the CIW after I have simulated my testbench in ADE XL. However, when I am explicitly specifying the resultDir in getData() I am not getting this error (logically). I have used openResults() in order to use getData("/OUT") but without success. When can I use getData("/OUT")?

Kind regards, 

Nicolas

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Nicolas,

    For a start, you almost certainly need to specify ?result to tell it which analysis to get the result from (e.g. getData("/OUT" ?result 'tran)) - otherwise it doesn't know. In ADE XL you're running multiple simulations, and ADE will open the results for each individual simulation one at a time, but I think that only happens if you're plotting something (otherwise it doesn't need to do this) - and so which one you get will be whatever was opened last, which is somewhat arbitrary. You can certainly use getData in an output expression (you'll need to specify ?result though), but if you want to use getData arbitrarily in the CIW, you'll have to call openResults() or specify ?resultDir to explicitly state the directory.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nicolas Callens
    Nicolas Callens over 6 years ago in reply to Andrew Beckett

    Thanks for the clarification. Though, the manual gives an example where getData() is used without ?result and ?resultsDir. Is this an error?

    Regards,

    Nicolas

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Nicolas Callens

    Nicolas,

    Probably not. You can omit the ?result argument if you call selectResult() beforehand to specify the current result to use. Obviously that’s not something you’d do as part of a single expression - that’s mostly for when you’re reading results in an OCEAN script. 

    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