• 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. How to use ViVA to calculate digital bus from AMS simulation...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 14705
  • 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 to use ViVA to calculate digital bus from AMS simulation output?

greatqs
greatqs over 9 years ago

The purpose is to use Skill or OCEAN to post-processing AMS simulation (by irun) output waveform and do some auto-checks on signals in digital domain.

I'd like to use "cross" function in ViVA calculator to find specific time at digital event transition. I tried that it works fine for single bit digital signal. However, it cannot work for multi-bit vectors.    

For example, if I use below expressions, the calculator will say "expression evaluation failed"

cross(awvDigital2Analog(getData("tb.DUT.u_DTOP.u_digital_top.D2A_FREQ_SEL[2:0]" ?result "tran-tran-2")) 0.5 1 "rising" nil nil  )

cross(getData("tb.DUT.u_DTOP.u_digital_top.D2A_FREQ_SEL[2:0]" ?result "tran-tran-2") 0.5 1 "rising" nil nil  )

 

Besides, it also seems that the "real" variables are treated like "interpolated lines" and although ViVA shows sharp transition, the "value" or "cross" calculator functions actually returns the "interpolated results". For example, a real variable A transition from 0 to 1 at 1ms. Function "value(getData("A") 0.5ms)" returns 0.5 instead of 0.

Are there any methods to workaround these 2 issues?

  • Cancel
  • greatqs
    greatqs over 9 years ago
    Does anyone know whether there is workaround for this? Thanks in advance!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I would suggest you contact customer support. I could probably write something and post here, but I'm a bit swamped at the moment - so I would suggest going through the formal support channel.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • greatqs
    greatqs over 9 years ago

    Andrew,

    Thanks and I have created a case (identification number is 45908550) about this. Appreciate you could help on this.

    Thanks,

    QS

    • 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