- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wronghorizon, thanks a million! That seems to have worked :)
And thanksonce again for the FFT_control too!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can i get an example for this?Especially in dsp builder

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page