Altera_Forum
Honored Contributor
14 years agoQuartus 10.0 complains of nested clock gating scheme
Hi,
I replace the asic clock gating cell with ALTCLKCTRL module when I run quartus 10.0 to build SOF file. However, the process stops because the input clock of ALTCLKCTRL module is another ALTCLKCTRL module's output clock. What can I do to solve this problem? Is that a limitation of Altera tools? BTW, in order to skip that error, I use RTL coding style of clok gating function as below: module fpga_ckgate ( input ena, input inclk, output outclk ); reg clk_enable_lat; always @ (inclk or ena) begin if (~inclk) clk_enable_lat = ena; end assign outclk = inclk & clk_enable_lat; endmodule is there anything wrong? I got a lot of critical messages from Design Assistant and it says - C101 Gated Clock Should be Implemented According to Altera Standard Scheme If ALTCLKCTRL doesn't support nested clock gating scheme, please tell me how to modify the RTL code to get rid of those critical messages. Thanks ahead for the reply. Best Regrads, Acme