FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

FFT_tb

Altera_Forum
Honored Contributor II
737 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
92 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?
Altera_Forum
Honored Contributor II
92 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
Reply