projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d152fe9
)
Fixes
author
Eddie Hung
<eddie@fpgeh.com>
Mon, 6 Jan 2020 19:53:48 +0000
(11:53 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Mon, 6 Jan 2020 19:53:48 +0000
(11:53 -0800)
passes/techmap/abc9.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/abc9.cc
b/passes/techmap/abc9.cc
index 3c781ca44da6b4d1927b84e29928553985ea1bc8..f82511407289c17a6c637d0efa3b6dfb7a800e0d 100644
(file)
--- a/
passes/techmap/abc9.cc
+++ b/
passes/techmap/abc9.cc
@@
-411,6
+411,9
@@
void abc9_module(RTLIL::Design *design, RTLIL::Module *module, std::string scrip
if (mapped_mod == NULL)
log_error("ABC output file does not contain a module `$__abc9__'.\n");
+ for (auto w : mapped_mod->wires())
+ module->addWire(remap_name(w->name), GetSize(w));
+
dict<IdString, bool> abc9_box;
vector<RTLIL::Cell*> boxes;
for (auto it = module->cells_.begin(); it != module->cells_.end(); ) {