This repo contains Verilog implementation of floating point unit (FPU) for Google's bfloat16 format.
- RTL simulator: ncverilog, iverilog
- Design synthesis: Design Compiler
- Place and route: Innovus, IC Compiler
Generate inputs, addition, subtraction, multiplication, division results for bfloat16
cd py/; python3 gen_tb.py --num 1000
Copy generated *.txt files to sim/
directory
cp *.txt ../sim
This repo support both ncverilog & iverilog RTL simulator.
make rtl0 RTL_SIM=ncverilog
OR
make rtl0 RTL_SIM=iverilog
make synthesize
make syn0 RTL_SIM=ncverilog