Module math
This document contains technical documentation for the math
module.
To browse the source code, please visit the repository on GitHub.
This module contains a contains entities and packages for common math operations in VHDL.
math_pkg.vhd
Package with some common mathematical functions.
unsigned_divider.vhd
Calculates
dividend / divisor = quotient + remainder / divisor
This is a bit serial divider.
Algorithm is the same as long division from elementary school, but with number base two.
Latency scales linearly with dividend_width
.