Revert "Fix polarity"
authorEddie Hung <eddie@fpgeh.com>
Fri, 23 Aug 2019 22:03:42 +0000 (15:03 -0700)
committerEddie Hung <eddie@fpgeh.com>
Fri, 23 Aug 2019 22:03:42 +0000 (15:03 -0700)
This reverts commit 9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d.

passes/pmgen/pmgen.py

index c21fe8f87a8e170907cb91e2328b81c094a9502b..2f2545c2247637a3bfd2599a8e4bca5c85a35b43 100644 (file)
@@ -462,7 +462,7 @@ with open(outfile, "w") as f:
     print("    int i = 0;", file=f)
     print("    pool<Cell*> 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)