Convert WLF to VCD

Discussion in 'VHDL' started by Mancini Stephane, Apr 13, 2005.

  1. 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, Apr 13, 2005
    #1
    1. Advertising

  2. 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 ?
    Laurent Gauch, Apr 13, 2005
    #2
    1. Advertising

  3. Mancini Stephane

    Paul Hartke Guest

    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
    Paul Hartke, Apr 13, 2005
    #3
  4. Mancini Stephane

    Analog Guy Guest

    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:p...
    > 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
    Analog Guy, Apr 15, 2005
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Neil Zanella

    VCD file format

    Neil Zanella, Jul 24, 2003, in forum: VHDL
    Replies:
    3
    Views:
    15,833
    toxic_iguana
    Jun 13, 2006
  2. Sajan

    Dumping real signals in VCD

    Sajan, Sep 19, 2003, in forum: VHDL
    Replies:
    8
    Views:
    7,084
    vlsi.engg27
    Jul 21, 2007
  3. Brandon

    Resume ModelSim sim from wlf?

    Brandon, Mar 21, 2007, in forum: VHDL
    Replies:
    1
    Views:
    2,013
    HT-Lab
    Mar 22, 2007
  4. neo_anderson

    vsim-vcd-3228 Error vcd simulation

    neo_anderson, Jan 10, 2008, in forum: VHDL
    Replies:
    0
    Views:
    726
    neo_anderson
    Jan 10, 2008
  5. timinganalyzer
    Replies:
    0
    Views:
    593
    timinganalyzer
    Jan 26, 2010
Loading...

Share This Page