Boolean Algebra & Combinational Circuits

Complete interactive learning module for Digital Electronics

1. Boolean Algebra

Boolean Algebra is the mathematical foundation of digital electronics. It operates on binary variables and logical operations, enabling the analysis and design of digital circuits.

Key Concept: All digital circuits can be represented and simplified using Boolean expressions.

Basic Operations

  • AND (·) – Output is 1 only if all inputs are 1
  • OR (+) – Output is 1 if any input is 1
  • NOT (¯) – Inverts the input

Important Boolean Laws

LawExpression
IdentityA + 0 = A
NullA · 0 = 0
IdempotentA + A = A
ComplementA + Ā = 1
De Morgan(AB)̄ = Ā + B̄

Boolean Algebra Playground

Basic Operation

Boolean Expression Simplification

Boolean expression simplification reduces the number of logic gates required to implement a circuit. A simpler expression results in lower hardware cost, lower power consumption, and higher reliability.

Goal: Convert a complex Boolean expression into an equivalent but simpler form using Boolean laws or identities.

Common Simplification Rules

  • A + A = A
  • A · A = A
  • A + Ā = 1
  • A · Ā = 0
  • A(B + C) = AB + AC
  • (AB)̄ = Ā + B̄ (De Morgan)

Boolean Expression Trainer

Enter input values and observe how the Boolean expression evaluates. Use this to understand operator behavior and simplification logic.

Expression

F = A · B + A · B̄

Simplification:
F = A(B + B̄) = A · 1 = A

2. Combinational Circuits

A combinational circuit produces outputs based solely on current inputs. There is no memory or feedback.

General Form: Output = f (Present Inputs)

Design Steps

  • Problem definition
  • Truth table creation
  • Boolean expression derivation
  • Simplification
  • Gate-level implementation

Half Adder

Adds two single-bit binary numbers.

ABSumCarry
0000
0110
1010
1101
Sum = A ⊕ B
Carry = A · B

Full Adder

Adds three binary bits including carry input.

ABCinSumCout
00000
11111
Sum = A ⊕ B ⊕ Cin
Carry = AB + ACin + BCin

Adder Simulator

Half Adder

Full Adder

Ripple Carry Adder (RCA)

A Ripple Carry Adder is a combinational circuit used to add multi-bit binary numbers. It is constructed by connecting multiple Full Adders in series.

Key Idea:
The carry output of each Full Adder becomes the carry input of the next stage. This carry propagates (ripples) through the circuit.

Structure

  • Built using multiple Full Adders
  • Each Full Adder handles one bit
  • Carry propagates from LSB to MSB

Limitation

  • Propagation delay increases with number of bits
  • Slower compared to Carry Look-Ahead Adder

4-Bit Ripple Carry Adder Simulator

This simulator demonstrates how carries propagate across Full Adders.

Inputs

Note:
Addition is performed from LSB → MSB, with carry rippling forward.
Digital Electronics Learning • Boolean Algebra & Combinational Circuits