• 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. CalcVal cannot pass the output of previous run to the next...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 12403
  • 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

CalcVal cannot pass the output of previous run to the next run on simulation using Run Plan.

delgsy
delgsy over 3 years ago

Hi, 

I have the  followig Run Plan setup.
"GV_Mismatch_sigma" comes from MC simulation of the "FINDING_UNTRIMMED_OFFSET" run.
I can see its value at the output of "FINDING_UNTRIMMED_OFFSET" run.
But, somehow its value is not passed to the next run, i.e., "FINDING_I_LSB".
Have I missed anything in my setup?

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

    Yes, you need to specify ?run “runName” in the calcVal arguments to indicate which earlier run plan entry you are referencing. You’ve not done that so it will be trying to get it from the same run, which isn’t correct because that test isn’t enabled in the same run. 

    In other words, you need to add ?run “FINDING_UNTRIMMED_OFFSET” to the calcVal arguments (after the output name and test name).

    More detail in the documentation of course. 

    Andrew

    • Cancel
    • Vote Up +2 Vote Down
    • Cancel
  • delgsy
    delgsy over 3 years ago in reply to Andrew Beckett

    Hi Andrew, 
    I added the ?run argument but it still does not work.

    The value that I am trying to pass is a scalar and has evalType "sweep" that I asked earlier here.
    To be more specific here, I am trying to pass a standard deviation from monte carlo simulation in the first run (FINDING_UNTRIMMED_OFFSET) to the second run (FINDING_I_LSB) in the same run plan.

    if I try to pass an output that has evalType "point" , it works.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • delgsy
    delgsy over 3 years ago in reply to Andrew Beckett

    Hi Andrew, 
    I added the ?run argument but it still does not work.

    The value that I am trying to pass is a scalar and has evalType "sweep" that I asked earlier here.
    To be more specific here, I am trying to pass a standard deviation from monte carlo simulation in the first run (FINDING_UNTRIMMED_OFFSET) to the second run (FINDING_I_LSB) in the same run plan.

    if I try to pass an output that has evalType "point" , it works.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to delgsy

    This would be best handled by customer support (mainly because to check this I'd need to put together an example to try it out, and I'm not working at the moment). At the very least you need to show:

    1. Which IC sub-version are you using? (Help->About will show this - please include the entire sub-version not just the major numbers at the beginning)
    2. Do you have corners enabled? Are the corners the same between FINDING_UNTRIMMED_OFFSET and FINDING_I_LSB? 
    3. Are there any differences in variables or sweeps between the two tests?
    4. Have I understood correctly that FIND_UNTRIMMED_OFFSET is a Monte Carlo run and FIND_I_LSB is a single-run-sweeps-and-corners run?

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • delgsy
    delgsy over 3 years ago in reply to Andrew Beckett

    Hi,

    Andrew Beckett said:
    This would be best handled by customer support (mainly because to check this I'd need to put together an example to try it out, and I'm not working at the moment)

    Yes, I understand. It is already helpful that you are still answering in this time around.

    1. IC6.1.7-64b.500.15 
    2. Yes. I used model that includes mismatch in the first run and nominal for the second run, then I specified calcVal with ?cornerName argument. I also tried to use model with mismatch for both runs. it still shows the same error.
    3. Yes. The first run is dc sweep. The second run is dc simulation without sweep.
    4. Yes, you have. 

    I attached again my setup here.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to delgsy

    Given that there have been rather a lot of enhancements and fixes related to calcVal over the 4 years since the (rather old) version you're using, I would suggest first trying with a recent IC6.1.8 version rather than one from October 2017. 

    Andrew

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