Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 3 (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
Part 3
(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. [15 marks]
(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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started