• 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. how to use ADE_L to plot waveform after command line si...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 125
  • Views 19054
  • 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 use ADE_L to plot waveform after command line simulation

xianweng
xianweng over 11 years ago

 hi,everyone

        I am simulating a big circuit .When I  use ADE  simulating it,it would take a long time to initialisation,and then begin to simulate.But when I use comnand line to simulate ,for example use command "spectre input.scs" ,it starts  quickly.After it finished,I can use wavescan to plot waveform,but it is not convenient as in ADE using results--direct plot.

       My cadence version is IC615 MMSIM13.0

        Could anyone tell me  how to use ADE_L to plot waveform after command line simulation?

  • Cancel
  • ShawnLogan
    ShawnLogan over 11 years ago

    > Could anyone tell me  how to use ADE_L to plot waveform after command line simulation?

     Dear Xianweng,

    I am sure many others can respond to your question with very good answers. I didn't see a response, so perhaps this might help:

    a. Open ADE-L and, using the Results Browser (under the Tools menu), browse to the directory that contains your results. You can select and plot those signals you have.

    b. Alternately, from the CIW, you can open the Results Browser directly (Tools-ADE-L_>Results Browser) 

    c. If you do not want to open ADE-L, you can place the two files in the attached file in your ~/bin directory ( or any directory in your search path) and make each executable.  The type "plotsig" with the following syntax and an X window will open that loads your results directory and plots the signal of interest. From the Viva window you can navigate to your results directory or  just type any ocean command into the X window. Teh scritp creates a temporary ocean script that loads your results and plots the desired signal. It is a very simple script, am I am sure others have more elegant solutions. However, I use it very often to check a simulation waveform quickly and it seems to work well for my needs.

    plotsig <UNIX_path_to_results> <type of analysis (i.e., tran, ac)> <signal_name _to_plot>

    example: plotsig /home/myname/design/workarea/simulation/test_ckt/spectre/myresults tran OUTPUT

    I hope this is helpful Xianweng,

     Shawn 

     

     

     

    plotsig.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • xianweng
    xianweng over 11 years ago

    hi Shawn,

    Thank you for reply.Your script is uselful.Thank you.

    But I am sorry i did not make it clear.I want to use ADE-L--results--direct plot to plot signal because I can directly click net name of interest on the schematic .Using Results Browser,first,I need open schematic founding hierarchy instance name and net name of interet.Then I can plot the signal,which is less convenient

     

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

    Dear Xianweng,

     > .I want to use ADE-L--results--direct plot to plot signal because I can directly click net name of interest on the schematic 

     I believe I now understand. If you open ADE-L after running your command line simulation, have you tried selecting your simulation results (under Results->Select, then navigate to your results directory) and then using Results->Direct Plot? If the netlist directory is adjacent to your psf directory and has an amap file, I think you will be able to open the schematic from ADE-L and use the Results->DirectPlot panel to select and plot a signal of interest.

     Shawn 

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

     Dear Shawn,

    Thanks a lot,it works!

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

    What I don't really get is why it would be slow starting the simulation in ADE. All it does is create the netlist, then invoke the simulator - there's not much overhead in the way in ADE L. The one exception to this is if using distributed processing, because then you have to wait for the queueing system to submit the job, and there's some synchronization. However, presumably you'd have the same issue with the command line...

    Andrew.

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

    Dear Andrew,

            it would be slow because I chaned the results directory.By defaults,it would be "~/simulation" ,but my home directory is too small to store big wave data.If I don not change it ,ADE L will create netlist very fast.However,if i change it to other directory ,ADE L will creat netlist very slow escpically for big circuit

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

    If there's no netlist, it has to be created - you can't run the simulation from the command line unless the netlist exists. So I don't really get why running from the command line helps you so much when the challenge is creating the netlist in the first place. If you want to save the netlist creation time when you change simulation directory, copy the cellName/simulatorName/viewName dir from your existing simulation dir to the new one, and then the incremental netlister can start from what it had before and then it should be fast...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Lokesh1
    Lokesh1 over 6 years ago in reply to Andrew Beckett

    Dear andrew, 

           I want to know can i do the simulations of the ADE L using BASH script and provide all types of analysis with different sweeps and corners.

    Please help and thanks in advance. 

    Lokesh

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Lokesh1

    Hi Lokesh,

    I suggest you start by reading the Guidelines for the Custom IC Design Forum which ask you not to post questions on the ends of old threads (plus various other guidelines).

    In general, the simplest way is to set things up in ADE L, then do Session->Save OCEAN Script. With this resulting OCEAN script you can (say) put a line at the end saying exit() and then do:

    ocean -restore oceanScript.ocn

    from the command line. You might want to change the design() line to design("libName" "cellName" "schematic") so that it takes care of net listing too.

    For more information consult the OCEAN Reference manual (in the Help menu in Virtuoso, in the search box type "OCEAN" and it will take you to various hits including the OCEAN Reference manual).

    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