Professional Documents
Culture Documents
Introduction Logic Gates Flip Flops Registers Counters Multiplexer/ Demultiplexer Decoder/ Encoder
Introduction Logic Gates Flip Flops Registers Counters Multiplexer/ Demultiplexer Decoder/ Encoder
Overview
Introduction
Logic Gates
Flip Flops
Registers
Counters
Multiplexer/ Demultiplexer
Decoder/ Encoder
Introduction
Digital Computer
A computer that stores data in terms of digits (numbers)
and proceeds in discrete steps from one state to the next
Binary digits
The states of a digital computer typically involve binary
digits. A binary digit is called a bit
RAM
CPU
I/P O/P
IOP
Device Device
Logic Gates
Name Symbol Function Truth Table
A B X
A X=A•B 0 0 0
AND X or 0 1
1 0
0
0
B X = AB 1 1 1
A B X
A
OR X X=A+B
0 0
0 1
0
1
B 1 0 1
1 A1 1
X
I A X X=A
0
1
1
0
A X
0 0
Buffer A X X=A 1 1
A B X
A 0 0 1
NAND X X = (AB)’
0 1
1 0
1
1
B 1 1 0
A B X
A 0 0 1
NOR X X = (A + B)’ 0 1
1 0
0
0
B 1 1 0
A B X
A X=AB
XOR X or
0 0
0 1
0
1
Exclusive OR 1 0 1
B X = A’B + AB’
1 1 0
A B X
A X = (A B)’
XNOR X or
0 0
0 1
1
0
Exclusive NOR
1 0 0
or Equivalence B X = A’B’+ AB 1 1 1
Flip Flops
Characteristics
- 2 stable states
- Memory capability
- Operation is specified by a Characteristic Table
S Q S Q
c c
R Q’ R Q’
operates when operates when
clock is high clock is low
Flip Flops
Flip Flop GraphicalSymbol Characteristic Table
SR (Set
Reset)
S Q S R Q(t+1)
0 0 Q(t)
c 0 1 0
R Q’ 1 0 1
1 1 indeterminate
(forbidden)
D (Data)
D Q(t+1)
J Q
0 0
C 1 1
K Q'
Flip Flops
Flip Flop GraphicalSymbol Characteristic Table
J-K
J Q SJ RK Q(t+1)
J Q
00 00 Q(t)
Q(t)
cC 00 11 00
RK Q'
Q’ 11 00 11
11 11 indeterminate
Q’(t)
(forbidden)
T (Toggle)
T Q(t+1)
T Q 0 Q(t)
c 1 Q’(t)