Four pushbuttons (B 0 , B 1 , B 2 , and B 3 ) are used

Question:

Four pushbuttons (B0, B1, B2, and B3) are used as inputs to a logic circuit. Whenever a button is pushed, it is debounced, after which the circuit loads the button number in binary into a 2-bit register (N). For example, if B2 is pushed, the register output becomes N = 102. The register holds this value until another button is pushed. Use a total of two flip-flops for debouncing. Use a 10-bit counter as a clock divider to provide a slow clock for debouncing. Kd is a signal that is 1 when any button has been pushed and debounced.
(a) Draw a state graph (two states) to generate the signal that loads the register when Kd = 1.
(b) Draw a logic circuit diagram showing the 10-bit counter, the 2-bit register N, and all necessary gates and flip-flops.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Digital Systems Design Using Verilog

ISBN: 978-1285051079

1st edition

Authors: Charles Roth, Lizy K. John, Byeong Kil Lee

Question Posted: