You are on page 1of 5

Lab Report

Implementation of a Boolean Function using Logic Gates

Course Title : Digital Logic Design Lab


Course Code : CSE 206
Title: Implementation of a Boolean Function using Logic
Gates

Abstract:
The objective of this lab experiment was to implement a specific Boolean function using
basic logic gates. Logic gates are the building blocks of digital circuits, and
understanding their functionality is essential for designing and building complex digital
systems. In this experiment, we used logic gates to implement a given Boolean function
and verified its correctness through simulations and practical measurements.

Introduction:
Digital logic plays a crucial role in modern computing and electronic systems. At the
heart of these systems lie Boolean functions, which are expressions that take binary
inputs and produce binary outputs based on logical operations. Understanding and
implementing these functions using logic gates are fundamental skills for any aspiring
electrical or computer engineer.

The purpose of this lab experiment was to delve into the world of digital logic and gain
hands-on experience in implementing a specific Boolean function using basic logic
gates. Logic gates are the building blocks of digital circuits and serve as the foundation
for designing and constructing complex electronic systems. By manipulating binary
signals through logical operations, logic gates allow us to perform tasks such as
arithmetic, memory storage, data processing, and decision-making.

In this particular experiment, we were tasked with implementing the Boolean function
F(A, B, C) = Σ(0, 1, 2, 4, 6) using logic gates. The function's truth table was provided,
allowing us to verify the correctness of our implementation. This Boolean function
represents a combinational logic circuit, where the output is solely determined by the
current input values, and there is no internal state or memory.

In the following sections, we will outline the materials used, describe the experimental
procedure, present the results obtained through simulation and measurements, and
discuss the implications of our findings. This report aims to provide a comprehensive
overview of our journey in implementing the Boolean function and offer insights into the
significance of digital logic in the realm of modern electronics.
Materials Used:
​ Breadboard
​ Logic gates: AND, OR, NOT
​ LEDs (Light Emitting Diodes)
​ Resistors
​ Wires
​ Power supply
​ Multimeter (for measurements)

Experimental Procedure:

​ Circuit Setup:
● We set up the breadboard and connected the power supply (Vcc) and
ground (GND) to power the circuit.
● We placed the required logic gates (AND, OR, NOT) on the breadboard.
​ Connections:
● Connected the input variables A, B, and C to appropriate switches.
● Connected the output of each gate to an LED to visualize the output.
​ Implementation:
● Implemented the Boolean function F(A, B, C) = Σ(0, 1, 2, 4, 6) using the
logic gates.
● Used the truth table of the Boolean function to verify the correctness of the
implementation.
​ Simulation:
● Simulated the circuit using a digital logic simulator (e.g., Logisim or any
other simulator).
● Checked if the simulation output matched the expected truth table values.
​ Measurement:
● Set the input switches to different binary combinations (000, 001, 010,
011, etc.).
● Measured the output using a multimeter to verify the correctness of the
implemented function.
Results:

A B C F(A, B, C)

0 0 0 1

0 0 1 1

0 1 0 0

0 1 1 1

1 0 0 0

1 0 1 1

1 1 0 1

1 1 1 1

The truth table above shows the expected outputs for all possible input combinations for
the Boolean function F(A, B, C) = Σ(0, 1, 2, 4, 6).
Discussion:
The experiment was successful in implementing the Boolean function using logic gates.
Both the simulation and practical measurements matched the expected truth table
values, confirming the correctness of the implementation. The LEDs on the breadboard
lit up accordingly for each input combination, demonstrating the correct functioning of
the logic gates.

Using logic gates, we can construct complex digital circuits to perform various
operations, making them the foundation of modern digital electronics.

Conclusion:
In conclusion, this lab experiment allowed us to gain hands-on experience in
implementing a Boolean function using basic logic gates. We successfully constructed a
circuit that represented the given Boolean function and validated its functionality through
simulations and practical measurements. This experience enhances our understanding
of digital logic and prepares us for more complex digital design tasks in the future.

You might also like