tree: 74105aca33d3d372a27e54ef9d16c96be1071d55 [path history] [tgz]
  1. addmant.sv
  2. expcomp.sv
  3. fpadd.do
  4. fpadd.out
  5. fpadd.sv
  6. fpadd_tb.sv
  7. fpmult.do
  8. fpmult.out
  9. fpmult.sv
  10. fpmult_tb.sv
  11. README.md
  12. shiftmant.sv
  13. testfp
  14. testfp.c
flow/FP/README.md

These files are overtly simplistic SV files for float16 multiply and add. They have no rounding or other 754 amenties.

Right now, these files are purely combinational and do not contain any sequential devices. However, this could be added easily, if needed.

The testfp.c validates the output even though its written for single-precision (I just kept the numbers below float16's max value).

gcc -o testfp testfp.c -lm