Lab 01
Lab 01
Lab 01
Experiment No. 1
VERIFICATION OF TRUTH TABLES OF ALL LOGIC GATES
OBJECTIVE
Familiarization with MULTISIM and ICs of all logic gates
Verification of truth tables of all logic gates
EQUIPMENT
Breadboard, TTL IC’s
Gate ICs; AND (7408), OR (7432), NAND (7400), NOR (7402), NOT (7404), XOR
(74136), XNOR (74266)
2 resisters 1K ohm
Connecting wires
COMPONENTs
IC Type 7400 Quadruple 2-input
NAND gates
IC Type 7402 Quadruple 2-input
NOR gates
IC Type 7404 Hex NOT Gates
(Inverters)
IC Type 7408 Quadruple 2-input
AND gates
IC Type 7432 Quadruple 2-input OR
gates
IC Type 7486 Quadruple 2-input
XOR gate
IC Type 74266 Quadruple 2-input
XNOR gate
THEORY
An integrated circuit (IC) is a small electronic device made out of a semiconductor material. A
semiconductor material is a one which is neither a good conductor of electricity nor a good
insulator. Semiconductors make it possible to miniaturize electronic components, such as
transistors. Not only does miniaturization mean that the components take up less space, it also
means that they are faster and require less energy.
Logic gates are idealized or physical devices implementing a Boolean function, which it
performs a logical operation on one or more logical inputs and produce a single output.
Depending on the context, the term may refer to an ideal logic gate, one that has for instance zero
rise time and unlimited fan out or it may refer to anon-ideal physical device.
The main hierarchy is as follows:-
1. Basic Gates
2. Universal Gates
3. Advanced Gates
Logic gates are the digital circuits with one output and one or more inputs. They are the basic
building blocks of any logic circuit.
Different logic gates are: AND, OR, NOT, NAND, NOR, EX-OR. There logic is briefly
explained below.
1. Basic Gates
AND: Logic eqn. Y = A.B
The output of AND gate is true when the inputs A and B are True.
OR: Logic eqn. Y = A+B.
The output of OR gate is true when one of the inputs A and B or both the inputs are true.
NOT: Logic eqn. Y = Ā.
The output of NOT gate is complement of the input.
2. Universal Gates
NAND: Logic eqn. Y = A.B
The output of NAND gate is true when one of the inputs or both the inputs are low level.
NOR: Logical eqn. Y = A+B.
The output of NOR gate is true when both the inputs are low.
3. Advanced Gates
EX-OR: Logic eqn. Y=AB+AB.
The output of EX-OR gate is true when both the inputs are different.
EX-NOR: Logic eqn.
In a circuit, logic variables (values 0 and 1) can be represented as levels of voltage. The most
obvious way of representing two logic values as voltage levels is to define a threshold voltage;
any voltage below the threshold represents one logic value and voltages above the threshold
Correspond to the other logic value.
To implement the threshold – voltage concept, a range of low and high voltage levels is defined,
as shown in Fig. 1.2. This figure indicates that voltages in the range Gnd to Vo, max represent
logic value 0. Similarly, the range from V1, min to Vcc corresponds to logic value 1. Logic
signals do not normally assume voltages in undefined range except in transition from one logic
value to the other.
CONNECTION DIAGRAM
PROCEDURE
1. First get above mentioned apparatus and component from the lab staff.
2. Make the circuit on breadboard using gate ic, wires, inputs Vcc and Output LED etc.
3. Take IC 74LS00 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.1. And compare your result with truth table and
compare your practical results with MULTISIM results.
4. Take IC 74LS02 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.2. And compare your result with truth table and
compare your practical results with MULTISIM results.
5. Take IC 74LS04 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.3. And compare your result with truth table and
compare your practical results with MULTISIM results.
6. Take IC 74LS08 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.4. And compare your result with truth table and
compare your practical results with MULTISIM results.
7. Take IC 74LS32 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.5. And compare your result with truth table and
compare your practical results with MULTISIM results.
8. Take IC 74LS86 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.6. And compare your result with truth table and
compare your practical results with MULTISIM results.
9. Take IC 74266 and place it on bread board. Apply Vcc and GND to the specified pins
as shown in the pin configuration below. Apply four combination of input to each gate
of the IC and fill the following table 1.7. And compare your result with truth table and
compare your practical results with MULTISIM results.
Table 1.2
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
Also attach Screenshots using MULTISIM:
Table 1.3
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
IN OUT
A B Gate Gate 1 Gate Gate 2 Gate Gate 3 Gate Gate 4 Gate Gate 5 Gate Gate 6
1 (V) (H/L) 2 (V) (H/L) 3 (V) (H/L) 4 (V) (H/L) 5 (V) (H/L) 6 (V) (H/L)
L L
L H
H L
H H
Table 1.4
.
Also attach Screenshots using MULTISIM:
Table 1.5
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
Table 1.6
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
Table 1.7
IN OUT
A B Gate 1 (V) Gate 1 (H/L) Gate 2 (V) Gate 2 (H/L) Gate 3 (V) Gate 3 (H/L) Gate 4 (V) Gate 4 (H/L)
L L
L H
H L
H H
5. What is the primary motivation for using Boolean algebra to simplify logic expressions?
Ans:
Relevant Rubrics:
Marks
Sr. Exceeds expectation Meets expectation Doesn’t meet expectation
Rubrics
No. (3) (2) (0-1)
Student needed guidance to
Student has made correct make correct Student was unable to make
Conduction of Experiment (Hardware)
Data Student has correctly Student has performed Student was unable to
2. Recording/ measured the relevent incorrect measurement of identify/measeure relevent
Collection parameters. relevant parameters. parameters..
Troubleshoot Student has ability to detect Student can detect the error Student was unable to detect
3.
ing and correct the errors. but unable to correct it. the error.