2 digit bcd counter from 00 to 99
Animalese slowed down
with CPLD Applications and VHDL, 2/e. A 2-digit BCD (binary coded decimal) counter advances in decimal from 00 to 99 (0000 0000 to 1001 1001) and then rolls over to 00. Values representing hex numbers from A through F are not valid in this code. For a 2-digit BCD counter, we use an 8-bit output, but divide the range into two
The counter must count up from 00 to 09, then 10 to 19, and so on until it reaches 99. THe parallel inputs should load any value from 0 to 9 on each digit. If a parallel binary input falls outside the valid BCD range (1010 to 1111) for either digit, the circuit should set that digit to 9 when the parallel input...