comment divisor stages
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 16 Feb 2019 12:25:36 +0000 (12:25 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 16 Feb 2019 12:25:36 +0000 (12:25 +0000)
src/add/nmigen_div_experiment.py

index 52856d5a22b80935f5afaba9108a2ce8d7de3c99..1cbabd9ed03e925964cba15882726a186718ef79 100644 (file)
@@ -153,6 +153,8 @@ class FPDIV(FPBase):
 
             # ******
             # Third stage of divide.
+            # This stage ends by jumping out to divide_3
+            # However it defaults to jumping to divide_1 (which comes back here)
 
             with m.State("divide_2"):
                 with m.If(div.rem >= div.dor):