【应用笔记】快速傅里叶变换及反变换成组浮点缩放(FFT/IFFT Block Floating Point Scaling)
Altera的FFT MegaCore功能模块内部使用成组浮点(block-floating-point,BFP)运算来执行计算。BFP结构是一个介于定点和完全浮点结构之间的一种折中方案。
The Altera® FFT MegaCore® function uses block-floating-point (BFP)
arithmetic internally to perform calculations. BFP architecture is a
trade-off between fixed-point and full floating-point architecture.
Unlike an FFT block that uses floating point arithmetic, a
block-floating-point FFT block does not provide an input for exponents.
Internally, a complex value integer pair is represented with a single scale
factor that is typically shared among other complex value integer pairs.
After each stage of the FFT, the largest output value is detected and the
intermediate result is scaled to improve the precision. The exponent
records the number of left or right shifts used to perform the scaling. As
a result, the output magnitude relative to the input level is:
output*2-exponent
For example, if exponent = –3, the input samples are shifted right by
three bits, and hence the magnitude of the output is output*23.
an404.pdf
有奖活动 | |
---|---|
“我踩过的那些坑”主题活动——第002期 | |
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |