• 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. Extracting the Data after Monte Carlo Sim and Writing it...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 13188
  • 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

Extracting the Data after Monte Carlo Sim and Writing it to a Text File

canbaltaci
canbaltaci over 12 years ago

Hello,

I use 5.10.41

I would like to write the simulation data of a Monte Carlo simulation to a text file. To be more specific: 

I perform a dc variable sweep Monte Carlo simulation. I defined an output which is

myOutput = VS("/V_H") - VS("/V_L") ;     V_H and V_L are net names.

After the Monte Carlo simulation I would like to extract and write the values of myOutput to a text file. How can I do that?

Best regards,

Can Baltaci

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    So you'll end up with myOutput as being a waveform for each monte carlo iteration, and thus a family of waveforms over the entire monte carlo simulation - that will be a two-dimensional set of information. Is that what you wanted?

    If you choose to save the family data in the monte carlo setup, you should be able to type (in the CIW):

    myOutput=VS("/V_H")-VS("/V_L")
    ocnPrint(?output "./results.txt" myOutput)

    You might (in IC5141) need to do:

    myOutput=v("/V_H" ?result 'dc)-v("/V_L" ?result 'dc)
    ocnPrint(?output "./results.txt" myOutput)

    Sorry about the "mights" in my reply - I've not had a chance to test it.

    Regards,

    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