Professional Documents
Culture Documents
Combinational Logic Circuits - Module 2 - Sem 5
Combinational Logic Circuits - Module 2 - Sem 5
Logic Circuits
Dr. Radhakrishnan A N
Assistant Professor of Physics
T J M Govt. College, Manimalakunnu
• A half adder is a logic circuit used for the addition of two binary bits
• Half adder has two inputs and two outputs namely sum (S) and carry (C)
• Sum of two digits is high when inputs are different and sum is low when inputs are same
• Carry is high only when both inputs are high. Hence carry is produced using an AND gate
𝑺= 𝑩 + 𝑨𝑩 . 𝑨 + 𝑨𝑩
𝑺 = [𝑩 + 𝑨𝑩] + [𝑨 + 𝑨𝑩]
𝑺 = 𝑩. 𝑨𝑩 + 𝑨. 𝑨𝑩
𝑺 = 𝑩. 𝑨 + 𝑩 + 𝑨. 𝑨 + 𝑩
𝑺 = 𝑩. 𝑨 + 𝑩. 𝑩 + 𝑨. 𝑨 + 𝑨. 𝑩
𝑺 = 𝑨. 𝑩 + 𝑨. 𝑩
• A half adder has only two inputs and no provision to add carry coming from a
• A full adder is a combinational circuit that performs the addition of three input
• A full adder can be constructed from two half adders and an OR gate
• For the addition of binary numbers with more than one bit, a number full
• For a parallel adder, n full adders are requited to add two n-bit numbers.
• The output carry from one full adder is connected to the input carry of the full
• Four-bit parallel binary adder: Four full adders are connected in parallel as
shown in figure.
𝑨𝟑 𝑨𝟐 𝑨𝟏 𝑨𝟎 and 𝑩𝟑 𝑩𝟐 𝑩𝟏 𝑩𝟎
• A half subtractor is a logic circuit used for the subtraction of two binary bits
• Half subtractor has two inputs and two outputs namely difference (D) and borrow (B)
• Difference of two digits is high when inputs are different and difference is low when
• A half subtractor has only two inputs and no provision to subtract borrow from a
• A full subtractor can be constructed from two half subtractors and an OR gate
𝑨𝟑 𝑨𝟐 𝑨𝟏 𝑨𝟎 - 𝑩𝟑 𝑩𝟐 𝑩𝟏 𝑩𝟎
needed
channel.
• Multiplexer is a Combinational Logic Circuit having multiple input lines (2n lines), one output
• It receives binary information from several input lines and routes it to a single output line
D3), one output line (Y) and two data select lines (S0
and S1)
figure
allowing the transmission of data, such as audio and video data from different channels
• In telephone networks, multiple audio signals are integrated on a single line of transmission
multiplexer, logic function generator and digital counter with multiplexer displays
• The circuit receives information on a single input line and transmit the data to one of the
several output lines (2n lines) on the basis of values at the data select lines (n lines).
output lines
• Encoding is the process of converting numbers, symbols, alphabets etc., into a coded format,
• An encoder is a combinational digital logic circuit that accepts an active level on one of its
lines
inputs is
C = 4+5+6+7
B = 2+3+6+7
A = 1+3+5+7
D = 8 +9
C = 4+5+6+7
B = 2+3+6+7
A = 1+3+5+7+9
• An encoder in digital electronics is an electronic device used to convert a digital coded format
• An decoder is a combinational digital logic circuit that accepts digital bits on input lines (n
lines) and produce an active level on one of its output lines (2n lines).
lines