Do not register carry-out on the PartitionedAdder
authorCesar Strauss <cestrauss@gmail.com>
Mon, 18 Jan 2021 08:59:44 +0000 (05:59 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Mon, 18 Jan 2021 08:59:44 +0000 (05:59 -0300)
The user of this module can register it if needed.

src/ieee754/part_mul_add/adder.py

index e1849b4d25fc5ec4fc4473cc02b32f49dd5912b2..c02883c97b8dd9cd66532e26001335792e27aee4 100644 (file)
@@ -268,6 +268,6 @@ class PartitionedAdder(Elaboratable):
         # in [the LSB of each partition].
         comb += ripple.results_in.eq(carry_tmp)
         comb += ripple.gates.eq(self.part_pts.as_sig())
-        m.d.sync += self.carry_out.eq(ripple.output)
+        comb += self.carry_out.eq(ripple.output)
 
         return m