Académique Documents
Professionnel Documents
Culture Documents
William Stallings
Computer Organization
and Architecture
10th Edition
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
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
Basic Postulates
AB=BA A+B=B+A Commutative Laws
A (B + C) = (A B) + (A C) A + (B C) = (A + B) (A + C) Distributive Laws
1A=A 0+A=A Identity Elements
A A =0 A+ A =1 Inverse Elements
Other Identities
0A=0 1+A=1
AA=A A+A=A
A (B C) = (A B) C A + (B + C) = (A + B) + C Associative Laws
A B =A +B A +B =A B DeMorgan's Theorem
F =A A F
NOT A F or 0 1
1 0
F = A
A B F
A 0 0 1
NAND F F = AB 0 1 1
B 1 0 1
1 1 0
A B F
A 0 0 1
NOR F F=A+B 0 1 0
B 1 0 0
1 1 0
A B F
A 0 0 0
XOR F F=A B 0 1 1
B 1 0 1
1 1 0
A A B
A B
B
A
A
A+B
B
B
A (A+B)
A+B
B
A
A
A B
B
B
Combinational Circuit
any time is a function
only of the input at that
time
Consists of n binary
inputs and m binary
outputs
A B C F
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 0
2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
A B C
A
B
C
A
B F
C
A
B
C
A
B
C
F
B
CD
C
00 01 11 10
00 1
01
AB B
11 1
A
10 1
AB 01 1 1 AB 01 AB 01 1 1
11 11 11
10 10 1 10
CD CD CD
00 01 11 10 00 01 11 10 00 01 11 10
00 1 1 1 1 00 00
AB 01 AB 01 1 1 AB 01 1 1
11 11 1 1 11 1 1
10 10 10
CD CD CD
00 01 11 10 00 01 11 10 00 01 11 10
00 1 1 1 1 00 1 1 00 1 1
AB 01 1 1 1 1 AB 01 1 1 AB 01 1 1
11 11 1 1 11 1 1
10 10 1 1 10 1 1
(g) A (h) D (i) C
CD
00 01 11 10
00
AB 01 1
11 1 1
10 1
(b) F = BCD + ACD
Figure11.9 OverlappingGroups
2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 11.4
Truth Table for the One-Digit Packed
Decimal Incrementer
Input Output
Number A B C D Number W X Y Z
0 0 0 0 0 1 0 0 0 1
1 0 0 0 1 2 0 0 1 0
2 0 0 1 0 3 0 0 1 1
3 0 0 1 1 4 0 1 0 0
4 0 1 0 0 5 0 1 0 1
5 0 1 0 1 6 0 1 1 0
6 0 1 1 0 7 0 1 1 1
7 0 1 1 1 8 1 0 0 0
8 1 0 0 0 9 1 0 0 1
9 1 0 0 1 0 0 0 0 0
1 0 1 0 d d d d
1 0 1 1 d d d d
Don't 1 1 0 0 d d d d
care 1 1 0 1 d d d d
con- 1 1 1 0 d d d d
dition
1 1 1 1 d d d d
Table 11.4 Truth Table for the One-Digit Packed Decimal Incrementer
AB 01 1 AB 01 1 1 1
11 d d d d 11 d d d d
10 1 d d 10 d d
(a) W = AD + ABCD (b) X = BD + BC + BCD
CD CD
00 01 11 10 00 01 11 10
00 1 1 00 1 1
AB 01 1 1 AB 01 1 1
11 d d d d 11 d d d d
10 d d 10 1 d d
(c) Y = ACD + ACD (d) Z = D
B
C
D1 4-to-1
multiplexer F
D2
D3
S2 S1
S2 S1 F
0 0 D0
0 1 D1
1 0 D2
1 1 D3
2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
S2 S1
D0
D1
D2
D3
B
001
D1
C
010
D2
011
D3
100
D4
101
D5
110
D6
111
D7
A7
Enable
Enable
Enable
Enable
A8
2-to-4
A9 decoder
Data input
Z1 Z2 Z3 Z4
Overflow
signal C3 Cin C2 Cin C1 Cin C0 Cin 0
S3 S2 S1 S0
A
B
C
Sum
A
B
C
A
B
C
A
Carry
C
C23 C15 C7
Cout 8-bit 8-bit 8-bit 8-bit Cin
adder adder adder adder
Sequential
Circuit
Makes use of
combinational
circuits
Q
S
1
R
0
t
1
2t t
Q
0
1
t 2t
Q
0
t 0 1 2 3 4 5 6 7 8 9
S 1 0 0 0 0 0 0 0 1 0
R 0 0 0 1 0 0 1 0 0 0
Qn+1 1 1 1 0 0 0 0 0 1 1
Clock
Q
S
Clock
Q
D
Clock
J Q
S Q S R Qn+1
0 0 Qn
S-R Ck 0 1 0
1 0 1
R Q 1 1
J Q J K Qn+1
0 0 Qn
J -K Ck 0 1 0
1 0 1
K Q 1 1 Qn
D Q D Qn+1
0 0
D Ck 1 1
D Q D Q D Q D Q D Q D Q D Q D Q
Clock
Load
Output lines
Clock
D Q D Q D Q D Q D Q D Q D Q D Q
Clock
Load
Output lines
BA BA
(b) Karnaugh maps 00 01 11 10 00 01 11 10
0 1 0 d d d d
Jc = BA C Kc = BA C
1 d d d d 1 1
BA BA
00 01 11 10 00 01 11 10
0 1 d d 0 d d 1
Jb = A C Kb = A C
1 1 d d 1 d d 1
BA BA
00 01 11 10 00 01 11 10
0 1 d d 1 0 d 1 1 d
Ja = 1 C Ka = 1 C
1 1 d d 1 1 d 1 1 d
High Ja A Jb B Jc C C B A
binary
output
Ck Ck Ck
Ka A Kb B Kc C
Clock
ProgrammableLogic Device(PLD)
A general term that refers to any type of integrated circuit used for implementing digital
hardware, where the chip can be configured by the end user to realize different designs.
Programming of such a device often involves placing the chip into a special programming unit,
but some chips can also be configured in-system. Also referred to as a field-programmable
Table
device (FPD).
SimplePLD (SPLD)
PLD
A PLA or PAL.
Logic Block
A relatively small circuit block that is replicated in an array in an FPD. When a circuit is
implemented in an FPD, it is first decomposed into smaller sub-circuits that can each be mapped
into a logic block. The term logic block is mostly used in the context of FPGAs, but it could also
refer to a block of circuitry in a CPLD.
OR array
AND array
A B C
ABC
AB
AC
I/O
block
lookup table
A1
16 1
D Q
A2
A3 Ck
Clock
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