top of page
black.jpg

Input LEDs boxed

Output LEDs boxed

Screenshot 2026-06-04 at 5.03.40 PM.png
Screenshot 2026-06-04 at 5.05.31 PM.png

2. Constructed the Circuits on a Breadboard

After designing the logic circuits, I built them on a breadboard using logic gate ICs. I connected the power and ground rails, then wired the NOT, AND, and OR gates according to the Boolean expressions to produce the XOR and XNOR outputs. LEDs with current-limiting resistors were connected to the inputs and outputs, allowing me to visually verify the logic states and confirm that the circuits operated correctly during testing.

1. Developed the Logic Functions
 

I first started by analyzing the Boolean expressions for the XOR and XNOR functions. Using Boolean algebra principles, I identified how each function could be implemented using only AND, OR, and NOT gates.

XOR: F(A,B)=AB′+A′B.  XNOR: G(A,B)=AB+A′B′

This step helped me understand the required gate combinations before beginning the physical circuit construction.

In this project, I designed, built, and tested XOR and XNOR combinational logic circuits using only AND, OR, and NOT gates. The objective was to apply Boolean algebra concepts to a physical hardware implementation and verify the functionality of each circuit through systematic testing. By constructing the circuits on a breadboard and comparing the measured outputs to theoretical truth tables, I gained hands-on experience with digital logic design and circuit verification.

 Overview 

XOR and XNOR Logic Circuits Using Basic Logic Gates

Screenshot 2026-06-04 at 5.28.10 PM.png

Tools and Components Used

  • Breadboard

  • AND, OR, and NOT gate ICs

  • LEDs for input and output indication

  • Current-limiting resistors

  • Jumper wires

  • Power supply

  • Boolean algebra and truth tables

Key Steps 

Breadboard setup for XNOR circuit

Breadboard setup for XOR circuit

Screenshot 2026-06-04 at 5.17.42 PM.png
Screenshot 2026-06-04 at 5.17.42 PM.png

3. Circuit Verification, Testing, and Results Validation

After completing the wiring, I inspected all connections to ensure the gates were correctly connected and powered.

 I then tested all input combinations (00, 01, 10, and 11), comparing the LED outputs to the expected XOR and XNOR truth tables. Finally, I documented the circuits and results, confirming that the observed outputs matched the theoretical values and that both circuits functioned correctly.

All possible input and output for both function below

If you are interested in a more detailed explanation of this project, I created a comprehensive laboratory report that documents the entire design, construction, testing, and analysis process. The report includes circuit diagrams, breadboard layouts, truth tables, testing procedures, and a discussion of the experimental results that validated the XOR and XNOR implementations.

  View My Full Laboratory Report

bottom of page