• 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. RF Design
  3. Working around lack of sweeps in MC runs

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 64
  • Views 15646
  • 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

Working around lack of sweeps in MC runs

MicheleA
MicheleA over 11 years ago

Hi all,

I need to run some MonteCarlo experiments on a circuit, while sweeping some of its parameters.

However, this is not possible within the current ADEXL (BTW, why?)

I am not very SKILLed...so here's where I need your help. The sweep space is not small, spanning some 90 pts, so the idea I come up with is to use some command line approach to work around the lack of a "GUI" interface.

Basically, I would run the MC simulation 90 times, with a 'same circuit' changing only for the value of two Design Variables.

In my overly simplified mind, I would end up with a script containing some 90 lines of this sort:

spectre (myCircuitSetup, DesVar1=1,DesVar2=1)

spectre (myCircuitSetup, DesVar1=1,DesVar2=2)

spectre (myCircuitSetup, DesVar1=1,DesVar2=3)

....

Now, the questions are basically HOW to implement such thing, provided this is a viable solution (which is question number zero):

1 - I have saved the Ocean script from ADEXL interface. This script is somewhat bulky (for instance, it contains the Corner definitions although there is no actual corner selection for simulation). Being ignorant as I am, I would then blindly create 90 copies of this with the modifications needed (the different DesVar declarations) in the right places. This would involve quite some work on my part to find an effective way to 'program' this text file manipulation. I am not skilled in any of the Phyton or any other shell programming but I will find my way through it. However, this just sounds too cumbersome, therefore:

2 - Is there another method to more elegantly pass to the simulator a same netlist, with same settings all the way thru, BUT for the value of some DesVar? Some for loop?

3 - What would be the suggested method to 'distribute' this huge job efficently? Some batch thingy? Basically I would like to reproduce the intelligent batch behavior you can have running behind the scenes when you couple sweeps with distributed computing.

Any hint would be really appreciated, thanks in advance! :)

Michele 

  • Cancel
Parents
  • MicheleA
    MicheleA over 11 years ago

    Hi Andrew,

    just switched to MMSIM13.10.127

    And I checked, APS or Spectre makes no difference. Modulated Frequency is just not there.

    I look forward to hearing about your checks.

    Another thing: I ran a MC for a single point overnight, saving data to allow family plots. 200 points of an ENV simulation. The whole simulation folder weights some 500MB. I asked to plot a current Vs. time this morning around 8h10...I am still waiting...

    What can cause this? And more importantly, how can I exit this state without killing/restarting? A simple top command shows that the virtuoso process isn't doing anything...

    Cheers,

    Michele 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • MicheleA
    MicheleA over 11 years ago

    Hi Andrew,

    just switched to MMSIM13.10.127

    And I checked, APS or Spectre makes no difference. Modulated Frequency is just not there.

    I look forward to hearing about your checks.

    Another thing: I ran a MC for a single point overnight, saving data to allow family plots. 200 points of an ENV simulation. The whole simulation folder weights some 500MB. I asked to plot a current Vs. time this morning around 8h10...I am still waiting...

    What can cause this? And more importantly, how can I exit this state without killing/restarting? A simple top command shows that the virtuoso process isn't doing anything...

    Cheers,

    Michele 

    • 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