Altera_Forum
Honored Contributor
15 years agoData between gated clk's
Hi,
I have a design that needs to use gated clk's in order to reduce the power consumption. I try to avoid using any speciel cells or PLL's, because I'm going to port it to an ASIC later on - but for verification I would like to try it in a FPGA first. My problem is... I got a CLK_1 which is the master clk. This clk is feeding some high level blocks. I then gate it to CLK_g which feeds some blocks firther down in the design. When I run a synthesis I gets the error message about timing requirements are not fullfilled. If I set the 'Optimize hold timing' to all paths I don't get the error messages. How can I verify that the timing is ok - I can't see any diffference in my simulations? When I look at my waveforms it doesn't look very nice - the gated clk changes from '0' to '1' 0.5 ns before the data pins changes. If I compare CLK_1 and CLK_g there is a delay of ~6 ns through my AND gate - that seems like a lot. Is it possible to delay the CLK_1, so the 2 clock are more alike? Any advice is greatly appreciated.