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
1 changed files with 1 additions and 0 deletions

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