• 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. Do $shm_suspend and $shm_resume work?

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 14398
  • 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

Do $shm_suspend and $shm_resume work?

abiamb
abiamb over 14 years ago

My simplified code:

#100 $shm_open;

$shm_probe(...);

#100 $shm_suspend;

#100 $shm_resume;

#100 $shm_close;

Expecting waveform dump from 100 to 200 and 300 to 400 but getting dump from 100 to 400.

Anything that I missed?

  • Cancel
  • TAM1
    TAM1 over 14 years ago

    No, they don't work. $shm_suspend and $shm_resume are left over from the Verilog-XL days and are ignored by the NC-Verilog simulator.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abiamb
    abiamb over 14 years ago

    Thanks for confirming my suspicion.

    I used to do this type of window dumping in VCS and want to do the same in NC-Verilog.

    Being new to NC-Verilog, which PLIs to use to achieve the same thing? (suspend/resume waveform dumping).

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TAM1
    TAM1 over 14 years ago

    The current version of the SHM database is pretty optimized, so the savings of turning off the dumping may be less than you expect. You can use the old $recordvars or $dumpvars routines. Both have an on and off function associated with them. You can also use the TCL probe -shm, probe -disable and probe -enable commands in a TCL script to turn dumping off and on.

    • 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