Altera_Forum
Honored Contributor
11 years agore: clk gating in fpga design
hi,
i have an rtl design which has a reference clock (100M) going into a verilog-coded divider module (to generate 50M and 25M clks) and then a verilog-coded clk-mux module (to select either 25M or 50M clk, going into the rest of the system). i also have corresponding clk-gate modules for the clock going into the system refclk -> clk-divider -> clk-mux -> clk-gate -> clk going into rest of the system/processes as mentioned, the divider, mux, clk-gate is coded in verilog (they are not IPs of any sort). i wanted to know that - 1) when i synthesize such a design in quartusII (for arria10 FPGA), then do the clk-divider, clk-mux, clk-gate modules result in gated clocks? 2) if yes, where in the timing report/synth report for quartusII, can i see a report for such gated clocks? 3) also - are such gated clocks bad for the design? i have read that clk gating (in any way) removes the clk from the dedicated clk route and puts it into the logic fabric thereby adding skew into the design. does that hold true for arria10 FPGAs too? and is this skew always considered bad? and if yes, within what range, is the skew because of clk-gating acceptable? help :) z.