Bubble Pushing Simulator
Description
This MicroSim demonstrates the bubble pushing technique used to convert between different gate implementations in digital logic circuits. Bubble pushing is a visual method for applying De Morgan's theorems, where inversion bubbles are moved through gates, changing AND gates to OR gates and vice versa. The simulation walks through a step-by-step conversion of an AND-OR circuit (F = AB + CD) into a NAND-only implementation.
Key Features
- ● Step-by-step animated circuit transformation
- ● Visual representation of inversion bubbles on gate inputs and outputs
- ● Gate type changes displayed as bubbles pass through
- ● Clear labeling of each transformation step with Boolean expressions
- ● Step and Reset buttons for controlled progression
Learning Objectives
Bloom Level: Analyze (L4)
After using this MicroSim, students will be able to:
- ✓ Apply De Morgan's theorem to convert between gate types using bubble pushing
- ✓ Transform an AND-OR (SOP) circuit into a NAND-only implementation
- ✓ Explain why two bubbles on the same wire cancel each other out
- ✓ Analyze the equivalence of different circuit implementations for the same Boolean function
How to Use
- View the original AND-OR circuit displayed in Step 1
- Click the Step button to advance to the next transformation
- Observe how inversion bubbles are inserted at AND outputs and OR inputs
- Watch bubbles push through gates, changing AND to NAND and OR to NAND
- Verify the final NAND-only implementation is functionally equivalent
- Click Reset to return to the original circuit and repeat
Lesson Plan
Before the Simulation (5 minutes)
- Review De Morgan's theorems: NOT(A AND B) = NOT A OR NOT B, and NOT(A OR B) = NOT A AND NOT B
- Explain why NAND-only and NOR-only implementations are desirable in CMOS design
- Introduce bubble pushing as a visual shortcut for applying De Morgan's theorem
During the Simulation (15 minutes)
- Start with the original AND-OR circuit and identify F = AB + CD
- Step forward to see bubble pairs inserted at the AND-to-OR boundary
- Observe that paired bubbles cancel, preserving logical equivalence
- Watch the AND gates become NAND gates and the OR gate become a NAND gate
- Verify the final NAND-only circuit still implements F = AB + CD
- Reset and step through again, explaining each transformation out loud
After the Simulation (5 minutes)
- Practice bubble pushing on a different SOP expression (e.g., F = AB + C)
- Discuss how to convert to NOR-only implementation using the same technique
- Connect to physical CMOS gate implementation where NAND and NOR are natural