Академический Документы
Профессиональный Документы
Культура Документы
(a)
Input
Data Inputs Enable Output
Selectors
SB SA nC0 nC1 nC2 nC3 nG nY
X X X X X X H L
L L L X X X L L
L L H X X X L H
L H X L X X L L
L H X H X X L H
H L X X L X L L
H L X X H X L H
H H X X X L L L
H H X X X H L H
H: HIGH Level L : LOW Level X : Don’t Care
(b) (c)
Figure Q1
Q2) Using only half adders as shown in Figure Q2 and build the circuit to calculate addition of 3-bit
binary numbers A (A2A1A0) and B (B2B1B0) that yield C3S2S1S0
Figure Q2
QUIZ 4 – MOCK TEST 2
Q3) A D flip flop is connected as shown in Figure Q3(a), complete the function table (Table Q3) and
the timing diagram (Figure Q3(b)).
Figure Q3(a)
Table Q3
Figure Q3 (b)
QUIZ 4 – MOCK TEST 2
(a)
Input
Data Inputs Enable Output
Selectors
SB SA nC0 nC1 nC2 nC3 nG nY
X X X X X X H L
L L L X X X L L
L L H X X X L H
L H X L X X L L
L H X H X X L H
H L X X L X L L
H L X X H X L H
H H X X X L L L
H H X X X H L H
H: HIGH Level L : LOW Level X : Don’t Care
(b) (c)
Figure Q1
Q2) Using only half adders as shown in Figure Q2 and build the circuit to calculate addition of 3-bit
binary numbers A (A2A1A0) and B (B2B1B0) that yield C3S2S1S0
Figure Q2
QUIZ 4 – MOCK TEST 2
Q3) A D flip flop is connected as shown in Figure Q3(a), complete the function table (Table Q3) and
the timing diagram (Figure Q3(b)).
Figure Q3(a)
Table Q3
Figure Q3 (b)
QUIZ 4 – MOCK TEST 2
(a)
Input
Data Inputs Enable Output
Selectors
SB SA nC0 nC1 nC2 nC3 nG nY
X X X X X X H L
L L L X X X L L
L L H X X X L H
L H X L X X L L
L H X H X X L H
H L X X L X L L
H L X X H X L H
H H X X X L L L
H H X X X H L H
H: HIGH Level L : LOW Level X : Don’t Care
(b) (c)
Figure Q1
Q2) Using only half adders as shown in Figure Q2 and build the circuit to calculate addition of 3-bit
binary numbers A (A2A1A0) and B (B2B1B0) that yield C3S2S1S0
Figure Q2
QUIZ 4 – MOCK TEST 2
Q3) A D flip flop is connected as shown in Figure Q3(a), complete the function table (Table Q3) and
the timing diagram (Figure Q3(b)).
Figure Q3(a)
Table Q3
Figure Q3 (b)
QUIZ 4 – MOCK TEST 2
ANSWER
Q1
A B C D F A B C D F
0 0 0 0 1 0 0 0 0 X
0 0 0 1 0 0 0 0 1 0
0 0 1 0 1 0 0 1 0 1
0 0 1 1 1 0 0 1 1 1
0 1 0 0 0 0 1 0 0 0
0 1 0 1 0 0 1 0 1 0
0 1 1 0 0 0 1 1 0 0
0 1 1 1 0 0 1 1 1 0
1 0 0 0 1 1 0 0 0 1
1 0 0 1 0 1 0 0 1 0
1 0 1 0 1 1 0 1 0 1
1 0 1 1 1 1 0 1 1 1
1 1 0 0 1 1 1 0 0 X
1 1 0 1 0 1 1 0 1 0
1 1 1 0 1 1 1 1 0 1
1 1 1 1 0 1 1 1 1 0
QUIZ 4 – MOCK TEST 2
QUIZ 4 – MOCK TEST 2
Q2)
A2 A1 A0
+ B2 B1 B0
---------------
C3 S2 S1 S0
---------------
Q3)
CLK PRE’ CLR’ A B Qnext FF State
↓ 0 1 X X 1 SET
↓ 1 0 X X 0 RESET
0,1 1 1 X X Q NC
↑ 0 1 X X 1 SET
↑ 1 0 X X 0 RESET
↑ 1 1 0 0 Q NC
↑ 1 1 0 1 1 SET
↑ 1 1 1 0 0 RESET
↑ 1 1 1 1 Q’ TOGGLE
1: HIGH State 0: LOW State NC: No Change
QUIZ 4 – MOCK TEST 2