【应用笔记】快速傅里叶变换及反变换成组浮点缩放(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
我要赚赏金打赏帖 |
|
|---|---|
| 告别手动建模:我让AI用FreeCAD画了个开发板外壳被打赏¥30元 | |
| 【瑞萨RA8D1测评】总结收官——从IMU动作识别到LVGL桌宠被打赏¥33元 | |
| 【瑞萨BLE/WIFI模块测评】MPU6050双链路对比被打赏¥30元 | |
| 【瑞萨BLE/WIFI模块测评】DA14531被打赏¥28元 | |
| 【瑞萨BLE/WI-FI模块测评】DA16200被打赏¥28元 | |
| 【瑞萨BLE/WIFI模块测评】环境搭建被打赏¥32元 | |
| 【瑞萨RA8D1测评】LVGL显示动画被打赏¥30元 | |
| 【瑞萨RA8D1测评】IMU动作识别的数据采集与模型训练被打赏¥33元 | |
| 【S32K3学习整理】时钟系统 ClockOut 功能被打赏¥28元 | |
| 【S32K3学习整理】以太网LoopBack模式功能验证被打赏¥26元 | |
我要赚赏金
