16-bit Half Precision Floating Point Unit
By: Long Nguyen, Uriel Lopez
FPU and FastInvSqrt Circuit Specifications
Work Division
Long:
Uriel:
Theoretical Background
16-bit Composition:
0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 |
= Signed Bit
= Exponent
= Mantissa
Conversion: (-1)^s * 2^(11-15) * [1+(49/1024)] = 0.06549072265625
15
0
Addition/Subtraction
Multiplication/Division
Comparison (<,>,=)
FPU Implementation and Demo
Newton’s Method for Root Approximation:
let
for any constant x
finding the root of f(y) = 0 yields
FastInverseSqrtComparison Testbench Demo
Synopsys Synthesis Report
FPU:
FastInvSqrtPipelined:
Conclusion
What was learned/discovered: