FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP

FFT_tb

Altera_Forum
Honored Contributor II
978 Views

Hi ! 

I created 16 FFT code by using megawizard. I ran its stimulation by using the test bench code which megawizard created. 

It is running only for 4 frames. I modified the frame number and its source files( sink_real.txt and sink_imag.txt) but I couldnt run it for more frames. 

I want to run it for 16 frames. Did anyone try this ? Is it possible ? 

thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
333 Views

If you're using fft_tb.v then you need to edit line 51: 

 

 

parameter NUM_FRAMES_c = 4; 

 

To what you want. 

 

 

For fft_tb.vhd you need to edit line 56: 

constant NUM_FRAMES_c : natural := 4; 

 

 

Does that help?
0 Kudos
Altera_Forum
Honored Contributor II
333 Views

I am using VHDL .I have editted the line 56 I didnt work. 

I figured out the problem . 

We have to edit also line 59. 

 

signal fftpts_array : fftpts_list_t := (16, 16, 16, 16); 

 

this array legnt must be the same with the frame number.. 

Thanks a lot
0 Kudos
Reply