Save the result of simulation
There are timing charts of "RamCtrl.vhd" and "butterfly.vhd" (sorry, comments are in Japanese) --> I=1, I=2, I=3, I=10. "I" is a variable of outer loop of FFT.

The simulation ends at about 15.2ms. The FFT result is stored in ram_0_real/ramdata at this time stamp.


Choose View -> List in the menu.


A list window appears. Let's drag and drop ram_0_real/ramdata.


The list shows contents of the RAM. Choose Write List -> Events.


Then a file named list.lst is generated. Change the name to ram_0_real.txt and edit it in a editor. This file contains RAM data from stat of the simulation to the end. So the last line is what we want. Let's leave it and remove other lines.


The RAM's capacity is 1024 words so that the last line has 1024 data in a row. Therefore decompose the line to 1024 lines. This is real-part of FFT result.


Do the same thing for ram_0_imag/ramdata. The following is ram_0_imag.txt, that is imaginary-part of FFT result.


Back


Top Page