mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +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
|
@ -61,7 +61,7 @@ void replace_undriven(RTLIL::Design *design, RTLIL::Module *module)
|
|||
}
|
||||
if (wire->port_input)
|
||||
driven_signals.add(sigmap(wire));
|
||||
if (wire->port_output || wire->get_bool_attribute(ID(keep)))
|
||||
if (wire->port_output || wire->get_bool_attribute(ID::keep))
|
||||
used_signals.add(sigmap(wire));
|
||||
all_signals.add(sigmap(wire));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue