Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Convert WLF to VCD

Reply
Thread Tools

Convert WLF to VCD

 
 
Mancini Stephane
Guest
Posts: n/a
 
      04-13-2005
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
 
Reply With Quote
 
 
 
 
Laurent Gauch
Guest
Posts: n/a
 
      04-13-2005
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 ?
 
Reply With Quote
 
 
 
 
Paul Hartke
Guest
Posts: n/a
 
      04-13-2005
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

 
Reply With Quote
 
Analog Guy
Guest
Posts: n/a
 
      04-15-2005
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 <> wrote in message
news. ..
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsim-vcd-3228 Error vcd simulation neo_anderson VHDL 0 01-10-2008 12:46 PM
Resume ModelSim sim from wlf? Brandon VHDL 1 03-22-2007 09:09 AM
how to convert .rm files to mpg/vcd? boon Computer Support 1 04-10-2004 02:26 PM
convert mpg (vcd / svcd) to .vob (Video-DVD) Jörg Freund DVD Video 1 02-03-2004 11:19 AM
how to convert VCD movies into one DVD Hung DVD Video 2 08-12-2003 02:24 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57