[libre-riscv-dev] [Bug 208] implement CORDIC in a general way sufficient to do transcendentals

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Apr 16 16:36:03 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=208

--- Comment #17 from Michael Nolan <mtnolan2640 at gmail.com> ---
I'm working on converting the floating point input to the fixed point value
needed by the cordic. I've got my module decoding the float into sign,
exponent, and mantissa with FPNumDecode, and the mantissa is missing the
(implied) leading 1 bit. I'm also looking at the modules of fpdiv (div0.py and
nmigen_div_experiment.py), and they don't seem to add that bit back in. Is
there a way to have FPNumDecode generate a mantissa with the leading 1 bit?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-riscv-dev mailing list