projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c275761
)
Fix polarity
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 23 Aug 2019 21:49:34 +0000
(14:49 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 23 Aug 2019 21:49:34 +0000
(14:49 -0700)
passes/pmgen/pmgen.py
patch
|
blob
|
history
diff --git
a/passes/pmgen/pmgen.py
b/passes/pmgen/pmgen.py
index 2f2545c2247637a3bfd2599a8e4bca5c85a35b43..c21fe8f87a8e170907cb91e2328b81c094a9502b 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)