Chapter 2 Digital System
Chapter 2 Digital System
2
LOGIC GATES
• The two possible output of a logic gate are 1 (one) and zero(0).
3
LOGIC GATES
• 1 NOT Gate • Logic Symbol of NOT Gate
• NOT gate is a logic gate that
changes a 0 input to 1 and a 1
input to 0. NOT gate also called
an Inverter performs the
operation called Inversion or
Complement or Negation.
4
LOGIC GATES
• Transistor NOT Gate. The NOT Gate can be formed using Transistor
circuit.
5
LOGIC GATES
• 2 OR Gate • Logic Symbol of OR Gate
• OR gate is a logic gate which
performs logical addition. The
output is HIGH (1) if any one of
its inputs is HIGH (1). The
output will be low only if both
the inputs are low.
6
LOGIC GATES
• Equivalent Transistor OR gate
7
LOGIC GATES
• 3. AND Gate • Logic Symbol of AND Gate
AND gate is a logic gate which
performs logical multiplication.
The output is HIGH (1) only if
both inputs are HIGH (1).
Otherwise, output is LOW (0).
8
LOGIC GATES
• Transistor AND Gate
9
LOGIC GATES
4. NOR Gate
• The NOR function is just the
revers of OR function
• It can be formed by connecting
an inverter (NOT) to an OR gate
10
LOGIC GATES
11
LOGIC GATES
5. NAND Gate
12
LOGIC GATES
6. XOR Gate (Exclusive OR)
13
LOGIC GATES
7. XNOR Gate (Exclusive NOR)
14
LOGIC GATES
8. Bubble Gate
15
BOOLEAN ALGEBRA
16
BOOLEAN ALGEBRA
• Laws of Boolean Algebra
17
BOOLEAN ALGEBRA
18
BOOLEAN ALGEBRA
19
BOOLEAN ALGEBRA
• De Morgan’s Theorem
• The De Morgan’s Theorem are 2 rules in Boolean algebra that helps
greatly in simplifying the algebra.
20
BOOLEAN ALGEBRA
• Example 2.1
• Solution
21
BOOLEAN ALGEBRA
• Example 2.2
22
BOOLEAN ALGEBRA
• Example 2.3
23
BOOLEAN ALGEBRA
Example 2.4
24
BOOLEAN ALGEBRA
25
BOOLEAN ALGEBRA
• Example 2.5
26
BOOLEAN ALGEBRA
• Example 2.6
27
BOOLEAN ALGEBRA
• Example 2.7
28
BOOLEAN ALGEBRA
29
BOOLEAN ALGEBRA
• Table of the Variables:
30
BOOLEAN ALGEBRA
• Example 2.8
• Solution:
• This problem need to be converted to Standard SOP (sum of products).
Therefore
31
BOOLEAN ALGEBRA
32
BOOLEAN ALGEBRA
Example 2.9
Solution:
33
BOOLEAN ALGEBRA
• Example 2.10:
34
BOOLEAN ALGEBRA
35
BOOLEAN ALGEBRA
• Example 2.11
36
Don’t Care Condition in Karnough Map
37
Don’t Care Condition in Karnough Map
• Example 2.12
38
Don’t Care Condition in Karnough Map
39
Don’t Care Condition in Karnough Map
• Solution:
40
FLIP-FLOP
• On the other hands the input to the flip-flop can be one or more but for
having two possible output it is some times referred to as Bistable
multivibrator or sometimes latch.
41
FLIP-FLOP
• The Latch
• A latch (the most basic type of flip-flop) has the ability to retain its
output results until another signal resets it. It can be formed using
NAND Gate or NOR Gate.
42
FLIP-FLOP
43
FLIP-FLOP
• For a Latch to be converted to the real flip-flop, a clock terminal is
introduced to the Latch.
• The circuit will change the output only when the clock is applied.
44
FLIP-FLOP
• Main Types of Flip-Flop
• The Flip-Flops have four most common types
46
FLIP-FLOP
47
FLIP-FLOP
(2) JK Flip-Flop
48
FLIP-FLOP
49
FLIP-FLOP
(3) D Flip-flop
50
FLIP-FLOP
• The D Flip-flop can be implemented Using JK FF.
51
FLIP-FLOP
• A D Flip-flop is very much useful in parallel Data Transfer/Storage
52
FLIP-FLOP
• (4) T Flip-flop
• The T flip-flop also known as “Toggle” flip-flop changes its output on
each clock pulse, giving an output which is half the frequency of the
signal to the T input.
• It finds applications in binary counters, frequency dividers, and
general binary addition devices
• It can be formed using D Flip-flop.
53
FLIP-FLOP
• Truth Table of T Flip-flop
54
FLIP-FLOP
55
THE MICROPROCESSOR
• A microprocessor is a computer in an IC form which incorporates
core functions of a computer’s central processing unit (CPU).
56
THE MICROPROCESSOR
57
THE MICROPROCESSOR
• ALU: The Arithmetic and Logical Unit is used perform arithmetic and
logic operations in the micro controller.
• CU: The Control Unit decodes the instructions, and controls all the
other internal components of the microprocessor to make it work.
58
THE MICROPROCESSOR
Features of a Microprocessor
Here is a list of some of the most prominent features of any
microprocessor −
• Cost-effective − The microprocessor chips are available at low prices
and results its low cost.
• Size − The microprocessor is of small size chip, hence is portable.
• Low Power Consumption − Microprocessors are manufactured by
using metal oxide semiconductor technology, which has low power
consumption.
• Versatility − The microprocessors are versatile as we can use the same
chip in a number of applications by configuring the software program.
• Reliability − The failure rate of an IC in microprocessors is very low,
hence it is reliable. 59
THE MICROPROCESSOR
60
•EXERCISE II
EXERCISE II
EXERCISE II
61