berkeley-hardfloat
berkeley-hardfloat copied to clipboard
Mult for Mantissa
I look into MulAddRecFN.scala which is seemed that body of float mult-add (out = A*B + C). The flow is indeed as follows; in -> preMul -> postMul -> out
- preMul
- extract sign, significant, mantissa by rawFloatFromRecFN().
- Significant of C alignment
- output
- postMul
- Addition with C (line #206)
- Normalize for result
- Rounding for result
I could not find multiplication for mantissa part of A and B operands, where actually does it?
Don't know if you still need a reply, but see line 323 of MulAddRecFN.scala. It uses outputs of preMul, then feeds inputs of postMul.