Convert WLF to VCD

M

Mancini Stephane

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
 
L

Laurent Gauch

Mancini said:
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 ?
 
P

Paul Hartke

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
 
A

Analog Guy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top