Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
An enable.
Code:always @(posedge clk) begin if (enable) .... end
That is not "clock gating". e.g. Xilinx has BUFGCTRL, BUFGMUX, BUFGMUX_1, and BUFGMUX_CTRL primitives for clock multiplexing. I suppose if you are a masochistic you can "gate" the clock with a LUT feeding the clock input or a LUT feeding a BUFG and try to find a way to constrain the design properly.
Of course sun_ray is probably confusing ASICs with FPGAs and posted this in the wrong section.
Synthesis tools can perform automatic clock gating insertion based on RTL coded with enables.
If you hand instantiate clock gating cells, then these aren't being inserted during synthesis as the OP asked about.
What should it be there present in the rtl while coding of the rtl so that clock gating cells are inserted when this rtl synthesized?
Synthesis tools can perform automatic clock gating insertion based on RTL coded with enables.
If you hand instantiate clock gating cells, then these aren't being inserted during synthesis as the OP asked about.
OP = Original Poster = the person that started the thread = sun_rayWhat do you mean by OP?
Do you want to mean that for ASIC synthesis if the rtl code has the enable in the rtl code as you showed in your rtl code at post no 2 , the synthesis tool will automatically insert clock gating cell? Does it mean that the rtl will have to have that enable for automatic clock gating cell insertion during ASIC synthesis? Does the rtl need to have anything more other than this enable for automatic clock gating cell insertion during ASIC synthesis?