mirror of
https://github.com/DrasLorus/CORDIC_Rotate_APFX.git
synced 2024-11-24 21:53:15 +01:00
f0035238bf
- Fix the MC (Monte-Carlo) to the proper algoritm name, ML (maximum likelyhood) and remove HalfPi since the use of divider allow to theoretically support any pi / 2^k, k an integer. In reality, a too low rotation would require more stages than 7 but it is for futur improvements. - Make use of `divider` template to provide rotation grain finer than pi / 2. Validated (unit-tested) with pi / 4 with the same margins than pi / 2 (2% of error with floating scaling, 3% with fixed scaling). - Fix rom size which now use N_STAGES+1 bits instead of 8 regardless of N_STAGES. Simplify the cordic method implementation, which unexpectedly (and fortunately) improved its performance.
13 lines
No EOL
236 B
Text
13 lines
No EOL
236 B
Text
.cache
|
|
|
|
build
|
|
lib
|
|
bin
|
|
compile_commands.json
|
|
*octave-workspace
|
|
.vscode
|
|
|
|
RomGenerators/sources/main_generator_??*_*.cpp
|
|
sources/CCordicRotateRom/CCordicRotateRom_*.?pp
|
|
sources/CordicRoms/cordic_rom_*.?pp
|
|
sources/tb/cordic_rom_tb_??*_*.?pp |