International Islamic University, Islamabad: Digital Logic Design Lab
International Islamic University, Islamabad: Digital Logic Design Lab
PROJECT REPORT:-
Submitted to:-
INTRODUCTION:
A four bit binary calculator is implemented that can perform basic arithmetic functions,
like addition,multiplication and subtraction,using basic digital combinational logic tools.
This project has a wide practical scop,as binary arithmetic is the key function in all
modern digital devices.compute ALU perform these operations to take decisions and
perform calculations.
Operation of binary calculator:1. Binary addition:for binary addition of 4x4 bit we set 4 switches a0,a1,a2,a3 and b0,b1,b2,b3
and use a 4 bit full adder which include 4 one bit adders
4 bit adder includes 4x4 input with a carry in c0 and a carry out c4.when we want to add
2 no we give 0 for carry 1 for this we set our switch on 0.
Adder adds 4x4 input and give output in form of S1,S2,S3,S4.
BINARY ADDITION ON SEVEN SEGMENT DISPLAY:Now we want to display our sums on 7 segment display.we require a bcd to 7 segment
converter and a magnitude cmparator ic 7483 for compairing values greter than 9 and
less than 16 for display on 7 segment.we show both addition and subtraction operations
on 7 segment display upto 15.
2.
Binary subtraction
The second operation of binary calculator is binary subtraction.for this the ist 4 inputs
are a0,a1,a2,a3 and b0,b1,b2,b3 .we use 2,s complement method for binary
So for taking 2,s complemt we use xor gate ic 7486 .which give 2,s complement 0f a no
to adder and add a and b and give us subtraction
BINARY ADDITION ON LED DISPLAY:WE SHOW OUR MULTIPLIER OUTPUT ON LED.for showing 4x4 muliplier output on
led we use 9 led because co is 9th bit.
APPLICATIONS:
Computer,which is the heart of modern age of technology uses binary arithmetic for
calculations.
All modern digital circuits operate on binary logic.
Every machine code of an embedded system is in binary.
In short,where transistors are used,BINARY ARITHMETIC is used.wether it may be a
very simple circuit or a highly important and sophisticated VLSI circuit,binary logic is
used that uses binary arithmetic.
BILL OF MATERIALS:-
IC NO
QUANTITY
AMOUNT
7483
600
7485
60
4511
70
7408
120
7486
60
7 SEG
60
SWITCH
10
100