mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
No need to punch ports at all
This commit is contained in:
parent
390b960c8c
commit
1b96d29174
2 changed files with 24 additions and 13 deletions
|
@ -1121,19 +1121,6 @@ struct Abc9Pass : public Pass {
|
|||
Pass::call_on_module(design, derived_module, "proc");
|
||||
SigMap derived_sigmap(derived_module);
|
||||
|
||||
Wire *currQ = derived_module->wire("\\$currQ");
|
||||
if (currQ == NULL)
|
||||
log_error("'\\$currQ' is not a wire present in module '%s'.\n", log_id(cell->type));
|
||||
log_assert(!currQ->port_output);
|
||||
if (!currQ->port_input) {
|
||||
currQ->port_input = true;
|
||||
derived_module->ports.push_back(currQ->name);
|
||||
currQ->port_id = GetSize(derived_module->ports);
|
||||
#ifndef NDEBUG
|
||||
derived_module->check();
|
||||
#endif
|
||||
}
|
||||
|
||||
SigSpec pattern;
|
||||
SigSpec with;
|
||||
for (auto &conn : cell->connections()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue