projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f8014
)
Fix gcc invalidation behaviour for write_aiger
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 21 Jun 2019 04:56:02 +0000
(21:56 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 21 Jun 2019 05:10:43 +0000
(22:10 -0700)
backends/aiger/aiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/aiger.cc
b/backends/aiger/aiger.cc
index 4c2ea511acca9b606ba0554e5322dba790e7aaa4..4fb47f0d6ba9d3bf01b1650175f8d9c135faac07 100644
(file)
--- a/
backends/aiger/aiger.cc
+++ b/
backends/aiger/aiger.cc
@@
-89,7
+89,8
@@
struct AigerWriter
aig_map[bit] = mkgate(a0, a1);
} else
if (alias_map.count(bit)) {
- aig_map[bit] = bit2aig(alias_map.at(bit));
+ int a = bit2aig(alias_map.at(bit));
+ aig_map[bit] = a;
}
if (bit == State::Sx || bit == State::Sz)