• 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. How do I add signal probes to Simvision waveform viewer...

Stats

  • Locked Locked
  • Replies 19
  • Subscribers 66
  • Views 23995
  • 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 do I add signal probes to Simvision waveform viewer?

ianmurph
ianmurph over 2 years ago

I have some packages that live outside the top level testbench that drive some interfaces. I am trying to figure out how to add these signals into the waveform window. In Simvision, I can see all my packages and the signals from them, but they are in italics and say 'not probed':

How does one make these signals probed? Is there a file somewhere that tells the simulator what signals are probed? The simulation is run through a makefile script, here is a snippet from it. I tried adding the line that starts with 'probe' but I dont really know what I'm doing and this did not work:

if [ ! -d $(SIM_OUTPUT_DIR) ]; then mkdir $(SIM_OUTPUT_DIR); fi; \
cd $(SIM_OUTPUT_DIR); \
find . -type f -maxdepth 1 -delete; \
echo "Curent folder: "; pwd; \
irun -v200x -makelib rcf_lib ../../$(XSC_IP_DIR)/xsc_q7_neptec_ddvs_ntsc_ctrl_axi/src/hdl/constants_pkg.vhd -endlib \
-dumpstack -reflib xil_defaultlib $(IRUN_FILES) $(IRUN_SIM_OPT) $(IRUN_SIM_DEFINE_TC) $(IRUN_SIM_DEFINE_OPT) $(IRUN_CODE_COVERAGE_OPTIONS) -top $(TOP_LEVEL) -top glbl -logfile sim_log.log; \
probe -create -database waves::worklib.cpc_tools_pkg::cpc_tools -all -depth all

I may not have provided enough info to answer the quesiton, if so let me know what info is missing and I will try to answer it. Thanks in advance.

  • Cancel
  • Doug Koslow
    Doug Koslow over 2 years ago in reply to ianmurph

    You need to give the "database -open ..." command above first, so it knows which database to write the data to.

    - Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ianmurph
    ianmurph over 2 years ago in reply to Doug Koslow

    The error I am getting is:

    *E,PRNONE: No new objects to probe in scope cpc_tools_pkg::.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Doug Koslow
    Doug Koslow over 2 years ago in reply to ianmurph

    Is it the same if you do:

    probe cpc_tools_pkg:: -all -depth all

    If so, then let's follow-up in the support ticket. (It seems Xcelium doesn't think there is anything to probe in that package.)

    Thanks.

    - Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ianmurph
    ianmurph over 2 years ago in reply to Doug Koslow

    Yes same error. Okay I will see if I can find all the required info to open a ticket. Thanks for your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Deepak Siddharth
    Deepak Siddharth over 2 years ago in reply to Doug Koslow

    What was the resolution here? I am facing similar issue. Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ianmurph
    ianmurph over 2 years ago in reply to Deepak Siddharth

    I never did get this figured out. If you find a solution, please let me know what you did and I will also try it

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 2 years ago in reply to ianmurph

    Ian, did you ever file a support ticket for this? It should be easy to debug once someone can do a screen share with you. If you're still not sure what your licence server host ID is, ping me a DM and let me know your work email address, I'll try to look up the details in our system (though your CAD team should also be able to tell you host ID).

    Looking back at your very first screenshot, the "signal" you highlighted isn't really a signal at all. Your hierarchy shows a task inside a class inside a package. Waveform probes do not probe into tasks or functions by default, nor do they probe classes by default. This almost certainly explains why you see nothing probed for that package. 

    If you bring up an interactive simulation, navigate to that class / task in the design browser and send it to the waveform window, the simulator should generate the corresponding probe command, which would appear in the xrun.key file after simulation. You could then use that probe command to augment your existing waveform probes for future simulations.

    In my experience though, probing classes and tasks doesn't tend to work well for waveforms, because tasks and functions have a habit of doing lots of operations in zero time, so there's nothing much to show in the waveforms.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ianmurph
    ianmurph over 2 years ago in reply to StephenH

    Hi Stephen, I never did get a ticket opened. I asked some of my colleagues but could not figure out what our host ID is, so sort of gave up. Some of our simulation models are inside of classes inside packages, so I still would like to be able to probe inside of these if its possible. I tried greping our project folder but I could not find any files called xrun.key or irun.key.

    I can look again to find our host ID if you think this is something that could be resolved with a support ticket?

    Thanks again for all your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 2 years ago in reply to ianmurph

    Ian, I've sent you a private message so we can try to sort out your login to the support site. Having a login there not only enables you to get 1:1 support from our expert team, but also allows you to search our extensive knowledge base. For example, a search for "Xcelium probe Tcl" came back with this in the top 5 hits: How to probe class objects, dynamic arrays, multi-dimensional arrays, Strings, and UVM objects and I suspect it's exactly the article you needed.
    In short though, you could try to add the following Tcl command to your simulation:
    probe -create -shm cpc_tools_pkg -all -dynamic
    However be aware that changes that happen in zero time, such as class variables being updated inside a loop, will be almost impossible to debug in waveforms. Single-stepping on a breakpoint, or logging to the screen may be a better bet in that sort of case.

    • 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