tree: 74105aca33d3d372a27e54ef9d16c96be1071d55 [path history] [tgz]
  1. README.md
  2. addmant.sv
  3. expcomp.sv
  4. fpadd.do
  5. fpadd.out
  6. fpadd.sv
  7. fpadd_tb.sv
  8. fpmult.do
  9. fpmult.out
  10. fpmult.sv
  11. fpmult_tb.sv
  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