Skip to content

Instantly share code, notes, and snippets.

@morganp
Last active August 10, 2023 02:49
Show Gist options
  • Save morganp/5797016 to your computer and use it in GitHub Desktop.
Save morganp/5797016 to your computer and use it in GitHub Desktop.
Creating SHM waveforms with irun

To run a verilog simulation using irun and create a shm waveform file,

initial begin
  $shm_open("waves.shm"); $shm_probe("AS");
end

run with irun -access +r testcase.sv

Or create this tcl file:

shm.tcl

database -open waves -shm
probe -create your_top_level -depth all -all -shm -database waves
run 
exit

run with :

irun -access +r testcase.sv -input shm.tcl
@ALLENzzzhu
Copy link

Hi @morganp how can i dump testcase signals rather than top.tb in UVM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment