give a_bit proper name, make reset_less
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 Feb 2020 18:25:20 +0000 (18:25 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 Feb 2020 18:25:20 +0000 (18:25 +0000)
src/ieee754/part_mul_add/adder.py

index c2e75257340702050943d948774a4085e391072a..2e504368c1c664a3b51b553338ca4231d0431d3b 100644 (file)
@@ -204,7 +204,7 @@ class PartitionedAdder(Elaboratable):
             pi = i/self.pmul # double the range of the partition point test
             if pi.is_integer() and pi in self.part_pts:
                 # add extra bit set to 0 + 0 for enabled partition points
-                a_bit = Signal()
+                a_bit = Signal(name="a_bit_%d" % i, reset_less=True)
                 carry_in = self.carry_in[carry_bit] # convenience
                 m.d.comb += a_bit.eq(self.part_pts[pi].implies(carry_in))
                 # and 1 + 0 for disabled partition points