0% found this document useful (0 votes)
9 views55 pages

CH11 Digital Logic

Chapter 11 of 'Computer Organization and Architecture' discusses digital logic, focusing on Boolean algebra, which is essential for designing and analyzing digital circuits. It covers combinational circuits, sequential circuits, and various components such as flip-flops, counters, and programmable logic devices. The chapter emphasizes the importance of Boolean functions and provides insights into their implementation in digital systems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views55 pages

CH11 Digital Logic

Chapter 11 of 'Computer Organization and Architecture' discusses digital logic, focusing on Boolean algebra, which is essential for designing and analyzing digital circuits. It covers combinational circuits, sequential circuits, and various components such as flip-flops, counters, and programmable logic devices. The chapter emphasizes the importance of Boolean functions and provides insights into their implementation in digital systems.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 55

+

William Stallings
Computer Organization
and Architecture
10th Edition

© 2016 Pearson Education, Inc., Hoboken,


NJ. All rights reserved.
+ Chapter 11
Digital Logic
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Boolean Algebra
 Mathematical discipline used to design and analyze the
behavior of the digital circuitry in digital computers and other
digital systems
 Named after George Boole
 English mathematician
 Proposed basic principles of the algebra in 1854

 Claude Shannon suggested Boolean algebra could be used to


solve problems in relay-switching circuit design

 Is a convenient tool:
 Analysis
 It is an economical way of describing the function of digital circuitry
 Design
 Given a desired function, Boolean algebra can be applied to develop
a simplified implementation of that function

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


+
Boolean Variables and
Operations
Makes use of variables and operations
 Are logical
 A variable may take on the value 1 (TRUE) or 0 (FALSE)
 Basic logical operations are AND, OR, and NOT

 AND
 Yields true (binary value 1) if and only if both of its operands are
true
 In the absence of parentheses the AND operation takes precedence
over the OR operation
 When no ambiguity will occur the AND operation is represented by
simple concatenation instead of the dot operator

 OR
 Yields true if either or both of its operands are true

 NOT
 Inverts the value of its operand
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 11.1 Boolean Operators
(a) Boolean Operators of Two Input Variables

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


Table 11.2
Basic Identities of Boolean Algebra

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
An interconnected set of
gates whose output at

Combinational Circuit
any time is a function
only of the input at that
time

The appearance of the


input is followed almost
immediately by the
appearance of the output,
with only gate delays

Consists of n binary
inputs and m binary
outputs

Can be defined in three


ways:
• Truth table
• For each of the 2n possible
combinations of input
signals, the binary value of
each of the m output
signals is listed
• Graphical symbols
• The interconnected layout
of gates is depicted
• Boolean equations
• Each output signal is
expressed as a Boolean
function of its input signals

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


Table 11.3
A Boolean Function of Three Variables

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 11.4
Truth Table for the One-Digit Packed
Decimal Incrementer

Table 11.4 Truth Table for the One-Digit Packed Decimal Incrementer

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 11.5
First Stage of Quine-McCluskey Method

(for F = ABCD + AB D + AB + A CD + BCD + BC + B D + D)

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


Table 11.6
Last Stage of Quine-McCluskey Method
(for F = ABCD + AB D + AB + A CD + BCD + BC + B D + D)

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 11.7
4-to-1 Multiplexer Truth Table

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
Read-Only Memory (ROM)

 Memory that is implemented with combinational


circuits
 Combinational circuits are often referred to as
“memoryless” circuits because their output depends only
on their current input and no history of prior inputs is
retained

 Memory unit that performs only the read operation


 Binary information stored in a ROM is permanent and is
created during the fabrication process
 A given input to the ROM (address lines) always produces
the same output (data lines)
 Because the outputs are a function only of the present
inputs, ROM is a combinational circuit

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


Table 11.8
Truth Table for a ROM

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 11.9
Binary Addition Truth Tables

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Sequential Circuit Current output
depends not
only on the
current input,
but also on the
past history of
inputs

Sequential

Circuit

Makes use of
combinational
circuits

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


+
Flip-Flops

 Simplest form of sequential circuit


 There are a variety of flip-flops, all of which share two
properties:

1. The flip-flop is a bistable device. It exists in one of


two states and, in the absence of input, remains in
that state. Thus, the flip-flop can function as a 1-bit
memory.
2. The flip-flop has two outputs, which are always the
complements of each other.

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+ Counter

 A register whose value is easily incremented by 1


modulo the capacity of the register
 After the maximum value is achieved the next increment
sets the counter value to 0
 An example of a counter in the CPU is the program
counter
 Can be designated as:
 Asynchronous
 Relatively slow because the output of one flip-flop triggers
a change in the status of the next flip-flop
 Synchronous
 All of the flip-flops change state at the same time
 Because it is faster it is the kind used in CPUs

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table

11.11

PLD

Terminolog
y

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.


© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+ Summary Digital
Logic
Chapter 11

 Boolean Algebra
 Sequential Circuits
 Gates
 Flip-Flops
 Combinational Circuits
 Registers
 Implementation of
 Counters
Boolean Functions  Programmable Logic Devices
 Multiplexers  Programmable Logic Array
 Decoders  Field-Programmable Gate
 Read-Only-Memory Array
 Adders

© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy