Você está na página 1de 26

Chapter 13

IMPLEMENTATION OF
COMBINATIONAL LOGIC BY
PROGRAMMABLE LOGIC
DEVICES
Lesson 1

Programmable Logic Devices

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 2


One SOP expression each for each
output column of Truth table
• Any logic function implemented by a
combination circuit, there is a truth table. Each
row of each output-column in a truth table can
be specified as a mini-term of Boolean function
• An output column for a Boolean function is
expressed in the form of sum of products
(SOPs) expression [Product terms are the
miniterms.]

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 3


Example-1 —An SOP Expression
An output, Y
• Y = A. B. C + A. B. C = Σ m(2,7)
• It means truth table has logic 1
state for two rows out of 8 — One
for ABC = 010 and other for 111.
• There are two miniterms — m2
and m7 that are present in Y
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 4
Example-2 - Two SOP Expressions
Outputs, Y0 and Y1
Y0=A. B.C. D + A. B. C. D + A.B.C.D
Y1=A. B.C. D + A. B. C. D
Y0 = 1 for three rows [for m5, m7, m8]
Y1 = 1 for two rows [for m1, m5]

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 5


AND-OR ARRAY

• A miniterm corresponds to AND


operation
• A sum corresponds to OR operations
between miniterms
• AND-OR array therefore Boolean
implements functions

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 6


AND-OR ARRAY
• For n inputs (2n truth table rows) a
matrix of 2n × input AND gates and 2n
input m number OR gates
• (2×n) input AND is used because each
SOP expression contains of n variables
and their n complements.
• Example 1— n = 3 and m =1
• Example 2 — n = 4 and m =2
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 7
Programmable Logic Device (PLD)
• Programmable logic device has a two
dimensional AND-OR array and has
fusible links. By programming a set of
links, a Boolean expression output is
obtained at the OR gates. Number of
Boolean functions, which can be
implemented from PLD = number of
OR gates = m.

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 8


Three Variable AND-OR ARRAY
• Each AND has a distinct set of three inputs
each among A, B and C and complements
A, B and C.
• 6 inputs of each AND are interconnected as
per miniterm (one of the 8 possible logic
states).
• An OR gate of 8 inputs from 8 ANDs (for 8
miniterms) can implement any three
variable Boolean function.

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 9


Example 1—AND-OR ARRAY
• Assume that there are eight ANDs with
each AND having six inputs (2 ×n).
• Assume one OR (m = 1)
• Y = A. B. C + A. B. C = Σ m(2,7)
implements if OR gate of AND-OR
array connects to only those AND
gates which corresponds to m2 and m7
and rest of the links are fused (not
connected) in the AND OR array.
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 10
Σ m(2,7) Implementing PLD Circuit
AND End No Fusible OR End Columns
Links in case of PROM 8 Fusible- Links
in case of PROM
2n = 8 Inputs
m0 × ANDs
×
× m= 1 8-input OR
m2 Only two links
× present, Other
m7 ××
fused

Y
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 11
Four Variable AND-OR ARRAY
• Each AND has a distinct set of four
inputs each among A, B, C and D and
four complements A, B, C and D. 8
inputs of the AND are interconnected
to 16 possible logic states (miniterms)
in case of 4 input variables in the
Boolean expression
• Each OR gate can have maximum 16
links to implement a Boolean function

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 12


Example 2—AND-OR ARRAY
• Assume that there are 16 ANDs with
each AND having six inputs (2 × n)
and one OR (m = 1)
• Outputs, Y0 and Y1
Y0=A. B.C. D + A. B. C. D +
A.B.C.D = Σ m(5, 7, 8) and Y1=A.
B.C. D + A. B. C. D
= Σ m(1, 5)

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 13


Example 2—AND-OR ARRAY
• It implements by two OR gates of
AND-OR array, one connected to
connects to only those AND gates
which correspond to m5, m7 and m8
and other connected to m1 and m5
generating ANDs.
• Rest of the links of each OR are fused
(not connected) in the AND-OR array.

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 14


Σ m(5, 7, 8) and Σ m(1,5) Implementing
PLD Circuit
AND End No Fusible OR End Columns 16
Links in case of PROM Fusible- Links PROM
m1 ××
×
× ×
× ×
m5 ×

× ×
m7 ×
m8
×
× ×

Y0 Y1
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 15
Fusible Links

2n = 16 Inputs ANDs
m= 2 8-input ORs
Only three links present in one OR and two link in
another OR
All other links in both ORS are fused

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 16


PLD Circuit Fusible Links
• Horizontal ORs with 2n possible links at
each OR
• Total Number of ORs = m = Number of
Boolean Functions
• Vertical ANDs with 2n possible links at
each AND
• Total number of ANDs = 2n = Number of
miniterms
• Maximum possible fusible links = 2n . 2n. m
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 17
Programmable Logic Device (PLD)
Three type of Devices
• Fusible OR links only (PROM)
• Fusible AND links only (PAL)
• Fusible AND and OR both links (PLA)

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 18


PLD Circuit
AND End Fusible Links OR End Columns
only in case of a 2n Fusible- Links
only in case of a
PAL or PLA
PROM or PLA
m0

m(2n–1)

2n input ANDs
16-input ORs Y0 Y1
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 19
PLD programmer

• A programming is a systemic hardware


related procedure implemented by
software at a programming system,
called programmer or laboratory
programmer or PLD programmer and
the programming means executing the
procedure for fusing (snapping) the
needed links in the erased or fresh PLD
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 20
Erased PLD

• Erased PLD means in which fusible


links ready for programming

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 21


Summary

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 22


• A Boolean function output corresponds to a
row of truth table
• A Boolean function may have 1 as output
for number of rows
• Each row identifies by a miniterm.
• Boolean functions can be implemented by
AND-OR arrays PLDs
• PLD is a programmable AND-OR array in
which there are links, which are fused to
implement the Boolean functions
Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 23
• (2 × n × 2n × m) links maximum
possible at an AND-OR array in PLD
for m combinational circuits
• PLDs have programmable OR or AND
or both links, which are fusible, in
PROM, PAL or PLA, respectively.

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 24


End of Lesson 1 on
Programmable Logic Devices

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 25


THANK YOU

Ch13L1-"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 26

Você também pode gostar