berkeley-hardfloat icon indicating copy to clipboard operation
berkeley-hardfloat copied to clipboard

Mult for Mantissa

Open IAMAl opened this issue 6 years ago • 1 comments

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
  1. extract sign, significant, mantissa by rawFloatFromRecFN().
  2. Significant of C alignment
  3. output
  • postMul
  1. Addition with C (line #206)
  2. Normalize for result
  3. Rounding for result

I could not find multiplication for mantissa part of A and B operands, where actually does it?

IAMAl avatar Oct 04 '19 19:10 IAMAl

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.

aamartin0000 avatar Mar 09 '23 20:03 aamartin0000