We play with technology. Sometimes we discover things we think are worth sharing.

Archives for: "27 Jun 2026"

Approximate Log2 Function
VHDL

Approximate Log2 Function

I found an excellent Log2() approximation solution from the Internet. This code allows the precision to be varied by number of fractional bits and then explores how the clock speed is affect.