projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477e566
)
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 04:56:47 +0000
(21:56 -0700)
backends/aiger/aiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/aiger.cc
b/backends/aiger/aiger.cc
index d685c56380b2c2e2a94cb7d759c6e4cc8c787a62..6863b40faeb025612e60d662fdad7ed5ca5cd108 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)