projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a49cf2
)
Add non-input bits driven by unrecognised cells as ci_bits
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 11 Apr 2019 01:06:33 +0000
(18:06 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 11 Apr 2019 01:06:33 +0000
(18:06 -0700)
backends/aiger/xaiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/xaiger.cc
b/backends/aiger/xaiger.cc
index a4ef8993145e4c342ece8ff3d539c4f97d2bac1b..bad9322bb40d188dd7c7dcb506f43cf027eac7aa 100644
(file)
--- a/
backends/aiger/xaiger.cc
+++ b/
backends/aiger/xaiger.cc
@@
-229,7
+229,7
@@
struct XAigerWriter
}
if (is_output) {
SigBit O = sigmap(b);
- if (!input_bits.count(O)
&& !output_bits.count(O)
)
+ if (!input_bits.count(O))
ci_bits.insert(O);
}
}