Professional Documents
Culture Documents
A B
Difference Borrow
0 0 0 0
0 1 1 1
1 0 1
1 1 0 0
Difference =AB +A B A B
Borrow AB
Full subtractor
bitsafa
combinational circuit gnor full subtractor gygu. i A,
B, BorroW 5u epsogi inputseh Difference Lobnud
Borrowut 5u gT600T Outputsa5h 2siT6IT6OT. 56T truth
table umgh logic diagramgs6m5 LIL`Bsù 8T600T6UITL. A unpmiuh
B
9 inputsh registerssfisi GLSI G.
Borrow 6T60 input pim5u 6îs560a (GbSI 6uGLD. QZI
Difference nmmu Borrowut L u gTs00T outputssmoT
2GUTGh(G.
A Difference
B
Borrown FS
Borrowu (Bu
(B)
Logic symbol
Borrown
D Difference (D)
(B) HS2
A D. Bou2
HS1
B
YB Constructions of full adder
Borrow (B)
Using half subtractors
1.51
Outputs
Barrow,|D
Diif
ffe r e n c eBorrow
Difference Borrow
Inputs
(B
(B)
1
1
0 0
1
0
1 0
1
BorrOw
using
USing kkm
k-ma
and
D i f f e r e n c e
for
E x p r e s s i o n
Truth tableghig G h AB 00 01 11 10
AB
B 0
10
B
00 0 1 11
1
o
o o1 0
K-map for B,
K-map for Difference
+ ABB,, + ABB,
AB B + ABB,
Sum + BB,)
+ BB) + A(BB,
=
A(BB
+ A(B® B)
A(B B)
X
Consider B B =
AX
Difference A X+ B D B,)
= A X (Re place X by
Difference A B® B,
B= B + A B + B Bn
Realisation of full-subtractor
1.52
Magnitude comparator
A ongub B 6 u gnsnot (6) s61606 6h6fl60r s160TLDL60L
pin. A=B, A<B, A>B , l u outputssfl 67Gg5ggD
armp a nh(id 9U combinational circuit gsrsr
magnitude comparator Gn. Single bit magnitude
comparatorglsor block diagramg6ng uLSsb sT60TAUm
A A>B
Single bit
Magnitude A=B
B A<B
comparator
Magnitude comparatorg implement Gauu, NOR
g AND gatesmeT uw60T LIGIGoTLD. Single bit
magnitude comparatorglr logical structure upmh truth
tableguLZdsT6TOomLD.
AB_A > B
A
-A =B
B
A <B
A B A>BA=B A<B
00 0 1 0
0 1 0 0 1
1 0 1 0
1 1 0
Output
Momentary output
change
Redundant
groupingglor eLpavLh adjacent cell
cover useot sgsus5sot
eypoun static hazardp
Dynamic hazard
f6som).
Outputs60T51 0sis (,L5I 16GsT g60gI 1g
0a16Gs LoTmÚuLLT), Circuit
glitcha 2TGD. 60EI 260TmIsGD \a
guuluLL uA glitchssT9
dynamic hazard ss0rLuGLh. 9-502/T
1.54
input
Dynamic Hazard
Essential hazard
gT soT(6 JvaDGI BDG GuoguLL feedbacks6 o6LU
asynchronous sequential circuitsatov DLBu UébGLh
hazard essential hazard gyg.
Gimgioumes toggling circuitsfisiohu@ta.
um$esiutL path@avamount of delaysou adjust Geugi
Races
Critical Race:
Critical race rGI 6TUGLITLgSID $upT60T Bnaus(
sugy.
Non Critical Race
Non Critical race 6 0 i 6TÚGuTLgGIu 9G #fuT6OT
1 66UuITSDr Sl6movs(G Gleabgyh.
1.55
Review Questions with wers
Part A 2 Mark Questions
level implementatio
1. Draw the transistor
gate using CMOS logic.
of tu
(Referthe page 1.16)
2. Draw the transistor level implementation
gate using CMOS logic.
of N
1.17)
(Referthe page
3. What do you meant by logic function? Give os
eone
example.
Output g input gsor function s ior
9G simple expression g logic function sT8T
ma.
Example: Light(a) =a
4. What are all universal gates?
(i) NAND
(ii) NOR
5. Why NAND and NOR gates are said to be unive
gates?
ANDonguo OR Gunsarp sm6aTGEI gates
NAND gatesmaT ULOTLI6sS DLGud
gatessm6T IL6OTLIGs) uL Gd gumfls6sumU. 6160TGo. N
L gu NOR gatesst universal
6T60T meLpssbiuGl60Tm60T.
gate
6. Calculate no of gates required
gate.
to implement
XOR gate mstsor expression
y=ab+ab
1. One NOT gate for
2. One NOT
gate for b
3. One AND
4. One AND
gate for b
5. One OR
gate for ab
gate for b + ab
ST60T o1, Glom s5in 5 gatesst u661i g
Gz6maiILIbL
1.56
7. State Demorgan's theorems.
(0) A+B A.B
98h0s Glesnsmasul66r cpmplement smg.
91560T COmplement sorfl66r Glu(,6G,GET6D&ÉG
GiDLOIT% gGGGD.
(i) A.B= A + B
9 Augs65 Ggrmsulor cpmplement j 1
N56OT Complement 6sflsoT 6hOgGgn6ma6G
ginLoT GBGLD.
8. Expand SOP and POS.
SOP: Sum Of Product term
POS: Product Of Sum termm
9. Distinguish between combinational and sequential
circuits. (Oct 2018)
combinational sequential
B&uTM5w input g Lo6Gu sp&uTma5w input Jb,
output sipbgáGD. LP65u output JLh
output snir p,S(GsG.
Memory-less system Feedback opmuh memory
element g system
GlsmsoT GaT6T
Example: half-adder, Example: Flip flops
full-adder
1.57
Questions
multiplexer a
and
n d encode
3
Mark
multiplexer
der
Part8- between
D s t i n g u i s h
encoder
1. la
multiplexer
03ta
Encoder
active
UR input
signal Oded
sa
Multioiexer
S S e i e c t
output 5 Lombgu.
inputass
a t a selector Aga
2 inputs58tto gLS
n outputse é6'ené(
output snáGih
decoder
between
encoderand
2.
Distinguish
decoder
encoder
n-bit code 2
N-DIt
NE outputsaTITES decode
inputs0T
2 deun5OutputsoTT5
cOde sencode
6605
output &6ti60T 67600T6001
L input &afiest
6T60Tsfäna
i n p u t &s T5D5
GDpT 2.6iT6T|.
Receiver side w uw6TU
uuLADE
Transmittersidesi
9gcombinationai circuit 0 yp
propagation delay wsr 51huBub Goo
transient n g glitch hazard a
1.58
6. What are the types of hazards? (Oct 2017)
Hazards g 1maÜuGh.
(i) Static hazard
(ii) Dynamic hazard
7. Define dynamic hazard.
Output JSTSI 0 6GLSI 1 6GaT gsvangI
1 goGiSI 0 yéaGar LomppúuLLma), circuit
TI
gormiés(h GtomuILL glitch g 2GuTsGL. güugLILL u
glitch ssr 2gumuGI dynamic hazard sraariuGh.
8. How do you remove static hazard? (Oct 2017)
Redundant grouping or euo adjacent
cell&meT COver u6OT SaD1OIG60T eLpaDLh static hazard
sBoTD.
9. What are the types of race? (Oct 2018)
Races g al6msÚuGuh.
(i) Critical Race
(i) Non-Critical Race
Part C- 10 Mark Questions
1. Draw the transistor level implementation of AND
and OR gates using CMOS logic. (Oct 2017, 2018)
(Referthe page 1.14)
2. Write any five Boolean laws.
O 0 00 T
0 0 1 0
0 1
0 1 1
A 1 0
5 1 0 1
6 0
1
2.When bc = 01 C
b
a b
0 1
a 00
01 F(a,b
0-
10
1 11
1.60
3.When bc = 10
b
a b C F
00
1 1 0 01
10 F (a,b,c)
1 1 0 0 11
3.When bc = 11 C
b
ab_cF a0 00
1 1 1 01 F (a,b,c)
10
11 1
a-o -
00
0- 01 F (a,b,c)
a 10
11
1
=
a(b Dc)+a(b Dc)+ b(a Dc)
1.61
Let X= b®e
= aX +aX + b(a c )
= a X + b(a c )
=
a b c+b(a D c)
(i) Implementing the above
function with
multiplexer h a 4
From the function F =
table as, 2m0,2,3,7, we can
writ.
rite
b C F
O O O
1 O O
1 O
O 1 1
1
5 1 1 O
6 1
1
b
1
O0
O 01
10
-F (a,b,c)
11
1.62
6. (i) Implement the function F m1,2,3.5,7,10,13 with
minimal gates.
(i) Implement the above function with a
multiplexer.
Answer
(i) Finding the minimal cost
Here we have the minterm up to 13. So we
need 4 variables.
Fa.b.c.d) = abcd+abcd+abcd+abcd+abcd+ abcd + abd
1.63
b C d F
12 1 1 0 0
13 1 11 01 1 1
14 1
15 1 1 1 1
Consider cd as
select inputs.
1. When cd = 00
d.
a b F C
0 0 0
00
0 1 01 F
1 10
L1 1 0
2. When cd 01
Simplify the truth table us
a bF
K-map for the function'F
0 0 1
1 1
1 0 0
1
111
1 F +b
b
0 00
01 F
10
2. When cd 10
bF
0
1 0
1 0 1
1
1.64
1
Simplify the truth table using
K-map for the function 'F' o10
b F b
d
C
0 00
01
10 F
2. When cd = 11
Simplify the truth table using
abF K-map for the function'F
0 0 1 b
0 1 1 a 0
1
1 1 0
F a
b
d
C
0 00
01
10
F
11
With do
the function F-m.235,7.1013
7. (i) Implement 6 with minimal gates.
not care of 4 and
above function with a
(i) Implement the
multiplexer.
1.65
Answer
the minimal cost
(i) Finding
Here we have the minterm up to 13,
need 4 variables.If we consider the
don
combination for 4 and 6 mintrem F is
always
d)= abcd+abcd +abcd +abcd +abcd
+abcd+ aha
F(a,b.c,
ab(c d) + b(cd)+ b{c®d) d)+bc(ad+d). ah cd+a
= ab(c®d)+ab(c d+cOd) + bc(a Dd)+abcd
=abcd)+b +be(a®d)+abcd
By replicating the term abcd we get the simplis.
expression,
plifie:
ab+ be(apd)+ abd bcd
F(a,b.c,d) b(c®d)+
= +
ab(cd)+ab+be(a d)+b(ad+ãd
= ab(cd)+ab+be(a d)+bc(a d)
function with
Implementing the above
a
(i)
multiplexer
From the function F=m1,2,3,5,7,10,13, we car
write the table as,
ab
bC d F
0 0 0 0 0 0
0 0 0 1
0 1 1
2 0
00 1 1
34 0 1 0 0 1
50 1 0 1 1
1
6 0 1 1 0
701 1 1
8 10 0 0
1.66
a b Cd F
9 1 0 01 0
10 1 0 1 0 1
11 1 0 1 0
12 1 1 0 0 0
13 1 1 0 1 1
14 1 1 1 0 0
15 1 11 1 0
d
C
00
F (a,b,c,d)
01
10
11
1.67