• 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. dynamic parameter in transient sim with paramset file using...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 1591
  • 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

dynamic parameter in transient sim with paramset file using design variable & arithmetic

vamshiky
vamshiky over 1 year ago

Hi,

I wanted to control the time steps used in paramset file while dynamically changing the design variable in transient sim.

It this usage supported?

codesweep paramset {
time                 code
VAR("tstep")        1
2*VAR("tstep")     2
3*VAR("tstep")     3
....
....
}
Tried the above  in a file and included(with proper *.scs extension ) in the netlist, but the syntax here seems incorrect.
Thanks,
vamshiky
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    The syntax wouldn't be to use VAR("tstep") since that's ADE rather than Spectre syntax, but despite some fixes made in SPECTRE 21.1 ISR9, only design variables are supported in paramset (so just tstep) and not expressions of design variables/parameters.

    So this is not currently possible. Looking at the existing CCRs on this, 1939321/2189455 this part seems to have been overlooked.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • vamshiky
    vamshiky over 1 year ago in reply to Andrew Beckett

    Thanks for the comment Andrew, is there any workaround for this?

    vamshiky

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to vamshiky

    The workaround is to define parameters for each multiple - you can have parameters in the paramset currently, just not expressions (since SPECTRE21.1 ISR9):

    parameters tstep=100n tstepX2=tstep*2 tstepX3=tstep*3

    codesweep paramset {
    time                 code
    tstep       1
    tstepX2     2
    tstepX3     3
    ...
    ...
    }

    Of course, that will get a bit painful if there are a lot of them.

    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