mirror of https://github.com/YosysHQ/yosys.git
equiv_struct now creates equiv_merged attributes
This commit is contained in:
parent
453736d918
commit
83bd27bf6e
|
@ -107,6 +107,9 @@ struct EquivStructWorker
|
|||
equiv_bits.add(sig_b, sig_a);
|
||||
}
|
||||
|
||||
auto merged_attr = cell_b->get_strpool_attribute("\\equiv_merged");
|
||||
merged_attr.insert(log_id(cell_b));
|
||||
cell_a->add_strpool_attribute("\\equiv_merged", merged_attr);
|
||||
module->remove(cell_b);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue