• 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 SKILL
  3. How to set a size for the waveform window while using Ocean...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 15548
  • 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

How to set a size for the waveform window while using Ocean.

EricBohannon
EricBohannon over 16 years ago

Hi,

I'm trying to set the size of a waveform window while using Ocean to run Monte Carlo analyses.  I run the Monte Carlo analyses and call the histogram function to plot my scalar values.  I often have more than one scalar value in a single waveform window.  I then call hardCopy() to save the existing waveform window as .png image file to my hard drive.  All of this works great, except for the fact that I cannot change the size of the waveform window.

I found solution number 11089214.  I attempted to do what it said but I had no luck.  For example, I modified my .oceanrc file to include the code in solution number 11089214.  I then opened ocean and on the terminal I typed "newWindow()".  A new waveform window appeared but it had not been resized at all.  I even added a print statement in my .oceanrc file to make sure the new code was getting called.  I've tried a few other things but nothing has worked.  Does anyone have any idea what I could do to fix this problem?

I'm using WaveScan version 5.10.41.500.5128 on Red Hat Linux.  Thanks for your help.

Eric

  • Cancel
  • EricBohannon
    EricBohannon over 16 years ago

    Hi,

    Since this post, I've tried a few other things that didn't seem to change the default size, width by height (in pixels), of the wavescan window.  My monitor is 1680 pixels by 1050 pixels.  My .oceanrc file has the following set up:

    ;Begin .oceanrc
    load "abMakeWaveform.il"
    load "abStats.il"

    simulator('spectre)
    ocnWaveformTool('wavescan)
    envSetVal("wavescan.graphFrame" "width" 'string "1000")
    envSetVal("wavescan.graphFrame" "height" 'string "1000")
    ;End .oceanrc

    Note that whenever I call newWindow(), histogram(), or plot(); a wavescan window appears in the lower left hand corner on my screen.  The width and height are each approximately 550 pixels.  I don't seem to have this problem when I use wavescan directly in cadence with analog design environment because each wavescan window is placed in the center of the screen.

    The reason why this is important to me is because I'm trying to fit six histograms onto a wavescan window that is ~ 550 pixels by 550 pixels and then save that to an image.  When I go to view that image, the histograms are barely visible and the mean and sigma values cannot be read.  I'm trying to do this in code so I don't have to do it manually.  If I can resize the wavescan window in code, it will be much easier for me to automate this analysis.

    Also note that I ssh onto a remote machine when running the ocean analysis.  Could this cause any problems?  Thanks for your help.

    Eric

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • EricBohannon
    EricBohannon over 16 years ago

    Hi,

    I found solution number 11169494 and it solved my problem.  Basically, you call:

     awvResizeWindow(awvGetCurrentWindow() list(200:200 1000:700))

    to resize the window.  Pretty simple.  Thanks for the great site.

    Eric  

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dlbro
    dlbro over 16 years ago
    Or just create the window already sized correctly: WaveWin3=awvCreatePlotWindow( ?bBox list(0:0 1700:1250)) ; these coordinates are for full screen on my monitor
    • 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