Altera_Forum
Honored Contributor
18 years agoCPLD CLock divider?
I have been a long time MAX user. In the old days when I needed to divide a clock I would just use the counter output to drive the clock input of my destination flip flop. This always worked well in MAX products.
When I transitioned my designs to MAXII I continued to do the same thing. The problem I ran into was that I was using all the global routes for other control signals. This prevented my divided clock from getting on a global. The result was I could not meet timing since my divided clock fed a lot of flip-flops. When I used a clock enable all my problems went away. My question: Is it always better to use a clock enable versus a divided clock? Is there a situation where a divided clock is better than an enable? I never worried about this in traditional CPLDs but with these new devices it is something to consider.