Hello.
What is the right way to insert clock gating in RC script?
How should i translate the following instructions form DC for RC ?
(DC) -->
set_clock_gating_style -sequential_cell latch \
-negative_edge_logic $CELL_NAME \
-positive_edge_logic $CELL_NAME \
-max_fanout 16 \
-minimum_bitwidth 4 \
-control_point before \
-control_signal scan_enable
---------------------------------------------------------------------------------------------------------
(RC) -->
define_dft shift_enable -name scan_enable -active high $CELL_NAME1
define_dft shift_enable -name scan_enable -active low $CELL_NAME2
set_attr lp_insert_clock_gating true
set_attr lp_clock_gating_min_flops 4 [find/design -design $DESIGN]
set_attr lp_clock_gating_style latch [find/design -design $DESIGN]
set_attr lp_clock_gating_control_point precontrol [find/designs -design $DESIGN]
set_attr lp_clock_gating_test_signal scan_enable $DESIGN
---------------------------------------------------------------------------------------------------------
Is it enough or there is something else needed?