Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- 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 ?