FFT_Altera_tb.m -> this is my testbench comparing Altera's result with matlab fft's result (using your input).ġ. FFT_Altera_model.m -> this is the bit-accurate matlab simulation model generated by Altera's FFT megacore, version 8.0 (here I am using a streaming FFT core) In the zip file, you will find three files: therefore if you are not using enough precision, it is very possible that your data would completely disappear somewhere within the FFT core). I presume it is due to the block floating point structure (the data is scaled after each stage of butterfly. streaming, burst and buffered burst), it is best if you scale up your data (so you are using all of the dynamic range). So that wouldn't exactly be a fair comparison.Īlso one thing I found about Altera's FFT core (especially with the older architectures that utilize block floating point representation: i.e. I have several suggestions and also want to point out that it is not quite fair to compare Altera's FFT to Matlab's FFT.įirst of all, Matlab's FFT implementation (the fft function) is actually a floating point DFT implementation- and we don't really have control over twiddle precision within the fft function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |