Altera_Forum
Honored Contributor
14 years agoHow to make timing constraint in this case??
Hi all,
I've used a counter to make a clock enable such that I could get a new clock with divided frequency. The waveform is shown as below. Because there must be some clock skews for the counter's clock, it is possible that the second rising edge of the counter's clock arrives late and is not enabled. I've figured out two ways of constraining. The first is use set_clock_uncertainty from {counter's clock} -to {counter's clock} -setup XXX The second way is make the clock enable signal a generated clock and make sure they have no setup violations. Which one is the better way do you think? ____-----_____-----_____-----_____-----_____-----___counter's clock ____-----------____________________________--------clock's enable