irun2
Member level 2

Hi all,
In low power design I've learned that there're some techniques, and one of them is clock gating. There're global/local clock gating.
I know following codes can infer the local one with some proper power compiler directives.
always @(posedge clk)
...
if(clk_en)
q<=d;
...
But in what coding style should be written if I want the global gated clock way?
In low power design I've learned that there're some techniques, and one of them is clock gating. There're global/local clock gating.
I know following codes can infer the local one with some proper power compiler directives.
always @(posedge clk)
...
if(clk_en)
q<=d;
...
But in what coding style should be written if I want the global gated clock way?