There are actually a few different ModelSim commands you can use
in a script file ("do" file) to automatically write out a VCD file.
To the beginning of your do file, add the following:
################################################## ##
### Open file for VCD (Value Change Dump) output ###
################################################## ##
# Create and open a VCD file
vcd file <filename>.vcd
# Add VHDL signals (i.e. in this case, recursively add all signals)
vcd add -r *
To the end of your do file, add the following:
#################################################
### VCD File Control - Dump all VCD variables ###
#################################################
# Flush contents of VCD file buffer to VCD file
vcd flush
# Turn off VCD dumping
vcd off
The only way I have found to actually close the VCD file (i.e. there is no
file close command that
I know of) is to perform a 'restart' on the ModelSim command line.
Mancini Stephane <
[email protected]> wrote in message
news:
[email protected]. ..
> Hi all,
> Please, can someone would help me to convert a WLF file produced with
> modelsim to a VCD file ?
>
> Is there any converter ?
>
> Thanks a lot for your help
>
> Stéphane