projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8228b59
)
PI before CI
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 12 Apr 2019 17:36:05 +0000
(10:36 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 12 Apr 2019 17:36:05 +0000
(10:36 -0700)
backends/aiger/xaiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/xaiger.cc
b/backends/aiger/xaiger.cc
index bad9322bb40d188dd7c7dcb506f43cf027eac7aa..b0770ec96c715ff23fedb55052356d0e075181cc 100644
(file)
--- a/
backends/aiger/xaiger.cc
+++ b/
backends/aiger/xaiger.cc
@@
-295,12
+295,12
@@
struct XAigerWriter
aig_map[State::S0] = 0;
aig_map[State::S1] = 1;
- for (auto bit :
ci
_bits) {
+ for (auto bit :
input
_bits) {
aig_m++, aig_i++;
aig_map[bit] = 2*aig_m;
}
- for (auto bit :
input
_bits) {
+ for (auto bit :
ci
_bits) {
aig_m++, aig_i++;
aig_map[bit] = 2*aig_m;
}