Lab manual in Logic
Lab manual in Logic
Aim:-
Introduction to digital electronics lab- nomenclature of digital ICs, specifications, study of
the data sheet, concept of Vcc and ground, verification of the truth tables of logic gates
using TTL ICs.
Apparatus Required:-
Digital lab kit, single strand wires, breadboard, TTL IC’s
Gates IC NO.
AND 7408
OR 7432
NAND 7400
NOR 7402
NOT 7404
XOR 74136
Theory:-
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.
1. Basic Gates
2. Universal Gates
3. Advanced Gates
1 1 1
1 0 0
0 1 0
0 0 0
IC 7408
2. OR gate: - Function of OR gate is to give output true when one of the either inputs
are true .In the remaining case output becomes false. Following table justify the
statement:-
0 0 0
0 1 1
1 0 1
1 1 1
3. NOT gate: -Function of NOR gate is to reverse the nature of the input .It
converts true input to false and vice versa. Following table justifies the statement :-
Input Output
1 0
0 1
IC 7404
1 1 0
1 0 1
0 1 1
0 0 1
IC 7400
2. NOR gate: - NOR gate gives the output true when both the two provided input
are false. In all the other cases output remains false. Following table justifies the
statement :-
1 1 0
1 0 0
0 1 0
0 0 1
1 1 0
1 0 1
0 1 1
0 0 0
IC 74136
If led glows red then output is true, if it glows green output is false, which is
numerically denoted as 1 and 0 respectively. The Color can change based on the
IC manufacturer it’s just verification of the Truth Table not the color change.
Result:-
All gates are verified. Observed output matches theoretical concepts.
Precautions:-
All connections should be made neat and tight.
Digital lab kits and ICs should be handled with utmost care.
While making connections main voltage should be kept switched off.
Never touch live and naked wires.
Ans: Logic gate is a physical device implementing a Boolean function and performs
Logical operation on one or more logic inputs and produces a single logic output.
Ans: NAND and NOR gates are called universal gates as any type of logic gates or logic
(xy)l = xl + yl
2. Which of the two input logic gate can be used to implement an inverter
3. Which are the logic gates whose all output entries are logic 1 except for one
entry there is logic 0?
1. R-S flip-flop
2. J - K flip-flop
3. T Flip-Flop
4. D Flip-Flop
Apparatus:- IC 7400 (NAND Gate), IC 7402 (NOR Gate), IC 7408 (AND Gate).
Theory: -In case of sequential circuits the effect of all previous inputs on the
outputs is represented by a state of the circuit. Thus, the output of the circuit at any time
depends upon its current state and the input. These also determine the next state
of the circuit. The relationship that exists among the inputs, outputs, present states
and next states can be specified by either the state table or the state diagram.
Flip-Flop:-The basic one bit digital memory circuit is known as flip-flop.It can store
either 0or 1. Flip-flops are classifieds according to the number of inputs.
R-S Flip-Flop:- The circuit is similar to SR latch except enable signal is replaced by
clock pulse.
Logic Diagram
Logic Diagram
Logic Diagram
Procedure:-
1. Co nn e c t i o n s a r e m a d e as p er ci rc ui t di a gr a m.
2. Verify truth-tables for various combinations of input .
1) What is a latch?
Ans: Storage elements that operate with signal levels are referred to as latches.
Ans: Storage elements controlled by a clock transitions are called flip flop.
5) What happens to the JK flip flop if the J input is treated as an inverter is wired
between J and K inputs?
Ans: JK flip flop becomes D flip flop
3) Which is the basic sequential building block in which the output follows the data
input as long as the enable input is active?
Ans: D latch
Ans: The algebraic description of the next state of the flip flop is called characteristic
equation.