Sie sind auf Seite 1von 21

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : G.MALLIKARJUN
Designation : Lecturer
Branch : Electronics & Communication Engg.
Institute : Govt. Polytechnic, Warangal.
Year/Semester : III semester
Subject : Digital Electronics
Subject Code : EC-304 (1/15)
Topic : Combinational Logic Circuits
Duration : 50 min
Sub Topic : Function of Half Adder
Teaching Aids : Animation & images.
EC304.19 1
OBJECTIVE

On completion of this period, you would be able to learn:

• Combinational logic circuits

• Function of half adder

EC304.19 2
Recap
• Logic gates are the decision making devices.

• Logic gates are the basic building blocks of logic circuits.

• Name some logic gates.

• AND gate
• OR gate
• NOT gate
• NAND gate
• OR gate
• XOR gate
EC304.19 3
Combinational circuit

• Its output depends only on present inputs.

• Logic gates are the basic building blocks of


combinational circuits.

EC304.19 4
EXAMPLES
• Half adder

• Full adder

• Multiplexer

• Decoder

EC304.19 5
Half adder

• It has two inputs and two outputs.

• It adds two bits (binary digits) and produces sum


and carry.

EC304.19 6
Full adder

• It has three inputs and two outputs.

• It adds three bits and produces sum & carry outputs.

EC304.19 7
Multiplexer

• A digital circuit that sends data from any one of many


lines on to a single line.

• Different data will be present at the multiple inputs.

• Out of these multiple inputs one is selected and send


to the output line.

EC304.19 8
Decoder

• It converts binary data into other form such as

decimal, octal and hexadecimal etc.,

EC304.19 9
Arithmetic circuit

The circuit which performs the arithmetic operations


like addition, subtraction, etc.

Ex: Half adder, Half Subtractor, Full adder, Full


subtractor

EC304.19 10
HALF ADDER

EC304.19 11
Block Diagram of Half adder

A SUM

INPUTS OUTPUTS
B HALF ADDER
CARRY

Fig 1

EC304.19 12
Function of Half adder

• It performs two bit binary addition and produces the


sum and carry.

• It has two inputs and two outputs.

EC304.19 13
Truth table of Half adder

A B CARRY SUM

0 0 0 0

0 1 0 1

1 0 0 1

1 1 1 0
Table 1

EC304.19 14
Boolean Expression for sum & carry of Half adder

• Carry =A.B

• Sum =AB+AB = A + B

EC304.19 15
Summary

In this period we have discussed about

• Half adder is a combinational logic circuit.

• It has two inputs and two outputs.

• It performs two bit binary addition.

EC304.19 16
QUIZ

EC304.19 17
1. In a combinational logic circuit output depends on

a) Present inputs only

c) Previous outputs only

e) Present inputs as well as previous outputs

g) None of the above

EC304.19 18
2. Half adder is a circuit which

a) adds only two bits

c) adds only three bits

c) adds any number of bits

d) None of the above

EC304.19 19
Frequently Asked Questions

1. What is the function of Half adder?

3. What is a combinational logic circuit?

5. Draw the truth table of Half adder?

EC304.19 20
Assignment

• Briefly explain the combinational logic circuits.

• Explain the function of Half Adder?

EC304.19 21