Obtain Optimum Implementation
Obtain Optimum Implementation
Obtain Optimum Implementation
===============================================================
Question 1
b) Given f(x,y,z) = xy +x z’ + yz
i) Implement f in NOR-NOR format
ii) Implement f in AND-OR-INVERT format
Obtain optimum implementation.
Question 2
Design a combinational circuit decoder that examines a BCD digit and displays a letter
“L” if the digit was less than or equal 5. Use the Display unit shown below. Implement
the circuit using minimum 2*1 MUXes.
a
b c
d
e f
g
Question 4
Design a BCD adder that adds two BCD digits and produces a sum digit in BCD. You
may use 4-bit binary adders for your design. Give the circuit diagram.
Question 5
Design a sequential circuit with two JK flip flops A & B and two inputs E &
F. If E=0, the circuit remains in the same state regardless of the value of F.
When E=1 and F=1, the circuit goes through the state transition from 00 to
01 to 10 to 11, back to 00 and repeats. When E=1 and F=0, the circuit goes
through the state transitions from 00 to 11, to 10 to 01, back to 00 and
repeats.
Analyze the circuit below fully. Derive the Transition Table, Excitation Table, State
Diagram and the Output. Explain the function of the circuit.
TA
QA
A
FF-A
CLK
TB
B QB
FF-B
CLK
a.
F(A,B,C,D) =ABCD+(ABD)’+ABC’D
=ABD(C+C’)+(ABD)’=ABD+(ABD)’=1
OR
=ABCD+(ABD)’+ABC’D
=BCD+A’+B’+D’+BC’D
=CD+A’+B’+D’+C’D
=C+A’+B’+D’+C’D
=A’+B’+D’+C+D
=1
b.
f(x,y,z) =xy+xz’+yz
=xy(z+z’)+xz’+yz
=xyz+xyz’+xz’+yz
=xz’+yz
i)
f= Z \ XY 00 01 11 10
0 0 0 1 1
1 0 1 1 0
f=(x+z).(y+z’)
ii)
f= Z \ XY 00 01 11 10
0 1 1 0 0
1 1 0 0 1
f=(x’z’)+(y’z)
A B C D a b c d e f g
0 0 0 0 0 0 1 0 0 1 0 1
1 0 0 0 1 0 1 0 0 1 0 1
2 0 0 1 0 0 1 0 0 1 0 1
3 0 0 1 1 0 1 0 0 1 0 1
4 0 1 0 0 0 1 0 0 1 0 1
5 0 1 0 1 0 1 0 0 1 0 1
6 0 1 1 0 0 0 0 0 0 0 0
7 0 1 1 1 0 0 0 0 0 0 0
8 1 0 0 0 0 0 0 0 0 0 0
9 1 0 0 1 0 0 0 0 0 0 0
a=c=d=f=0
b=e=g =A’B’+A’C’
=A’(B’+C’)
f= AB\CD 00 01 11 10
00 1 1 1 1
01 1 1 0 0
11 X X X X
10 0 0 0 X
Q3.
D ( a b)
B ab
The algorithm to do binary addition of two BCD numbers, with the result in BCD,
involves a binary adder to do the actual arithmetic operation along with another adder to
offset the result whenever the binary sum exceeds the BCD range, which is from 0 to 9.
When this happens, the addition is scaled up by 6. The operation has to take care of the
carry-out which will be asserted whenever the BCD range is exceeded or the actual
binary addition generates a carry. The Boolean expression for the carry bit is:
C K Z8Z 4 Z8Z 2
State Diagram:
Present Next
Y1 Y0 EF 00 01 10 11
00 00 00 11 01
01 01 01 00 10
10 10 10 01 11
11 11 11 10 00
Y0+= y1y0\EF 00 01 11 10
00 0 0 1 1
01 1 1 0 0
11 1 1 0 0
10 0 0 1 1
Y0 E y0 Ey0
Analysis:
TA QA QB
TB QA QB
State diagram:
This circuit is a counter “00”->“01”->“10” and back to “00”…, if ever started in “11”
state, then the next state on the pulse will set state to “00”, “01” and so on.