Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Help: about simulation waveform

Altera_Forum
Honored Contributor II
1,569 Views

Hi, may i know is there a way to convert the simulation waveform into .txt format because i using quartus to generate test sequence and the output is in .vwf and i need to apply the test sequence into HOPE simulator which is using .txt format. So, now i'm collecting the test sequence which is in .vwf into the .txt format by manually typing it.  

Please let me know if there is a way to convert it, THX...
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
805 Views

I normally write a text file directly in the testbench)Modelsim). My last post gave some read/write examples. 

a direct method is this: in your code open a file then you just write each data sample(on the clk for example) to a line then from line to file, then close the simulator to flush the file.
0 Kudos
Altera_Forum
Honored Contributor II
805 Views

 

--- Quote Start ---  

I normally write a text file directly in the testbench)Modelsim). My last post gave some read/write examples. 

a direct method is this: in your code open a file then you just write each data sample(on the clk for example) to a line then from line to file, then close the simulator to flush the file. 

--- Quote End ---  

 

 

Sorry, I also have a problem with my simulation waveform. I dont know whether it has to do with the settings. Whenever I try to simulate my VHDL codes, their waveforms dont follow the clock accordingly , even if the codes are well written. Sometimes I get some glitches in them. In the case of a counter, the three counts values are shown properly, but the next ones are unreadable. What could be the problem ?
0 Kudos
Altera_Forum
Honored Contributor II
805 Views

Without seeing the code, your problem doesnt make alot a sense.

0 Kudos
Altera_Forum
Honored Contributor II
805 Views

 

--- Quote Start ---  

Without seeing the code, your problem doesnt make alot a sense. 

--- Quote End ---  

 

 

Here's the code's attachment...
0 Kudos
Altera_Forum
Honored Contributor II
805 Views

There appears to be nothing wrong with this code.

0 Kudos
Reply