zionico90
Member level 2
Hi guys,
I should design a 4 bit UP/DOWN digital counter with 1/10/100 kHz programmable clock frequency. I have to deal with an internal clock frequency around 50 MHz imposed by the cristal oscillator.
Unfortunately I have to use the Quartus Prime environment and I have some problem in finding the frequency divider and frequency selector blocks (they were available in MAX+Plus II but not in Prime!).
My idea is to use the following a 9-bit counter to obtain 100 kHz from 50 MHz and than a second 4-bit counter to obtain the 10 k and a last 4-bit counter to last 1 kHz. Is this approach fine?
In this way I will have a 3 output cloks and now the problem is how I can create a frequency selector?
Thanks,
Marco
I should design a 4 bit UP/DOWN digital counter with 1/10/100 kHz programmable clock frequency. I have to deal with an internal clock frequency around 50 MHz imposed by the cristal oscillator.
Unfortunately I have to use the Quartus Prime environment and I have some problem in finding the frequency divider and frequency selector blocks (they were available in MAX+Plus II but not in Prime!).
My idea is to use the following a 9-bit counter to obtain 100 kHz from 50 MHz and than a second 4-bit counter to obtain the 10 k and a last 4-bit counter to last 1 kHz. Is this approach fine?
In this way I will have a 3 output cloks and now the problem is how I can create a frequency selector?
Thanks,
Marco