How cebarnes/cordic works
This small repository contains a Python CORDIC rotation demo and a separate Verilog source file. In Python, main runs the rotation, then computes an angle from the returned pair. The rotation routine builds a tangent table, obtains the gain factor, and prints and returns its computed values. The Verilog file appears to be a hardware implementation based on its name, but its contents and connections could not be verified; the testbench is omitted as validation machinery.
Main entry points: cordic.py Python main
Components 9
Other components
- User
- Python main
cordic.py - CORDIC rotation
cordic.py - Tangent table
cordic.py - Gain factor
cordic.py - Angle calculation
cordic.py - Math library
- Printed results
- Verilog source
cordic.v
Connections 9
- User → Python main: runs
- Python main → CORDIC rotation: calls
- Python main → Angle calculation: calls
- CORDIC rotation → Tangent table: builds
- CORDIC rotation → Gain factor: calls
- Tangent table → Math library: uses atan
- Gain factor → Math library: uses sqrt
- CORDIC rotation → Printed results: prints
- Python main → Printed results: prints angle