• 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. Multi Dimensional Generated Plot During Monte Carlo Analysis...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 3258
  • 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

Multi Dimensional Generated Plot During Monte Carlo Analysis with Parametric Sweep

mnmz
mnmz 11 months ago

Hi, 

I am calculating a current at specific node, meanwhile I am running parametric analysis by sweeping the digital code. I can plot the current after the sweeping and do some post processing in the calculator. I want to do the same thing with Monte Carlo analysis, now I can plot the current but the x-axis is technically the monte carlo seed number, so I need to change the x-axis to the "code Number" so that I can the correct plot, now I do the same process in the calculator but it gives an error and fail to generate the result using the same expression. 

I tried doing easy expression like Value function to get the data from the plot after changing the axis, but it fails. is there any was I can do this? or there is something wrong in my setup?

These are mu Cadence versions (I have already tried different versions of MMSIM and Virtuoso and did not see the issue is fixed): 

MMSIM_201_ISR13

Virtuoso_20.1_ISR34

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett 11 months ago

    Seeing a plot would help, but I am guessing you should use the swapSweep function to change the x-axis to your digital code variable.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mnmz
    mnmz 11 months ago in reply to Andrew Beckett

    Hi Andrew, You are right, I am using the swapsweep function to change the x-axis, but the issue is right after that. I want to use the new plot (axis updates) in the calculator to measure some values, but the calculator gives error for that expression while I am running Monte Carlo, but for a single Run it works fine.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • mnmz
    mnmz 11 months ago in reply to Andrew Beckett

    Hi Andrew, You are right, I am using the swapsweep function to change the x-axis, but the issue is right after that. I want to use the new plot (axis updates) in the calculator to measure some values, but the calculator gives error for that expression while I am running Monte Carlo, but for a single Run it works fine.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett 11 months ago in reply to mnmz

    It would rather help to know:

    1. The expression which is failing
    2. The error message
    3. What you are sweeping

    Otherwise there's a lot of guesswork to try to give a solution...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mnmz
    mnmz 11 months ago in reply to Andrew Beckett

    Thank you Andrew for your reply.

    This is the expression: 

    value(leafValue( getData("/Diff_Current" ?result "tran" ?resultsDir "/AAA/BBB/...") "mcparamset" 26) 5 )

    Error message in icfb: 

    ERROR (VIVA-3302): expression evaluation failed: value(leafValue( getData("/Diff_Current" ?result "tran" ?resultsDir "/AAA/BBB/...") "mcparamset" 26) 5 )

    I am sweeping parameter in the verilogA block (I give a number from 0 to 127 it generates the binary code), so I am sweeping the Code_Number and measure current, while running over Monte Carlo simulation. I have the measured current data and then plot them, it automatically generates "current vs mcparamset", then I right click on the x-axis and using Swap Sweep VAR to change the x-axis to Code_Number. Now I have the plot of Current vs Code Number for each Monte Carlo Run. Then I go to the calculator and by clicking on the waveform, bring the expression to the calculator to generate the above expression.

    • 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