I am trying to dump internal signals from a simulation done either with modelsim or with ghdl. Everything works fine using:
For modelsim, add vhdl sources and compile everything:
vsim -novopt work.uut_testbench vcd file ../uut.vcd; vcd limit 50000000; vcd add -r /uut_testbench/uut_core/*; run 6000 quit -sim
For ghdl
ghdl -i --ieee=synopsys --warn-no-vital-generic --workdir=work --work=work ./uut*.vhd ghdl -m --ieee=synopsys --warn-no-vital-generic --workdir=work --work=work uut_testbench ./uut_testbench --stop-time=6000ns --vcd=../uut.vcd
I see simulation signals, but not all. Signals defined as
Type InternalState is (Idle,Valid,Stalled); Signal sState,sPrevState :InternalState;
excluded from vcd. This behavior is common between modelsim and ghdl.
I see the following line in ghdl vcd generation
$comment sstate is not handled $end
Modelsim just lowers these signals quietly
Is there a workaround? Alternative?
source share