Cse-231l-Lab-Report-5 7-Segment
Cse-231l-Lab-Report-5 7-Segment
KNOW
as
LISATA
NORT
SoUT UNINS
Lab Number: 05
Binary Arithmetic
ExperimentDate: 10 April, 2023
Date of Submission:08 May, 2023
|Submittedby Group Number: 05
|Group members:
Name ID Obtained Mark Obtained Mark
Simulation(5] Lab Report [15]
1. Md. Rafawat Islam 2122343642
IC 7483
Theorty.
Dipftal computers peztortm a vanety of
ing tasks. Amang the
mzormatiom -proc ess varrious
tened ane the
encoun tered
functons encoun
anthynetic perrations.The mostaddfton
basie
o
operraton fs the
anithmetie manages
binarty dgits. Atderr
two
openations . There ane
thes e additong? Adden and
of Alders Half
knds
tvo
AJer. ombfmfng two Hals abers
Full buft
one fu 4dder fs
1s
Camy
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
4
FulAddert:
Afull Adden fs comtiatonal logt
bgt cineuÍt
that adds thneo singlb -bit bnary nmberts
Ci. e. three bits) and rod uces two output
bits: the sum and the canry. Vn Jike
a half adden, a fal odden Can
handle an
input carny from previous
stages
The thuth table fon a full -adderz fs
as follows:
Inpat eOutput
A B tanr Sum
Canryout
)
|
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
AB
A B B B B
3 8
K
Ic 7483
-GND
a 26699
C
7402N
7432 N 432N
AA3A A)
B4 B, BB)
1 38 6
(E=O
Canry IC 7483
tyrined GND
4+6
|001
|10
O||)
4-6 O|00
10)
15 45 0000
Table F-1:1
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
3
4
5
6
(2
13
14
16
18
19
Ta blo F.2J
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
ovenflow Sum
Openatfon A
Canny
9+0 O000 |001
Table E2-2
Resu/oi
Afer fmple mentaton of our cipcuits,
we test ft with the data table
F}1, F:2-); and we aet the exact
otput as the table.
|2
tomplfment then We add and get
the eubtractor nes w/t.We USe Mbt
0od choice, 1ke O0for add
as a Mhho8d
and 1 fon subtractor When M
the fnput of B will mot chonge,
and the adder wil/ dd the
ninber.Whem M sis 1, the input
mes B
efB f) vernt, which
con vert a first covplemed into
And then, M b7t w{l! enter as cr
con vert into seo nd
So that wi
And adden wl) then
complyments
add the MUn ber and show
out
the ubtactof es wlt .
02 SPyoulatfon a ttached
BO a dder cineuits
03In out
Top Adder 1C wi)l take nput
ef A and B, add them , amd
give the tput wit
utput with a cary.
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
13
And the bottom Adder TIC wI) ta te
tHhe top adders output input,
amd avother fnput wi]/ be ollo
0000 In th's case,OR and AN D
gates w?)l buf ld loaic to decide
when to add
qdd oIlo. and oo00. Here
Wecan see that ?t the cany
output of the top Adder Ic
fs 1, ft wll add aio as fnput
fon the botton addert
dnother Ca se,ff Sa and Sg ane
C1? or S4 and S are 13 ft wil
add ol[lo as input fen the bottom
adder Tc he In othen cases, it
the nput for
will add 0000 as the
the bottom addep IC. hen the
bo ttom Adder Ic will gfve the
exact otput of BD Sum.
The principles beh nd BcD Sum
Sum and
From Oto 9,, Bna y
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
14
BCD Sum are the
to 19, the tho sayne
the Binarty Stm of 0-9; just
a carey bit 1 will be added betore
the Bcp Sum. BD f's Bfnary (oded
De' mal. Every bit of a Decimal
Dee'mal.
numten will re present a 4-bft
Froym |0 to l2,
Biaary nunber.
MSB is and SB ?sc O-9.
Sum fs the
That's why BCp
Cane as
the tront.
Discussion:
th's expenfment we undenstand
Thrangh of bimony addiiem
the con cept Half
and subtraction. We can
Bhnarty dders. We cam do
dnd Full
addtfon and subtractfoy by usng
Downloaded by FArdin Chowdhury ([email protected])
lOMoARcPSD|53409041
A0 @
BO
Cin O
TD Cout
A=40100 A3 A2 A1 A0
B7=0111=B3 B2 B1 BO
Sum =4 +7= 11=1011
Carry =0
A1O
B1 @
Cin
DL -1011) Sum
A2 C
D @Cout
B2 G
Cin
A3 O
D ID: 2211424642
Lab: 05
Group: 05
B3 O
Cin
D Cout
E. DataSheet:
Instructor's Signature:
Group: O5 Section: D8 Date: 03/04/2023
7+5
|00
4+6 0)00 0||0
0)00
9+11 001
15 + 15
7-5 00
4-6 0 )00
0010
11-2
1515
Table F.1.1
1 0 0 0 0
0 0 1
3 0 0
0 0 1 0 0
0 0 1 0
0 0 1 0
6
1 1
7
0 0 0
9 0
10 0 0
0 0 1
11
12 0
0 1 1
13 o-o
1 1
14 0
1 1
15 0 1
16
1
1 0
17
0 0 1
18 1
1 1
0 0 1
19 1
Table F.2.1
9+3
9+4 100) O00
9+5
9+6
9+7 l00)
9+8
|006
l001
9+9
Table F.2.2