Professional Documents
Culture Documents
21 - COA Assignment 2
21 - COA Assignment 2
1eve1 logic
Cim
Cout
A B Cout Condihiom
Cin
NO Carry
O
aenerate
O
NO Carry
O
Propogate
Carr
Gnenercte
Considen the previou full ad den cix cuit with
cOrrespondung tru th tablo we dehino tuwo
Vaiab l a cany qennote and cany
propoqate Pi, then-
P: Ai O8i
Gi=Ai Bi
The sum
output and cwuy output can be
expresed in teNMR oh camy genenate (Gi) ahnd
cay propoqate CP:)as
SiPrCi
Ci+ i t Pi-Ci
when i producaA the cmy when both Ai3
Bi 1, reqand las sh the inp ut cauy- Pi is
ane
Multiplicahiom
CBo o th's Alo)
MulhpUen in aR
Mulipu caund in BR
AC o
SC n
- 109 n+
00
ACACtBR+I
01
ACAC+ BR
asha (AC?QP)
SCSC 1
0sC = 0
END
7 ) x C12)
QR( =
Ol+ =
I000 +I=1001
BR(+2)= 0010
0 MSEL
Qo 10
Retore A
N N-1
Remaum don A
Quohente
End
E7/3
, M3): O -M(-3) = 10
A Openuhon
Tnihau2e
ogical t shi f
AA M
OO
MS eR =1,
O, Rastove fA
loqicad a r sh t
A A-M
000
MSB = O,
MSB ot A 1 ,
oIO
Qo0, Restove A
oLoient (Q) 0I0 (2)
Remaumdwr (A ) 0 0 | C1)
&o 0
N N-l
NO N 0 ?/
MSBo A AtM
0
Remaund A
uo hent Q
End)
O
o
loo
O
D O
o
94 Ex plain TEEE standand fov Floahing point
representahion u9ith example.
ag
The two IE EE stondand fov floahng poirti