mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-16 06:31:29 +00:00
Use ID::keep more liberally too
This commit is contained in:
parent
52355f5185
commit
eae5a6b12c
10 changed files with 19 additions and 19 deletions
|
@ -398,7 +398,7 @@ struct WreduceWorker
|
|||
SigMap init_attr_sigmap = mi.sigmap;
|
||||
|
||||
for (auto w : module->wires()) {
|
||||
if (w->get_bool_attribute(ID(keep)))
|
||||
if (w->get_bool_attribute(ID::keep))
|
||||
for (auto bit : mi.sigmap(w))
|
||||
keep_bits.insert(bit);
|
||||
if (w->attributes.count(ID(init))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue