DLD Lab Report 4

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Rubrics for CEC-141 DLD Lab

Lab #: 04
Lab Title: Implementation of Boolean function using Logic gates, Half Adder and
Full Adder operation
Submitted by:M.Zain
Name Registration #
Muhammad.Zain Fa20-bce-015

Rubrics name & number Marks

In-Lab Post-Lab

Engineerin R2: Use of Engineering Knowledge and follow Experiment


g Procedures:
Knowledge Ability to follow experimental procedures, control variables, and record
procedural steps on lab report.
Problem R5: Data/Evidence Measurements:
Analysis Ability to record raw data / evidence.

Design R8: Best Coding Standards:


Ability to follow the coding standards and programming practices.

Modern R9: Understand Tools: Ability to describe and explain the principles
Tools behind and applicability of engineering tools.
Usage

Individual R12: Individual Work Contributions: Ability to carry out individual


and responsibilities.
Teamwork

R13: Management of Team Work:


Ability to appreciate, understand and work with multidisciplinary team
members.

Rubrics # R2 R5 R8 R9 R12 R13


In –Lab

Post- Lab
Lab Report # 4
Title: Implementation of Boolean function using Logic gates, Half
Adder and Full Adder operation

Theory:
I. ADDERS
Digital computers perform a variety of information-processing tasks. Among the basic
functions encountered are the various arithmetic operations. The most basic
arithmetic operation, no doubt, is the addition of two binary digits. This simple
addition consists of four possible elementary operations, namely, 0 + 0 = 0, 0 + 1 = 1,
1 + 0 = 1, and 1 + 1 = 10. The first three operations produce a sum whose length is
one digit, but when both augends and addend bits are equal to 1, the binary sum
consists of two digits. The higher significant bit of this result is called a carry. When
the augends and addend numbers contain more significant digits, the carry obtained
for the addition of two bits is added to the-next higher orders pair of significant bit.

II. HALF ADDER


A combinational circuit that performs the addition of two bits is called a half-adder.
From the verbal explanation of a half-adder, we find that this circuit needs two
binary inputs and two binary outputs. The input variables designate the augends and
addend bits; the output variables produce the sum and carry. It is necessary to
specify two output variables because the result may consist of two binary digits. We
arbitrarily assign symbols x and y to the two inputs and S (for sum) and C (for carry)
to the outputs.

III. FULL ADDER:


A full-adder is a combinational circuit that forms the arithmetic sum of three input
bits. It consists of three inputs and two outputs. Two of the input variables, denoted
by x and y represent the two significant bits to be added. The third input, z,
represents the carry from the previous lower significant position. Two outputs are
necessary because the arithmetic sum of three binary digits’ ranges in value from 0
to 3, and binary 2 or 3 needs two digits. The two outputs are designated by the
symbols S for sum and C for carry. The binary variable S gives the value of the least
significant bit of the sum.
Objectives:
To understand operation of half and full
adder Implement Four-bit adder

Half Adder:
Truth Table:

Inputs Outputs

B A Sum Carry

0 0 0 0

0 1 1 0

1 0 1 0

1 1 0 1

, = ⊕

, = .

Boolean Expression:
Sum=A’B+AB’=A+B
Carry=AB
Circuit:
Full Adder:
Truth Table:

Inputs Outputs

Cin B A Sum Carry

0 0 0 0 0

0 0 1 1 0

0 1 0 1 0

0 1 1 0 1

1 0 0 1 0

1 0 1 0 1

1 1 0 0 1

1 1 1 1 1

Boolean Expression:
Sum=A’B’C+A’BC’+AB’C’+ABC
=A’ (B’C+BC’) +A (B’C’+BC)
=A’ (B+C) +A (B+C)
=A+B+C
Carry=A’BC+AB’C+ABC’+ABC
=AB (C’+C) +C (A’B+AB’)
=AB+C (A+B)
Circuit:
Conclusion:
After the completion of tasks, I can Add any 2-bit number by using Half Adder and
can Add any 4-bit number by using Full Adder. Now I can construct any circuit of
Half Adder and Full Adder by using different IC or gate in Logic work.

You might also like