add names to flags
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jul 2019 15:53:56 +0000 (16:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jul 2019 15:53:56 +0000 (16:53 +0100)
src/ieee754/div_rem_sqrt_rsqrt/core.py

index afc331de6a0fb72de753fda50e98b6776cf77db8..245cd1c6cd426604d98ac5890b55bacca0c1695a 100644 (file)
@@ -358,8 +358,8 @@ class DivPipeCoreCalculateStage(Elaboratable):
         l = []
         for i in range(radix):
             next_flag = pass_flags[i + 1] if i + 1 < radix else 0
-            flag = Signal(reset_less=True)
-            test = Signal(reset_less=True)
+            flag = Signal(reset_less=True, name=f"flag{i}")
+            test = Signal(reset_less=True, name=f"test{i}")
             # XXX TODO: check the width on this
             m.d.comb += test.eq((pass_flags[i] & ~next_flag))
             m.d.comb += flag.eq(Mux(test, trial_compare_rhs_values[i], 0))