Commit Graph

7 Commits

Author SHA1 Message Date
Robert Jördens 0d6b297d4e cossin: don't cancel -1 phase offset 2021-03-01 13:29:59 +01:00
Robert Jördens 067ef79560 cossin: shave off a few more instructions 2021-02-26 19:47:48 +01:00
Robert Jördens b9751ae1d0 dsp/build.rs: add cargo tag 2020-12-10 17:17:59 +01:00
Robert Jördens 7fa4b76e4d cossin_table: fix build script usage 2020-12-10 17:17:09 +01:00
Robert Jördens 77cb0bbad0 cossin: refactor and tweak
* shrink the LUT by another bit
* correctly use the octant bit to offset the dphi to LUT entry midpoint
* add more diagnistics to the unittest and rewrite it in relative units
* MSB-align phase and output to match the PLL data, dynamic range and
  remove the need for roudning bias.
* clean up the build.rs table generator a bit
2020-12-10 16:56:13 +01:00
Matt Huszagh a82b0f3e90 trig: fix formatting 2020-12-09 15:53:56 -08:00
Matt Huszagh 4add34cf9a add cossin LUT 2020-12-09 15:40:18 -08:00