From: Eddie Hung Date: Fri, 23 Aug 2019 22:03:42 +0000 (-0700) Subject: Revert "Fix polarity" X-Git-Tag: working-ls180~1085^2~37 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e85e6e8d452e8f2605214cc40a5b4fc4b0e2cdc2;p=yosys.git Revert "Fix polarity" This reverts commit 9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d. --- diff --git a/passes/pmgen/pmgen.py b/passes/pmgen/pmgen.py index c21fe8f87..2f2545c22 100644 --- a/passes/pmgen/pmgen.py +++ b/passes/pmgen/pmgen.py @@ -462,7 +462,7 @@ with open(outfile, "w") as f: print(" int i = 0;", file=f) print(" pool users;", file=f) print(" for (auto bit : sigmap(sig))", file=f) - print(" if (!unique)", file=f); + print(" if (unique)", file=f); print(" i += GetSize(sigusers[bit]);", file=f); print(" else", file=f); print(" for (auto user : sigusers[bit])", file=f)