Forum Discussion
Altera_Forum
Honored Contributor
9 years agoI suggest you'll have to use an independent, fixed clock to measure the frequency of your changeable clock. This will allow you to determine whether the clock is above of below a threshold - say 10MHz. I suggest you keep the threshold well away from 5MHz. You can then have two separate (potentially identical) blocks of logic; one clocked directly from your varying clock; the other from your reconfigurable PLL. Depending on the clock frequency, you either use the result from one portion of logic or the other.
Cheers, Alex