projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd23cf
)
Revert "Fix polarity"
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 23 Aug 2019 22:03:42 +0000
(15:03 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 23 Aug 2019 22:03:42 +0000
(15:03 -0700)
This reverts commit
9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d
.
passes/pmgen/pmgen.py
patch
|
blob
|
history
diff --git
a/passes/pmgen/pmgen.py
b/passes/pmgen/pmgen.py
index c21fe8f87a8e170907cb91e2328b81c094a9502b..2f2545c2247637a3bfd2599a8e4bca5c85a35b43 100644
(file)
--- 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)