mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
bugfix in opt_share
This commit is contained in:
parent
137f35373f
commit
951c72ba52
|
@ -270,6 +270,7 @@ struct OptShareWorker
|
|||
}
|
||||
}
|
||||
log(" Removing %s cell `%s' from module `%s'.\n", cell->type.c_str(), cell->name.c_str(), module->name.c_str());
|
||||
cell_hash_cache.erase(cell);
|
||||
module->remove(cell);
|
||||
total_count++;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue