The Research and Implementation of Double Data-path Fused Floating Point Multiply-Add Supporting Parrall Multiply
- Author
- LingZhiQiang
- Advisor
- ZengXianJun
- School
- National University of Defense Science and Technology
- Major
- Electronic Science and Technology
- Classification
- TN431 Bipolar
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 100
- Citations
- 5
- floating-point multiply-add fused
- Double Data-path
- ParallelMultiply
- Leading Zero Anticipation
- Concurrent Correction
Abstract
The fused floating-point multiply-add operation treats the multiplication and theaddition as an inseparable operation. There is no need to round the internal results, andthe precision of the result is improved. In addition to the above advantage, the delay ofthe operations and the cost of hardware implementation can be cut down. The fusedfloating-point multiply-add unit can realize most of the basic floating-point operations,and it has been becoming the key component of the high-performance processor.With the development of the multi-media technology, the multiplier has to supportthe parallel processing and the SIMD operation.This thesis proposes and realizes a new floating point multiply-add fused structurebased on the double data-path fused floating-point multiply-add, and it can supportparallel multiplier.The thesis does the research and development in the following fields:1. A new double data-path floating-point multiply-add fused structure ispresented and implemented. The fused floating-point multiply-add architecture logic isvery complex and has a long latency. In the design of this thesis, the floating point addinstruction and floating point multiply-add fused instruction do not flow the samepipeline stage, the floating point add instruction can be carried out three stages earlierthan the floating point multiply-add fused instruction.2. A parallel multiplier is designed. The 64-bit vector integer multiplier uses a"shared segmentation" method, and it can support multiple precisions. The vectormultiplier can perform one 64b×64b,two 32b×32b,four 16b×16b or eight 8b×8bsigned/unsigned integer multiplication using essentially the same hardware as a 64 bitscalar integer multiplier.3. An algorithm of Leading Zero Anticipation is improved. The most usedalgorithm in floating point adder and floating point multiply-add fuse component is"leading one prediction with concurrent correction method". The thesis point out awrong in that algorithm, propose a correction method and prove correctness of themethod.4. The test scheme of the design is proposed. The design has passed the test ofIEEE CC754 standard testing vectors, the special data for every instruction, theboundary and random testing vectors. It also has passed the test of the coherencebetween the behavior level and RTL level.5. The design methodology of the design’s IP core is studied, including the modelof behavior level, the high coverage test vectors and the source code of the design.This thesis carried out the synthesis and optimization of the double precisionfloating point multiply-add fused component. The floating point multiply-add fused operations flow 9 pipeline stage and floating point add operations flow 6 pipeline stage.The synthesis result shows that the design can work at above 500MHZ, satisfying therequirements of X microprocessor.
Table of contents
Abstract 9-10
ABSTRACT 10-12
first chapter 12-21
1.1 Background
1.2 IEEE-754 Introduction 12-15
1.2.1 floating-point representation format 12-13
1.2.2 special operands 13-14
1.2.3 floating point operation exception 14
1.2.4 Rounding 14-15
1.3 research status at home and abroad 15-19
1.3.1 floating point fused multiply-add the status quo 15-18
1.3.2 parallel integer multiply the status quo 18-19
1.4 thesis objectives, content and meaning 19-20
the
goal of 1.4.1 thesis nbsp content; 19
1.4.2 thesis significance 19-20
1.5 paper structure 20-21
Chapter II supports parallel integer multiply dual-path floating-point integration of multiply-add components structure design 21-33
2.1 typical floating-point multiply-add component structures 21-24
2.1.1 normalized the not advance fusion floating point multiply-add structure 21-23
2.1.2 normalized advance fusion floating point multiply-add structure 23-24
2.2 supports parallel integer multiply dual-path floating-point multiply-add components structure 24-29
2.2.1 Index processing 25-27
2.2.2 bitwise 27
2.2.3 normalized 27
2.2.4 on the the order shift amount calculation 27-28
2.2.5 Data Select 28-29
2.3 instruction data path 29-31
2.3.1 floating point multiply and class instruction 29-30
2.3.2 floating point adder class instruction 30-31
2.3.3 Parallel integer multiply instruction 31
2.4 parts pipeline design 31-32
2.5 This chapter Summary 32-33
support parallel integer multiply multiplier design 33-44
3.1 scalar multiplier design 33-34
3.1.1 scalar partial product generation logic 33-34
3.1.2 scalar partial product compression tree 34
3.2 vector multiplier design 34-43
3.2.1-vector multiplication part product generation logic 34-41
3.2.2 vector partial product compression tree 41-43
3.3 sub-station and the consolidated results 43
3.4 This chapter Summary 43-44
the
optimal design of Chapter IV the leading zeros prediction components (LZA) 44-55
4.1 DT algorithm 44-49
the 4.1.1 first 1 position precoding 45
4.1.2 first coding tree 45-47
4.1.3 modified precoding 47
4.1.4 correction detection tree 47-48
4.1.5 DT algorithm parallel amendments to some conclusions 48-49
4.2 DT algorithm Problems and reason analysis 49-50
4.2.1 DT algorithm error conditions 49
4.2.2 Cause Analysis 49-50
4.3 Improved DT algorithm 50-51
4.4 Improved algorithm analysis and proof of correctness 51-52
4.5 applied to floating-point multiply-add components DT improved algorithm 52-53
4.5.1 first precoding formula 52
4.5.2 corrected pre-encoded formula 52-53
4.6 improved DT algorithm performance analysis and implementation of 53-54
4.7 This chapter Summary 54-55
Chapter vector adder design 55-59
5.1 adder vector method 55-56
5.2 combined multiply-add adder design 56-57
5.2.1 adder for floating-point multiply-add support 56-57
5.2.2 adder support parallel integer multiply 57
5.3 adder optimized design 57-58
5.4 sub-station to the consolidated results 58
5.5 This chapter Summary 58-59
Chapter simulation verification and synthesis 59-69
6.1 module-level simulation validation 59-60
6.2 floating point units overall simulation and verification program 60-65
6.2.1 simulation the primary stage
6.2.2 intermediate stage of simulation 61-63
6.2.3 simulation and verification of the final stage 63-65
6.3 components integrated optimization design and its performance evaluation 65-68
6.3.1 reasonable modules divided 66
6.3.2 choose the strategy as well as the constraints 66-67
the
of 6.3.3 floating-point multiply-add components integrated optimization 67-68
6.3.4 combined result 68
6.4 This chapter Summary 68-69
Chapter VII Conclusion 69-71
7.1 topic summary of the work 69
7.2 Job Outlook 69-71
Acknowledgements 71-72
the
References 72-76
the
author achieved academic achievements during the study period 76