Commit graph

5 commits

Author SHA1 Message Date
Aadi Desai 4ac4c5266a
Update README.md 2023-05-28 16:24:06 +01:00
Aadi Desai 6475de9495
Add cordic.sv and test_saw2sin.py
test_saw2sin.py: cocotb testbench using verilator
cordic.sv: o_sin adjustments mask erratic results at extremes, avg error is 1.346 vs testbench
2023-05-28 16:15:56 +01:00
Aadi Desai 44e148de38
Add saw2sin.sv
Handles inversion and reversing to create full sine wave from quarter wave
2023-05-28 16:04:18 +01:00
Aadi Desai e00149bb62
Add saw2sin_poly.sv
Polynomial approximation to sine
Input 0-65535 represents 0-90 degrees
Output 0-65535 represents 0-1
2023-05-28 16:03:39 +01:00
Aadi Desai 12139ee462
Initial commit 2023-05-28 16:01:36 +01:00