Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

MegaCore FFT in Quartus

I'm working on using the MegaFunction FFT in Quartus on an Altera DE2 board, but have had issues finding documentation of the inputs/outputs to the function. I've scoured these forums for a while, but it seems most people are using the DSP builder for simulations.

The goal is to be able to output the FFT of an audio signal from the board's line in. I have generated the function block (Streaming) with all the required values , but I'm rather confused about the inputs and outputs to the function.

Am I supposed to divide the 50 Mhz clock signal for the sink_eop, sink_sop, source_sop, and source_eop? Can I just set reset, sink_ready, sink_valid, source_valid, clk_ena as high and inverse as low? What other inputs other than sink_real and sink_imag are needed?

It would be great if someone could provide a for a working example. If privacy is an issue, my email is [angryconsumerism at gmail ]. Thanks!

15 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all,

    I want the block diagram or architecture of the FFT megacore function, so that I can understand it better and know,how the DSP blocks are utilized . Can anyone help me with this? Does anyone know, where it can be found??

    regards,

    Renif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all

    i am using same FFT core for estimating Power harmonics. For finite state machine how i can decide for control signals. Kindly help.

    Regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all

    i am using same FFT core for estimating Power harmonics. For finite state machine how i can decide for control signals. help is needed.

    Regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi !

    I am new to megacore I generated the FFT core in vhdl. But I couldnt to run the stimulation in modelsim. I attached the tb_fft.vhd fft.vhd and fft.vho file to the project in modelsim.Should I do more?

    please help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Why do people continue to post new questions to this 7 year old thread??

    ferdi - Start a new thread - you'll get much more attention that way.