Lab Manual LOGIC DESIGN
Lab Manual LOGIC DESIGN
INDEX
Experiment
No:
Name of Experiment
Page No:
Experiment No:1
Familiarization of Logic Gates and Realization of Logic Circuits using basic Gates
1
Component Name
No:
IC 7400
IC 7402
INVERTER
IC7404
IC 7408
2 input OR GATE
IC 7432
IC 7483
IC 747266
IC Trainer Kit
Connecting wires
As required
NAND
NOR
AND
OR
XOR
OUT
XNOR
THEORY
Inverter
An inverter or NOT gate is a logic gate which implements logical negation.
NAND Gate
NAND gate is a logic gate which produces an output that is false only if all its inputs are true;
thus its output is complement to that of the AND gate. A LOW (0) output results only if both the
inputs to the gate are HIGH (1); if one or both inputs are LOW (0), a HIGH (1) output results. A
universal gate is a gate which can implement any Boolean function without need to use any other
gate type. The NAND is an universal gate since all basic gates can be implanted using NAND
gate. An AND gate is typically implemented as a NAND gate followed by an inverter. NAND
gate can be used as an inverter with its inputs shorted.
NOR gate
A HIGH output (1) results if both the inputs to the gate are LOW (0); if one or both input is
HIGH (1), a LOW output (0) results. NOR is the result of the negation of the OR operator. NOR
gates are so-called "universal gates" that can be combined to form any other kind of logic gate.
An OR gate is typically implemented as a NOR gate followed by an inverter.
AND gate
A HIGH output (1) results only if both the inputs to the AND gate are HIGH (1). If neither or only one
input to the AND gate is HIGH, a LOW output results.
OR gate
A HIGH output (1) results if one or both the inputs to the gate are HIGH (1). If neither input is
high, a LOW output (0) results.
4
FULL ADDER
HALF SUBTRACTOR
FULL SUBTRACTOR
Experiment 2
DESIGN AND IMPLEMENTATION OF ARITHMETIC CIRCUITS
AIM
To design and implement arithmetic circuits such as
1. Half adder
2. Full adder
3. nbit RippleCarry Adder
4. Carry Look ahead Adder
5. BCD Adder
HALF ADDER
FULL ADDER
Ci=Gi+Pi.Ci
8
Si= C i-1
= Ci-1
Bi
Ai.Bi
Pi
BCD ADDER
PROCEDURE
1.Verify the gates.
2. Make the connections as per the circuit diagram.
3. Switch on VCC and apply various combinations of input according to truth table.
4. Note down the output readings for half/full adder and verify truth table.
10
Experiment No: 3
TRUTHTABLE
S
CLK
INVALID
JK FLIPFLOP
11
CLK
T FLIPFLOP
Qn-1
CLK
Qn
D FLIPFLOP
12
CLK
CLK
PRE
CLR
13
Experiment No:4
COUNTERS
AIM
To design and implement Synchronous and Asynchronous Counters, UP/DOWN Counters
Up/Down counter
COMPONENTS REQUIRED
COMPONENT
SPECIFICATION
QUANTITY
JK FLIPFLOP
IC 7476
IC 7411
OR GATE
IC 7432
XOR GATE
IC 7486
Nand gate
IC 7400
NOT GATE
IC 7404
ICTRAINER KIT
CONNECTION WIRES
As required
14
When M=1
WHEN M=0
15
16
17
PROCEDURE
18
SPECIFICATION
QUANTITY
IC 7474
ICTRAINER KIT
CONNECTION WIRES
As required
SIPO
PISO
PIPO
RING COUNTER
20
JOHNSON COUNTER
21
PROCEDURE
1. Connections are made as per circuit diagram
2. Switch on power supply
3. Apply clock pulse and note output after each clock pulse
THEORY
Shift registers are a type of sequential logic circuit, mainly for storage of digital data. They are a
group of D flip-flops connected in a chain so that the output from one flip-flop becomes the input
of the next flip-flop. All the flip-flops are driven by a common clock, and all are set or reset
simultaneously.
Shift registers can be classified according to the way the input data are read in and the
way the output data are readout. There are four types of shift registers:
1. Serial-In-Serial-Out.
2. Serial-In-Parallel-Out.
22
4.Parallel-In-Parallel-Out
For Parallel-in-Parallel-Out shift registers, all data bits appear on the parallel outputs
immediately following the simultaneous entry of the data bits.
23
Experiment No:6
STUDY OF MULTIPLEXERS , DEMULTIPLEXERS, ENCODER AND DECODER
AIM
To study about Multiplexers , Demultiplexers, Encoder and Decoder
4x1 MUX
24
1X4 DEMULTIPLEXER
25
INPUTS
OUTPUTS
Data
Y0
Y1
Y2
Y3
26
INPUTS
OUTPUTS
D0
D1
D2
D3
D4
D5
D6
D7
Q0
Q1
Q2
2X4 DECODER
27
THEORY
Experiment no:7
COMPARATORS AND PARITY GENERATORS
AIM
To design Comparators and Parity Generators.
Item
Component Name
No:
Inverter
IC7404
IC 7408
2 input OR GATE
IC 7432
1
28
IC 7483
IC 747266
IC Trainer Kit
Connecting wires
As required
29
IC PIN CONFIGURATION
IC 7400- NAND GATE
30
IC7404-Inverter
IC 7408-AND GATE
31
IC 7432- OR GATE
IC 747266-XNOR
32
33
74151-8x1 MUX
IC 7476-JK FLIPFLOP
34
IC 7474 DFLIPFLOP
35
36
A HIGH output (1) results if both the inputs to the gate are LOW (0); if one or both input is HIGH (1),
a LOW output (0) results. NOR is the result of the negation of the OR operator. It can also be seen
as an AND gate with all the input
37
38