(a) Write a VHDL program to implement a binary-coded decimal (BCD) counter. The BCD number is a...
Fantastic news! We've Found the answer you've been seeking!
Question:
(a) Write a VHDL program to implement a binary-coded decimal (BCD) counter. The BCD number is a 4-bit binary number. The counter must come out of Reset (RST) and begin counting in ascending order. When it reaches the last BCD number ?9?, the counter will overflow to zero and resume counting again. Moreover, add a new input control pin which enables the BCD counter to count up or down from the current BCD number whenever the pin is asserted as shown in Figure Q3.
(b) Write a VHDL test bench program to simulate the BCD up/down counter in ModelSim- Intel to ensure the counter function properly. Attach simulation results as screenshots.
Related Book For
Posted Date: