Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
659 Views

Audio signal signed or std_logic_vector

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
Valued Contributor III
4 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