generated from jackcartersmith/GHDL-Project
master
FPU-VHDL
About
VHDL implementation of the IEEE 754-2008 Floating-point Processing Unit (FPU) single precision (32 bits).
Current implemented features of the FPU:
- Adder/substracter
- Multiplier
- Square-root
- Converter
This include a configurable rounding mode.
Source
- IEEE-754 calculator (http://weitz.de/ieee/)
- Floating point exceptions: https://ieeexplore.ieee.org/document/5690343
VUnit
Python 3.8+ is mandatory. On Windows platform, VUnit 5.0+ is required to use mcode backend on Windows or use NVC simulator instead of GHDL backend.
- Install a python venv with vunit_hdl (using requirements.txt).
- Use the vunit_run.py alone:
python vunit_run.py. - Or for debugging with waves:
python vunit_run.py -g --gtkwave-fmt ghw --gtkwave-args "-r gtkw/gtkwaverc -a gtkw/save_tb.gtkw".
Languages
VHDL
62.3%
Tcl
25%
C
4.7%
Makefile
2.7%
Shell
1.9%
Other
3.4%