Home / Learn Verilog / CORDIC: Trig with Shifts and Adds
CORDIC: Trig with Shifts and Adds
Rotate a vector without multipliers.
The short versionRotate a vector without multipliers.
Theory in plain words
The basic idea
CORDIC rotates by angles atan(2^-i) using only shifts and adds.
Why this comes up
Sine, cosine, magnitude in small hardware.
The mechanics
Iterate N times.
Where it is used
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
CORDIC cos/sinVerilog: edit and run
Result close to cos 30 and sin 30 using only shifts and adds.
Quick check
1. CORDIC uses...
Multiplier-free.