• 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. conditional variable based type of test

Stats

  • Replies 1
  • Subscribers 125
  • Views 1213
  • Members are here 0

conditional variable based type of test

sjwprcssw
sjwprcssw 5 months ago

Hi,

I would like to set a variable, X, whose value is based on type of test. For instance, only in transient simulation its value = 1k, but in other simulation (PSS), its value is 0. 

I have tried this way

(analysis == "tran") ? 1k : 0,

it doesn't work since "tran" is not a known parameter. 

Is there any way to define this conditional variable?

My virtuoso version is IC23.10.120. 

BR

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 5 months ago

    This is not possible. In Spectre you could do it by using alter statements between the analyses, but there's nothing in ADE to do this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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