Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
648 Views

FFT_tb

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
Highlighted
Valued Contributor III
3 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
Highlighted
Valued Contributor III
3 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