projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa2d6f
)
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:16:38 +0000
(17:16 -0700)
backends/aiger/xaiger.cc
patch
|
blob
|
history
diff --git
a/backends/aiger/xaiger.cc
b/backends/aiger/xaiger.cc
index 110d727de7e06e2a0934b6227534d4b2359951bc..23132f10870fbad9413ed6851ebffef0c0fcc719 100644
(file)
--- a/
backends/aiger/xaiger.cc
+++ b/
backends/aiger/xaiger.cc
@@
-665,6
+665,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();
@@
-701,6
+703,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();
}
}