From: Jacob Lifshay Date: Thu, 28 Apr 2022 05:50:42 +0000 (-0700) Subject: add FIXME comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d416df741e016d096d412ef2d310f3d21595ea;p=soc.git add FIXME comments --- diff --git a/src/soc/fu/div/experiment/goldschmidt_div_sqrt.py b/src/soc/fu/div/experiment/goldschmidt_div_sqrt.py index 055ff7c1..e17f64c7 100644 --- a/src/soc/fu/div/experiment/goldschmidt_div_sqrt.py +++ b/src/soc/fu/div/experiment/goldschmidt_div_sqrt.py @@ -1087,6 +1087,11 @@ def goldschmidt_sqrt_rsqrt_table(table_addr_bits, table_data_bits): # tuple for immutability return tuple(table) +# FIXME: add code to calculate error bounds and check that the algorithm will +# actually work (like in the goldschmidt division algorithm). +# FIXME: add code to calculate a good set of parameters based on the error +# bounds checking. + def goldschmidt_sqrt_rsqrt(radicand, io_width, frac_wid, extra_precision, table_addr_bits, table_data_bits, iter_count):