3
0
Fork 0
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:
Akash Levy 2026-05-20 22:00:20 -07:00
parent a5617f90ac
commit 6748b135aa

View file

@ -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) {