From 6e0361cafe8fea1fd07f4192eeea7fdf869de4af Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 9 Feb 2020 18:41:34 +0000 Subject: [PATCH] invert after all() not before --- src/ieee754/fpdiv/mulAddRecFN.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ieee754/fpdiv/mulAddRecFN.py b/src/ieee754/fpdiv/mulAddRecFN.py index ca85f3da..3432ccc1 100644 --- a/src/ieee754/fpdiv/mulAddRecFN.py +++ b/src/ieee754/fpdiv/mulAddRecFN.py @@ -338,7 +338,7 @@ class mulAddRecFNToRaw_postMul(Elaboratable): intermed_highAlignedSigC[(sigWidth + 1):sigWidth], 0b0))), CDom_absSigSumExtra.eq(Mux(doSubMags, - ~(sigSum[1:sigWidth+1]).all()), + ~(sigSum[1:sigWidth+1].all())), sigSum[1:sigWidth + 2].bool())), CDom_mainSig.eq( (CDom_absSigSum<>(sigWidth - 3)), -- 2.30.2