|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Contents4 c; {( W- @: x
1 Introduction 3
4 t. _4 a+ U" o+ ^1 _, \) b7 T2 Fixed-Point Binary Representations 3
* q$ V* J% p/ e' x2.1 Unsigned Fixed-Point Rationals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, h% |' ~' d3 ` V: x
3 The Operations of One’s Complement and Two’s Complement 5
- }6 B+ {0 s/ z& x* t5 K4 Signed Two’s Complement Fixed-Point Rationals 5
3 z: o0 ?+ t; q* p5 Fundamental Rules of Fixed-Point Arithmetic 6
' D) }% [0 i" ]1 M+ I& ]5.1 Unsigned Wordlength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
7 i4 l7 L6 ^, d Y/ p, A$ o" a" G5.2 Signed Wordlength . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 R' T1 q/ e! x! d5.3 Unsigned Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6. z. S0 y) v" k1 b5 ?5 J+ _
5.4 Signed Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
# }) U1 u3 y3 i% @0 a5.5 Addition Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
8 \; d% C0 F& _: U. f5.6 Addition Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 \' t: W3 s P5 l. k$ p$ g
5.7 Unsigned Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 p" G- U+ @3 e# p
5.8 Signed Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 I7 o( ^. A; b5 h5 Z. w+ l, U5.9 Unsigned Division . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7; O. @, ] R' E8 m
5.10 Signed Division . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 U/ S4 w: i+ S/ s* k6 \; R
5.11 Wordlength Reduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8+ {! u6 U! ]" ?, }" m
5.12 Shifting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8$ j4 w: n0 C0 y. D7 e
5.12.1 Literal Shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 x4 e$ A; g( ~2 F& j5.12.1.1 Multiplying/Dividing By A Power of Two . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8( }3 I+ `" _3 j( x
5.12.1.2 Modifying Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 i {9 c8 Z* Z
5.12.2 Virtual Shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 P8 M% j9 G2 k
6 Dimensional Analysis in Fixed-Point Arithmetic 9
0 H1 T) j/ M1 c$ k7 concepts of Finite Precision Math 10$ j, Y9 N8 B; Y ?+ D6 o
7.1 Precision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
0 g/ f) ~: `7 C3 L$ ^7.2 Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11" r J8 B) ?$ p1 b' e! ^* |
7.3 Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 U' @, r3 S2 l6 {8 H; p+ y) o7.4 Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
) K; B" {0 y2 o- i7.5 Dynamic Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
- c9 z+ e. {) A8 ]* m1 [" D" r8 B8 Fixed-Point Analysis—An Example 11
6 q w/ I, k" z9 Acknowledgments 12
2 \1 @" M8 J1 T10 Terms and Abbreviations 13
; a0 v! k8 L* [% n! W0 z& q+ s& u11 Revision History 13
. I. N+ o- \# e# t12 References 13
5 l0 Y& i! V: _7 h4 }List of Figures
- x3 p q9 @4 l- y6 AList of Tables
8 m) I6 F+ l7 G" y( O9 _1 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1 K) \! j. w+ ~ iDigital Signal Labs Public Information |
|