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
@shanthab2 For controlling hierarchy using the tcl file is best. Cadence tools have this example:
I can not get the shm_probe command to accept a hierarchy that is in the form "Testharness.dut_1"