Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1174 Discussions

Audio signal signed or std_logic_vector

Altera_Forum
Honored Contributor II
810 Views

hello  

 

i have already designed a digital voice recorder using the de2 the code that process the codec chip data is in the attachment  

 

i want now to feed the audio data to to an FFT megafunction  

my question is should the audio data be of signed data type or i keep it as it is ? do i have to do any scaling on the data before it goes to the fft ? 

 

thanks to any one who reply.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
155 Views

The FFT data is interpreted as signed, but uses std_logic_vector port type, as other aritmetic Megafunctions. No scaling of FFT input required.

0 Kudos
Reply