• 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. How get the "eventtime" variable calculated and used in...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 124
  • Views 1908
  • 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

How get the "eventtime" variable calculated and used in the sampled PAC analysis

groviere
groviere over 6 years ago

Hello.

I would like to use the "eventtime" variable in the calculator to perform a certain computation.

The "eventtime" variable I am talking about is the PAC sampling time, calculated when a certain condition is met. (In my case the condition is when a given net reaches vdd/2. This can be set-up in the PAC analysis form).

I can explicit access the computed value of "eventtime" in the Direct Plot-> PAC -> Variable Value (eventtime). In my case it's something like  4.50996n

However, as this value may change for different testing conditions, I would like to get it via variable evaluation. Something like: VAR("eventtime"), so I can use it in my calculator.

This what I currently have in the calculator:

value((v("/vop" ?result "pac-pac_cross") - v("/von" ?result "pac-pac_cross")) '"eventtime" '4.50996e-09)

This is what I would like to use instead.

value((v("/vop" ?result "pac-pac_cross") - v("/von" ?result "pac-pac_cross")) '"eventtime" VAR("eventtime"))

The latter expression is of course not working because VAR("eventtime") is not a correct expression.

The setup I am working with is: Virtuoso 6.1.7-64b and Spectre 18.1.0.169.isr2 64bit

Thank you for any help.

GR

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    You can use:

    sweepValues(v("/vop" ?result 'pac_sampled)) 

    to get a list of the eventtime values. So if it's the first event, you'd use:

    car(sweepValues(v("/vop" ?result 'pac_sampled)))

    Note that I used the aliased result name here 'pac_sampled, but it would also work with "pac-pac_cross" too.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • groviere
    groviere over 6 years ago in reply to Andrew Beckett

    Thank you very much Andrew.

    This solves my problem!

    • 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