Block Floating Point Interval ALU for Digital Signal Processing.ppt
《Block Floating Point Interval ALU for Digital Signal Processing.ppt》由会员分享,可在线阅读,更多相关《Block Floating Point Interval ALU for Digital Signal Processing.ppt(32页珍藏版)》请在麦多课文档分享上搜索。
1、Block Floating Point Interval ALU for Digital Signal Processing,Sandeep Hattangady, William Edmonson, Winser Alexander,September 30, 2008,HiPer DSP Lab, North Carolina State University,Outline,IntroductionBackgroundArchitectureResultsConclusions and Future WorkReferences,Outline,IntroductionBackgrou
2、ndArchitectureResultsConclusion s and Future WorkReferences,Problem Statement,To provide reliable arithmetic for embedded systems. Low power Small footprint Real-time computing Applications Digital signal processing & Control Fuzzy systems Adaptive filtering Decision systems,Introduction,Problem Sta
3、tement,Introduction,Twos complement formatQ7.8 input dataQ15.0 output data,Upper Bound,Lower Bound,Upper Bound,Lower Bound,Overflow leads to unreliable interval arithmetic!,Overflow in an interval Summation,Build a fixed point interval ALU whose arithmetic stays reliable even in the presence of over
4、flow.,Fixed point implementations face overflow due to small dynamic range,Problem Solution,Use Block Floating Point (BFP) arithmetic to achieve higher dynamic range over that of conventional fixed point architecturesHandle overflows using Conditional Block Floating-point Scaling (CBFS) scheme,Intro
5、duction,Outline,IntroductionBackgroundArchitectureResultsConclusions and Future WorkReferences,Previous Work,Dedicated fixed point interval ALU Ruchir2006The only fixed point interval ALU implementation.No scheme in place to handle overflow.Block Floating Point arithmetic Digital filters Oppenheim19
6、70 Fast Fourier Transform (FFT) processors Bidet1995 Fast Hartley Transform (FHT) processors Erickson1992 Commercial Fixed point DSPs with BFP support,Previous Work,* ADSP-21xx * TMS320C54x * Oak DSP Core * TMS320C64x * Lucent DSP16xx * NEC uPD7701x * SGS Thomson D950-Core,Criteria for Reliable IA,C
7、orrectness : Van Emden2001An interval operation is correct when the output interval contains results of all point-wise evaluations based on values from the argument intervals. For ex: 1,2 + 3,4 = 4,6 Totality : A total interval operation is one that is defined for all possible input arguments. For e
8、x : We provide only division by powers of 2 eliminating divide-by-0 error. Closedness : A closed interval operation indicates that the output interval is obtained on the same space as that of the input intervals. For example, interval operations on intervals defined on the real space R always yields
9、 an output interval on the space R. Optimality : An optimal interval operation does not perform any overestimation and its bounds are the most optimized ones for the type of representation chosen. Efficiency : The term efficiency is defined with respect to the implementation of interval arithmetic i
10、n hardware.,Background,Thought Process,Fixed point implementations Lower design complexity Small dynamic range,Floating Point implementationsHigher design complexity Large dynamic range,Block Floating Point representation,Associate a group of fixed point values with a common exponent term,Background
11、,Block Floating Point Arithmetic,BFP implementations on DSPs rely on memory for data storage. Divide data into blocks.Scale data to common exponent pre-operation. Perform fixed point operations to process that block.,BLOCK NORMALIZATION,Background,Upper Endpoint envelope,Lower Endpoint envelope,Math
12、ematical Formulation of Block Floating Point for Intervals,0.0000100, 0.00110001.1110011, 0.0000001,Data Samples,Normalized Data,0.0010000, 0.11000001.1001100, 0.0000100,M = 0.0011000 0.1875= -2,Exponent detection Finding,Normalization Shifting all data left by,New block exponent (Old block exponent
13、 + ), can also be evaluated as negated minimum count of leading number of sign bits in binary,Block Exponent,0.03125 , 0. 1875-0.1015625, 0.0078125,0.125 , 0. 75-0.40625, 0.03125,Comments,Handling Fixed Point Overflows,Conditional Block Floating-point Scaling (CBFS) Overflow mainly associated with A
14、ddition operation CBFS based on correcting errorsProcedure: Perform operation Check if overflow occurred If it did, scale down the result by a factor of 2Increment output block exponent If it didnt overflow, retain resultOutput block exponent is same as input block exponent,Design Specifications,Rou
15、nding,Outward Rounding Output interval must meet correctness Retain the rounding scheme from IALU Ruchir2006 Truncate lower endpoint by discarding higher precision bits Add the OR-ed result of the discarded bits to round the result to +.Rounding to + can cause overflow.Example of Rounding 32-bit to
16、+ to yield 16-bit: 7FFF XXXX (hex) where XXXX is not 0000 (hex) Rounding to +yields 7FFF + 1 = 8000 (hex)Correct by sending out 4000 (hex), increment output block exponent. Referred to as Special case of Rounding.,Design Specifications,Outline,IntroductionBackgroundArchitectureResultsConclusions and
17、 Future WorkReferences,Top Level Hardware Architecture,Hardware Architecture,Slide 17/35,Flag Generator,1. Identify case of Multiplication using flag-combinations,2. Distributing Commands toLower and Upper Bound modules,3. Generating Disjoint Signal,Compare (XL with YU) ; (XU with YL)Set disjoint hi
18、gh if (YUXL) or (XUYL),Hardware Architecture,Slide 18/35,Lower Bound Module,Hardware Architecture,Generates the Lower endpoint of the output intervalMultiplexed data pathsSets OVFL_L, a one bit signal, high to indicate overflow to the Scale Synchronizer,Slide 19/35,Upper Bound Module,Generates the U
19、pper endpoint of the output interval.Same structure as Lower Bound module.Generates 1-bit signal OVFL_U to indicate overflow in the Upper Bound to the Scale Synchronizer module.,Hardware Architecture,Slide 20/35,BFP Operations,EXPONENT DETECTION,Identify the redundant sign bits by XOR of successive
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BLOCKFLOATINGPOINTINTERVALALUFORDIGITALSIGNALPROCESSINGPPT

链接地址:http://www.mydoc123.com/p-379026.html