add FIXME comments
[soc.git] / 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):