• 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. create windows in ADEXL through ocean script

Stats

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

create windows in ADEXL through ocean script

Joe Black
Joe Black over 12 years ago

 Hi,

 I have an ocean script file added into the output setup in ADEXL. It works fine (e.g. collect data, save data into a file), but at the end of the ocean scrip, I tried to create a window to plot some waveforms (which were already saved into the output file). The problem is

1. the window never showed up

2. although the simulaiton is done (I can read the spectre.out to confirm) and the first part of the ocean script is run through (I can find the saved data file), the status always shows "running "

 I use newWindow() to create windows.

I am using ic615.isr12.

 Thanks,

ps. my script is sort of like this

filename = "myPath"

 selectResults('tran)

abc = VT("/abc")

ocnPrint(?output filename abc....)

newWindow()

plot(abc)

 Joe

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    The OCEAN scripts are evaluated in the background "ICRP" processes (which may run on the local machine or on a remote machine depending on your set up). The idea is that ADE XL can parallelize the netlisting, simulation, and post-processing.

    Because the background processes are run in "-nograph" mode, any plot() calls you make will display a window invisibly.

    If instead you use the axlAddOutputs() call on the first line of your script to state what outputs your script will produce, and then use axlOutputResult() to output each result, you will get additional (derived) outputs appearing in the ADE XL output pane, and you can then plot these after the simulations have finished.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Joe Black
    Joe Black over 12 years ago

      Hi, Andrew,

     Thanks for introducing the background.

    If I understand correctly, your suggested command (axlAddOutputs) adds signals into the adexl outputs pane, but not plotted automatically.

    Here is what I want:
    After simulation is done, create multiple windows then assign titles and plot multiple waves on each window.

    The particular simulation has huge amount of data and I prefer the plotting is done by itself, instead of I manually plot them (and wait for a long time). For example, the simulation is done in the early morning and I hope the plotting is done before I come to office.

    by the way, why the status is "running" even it is done. is it suspended (or waiting) for some feedback from the newWindow() call to continue?

    Thanks,

    Joe

     

     

     

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

    You should be able to have signals produced by the OCEAN script which are plotted automatically.

    You cannot using plotting functions within the OCEAN measurement script in ADE XL, because it will try to plot them in the background process. I suspect that something in  your script is raising some kind of dialog and because it is waiting for a user to interact with the form, it is blocking and thinks that the simulation is still running - you can't of course interact with it because the background process is in "nograph" mode.

    So as I said, you cannot plot using an OCEAN measurement script.

    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