Altera_Forum
Honored Contributor
11 years agogenerate waveform output on FPGA from file
I have a testbench that generates inputs to my module. It works in simulation. What I want to do is take the waveform of these inputs (5 of them, each is just 1 bit) and put those an on FPGA that outputs them and feeds into the chip to test for real. So the FPGA becomes like a signal generator outputting the testbench waveforms in simulation.
Is there any suggestion the best way to do this? I am thinking to write the waveform inputs to a txt file from simulation and maybe load this to the SRAM that the FPGA can read and send out. Though I'm not sure how to do this (if this is the best way).