mirror of https://github.com/YosysHQ/yosys.git
Track icg cell name in clockgate
This commit is contained in:
parent
a5617f90ac
commit
6748b135aa
|
|
@ -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…
Reference in New Issue