Disable Default Clock Gating Check

Following scripts disable the default clock gating check on those cells with name Cxxx.

set cg_pins [get_pins -hier "*" -filter "is_clock_gating_pin==true && is_data_pin==true"]

foreach_in_collection cg_cell [get_cells -of_object $cg_pins] {
set cell_name [get_object_name $cg_cell]
if { [regexp {\/C\d+$} $cell_name] } {
echo "Found CG cell: $cell_name"
set_disable_clock_gating_check [get_cells $cg_cell]
}
}