boolean logic invert bool to all
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 Feb 2020 18:41:03 +0000 (18:41 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 9 Feb 2020 18:41:03 +0000 (18:41 +0000)
src/ieee754/fpdiv/mulAddRecFN.py

index 5a36706fcc306d94b1aa14f9234f3467d36f3959..ca85f3da4e58fb0169193d61c7f448c2bf36b8c6 100644 (file)
@@ -338,7 +338,7 @@ class mulAddRecFNToRaw_postMul(Elaboratable):
                     intermed_highAlignedSigC[(sigWidth + 1):sigWidth],
                     0b0))),
             CDom_absSigSumExtra.eq(Mux(doSubMags,
-                          (~sigSum[1:sigWidth+1]).bool(),
+                          ~(sigSum[1:sigWidth+1]).all()),
                           sigSum[1:sigWidth + 2].bool())),
             CDom_mainSig.eq(
                 (CDom_absSigSum<<intermed_CDom_CAlignDist)>>(sigWidth - 3)),