FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6424 Discussions

Unified FFT not giving expected results

David32
New Contributor I
454 Views

Using Quartus Prime Pro 22.4.0 and Questa Starter FPGA 2022.1

 

I created a Unified FFT with:

Log2Size  = 11

Fixed Point

Reset Active High

Input width = 8

twiddle 14

Full word growth (output = 20 bits)

Target frequency 250MHz

I am creating various input STM files as below.

1. With a constant (DC) value in the STM file the output spectrum seems to be OK, with a spike at sample # 0 (the sample where validOut_dut transitions to '1'), and with the rest of the spectrum = 0.

2. When the input is changed to the convolution of a Blackman window and sine wave (plus a small amount of white noise) the resulting spectrum is not entirely clear to me. I am getting a strong DC component as expected, but the input frequency of the sine is around 400kHz and therefore I expect to see this at around bin number 3 or 4. Instead I am observing strong components at bins 256 and 512. In addition, as you can see, the spectrum is not exactly symmetric around it's centre.

 

3. If the sine input is used without a window function then the spectrum is even more not clear to me (screenshot of this is not included).

 

Please help me understand what is happening here.

In addition, I do not understand the function of the INPUT valid signal, since the UG mentions that it should NOT be set inactive during a FFT. So what is the purpose then of this signal.

Thanks

David

 

0 Kudos
2 Replies
Kshitij_Intel
Employee
397 Views

Hi David,


If your input data is continuously valid then you definitely need to apply a constant input valid signal. but if you are feeding valid input data at some random times then this input valid is help you to feed the correct data to the IP.


Can you please share the project to look into it.


Thank you

Kshitij Goel


0 Kudos
Kshitij_Intel
Employee
380 Views

Hi,


As we do not receive any response from you on the previous answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


Thank you

Kshitij Goel


0 Kudos
Reply