• 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. problem with Ocnprint

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 13796
  • 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

problem with Ocnprint

Medya
Medya over 13 years ago

Hi everyone!
I do monte carlo analysis for my circuit via oceanScript but when i use ocnprint("./filename" out2 ?step 10n) the output text file is something like that I attach, note that when I remove the ?step the the output data is printed in one column an so I don’t have any problem but for above command the printing format  changes and the written data is not clear. What I  do for solving this problem?

  • Screenshot.png
  • View
  • Hide
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Is the line really line-wrapped, or is it just being line-wrapped in your editor?

    Which version of the IC tools are you using?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Medya
    Medya over 13 years ago
    Hi Andrew, I use IC5141. As I mentioned when I use? step this problem is occurred and when I removed it the results are printed in 1 column. This problem also present when I use stobeperiod,It is seemed that the OCNprint has problem with using of time step!!!!???? can you proposed other command for printing simulation results for Monte Carlo analysis with iteration of 100 that in every iteration transient analysis must be run ,I need to print output related value with step of 10n. Thanks. Medya
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    I tried it, to make sure we're talking about the same thing.

    Without ?step, the x-axis for each transient run will be different - the timesteps will not be consistent. So because of that, it can't print them in a big horizontal table; it has to do each iteration in a separate pair of time-value columns.

    With ?step, the x-axis will be consistent - so it does long lines. In your case your editor isn't wide enough and so it appears to line wrap - but with a longer width, it will be clearer.

    You could pass the ?numSpaces 0 argument, or adjust the ?width or ?precision to get more compact formatting.

    Hang on, just noticed that you'd updated he post since the email notifier was sent.  It's still not entirely obvious what you want.

    If you always want a single column, but want the points regularly spaced, you can use ?strobeperiod to the tran analysis. If you want multiple columns, you can do that with ?step to ocnPrint. I'm not sure what your actual problem is!

    For example, see the screenshot of my text editor - it's wide enough (and I used ?numSpaces 0 to stop it getting too wide):

    Andrew.

    • stuff.png
    • View
    • Hide
    • 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