Part 3 Write Vhdl Program Implement Binary Coded Decimal Bcd Counter Bcd Number 4 Bit Bina Q43898370
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 countermust come out of Reset (RST) and begin counting in ascending order.When it reaches the last BCD number ‘9’, the counter will overflowto zero and resume counting again. Moreover, add a new inputcontrol pin which enables the BCD counter to count up or down fromthe current BCD number whenever the pin is asserted as shown inFigure Q3. [15 marks](b) Write a VHDL test bench program to simulate the BCDup/down counter in ModelSim- Intel to ensure the counter functionproperly. Attach simulation results as screenshots.
Expert Answer
Answer to Part 3(a) Write a VHDL program to implement a binary-coded decimal (BCD) counter. The BCD number is a 4-bit binary numbe…
OR