Introduction/Logic Gates/Flip Flops
Introduction/Logic Gates/Flip Flops
Lecture 1
Overview
Introduction
Logic Gates
Flip Flops Registers Counters Multiplexer/ Demultiplexer
Decoder/ Encoder
Lecture 1
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 Device IOP O/P Device
Lecture 1
Logic Gates
Name
A
Symbol
X B A X B
Function
X=AB or X = AB
Truth Table
A B 0 0 0 1 1 0 1 1 A B 0 0 0 1 1 0 1 A1 0 1 A 0 1 A B 0 0 0 1 1 0 1 1 A B 0 0 0 1 1 0 1 1 A B 0 0 0 1 1 0 1 1 A B 0 0 0 1 1 0 1 1 X 0 0 0 1 X 0 1 1 1 X 1 0 X 0 1 X 1 1 1 0 X 1 0 0 0 X 0 1 1 0 X 1 0 0 1
AND
OR I
X=A+B
X=A
Buffer
NAND NOR XOR
Exclusive OR
A
A
X=A
X B A
X = (AB)
X
B
X = (A + B) X=AB or X = AB + AB
X = (A B) or X = AB+ AB
A
X B A X B
XNOR
Lecture 1
Flip Flops
Characteristics - 2 stable states - Memory capability - Operation is specified by a Characteristic Table
The Storage elements employed in clocked sequential circuits, capable of storing one bit of information, are called Flip Flops
The most common types of flip flops are SR (Set Reset) D (Data) JK T (Toggle)
Lecture 1
Lecture 1
Flip Flops
Flip Flop SR (Set Reset) GraphicalSymbol Characteristic Table
S c
S 0 0 1 1
D (Data) D Q C Q`
D 0 1
Q(t+1) 0 1
Lecture 1
Flip Flops
Flip Flop J-K J J Q Q C c K Q'Q R S R Q(t+1) J K 0 0 Q(t) 0 1 0 1 0 1 1 1 indeterminate Q(t) (forbidden) GraphicalSymbol Characteristic Table
T (Toggle) T c Q
T 0 1