A
Alan Fitch
Guest
Petter Gustad wrote:
no ideas, sorry - except why don't you store wlf and then use wlf2vcd
to convert it?
regards
Alan
--
Alan Fitch
Doulos
http://www.doulos.com
Hi Petter,It seems like Modelsim leaves out some bits during VCD file
generation. Here's an example using the Modelsim supplied tutorial
files:
vlib work
vcom -novopt counter.vhd tcounter.vhd
vsim -c test_counter -do runwithvcd.do
The file runwithvcd.do contains:
vcd file vcdtest.vcd
vcd add -r /*
run 500 ns
vcd checkpoint
quit -f
But when I look at the VCD file I see:
$version
ModelSim Version 6.3e
$end
$timescale
1ns
$end
$scope module test_counter $end
$var wire 1 ! count [8] $end
$var wire 1 " clk $end
$var wire 1 # reset $end
$scope module dut $end
$var wire 1 $ count [8] $end
$var wire 1 " clk $end
$var wire 1 # reset $end
$upscope $end
$upscope $end
$enddefinitions $end
I would expect count to be defined as 8 bits or 7 other single bit
$var declarations for the other bits. The VHDL is defined as:
port (count : buffer bit_vector(8 downto 1);
Any ideas?
Thanks
Petter
no ideas, sorry - except why don't you store wlf and then use wlf2vcd
to convert it?
regards
Alan
--
Alan Fitch
Doulos
http://www.doulos.com