Altera_Forum
Honored Contributor
16 years agoMy Clock Divider with enable doesn't work
Dear all, I tried to do clock divider with enable, as suggested by many previous posts, but still doesn't work , still has the same warning, anybody can help me? Thank you very much!
process(CLK,System_enable) begin if System_enable='0' then CLKDiv<= "00000000000000"; elsif(rising_edge(CLK)) then if CLKDiv="0000000000011"then CLKDiv<="00000000000000"; CLKenable <= '1'; else CLKDiv<=CLKDiv + 1; Clkenable <= '0'; end if; end if; end process; process (CLK, Clkenable,System_enable) begin if (System_enable = '0') then CLK4T <= '0'; elsif (rising_edge(CLK)) then if (Clkenable = '1') then CLK4T <= not CLK4T; end if; end if; end process; Warning: Found 1 node(s) in clock paths which may be acting as ripple and/or gated clocks -- node(s) analyzed as buffer(s) resulting in clock skew Info: Detected ripple clock "CLK4T" as buffer