projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c1199
)
Add log_push()/log_pop() inside write_xaiger
author
Eddie Hung
<eddie@fpgeh.com>
Sat, 22 Jun 2019 00:16:38 +0000
(17:16 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Sat, 22 Jun 2019 00:17:29 +0000
(17:17 -0700)
backends/aiger/xaiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/xaiger.cc
b/backends/aiger/xaiger.cc
index 637c54ff91d291df4c7245c59b5715e8207c07d9..2070cae8fcb2c7786ae4a474f4622c560b2e9f8c 100644
(file)
--- a/
backends/aiger/xaiger.cc
+++ b/
backends/aiger/xaiger.cc
@@
-664,6
+664,8
@@
struct XAigerWriter
f.write(buffer_str.data(), buffer_str.size());
if (holes_module) {
+ log_push();
+
// NB: fixup_ports() will sort ports by name
//holes_module->fixup_ports();
holes_module->check();
@@
-700,6
+702,8
@@
struct XAigerWriter
f.write(reinterpret_cast<const char*>(&buffer_size_be), sizeof(buffer_size_be));
f.write(buffer_str.data(), buffer_str.size());
holes_module->design->remove(holes_module);
+
+ log_pop();
}
}