diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-23 14:49:34 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-23 14:49:34 -0700 |
commit | 9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d (patch) | |
tree | 06230d5ca820815778c1bc4004c94491c1c45684 | |
parent | c2757613b643f11e1b735b8bc4506750bb0f9522 (diff) | |
download | yosys-9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d.tar.gz yosys-9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d.tar.bz2 yosys-9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d.zip |
Fix polarity
-rw-r--r-- | passes/pmgen/pmgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/pmgen/pmgen.py b/passes/pmgen/pmgen.py index 2f2545c22..c21fe8f87 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<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) |