Lecture4 Chapter6 - Problem-Solving Session
Lecture4 Chapter6 - Problem-Solving Session
Spring 2022 2
Spring 2022 3
Problem6-7: Draw the logic diagram of a 4-bit register with four D flip-flops and four
4:1 multiplexers with mode selection inputs S1 and S0. The register operates according
to the following function table.
Spring 2022 4
Spring 2022 5
Problem 6-13: Show that a BCD ripple counter can be constructed from a 4-bit binary
ripple counter with asynchronous Clear input and a NAND gate that detects the
occurrence of the count 1010.
Spring 2022 6
Problem 6-19: The flip-flop input equations for a BCD counter using T flip-flops are
given in section 6-4. Obtain the input equations for a BCD counter that uses
(a) JK flip-flops and
(b) D flip-flops
Spring 2022 7
Problem 6-28: Design a 3-bit counter with the following repeated binary sequence: 0,
1, 2, 4, 6. Use D flip-flops. Is your counter self-correcting.
Spring 2022 8
Spring 2022 9
Problem: Design a synchronous modulo-6 up-down counter with a single input
line x. The counter uses a creeping code, advances following x=0 and regresses for x=1.
it operates as under:-
When x=0: counts up through the sequence 000, 001, 011, 111, 110, 100, and repeat
When x=1: counts down through the sequence 000, 100, 110, 111, 011, 001, and
repeat.
(a) Draw the state diagram
(b) List the state transition table
(c) Design the modulo-6 up-down counter with D flip-flops and external AND, OR, and
NOT gates as required.
Spring 2022 10
Spring 2022 11
Spring 2022 12
Figure Design of Modulo-6 up-down Counter with D Flip-Flops and external gates
Spring 2022 13
The End
Spring 2022 14