• 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. Calculator -> Using 'value' in equation

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 17819
  • 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

Calculator -> Using 'value' in equation

syafiq
syafiq over 9 years ago

Hello,

I am having a problem to extract values from time domain simulation. I am using IC6.1.6

I have a time domain simulation from 0s to 32us (x-axis) and 0V to 3.3V (y-axis).

I want to extract value (voltages) start at 0.5us and periodically every 1us.

I put this equation-> value(v("out" ?result "tran") 0.5u  ?period 1u ?xName "time"  ), but when I try to evaluate the equation, it says expression failed.

But extracting only at 0.5u -> value(v("out" ?result "tran") 0.5u   ) ,it was successful. Unfortunately, I cant attached the psf file. it is too big even after compression.

Thanks

Syafiq

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

    I'd never do it that way - I'd use the family data instead so you could get all 100 values at the same time. However, if something isn't working, maybe you have a broken version? Perhaps you could take this up with your support channel (I guess Europractice, since you appear to be from Southampton University). If they can't solve it, they'll contact us.

    Your code appears to have the close() outside of the for loop - so you keep opening new file handles for each entry in the loop, and then close only one of them outside. I suggest moving the outfile() call to before the for loop. Maybe that's why it fails on subsequent attempts?

    Regards,

    Andrew.

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

    I'd never do it that way - I'd use the family data instead so you could get all 100 values at the same time. However, if something isn't working, maybe you have a broken version? Perhaps you could take this up with your support channel (I guess Europractice, since you appear to be from Southampton University). If they can't solve it, they'll contact us.

    Your code appears to have the close() outside of the for loop - so you keep opening new file handles for each entry in the loop, and then close only one of them outside. I suggest moving the outfile() call to before the for loop. Maybe that's why it fails on subsequent attempts?

    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