BCSL 022 Labreport
BCSL 022 Labreport
LAB REPORT
Session 1:
1. Design and implement the Exclusive-OR gate using AND, OR & NOT gates.
Exclusive-OR gate
The “Exclusive OR Gate” is another type of digital logic gate commonly used
in arithmetic operations since it can be used to give the sum of two binary
numbers as well as error-detection and correction circuits. The Exclusive-OR
Gate function, or Ex-OR for short, is achieved by combining standard logic
gates together to form more complex gate functions that are used extensively
in building arithmetic logic circuits, computational logic comparators and error
detection circuits. The two-input “Exclusive-OR” gate is basically a modulo two
adder, since it gives the sum of two binary numbers and as a result are more
complex in design than other basic types of logic gate. The truth table, logic
symbol and implementation of a 2-input Exclusive-OR gate is shown below.
AND GATE
This gate is a binary logical operation. It is identical to multiplication operation.
When both the inputs of the gate are high then only the output will be high in
other cases when at least one low input is there the output will be always low. It
performs logical conjunction operation. The logical expression for AND
gate is �∧�=�.�A∧B=A.B. There also exists multiple input AND gates.
Multiplexers use AND gates for selecting the signal out of many inputs based
on the control signal. AND gates play an important role while implementation of
combinational logical circuits.