Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Automatically save the result after simulation

Hi.. I am going to simulate a design where it takes very long time using Quartus II. Is there any way to save the result automatically after finish simulation?

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Depends what you want to save.

    If you after all signals then look at.

    vsim -wlf -wlfslim etc options

    and

    log -recursive /* command.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I want to save all.

    I totally new in the scripting.

    can you explain more details like

    - vsim -wlf -wlfslim etc options

    - where to do write the command

    Can you give me some example ?

    thanks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I run everything from tcl script files. I've got limited experience using he GUI, except for browsing signals.

    The following couple of lines are in .do file, after loading into modelsim it can be run with the command '_vsim' on the command line.

    All the source needs to be compiled first, with vcom (for vhdl) etc.

    variable tb_name "top_level_entity_name

    proc _vsim {} {

    vsim -t ps +nowarnTFMPC -wlf $::tb_name.wlf -wlfslim 512 -wlfdeleteonquit "$::tb_name"

    log -recursive /*

    }