add FIXME comments
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 28 Apr 2022 05:50:42 +0000 (22:50 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 28 Apr 2022 05:50:42 +0000 (22:50 -0700)
src/soc/fu/div/experiment/goldschmidt_div_sqrt.py

index 055ff7c137ba4aaefe626fe597108843777f991d..e17f64c7280c1a30f9ba0c400e8fbbcd2888a202 100644 (file)
@@ -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):