Altera_Forum
Honored Contributor
16 years agoauto gated clock conversion help
I am trying to implement some ASIC code in an FPGA, and unfortunately the code has gated clocks. Because of the huge clock skew problems this causes I was hoping to use the Auto Gated Clock Conversion option to create clock enables instead of the clock gating. I have turned on this option in Quartus II and it didn't seem to do anything. As far as I can tell no gated clocks were converted to clock enables. I tried checking the report on gated clock conversion that is supposed to show up under the Optimization Results of the Analysis & Synthesis Report and it's not there either. I just get the feeling the setting is being ignored, but I don't know why. Has anyone used this successfully before?
Just as some background I have the gated clock as a small module that is coded as Altera suggests: output clk; // clock output input en; // clock enable input eclk; // early clock reg en_q; // latched enable always@(negedge eclk) begin en_q <= en; end assign clk = eclk && en_q; I also have the eclk created in an sdc file like this (it's the output of a PLL):# input clock create_clock -period 10 clk_in# generate all clocks from PLL (including eclk) derive_pll_clocks -create_base_clocks Is there something obvious that I'm missing? Any help would be appreciated. Thanks!