blob: 1cf369a93ffe1d2d64d8e79c2c5bd6dcfb1c85d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//Example 8.16
clc
disp("The fig 8.36 shows the connections for 74LS191 to get desire operation. We can design the combinational circuit for such counter from the truth table shown below.")
disp("")
disp("Q3 Q2 Q1 Q0 Y")
disp("0 0 0 0 0")
disp("0 0 0 1 0")
disp("0 0 1 0 0")
disp("0 0 1 1 1")
disp("0 1 0 0 1")
disp("0 1 0 1 1")
disp("0 1 1 0 1")
disp("0 1 1 1 1")
disp("1 0 0 0 1")
disp("1 0 0 1 1")
disp("1 0 1 0 1")
disp("1 0 1 1 1")
disp("1 1 0 0 1")
disp("1 1 0 1 1")
disp("1 1 1 0 0")
disp("1 1 1 1 0")
disp("")
disp("K=map simplification")
disp(" Q1''Q0'' Q1''Q0 Q1Q0 Q1Q0''")
disp("Q3''Q2'' 0 0 1 0")
disp("Q3''Q2 1 1 1 1")
disp("Q3Q2 1 1 0 0")
disp("Q3Q2'' 1 1 1 1")
disp("")
disp("Therefore, PL'' = Y = Q3''Q1Q0 + Q3''Q2 + Q3Q1'' + Q3Q2''")
disp("After switch ON, if the counter output is other than 1101 through 0011, the PL'' goes low and count 1101 is loaded in the counter. The counter is then decremented on the occurrence of clock pulses. When counter reaches 0010, the PL'' again goes low and count 1101 is loaded in the counter")
|