Forum Discussion

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

Loggin simulation data to text file

I have a simulation with signed 16b input and output. I would like to log the simulation data to an ascii text file for post processing in matlab. Should be a simple way to do this but I can't find it. Seem some references in docs related to tbl format but no details.

Also is it possible to bypass the waveform editor and generate the Quartus simulation file in a text based format? I thought about editing the vwf in a text editor but it can be cumbersome.

Any suggestions would be appreciated.

Tony

3 Replies

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

    My suggestion is to use ModelSim. It supports e. g. textio in VHDL textbenches, allowing to read stimulus data and write results.

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

    Thanks for the suggestion. I was trying to avoid the learning curve associated with modelsim but it doesn't look like I have any other choice.

    I have tried to download the free version of modelsim from Altera but no luck. Just keeps emailing me a license for Quartus. Downloading and executing the model code just gives me license errors.

    Anybody have any luck with installing the free version of modelsim with Quartus?

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

    Hello,

    I can't help with ModelSim Altera cause I'm using a full license version. Regarding Quartus simulator options, *.vwf actually is a text format, it should be able to generate stimulus from external data. But I don't see an opion for simulated waveform export, except that functional simulation output could be exported in a VHDL testbench as expected waveform.

    Simulated waveform apparently isn't written to disk in a readable format.

    Regards,

    Frank