• 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. Global variable sweep in Monte carlo analysis

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 125
  • Views 18832
  • 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

Global variable sweep in Monte carlo analysis

sidm
sidm over 5 years ago

Hi All, 

I am trying to run MC (Monte carlo ) simulation on a design. 

I am unable to sweep a Global variable in MC simulation unlike corner analysis. 

Can anyone please suggest a way to perform MC simulation along with sweeping global variable ?

Any details will be great help. 

thanks

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

    Which version of the tools are you using? Which tool are you using, in fact? The guidelines ask you to provide this kind of information for a reason...

    I'm guessing you're using ADE XL, because ADE Assembler supports this. If you really have to use the older ADE XL tool, you can put the variable sweep in the corner definitions and sweep that way.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • monkeydliren
    monkeydliren over 5 years ago in reply to Andrew Beckett

    Dear Mr. Beckett

    Thank you for pointing it out. I managed running parametric sweep in Monte Carlo analysis. However, regarding defining the variable that is being swept, for example, x from 1.9 to 2.2 with step size of 0.5.

    Instead of using Inclusion list and typing all values one by one, separated by space; it seems that From/To list will not be incorporated correctly.

    Below is the error message when I try to use {From/To}Linear:1.9:0.5:2.2{From/To} in the variable definition. {From/To}Linear:1.9:0.5:2.2{From/To} is created by adding the From/To linear specification in the parameterize table.

    ERROR (ASSEMBLER-5069): Cannot complete the Monte Carlo simulation because of the following error for the test

    ------------------------------

    Spectre simulator stopped due to following reasons:

    Error found by spectre during circuit read-in.

    Error found by spectre during circuit read-in.

    ERROR (SFE-874): "input.scs" 9: 15: Unexpected block statement "{". Cannot run the simulation because of syntax error. Correct the error and rerun the

    simulation.

    ERROR (SFE-683): "input.scs" 9: Badly formed parameters statement.

    I am wondering do you have any comment/suggestion on this?

    Thank you very much

    Ren

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to monkeydliren

    This is nothing to do with the monte carlo being involved in the sweep. It's because your sweep definition is invalid. You've asked to sweep from 1.9 to 2.2 with a step of 0.5. There is only 0.3 between 1.9 and 2.2, so a step size of 0.5 is too large.

    What should be happening is that ADE should complain about the invalid sweep, but it doesn't in this case (I'll file a change request to correct that, because it doesn't seem to have come up before). Other invalid sweep setups do get flagged.

    If you pick a smaller step size (i.e. one smaller than the interval between the From and the To ) it should work - assuming you're not using a very old IC617 version. You didn't mention which version you're using.

    Andrew.

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

    I filed CCR 2298625  to get the invalid sweep handled properly (if you'd have just put 1.9:0.5:2.2 without the from/to stuff around it, it would have simply simulated the first point) or to flag an error appropriately.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • monkeydliren
    monkeydliren over 5 years ago in reply to Andrew Beckett

    Dear Mr. Beckett

    Thank you for filing the change request. And you are absolutely right, that was my negligence, and with step size as 0.05, it worked without a problem.

    Thanks a lot for pointing it out

    Best regards

    Ren

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • monkeydliren
    monkeydliren over 5 years ago in reply to Andrew Beckett

    Dear Mr. Beckett

    Thank you for filing the change request. And you are absolutely right, that was my negligence, and with step size as 0.05, it worked without a problem.

    Thanks a lot for pointing it out

    Best regards

    Ren

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