mirror of https://github.com/YosysHQ/yosys.git
Ignore $scopeinfo in opt_merge
This commit is contained in:
parent
9288107f43
commit
bfd9cf63db
|
@ -272,6 +272,9 @@ struct OptMergeWorker
|
|||
if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known())
|
||||
continue;
|
||||
|
||||
if (cell->type == ID($scopeinfo))
|
||||
continue;
|
||||
|
||||
uint64_t hash = hash_cell_parameters_and_connections(cell);
|
||||
auto r = sharemap.insert(std::make_pair(hash, cell));
|
||||
if (!r.second) {
|
||||
|
|
Loading…
Reference in New Issue