• 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. help with monte-carlo, ocean xl script

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 13648
  • 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

help with monte-carlo, ocean xl script

ronis
ronis over 14 years ago

 hi , i have 2 problems, maybe some can help me:

i try to do monte-carlo simulation while sweeping VDD (global varible in my design) and temperature, but until now i didn't succeed.

1)   i need to do somthing like that:(psodeo code)

for( vdd=0.2 until vdd=0.6){

   for(temperature=0 until temperature=200){

       monte carlo simulation } }

i just need some help with the nesting loop....(I try with SKILL 'while' loop but, every time when i tried to change VDD (global varible) value i got error in my oceanx script.

thanks, 

2) i also need to the result of the monte-carlo simulatio:

all the result that  recieve from the process variation and thier amount ( if i do 100 sampling, i need to write to file all the result and the amount of eac resul)

so, how can i do it?,,,,to get the data from the graph and write it on file???

 

 thanks,

roni
  • Cancel
  • ronis
    ronis over 14 years ago

     hi , i have 2 problems, maybe some can help me:

    i try to do monte-carlo simulation while sweeping VDD (global varible in my design) and temperature, but until now i didn't succeed.

    1)   i need to do somthing like that:(psodeo code)

    for( vdd=0.2 until vdd=0.6){

       for(temperature=0 until temperature=200){

           monte carlo simulation } }

    i just need some help with the nesting loop....(I try with SKILL 'while' loop but, every time when i tried to change VDD (global varible) value i got error in my oceanx script.

    thanks, 

    2) i also need to the result of the monte-carlo simulatio:

    all the result that  recieve from the process variation and thier amount ( if i do 100 sampling, i need to write to file all the result and the amount of eac resul)

    so, how can i do it?,,,,to get the data from the graph and write it on file???

     

     thanks,

    roni

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Roni,

    The simplest place to start with this would be to set up a corner in ADE XL with vdd and temperature in the corner. Set the values in the corner to be:

    vdd=0.2:step:0.6
    temperature=0:step:200

    (pick appropriate step values for each).

    Enable that corner, and then choose monte carlo as the run mode. This will then run monte carlo for each of the points in the two sweeps (i.e. each subcorner) which are part of that corner. 

    You can then dump this as an OCEAN script from ADE XL to see what it looks like.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ronis
    ronis over 14 years ago

     thanks Andre,

    can you also tell me how can i save each iterration result og the monte-carlo to file?

     

    i write expreation to calculate frenquency, and what i need to do is to save all the frenquency value's and the amount of each frenquency value ( like it shown in the histogram graph of monte carlo).

     i try to do it with ocnPrint(), but i didn't succed.

    how can i do it?

    thanks,

    roni

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Roni,

    You can also get this with the ocnxlOutputSummary() function using the ?detailed t switch (or using the MyOcnxlOutputSummary I just posted, you can output this to a file).

    Andrew.

    • 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