• 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. Functional Verification
  3. Getting the Signal Waveforms into the Waveform Window with...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 20298
  • 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

Getting the Signal Waveforms into the Waveform Window with Xrun Command

anurans
anurans over 3 years ago

Dear All,

In Simvision, I want to load the saved signal names (not historical database values) of a design, when running a new simulation. Usually what I do is : 

xrun -clean ASYNC_FILTER.v  tb_async_fb.v  -v llk65nmmvbbr_sdf30.v -access +rwc -mess -timescale 1ns/1ps -gui

and then in the gui, I load the signals from an .svwf file !

I want to do this in a single xrun command, so I tried : 

1. xrun -clean ASYNC_FILTER.v  tb_async_fb.v  -v llk65nmmvbbr_sdf30.v -access +rwc -mess -timescale 1ns/1ps -gui -simvisargs "waveform loadsignals -using Waveform Window 1 FB1.svwf" and I always get an error.

2. xrun -clean ASYNC_FILTER.v tb_async_fb.v -v llk65nmmvbbr_sdf30.v -input load_wave.tcl -access +rwc -mess -timescale 1ns/1ps -gui and the load_wave.tcl has : 

waveform loadsignals -using "Waveform 2" FB1.svwf

This also gives errors. How can I get this solved ?

Thanks

  • Cancel
Parents
  • StephenH
    StephenH over 3 years ago

    Hi Anuran.

    The -simvisargs passes command-line switches to the simvision binary, not Tcl commands. You can send Tcl commands to SimVision from the Xcelium Tcl prompt, much like you tried in your 2nd trial, however the bit you missed is that Xcelium and Simvision have separate Tcl interpreters, so you need to prefix your "waveform" command with a special command to send the command over to SimVision: here's a pointer to the Xcelium Tcl command reference.

    Your load_wave.tcl needs to contain:
    simvision -submit waveform loadsignals -using "Waveform 2" FB1.svwf

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • anurans
    anurans over 3 years ago in reply to StephenH

    Hi, thanks for the input. However whatever I put within double quotes as the WW name (without/with spaces), I get the bad waveform window name error.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • anurans
    anurans over 3 years ago in reply to StephenH

    Hi, thanks for the input. However whatever I put within double quotes as the WW name (without/with spaces), I get the bad waveform window name error.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • StephenH
    StephenH over 3 years ago in reply to anurans

    I'm going to guess that by the time the waveform command executes, you haven't got a waveform window open yet.

    Try adding this command ahead of the waveform loadsignals one in your Tcl:

    simvision -submit waveform new -reuse -name Waveforms

    simvision -submit waveform loadsignals -using Waveforms FB1.svwf

    Note that if you start to need a lot of simvision Tcl commands it might be better to put them in their own file and pass them to Simvision as one file, perhaps with "xrun -simvisargs '-input mysimvis.tcl'" or from Xcelium's Tcl prompt using "simvision -input mysimvis.tcl"

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • anurans
    anurans over 3 years ago in reply to StephenH

    Thanks a lot, that solves the problem. 

    • Cancel
    • Vote Up +1 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