Forum Discussion
Altera_Forum
Honored Contributor
17 years agoStreaming FFT design - version 8.1
Hi,
I have utilized the megacore function within Quartus II to generate a design for a 512-point FFT. I successfully verifyied the fft engine with ModelSim and compared the results with Matlab. However when I integrate it with the FFT control, I run into several problems which have stumped me :( I am attaching a screenshot which shows my simulation results. Just to summarize, I am able to generate and transmit the sink_sop, sink_eop, sink_valid all when sink_ready is high. However the fft engine does no computation and does not spit out any results (this includes the source_sop/eop, source_valid, source_error etc). All the output signals are low. I assume that the FFT engine will carry out its computation when the following are true: 1. Clock enable is high 2. Sink_valid is high only when sink_ready is high Is there something I am missing? Any help would be much appreciated. Thanks!3 Replies
- Altera_Forum
Honored Contributor
The fft control state machine was written in a way so you can use the variable streaming architecture in a burst-like format. If you want to use it with regular streaming, make sure you set the pulse between frame to zero (there is a parameter that you can set)...
Also keep in mind that there is usually about a 2.5-3 frames worth of delay between input and output... You have only simulated long enough to input one input packet... I imagine if you simulate a bit longer (at least 3 times longer), then you should see the first output packet coming out of the FFT core... - Altera_Forum
Honored Contributor
Wronghorizon, thanks a million! That seems to have worked :)
And thanksonce again for the FFT_control too! - Altera_Forum
Honored Contributor
How can i get an example for this?Especially in dsp builder