• 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. Using calcVal for calibrating a circuit using local swe...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 5858
  • 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

Using calcVal for calibrating a circuit using local sweeps

sstrond
sstrond over 2 years ago

Hi,

In maestro I am wanting to run a cal test which sweeps a local variable called IL. For each local sweep I obtain an output, let's say Vout. This will be done over process only (temp and voltage is constant).
To keep it simple I am only sweeping IL over two points and therefore obtain two Vout results, one result for each sweep variable entry.

In the main test (no sweep, but will be run over PVT eventually) I want to use the two individual outputs of the cal test  to calculate a new variable that I want to use to scale the output waveform in the main test which will be run over PVT.
But even without corners making it difficult I fail to obtain the result I want.

In the main test I use the following:
calcVal("Vout" "cal_test" ?matchParams list(list("IL" 2))) - calcVal("Vout" "cal_test" ?matchParams list(list("IL" 1)))
which in my opinion gives me Vout ( for IL=2) - Vout (for IL=1). But this expression fails to evaluate when running the sim. It works in the calculator after the sims have run but fails to evaluate in the main test.

Maybe I am misunderstanding the use of the matchParams option in the calVal function.Any help is appreciated.

Thanks,

Version IC6.1.8-64b.500.32
Spectre Version 21.10.460

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

    Please contact customer support (submit a support case after logging in).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Please contact customer support (submit a support case after logging in).

    Andrew

    • Cancel
    • Vote Up +1 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