Convert WLF to VCD

M

Mancini Stephane

Guest
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
 
Mancini Stephane wrote:
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

what is VCD file ?
 
From the Modelsim Release Notes:

* A new utility, wlf2vcd, was added which converts a WLF file to
a
VCD file. Complex data types that are not supportable in the
VCD
standard (records, memories, etc) are not converted but
will
generate a warning message. These warning messages can be
filtered
out with the -quiet switch.

I just checked and it is in my 6.0 release.

Paul

Mancini Stephane wrote:
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
 
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 <nospam@nospam.nospam> wrote in message
news:pan.2005.04.13.10.28.46.456562@nospam.nospam...
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
 

Welcome to EDABoard.com

Sponsor

Back
Top