28
Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Embed Size (px)

Citation preview

Page 1: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

Chapter 4 Fundamentals of Computer Logic

1

Page 2: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

Computer logics• First introduced in 1854 by English mathematician

George Boole in his book An Investigation of the Laws of Thought.

• In the 1930s, Claude Shannon applied the rules of Boole's algebra to analyze and design circuits by algebraic means in terms of logic gates.

• Boolean algebra has been fundamental in the development of computer science and digital logic.

2

Page 3: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

3

Logic gate: AND

Page 4: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

4

Logic gate: OR

Page 5: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

5

A NOT (Ā)

1 0

0 1

Truth table for NOT logic gate

Logic gate: NOT

Page 6: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

6

Logic gate: NAND

Page 7: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

7

Logic gate: NOR

Page 8: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

8

Logic gate: EOR

Page 9: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

9

Basic theorms

Page 10: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

10

Duality theorem

Page 11: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

11

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates

Page 12: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

12

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates

Page 13: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

13

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates Example: Determine X Example: Simplify X

Page 14: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

14

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates

Page 15: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

15

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates

Page 16: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

16

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates

Page 17: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

17

4.6 Implementation of Boolean equations using RLL and Electronic solid state logic gates Example 6: given the following Boolean

equation , sketch logic network and RLL

Page 18: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

18

4.6 Logic network design For a given logic control sequence or truth table, It is possible to produce

the Boolean Algebra expression using the following steps:

1. Construct a truth table for the requested input/output

2. For each TRUE statement associated to an output, form the logic product

(AND) of the inputs.

3. Form the logic Sum (OR) of the logic products obtained in step 2.

Page 19: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

19

4.6 Logic network design

Page 20: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

20

4.6 Combination and Sequential Networks

Page 21: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

21

4.6 Combination and Sequential Networks

Input Output

S R Qn+1 Qn+1

0 0 Qn Qn

0 1 0 1 1 0 1 01 1 Not define Not

define

Page 22: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

22

Page 23: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

23

Page 24: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

24

CK

FF0

FF1

FF2

FF3

111115

111014

110113

110012

101111

101010

10019

10008

01117

01106

01015

….

Page 25: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

25

Problems

Page 26: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

26 B A C X

Page 27: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

27

Page 28: Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337

Chap

ter 4

: Fun

dam

enta

l of C

ompu

ter L

ogic

- IE

337

28