• 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. ocnPrint() command is NOT working in OCEAN ( opened in Linux...

Stats

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

ocnPrint() command is NOT working in OCEAN ( opened in Linux Terminal)

RFStuff
RFStuff over 11 years ago

 Dear All,

I tried to plot and print my psf data into files.

I opened OCEAN (I am using IC5141) in linux terminal.

It successfully plotted the node voltages and currents by running plot command from a OCEAN script.

But when it encounters the ocnPrint() comnad in the ocean file:- ocnPrint( ?output "/home/xxx/CLUSTERS_RUN/TB_TEST_24Jul14/PLOT_DATA/V-Q_OUT_MINUS.vcsv" ?numberNotation 'scientific v("Q_OUT_MINUS"))


It says something as below:-

 *Info*    data exceeds 10000 points,  print out can be very slow. You
          can abort this command and print to a file use the
          following command:
      ocnPrint( v "Q_OUT_MINUS" ?resultsDir
          "/home/manas/CLUSTERS_RUN/TB_TEST_24Jul14/psf"
          ?result "tran-tran" ?output "./myOutFile" ?numberNotation
          'none)

Then OCEAN goes into hang mode and it neither quits nor it starts printing data into the given file.

When I press Ctrl-C, it exits.

Could anybody please tell how I can print those data into the file using ocnPrint() command ?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Did you try doing what it suggested? The key part is using ?numberNotation 'none ... if you do that, it will be much faster.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 11 years ago

     Dear Andrew,

    I tried that it prints into the file but the Y values are upto maximum 6 decimal points.

    But after plotting in wavescan and then saving the plotted wave in the .vcsv file it prints Y values till 16 decimal  point.

    Can't ocnPrint()0 do the same with the same way ?

    Kind Regards,

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

    Sure. Use ?precision:

    ocnPrint( ?output "/home/xxx/CLUSTERS_RUN/TB_TEST_24Jul14/PLOT_DATA/V-Q_OUT_MINUS.vcsv" ?numberNotation 'none ?precision 15 v("Q_OUT_MINUS"))

    Note that it doesn't make much sense to go beyond 15 digits of precision as double precision floating point numbers only have 15.6 decimal digits of precision, approximately (i.e. 52*log10(2) as you have a 52 bit mantissa). In addition the simulator won't be anywhere near that accurate!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 11 years ago

    Dear Andrew,

    Thank a lot for your reply.

    Kind Regards,

    • 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