Practice Problems 5 - Sequential Circuit Design
Practice Problems 5 - Sequential Circuit Design
PROBLEMS
0/0
001
1/1 0/0
1/0
100 0/0 011
0/0 1/1
010
1/0 0/0
1/1
000
2. Design sequential circuit for the following state diagram using SR flip flops. Map all unused states to don’t cares.
[ans: 𝑆0 = 𝑥 , 𝑅0 = 0 , 𝑆1 = ̅̅̅
𝑄1 . 𝑥 + 𝑅1 = 𝑄1 . 𝑥 , 𝑆2 = ̅̅̅
𝑄2 . 𝑄1 . 𝑥 , 𝑅2 = 𝑄2 . 𝑄1 . 𝑥 , 𝑦 = 𝑥
0/0
001
1/1 1/1
1/1 1/1
101
0/0
3. Design decade counter. Map all unused states to don’t cares. Use:
a. T flip flops
[ans: 𝑇3 = 𝑄2 . 𝑄1 . 𝑄0 + 𝑄3 . 𝑄0 , 𝑇2 = 𝑄1 . 𝑄0 , 𝑇1 = ̅̅̅
𝑄3 . 𝑄0 , 𝑇0 = 1]
b. JK flip flops
[ans: 𝐽3 = 𝑄2 . 𝑄1 . 𝑄0 , 𝐾3 = 𝑄0 , 𝐽2 = 𝐾2 = 𝑄1 . 𝑄0 , 𝐽1 = ̅̅̅
𝑄3 . 𝑄1 , 𝐾1 = 𝑄0 , 𝐽0 = 𝐾0 = 1]
4. Design decade counter using JK flip flop. Map all unused states to 0.
[ans: 𝐽3 = 𝑄2 . 𝑄1 . 𝑄0 , 𝐾3 = 𝑄2 + 𝑄1 + 𝑄0 , 𝐽2 = ̅̅̅
𝑄3 . 𝑄1 . 𝑄0 , 𝐾2 = 𝑄3 + 𝑄0 , 𝐽1 = ̅̅̅
𝑄3 . 𝑄2 . 𝑄0 , 𝐾1 = 𝑄0 + 𝑄3 (𝑄2 + 𝑄1 ),
𝐽0 = ̅̅̅
𝑄3 + ̅̅̅
𝑄2 . 𝑄1 , 𝐾0 = 1]
Page 1 of 2
5. Design odd value counter. Map all unused states to don’t cares. Use:
a. T flip flops
[ans: 𝑇2 = 𝑄1 , 𝑇1 = 1 , 𝑇0 = 0 ]
b. JK flip flops
[ans: 𝐽2 = 𝐾2 = 𝑄1 , 𝐽1 = 𝐾1 = 1 , 𝐽0 = 𝑋 , 𝐾0 = 0]
6. Design the following counter using T flip flops. Map all unused states to don’t cares.
[ans: 𝑇2 = 𝑄1 , 𝑇1 = 1 , 𝑇0 = ̅̅̅
𝑄2 , ]
001
111 010
101
4 1
5
3 2
9. Design a 3-bit up/down even sequence counter. Use any flip flop.
10. Design a 2-bit up/down counter which produces an output 1 if the next/settled state is an even number and 0 otherwise.
Page 2 of 2