0% found this document useful (0 votes)
93 views

Chapter 2 Digital System

The document discusses digital logic gates and microprocessors. It describes different types of logic gates like NOT, OR, AND, NOR, NAND, XOR and XNOR gates. It also explains Boolean algebra and how it is used in digital logic. Different types of flip-flops are described like SR, JK, D and T flip-flops. Their truth tables and implementations are provided. Finally, it gives a brief introduction to microprocessors and describes the main components of a microprocessor like the ALU, control unit and register array.

Uploaded by

Solomon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views

Chapter 2 Digital System

The document discusses digital logic gates and microprocessors. It describes different types of logic gates like NOT, OR, AND, NOR, NAND, XOR and XNOR gates. It also explains Boolean algebra and how it is used in digital logic. Different types of flip-flops are described like SR, JK, D and T flip-flops. Their truth tables and implementations are provided. Finally, it gives a brief introduction to microprocessors and describes the main components of a microprocessor like the ALU, control unit and register array.

Uploaded by

Solomon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 61

ELE3300: ELECTRICAL AND ELECTRONICS

ENGINEERING FOR MECHANICAL

CHAPTER TWO: DIGITAL SYSTEMS


LOGIC GATES
• A Logic gate is an electronic circuit that perform logical operation.
Logic gates are circuit made of Transistor, Diode and Resistor. A logic
gate can have more than one input but only one output.

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

• Transistor NOR Gate The NOR Gate is a


Universal Gate it can
be used to make other
Gates like NOT Gate,
OR Gate and AND
Gate

11
LOGIC GATES

5. NAND Gate

12
LOGIC GATES
6. XOR Gate (Exclusive OR)

The exclusive OR gate is a


modified OR gate. The XOR
gate produces a high output
when both its inputs are
different. If the inputs are the
same, the output is a low

13
LOGIC GATES
7. XNOR Gate (Exclusive NOR)

14
LOGIC GATES
8. Bubble Gate

15
BOOLEAN ALGEBRA

• The Boolean Algebra is an


Algebra of logic used in the
operation of computer
devices.

• The Boolean Algebra is


quite different from the
numerical algebra we know.
It is a logic Algebra.

• The variables of Boolean


Algebra can only be 1 or 0.

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:

• Solution: This problem also need to be converted to Standard SOP.


• Therefore:

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

• A Flip-Flop is sequential circuit made up of logic gates that allow


information to be stored in it.

• The Flip-flop is characterized by having two outputs Q and .

• 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

• The Truth Table and Symbol of Latch

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

(1). SR flip-flop: which is similar to an SR latch. ...

(2). D flip-flop: Having just one input and a CLOCK input.

(3). JK flip-flop: A common variation of the SR flip-flop. ...

(4). T flip-flop: This is simply a JK flip-flop whose output alternates


between HIGH and LOW with each clock pulse.
45
FLIP-FLOP
(1). SR-Flip-Flop: As previously stated it response only with the clock
pulse.

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).

• It is a programmable multipurpose silicon chip, clock pulse driven,


register based, that accepts binary data inputs and provides outputs
after processing it as according to the instructions stored in the
memory.

• The processor is the brain of a computer which basically consists of


Arithmetical and Logical Unit (ALU), Control Unit and Register
Array

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.

• REGISTER ARRAY: Register array consists of registers identified


by letters like B, C, D, E, H, L and accumulator.

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

You might also like