Altera_Forum
Honored Contributor
15 years agoFlex 6000 clock gating
Hi
I've been converting a 10 year old non-synchronous design to make synchronous so that it is more robust. Due to the available clocks on the board, it is necessary to use a gated clock. The old design implemented this using logic cell delays making the design non-portable through different design software versions. I have used the recommended Altera gating method as described in the Quartus II handbook "Recommended Clock-Gating Methods" chapter (attached clock_gate.jpg), but this does not work without glitches on Flex 6000 speed grade 1 devices in simulation. It does work with for example MAXII devices, or Flex 6000 speed 2 or 3. I have attached a block design file showing the design for both rising and falling edge clocks together with the simulator (waveform) output in the zip file, compiled with Quartus II v7.2. Also provided the design as a jpeg (gate_design.jpg) and simulation (simulation.jpg). Interestingly, if I swap the AND and OR gates the design works without glitch, so it looks like there is a delay on the global clock reaching the AND/OR gates causing the glitch. Any ideas on resolving this? Cheers Gordon