mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-18 05:05:45 +00:00
Track icg cell name in clockgate
This commit is contained in:
parent
a5617f90ac
commit
6748b135aa
1 changed files with 1 additions and 0 deletions
|
|
@ -548,6 +548,7 @@ struct ClockgatePass : public Pass {
|
|||
// Rebuild the flop
|
||||
Cell *new_ff = ff.emit();
|
||||
new_ff->set_bool_attribute(ID::is_clock_gated);
|
||||
new_ff->set_string_attribute(ID(preqorsor_icg), it->second.icg_cell->name.str());
|
||||
|
||||
// Update the flop with new activity/duty attributes
|
||||
if (it->second.activity_set) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue