Skip to content

Full Adder and Full Subtractor

1. Full Adder


Definition

A Full Adder is a combinational logic circuit that performs the addition of three binary bits at a time:

  • Two significant bits: A and B (normal input bits)
  • One carry bit: Cin (carry from a previous lower significant stage)

It produces:

  • Sum (S) — result bit
  • Carry (Cout) — output carry bit to the next stage

Inputs and Outputs

  • Inputs: A, B, Cin
  • Outputs: Sum (S), Carry Out (Cout)

Truth Table

ABCinSum (S)Carry (Cout)
00000
00110
01010
01101
10010
10101
11001
11111

Boolean Expressions

  • Sum (S) = (A ⊕ B) ⊕ Cin
  • Carry (Cout) = (A · B) + (B · Cin) + (A · Cin)

Logic Diagram (Simple Description)

The Full Adder can be built using:

  • Two Half Adders + One OR gate

Structure:

A ----|⊕|----\
| \
B ----|⊕| ⊕---- Sum (S)
| /
Cin ---|⊕|----/

(A·B) --\
OR ---- Carry (Cout)
(B·Cin) -/
(A·Cin)-/
  • First Half Adder: adds A and B
  • Second Half Adder: adds output of first HA and Cin
  • OR Gate: combines the carries from both Half Adders

2. Full Subtractor


Definition

A Full Subtractor is a combinational logic circuit that performs subtraction of three binary bits:

  • Two significant bits: A and B
  • A borrow bit: Bin (borrow from previous lower significant stage)

It produces:

  • Difference (D) — result bit
  • Borrow Out (Bout) — borrow to next stage

Inputs and Outputs

  • Inputs: A, B, Bin
  • Outputs: Difference (D), Borrow Out (Bout)

Truth Table

ABBinDifference (D)Borrow (Bout)
00000
00111
01011
01101
10010
10100
11000
11111

Boolean Expressions

  • Difference (D) = (A ⊕ B) ⊕ Bin
  • Borrow (Bout) = (¬A · B) + (¬(A ⊕ B) · Bin)

Where:

  • ¬A = NOT A
  • = XOR

Logic Diagram (Simple Description)

The Full Subtractor can be built using:

  • Two Half Subtractors + One OR gate

Structure:

A ----|⊕|----\
| \
B ----|⊕| ⊕---- Difference (D)
| /
Bin ---|⊕|----/

(¬A·B) --\
OR ---- Borrow (Bout)
(¬(A⊕B)·Bin) -/
  • First Half Subtractor: subtracts B from A
  • Second Half Subtractor: subtracts Bin from the first difference
  • OR Gate: combines the two borrows

📋 Summary Table: Full Adder vs Full Subtractor

FeatureFull AdderFull Subtractor
PurposeAdds three bits (A, B, Cin)Subtracts three bits (A, B, Bin)
InputsA, B, Carry-in (Cin)A, B, Borrow-in (Bin)
OutputsSum, Carry-out (Cout)Difference, Borrow-out (Bout)
Sum/Diff(A⊕B)⊕Cin(A⊕B)⊕Bin
Carry/Borrow(A·B)+(B·Cin)+(A·Cin)(¬A·B)+(¬(A⊕B)·Bin)
Built UsingTwo Half Adders + OR gateTwo Half Subtractors + OR gate

🌟 Key Points to Remember

  • Full Adder adds three inputs and generates two outputs (Sum and Carry).
  • Full Subtractor subtracts three inputs and generates two outputs (Difference and Borrow).
  • XOR gate plays a major role in both circuits.
  • Full circuits are necessary for multi-bit addition/subtraction (like adding two 4-bit numbers).
  • Used heavily in Arithmetic Logic Units (ALU) of CPUs.

🎯 Real Life Application

  • Calculators
  • CPUs for addition/subtraction
  • Digital counters
  • ALUs in Microprocessors and Microcontrollers
  • Signal processing

✏️ Final Tip for Exams

👉 Always draw the truth table and mention the Boolean expressions — they fetch full marks!
👉 Logic diagrams can be drawn neatly using XOR, AND, OR, and NOT gates.