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

Tag: "fixed point"

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.
Radix-n Fast Fourier Transforms (Part 3)
VHDL

Radix-n Fast Fourier Transforms (Part 3)

FFTs are generally defined recursively, so how hard can it be to write a recursive VHDL implementation of an FFT that can scale to any number of inputs for any chosen radix?
Radix-n Fast Fourier Transforms (Part 1)
VHDL

Radix-n Fast Fourier Transforms (Part 1)

FFTs are generally defined recursively, so how hard can it be to write a recursive VHDL implementation of an FFT that can scale to any number of inputs for any chosen radix?
Compiling VHDL For The Missing Fixed And Floating Point Libraries
VHDL

Compiling VHDL For The Missing Fixed And Floating Point Libraries

VHDL-2008 has added types sfixed, ufixed and float for fixed and floating point arithmetic, but you may struggle to use them with older tools. Here's how to fix that.