Fixes
authorEddie Hung <eddie@fpgeh.com>
Mon, 6 Jan 2020 19:53:48 +0000 (11:53 -0800)
committerEddie Hung <eddie@fpgeh.com>
Mon, 6 Jan 2020 19:53:48 +0000 (11:53 -0800)
passes/techmap/abc9.cc

index 3c781ca44da6b4d1927b84e29928553985ea1bc8..f82511407289c17a6c637d0efa3b6dfb7a800e0d 100644 (file)
@@ -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(); ) {