SlideShare a Scribd company logo
Programmable Logic
PAL, PLA
2
PLAs
Programmable Logic Array
 Pre-fabricated building block of many
AND/OR gates (or NOR, NAND)
"Personalized" by making/ breaking
connections among the gates.
 General purpose logic building blocks.
3
PLA
Inputs
Dense array of
AND gates Product
terms
Dense array of
OR gates
Outputs
4
PLA
5
PLA
• A 3×2 PLA with 4 product terms.
6
Design for PLA:
Example
 Implement the following functions using PLA
F0 = A + B' C'
F1 = A C' + A B
F2 = B' C' + A B
F3 = B' C + A
Personality Matrix
1 = asserted in term
0 = negated in term
- = does not participate
Input Side:
1 = term connected to output
0 = no connection to output
Output Side:
Outputs
Inputs
Product
term
Reuse
of
terms
A
1
-
1
-
1
B
1
0
-
0
-
C
-
1
0
0
-
F0
0
0
0
1
1
F1
1
0
1
0
0
F2
1
0
0
1
0
F3
0
1
0
0
1
A B
B C
A C
B C
A
7
Example: Continued
F0 = A + B' C'
F1 = A C' + A B
F2 = B' C' + A B
F3 = B' C + A
Personality Matrix
Outputs
Inputs
Product
term
Reuse
of
terms
A
1
-
1
-
1
B
1
0
-
0
-
C
-
1
0
0
-
F0
0
0
0
1
1
F1
1
0
1
0
0
F2
1
0
0
1
0
F3
0
1
0
0
1
A B
B C
A C
B C
A
A B C
F0 F1 F2 F3
AB
B’C
AC’
B’C’
A
8
Constants
 Sometimes a PLA output
must be programmed to
be a constant 1 or a
constant 0.
− P1 is always 1
because its product
line is connected to
no inputs and is
therefore always
pulled HIGH;
− this constant-1 term
drives the O1 output.
 No product term drives
the O2 output, which is
therefore always 0.
 Another method of
obtaining a constant-0
output is shown for O3.
9
BCD to Gray Code Converter
W = A + B D + B C
X = B C'
Y = B + C
Z = A'B'C'D + B C D + A D' + B' C D'
Minimized Functions:
A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
B
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
C
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
D
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
W
0
0
0
0
0
1
1
1
1
1
X
X
X
X
X
X
X
0
0
0
0
1
1
0
0
0
0
X
X
X
X
X
X
Y
0
0
1
1
1
1
1
1
0
0
X
X
X
X
X
X
Z
0
1
1
0
0
0
0
1
1
0
X
X
X
X
X
X
AB
CD 00 01 11 10
00
01
11
10
D
B
C
A
0 0 X 1
0 1 X 1
0 1 X X
0 1 X X
K-map for W
AB
CD 00 01 11 10
00
01
11
10
D
B
C
A
0 1 X 0
0 1 X 0
0 0 X X
0 0 X X
K-map for X
AB
CD 00 01 11 10
00
01
11
10
D
B
C
A
0 1 X 0
0 1 X 0
1 1 X X
1 1 X X
K-map for Y
AB
CD 00 01 11 10
00
01
11
10
D
B
C
A
0 0 X 1
1 0 X 0
0 1 X X
1 0 X X
K-map for Z
10
4 product terms per each OR gate
A B C D
A
BD
BC
W X Y Z
BC’
B
C
BCD
AD’
BCD’
Product terms cannot be shared !
PLA achieves higher flexibility
at the cost of lower speed!
11
PALs
• Programmable Array Logic
 a fixed OR array.
Inputs
Dense array of
AND gates Product
terms
Dense array of
OR gates
Outputs
12
PAL
inputs
1st output
section
2nd output
section
3rd output
section
4th output
section
Only functions with
at most four
products can be
implemented
13
PAL
W = ABC + CD
X = ABC + ACD + ACD + BCD
Y = ACD + ACD + ABD
x
x
x
14
15
Helper Terms
 If an I/O pin’s output-
control gate produces
a constant 1,  the
output is always
enabled, but the pin
may still be used as
an input too.
  outputs can be
used to generate first-
pass “helper terms” for
logic functions that
cannot be performed
in a single pass with
the limited number of
AND terms available
for a single output.
Read-Only Memory
ROM
17
ROM
A‘B’C’D’
A‘B’C’D
A‘B’CD’
A‘B’CD
A‘BC’D’
A‘BC’D
A‘BCD’
A‘ BCD
AB’C’D’
AB’C’D
AB’CD’
AB’CD
AB C’D’
AB C’D
AB C D’
AB C D
F
1
F
3
F
2
A
B
C
D
S2
S1
S0
S3
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
4:16
dec
Enb
• Decoder
 Produces minterms
• ORs
 Produce SOP’s
18
ROM
D7
D6
D5
D4
D3
D2
D1
D0
A2
A1
A0
A
B
C
F0
F1
F2
F3
X X
X
X
X
X
X
X
X
X
• ROM
 A decoder
 A set of programmable
OR’s
19
ROM vs. PLA/PAL
(a) Programmable read-only memory (PROM)
Inputs
Fixed
AND array
(decoder)
Programmable
OR array
Outputs
Programmable
Connections
(b) Programmable array logic (PAL) device
Inputs Programmable
AND array
Fixed
OR array
Outputs
Programmable
Connections
(c) Programmable logic array (PLA) device
Inputs Programmable
OR array
Outputs
Programmable
Connections
Programmable
Connections
Programmable
AND array
21
Example
• Find a ROM-based circuit
implementation for:
 f(a,b,c) = a’b’ + abc
 g(a,b,c) = a’b’c’ + ab + bc
 h(a,b,c) = a’b’ + c
• Solution:
 Express f(), g(), and h() in m() format
(use truth tables)
 Program the ROM based on the 3 m()’s
22
Example
 There are 3 inputs and 3 outputs,
thus we need a 8x3 ROM block.
− f = m(0, 1, 7)
− g = m(0, 3, 6, 7)
− h = m(0, 1, 3, 5, 7)
3-to-8
decoder
0
1
2
3
4
5
6
7
a
b
c
f g h
23
ROM as a Memory
• Read Only Memories (ROM) or Programmable
Read Only Memories (PROM) have:
 N input lines,
 M output lines, and
 2N decoded minterms.
• Can be viewed as a memory with the inputs as
addresses of data (output values),
 hence ROM or PROM names!
24
(Memories)
• Volatile:
 Random Access Memory (RAM):
− SRAM "static"
− DRAM "dynamic"
• Non-Volatile:
 Read Only Memory (ROM):
− Mask ROM "mask programmable"
− EPROM "electrically programmable"
− EEPROM “electrically erasable electrically
programmable"
− FLASH memory - similar to EEPROM with
programmer integrated on chip
25
ROM as Memory
0 1 1 0 1
1 0 0 0 0
2 1 0 0 1
3 0 0 1 0
4 0 0 0 0
5 1 0 0 0
6 0 0 1 1
7 0 1 0 0
Address
3 4
8x4 ROM
D0
D1
D2
D3
D4
D5
D6
D7
A2
A1
A0
A
B
C
F3
F2
F1
F0
X X
X
X
X
X
X
X
X
X
•Read Example: For input (A2,A1,A0) = 011, output is (F0,F1,F2,F3 ) =
0010.
•What are functions F3, F2 , F1 and F0 in terms of (A2, A1, A0)?
A[2:0] F[3:0]
26
Design by ROM: Example
• BCD to 7 Segment Display Controller
A B C D
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
0 1 1 1
C0 C1 C2 C3 C4 C5 C6
1 1 1 1 1 1 0
0 1 1 0 0 0 0
1 1 0 1 1 0 1
1 1 1 1 0 0 1
0 1 1 0 0 1 1
1 0 1 1 0 1 1
1 0 1 1 1 1 1
1 1 1 0 0 0 0
1 1 1 1 1 1 1
1 1 1 0 0 1 1
X X X X X X X
X X X X X X X
X X X X X X X
X X X X X X X
X X X X X X X
X X X X X X X
27
Standard Devices
 Vpp and PGM are used
when programming
2764 EPROM
8K x 8
2764
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
O0
O1
O2
O3
O4
O5
O6
O7
OE
CS
PGM
VPP
A10
A11
A12
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
O0
O1
O2
O3
O4
O5
O6
O7
OE
CS
PGM
VPP
A10
A11
A12

More Related Content

Similar to unit 5.ppt

Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
SanjaiPrasad
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
Pavan Mukku
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
EasyStudy3
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
AshwiniMate10
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
ShaekAhmed
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
ssuserca5764
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
ssuser6feece1
 
08 decoder
08 decoder08 decoder
08 decoder
Aamina Aslam
 
A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1
jntuworld
 
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
DamotTesfaye
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
Unsa Shakir
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdf
SanjoySana2
 
Digital logic
Digital logicDigital logic
Digital logic
Md Shohel Rana
 
kmaps
 kmaps kmaps
kmaps
Unsa Shakir
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
ssuserf7cd2b
 
Combinational logic 1
Combinational logic 1Combinational logic 1
Combinational logic 1
Heman Pathak
 
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Hsien-Hsin Sean Lee, Ph.D.
 
elec2200-6.pdf
elec2200-6.pdfelec2200-6.pdf
elec2200-6.pdf
AttareqTareq
 

Similar to unit 5.ppt (20)

Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
08 decoder
08 decoder08 decoder
08 decoder
 
A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1
 
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
 
decoder and encoder
 decoder and encoder decoder and encoder
decoder and encoder
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdf
 
Digital logic
Digital logicDigital logic
Digital logic
 
kmaps
 kmaps kmaps
kmaps
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Combinational logic 1
Combinational logic 1Combinational logic 1
Combinational logic 1
 
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
 
elec2200-6.pdf
elec2200-6.pdfelec2200-6.pdf
elec2200-6.pdf
 

More from KrishnaveniManickam3

UNIT 03 ORGANISING.ppt
UNIT 03 ORGANISING.pptUNIT 03 ORGANISING.ppt
UNIT 03 ORGANISING.ppt
KrishnaveniManickam3
 
UNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.pptUNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.ppt
KrishnaveniManickam3
 
boolean-logic.pptx
boolean-logic.pptxboolean-logic.pptx
boolean-logic.pptx
KrishnaveniManickam3
 
1-DSP Fundamentals.ppt
1-DSP Fundamentals.ppt1-DSP Fundamentals.ppt
1-DSP Fundamentals.ppt
KrishnaveniManickam3
 
Review report-template_ECE_AVSEC (10_09_2014).pptx
Review report-template_ECE_AVSEC (10_09_2014).pptxReview report-template_ECE_AVSEC (10_09_2014).pptx
Review report-template_ECE_AVSEC (10_09_2014).pptx
KrishnaveniManickam3
 
piezo ele.ppt.pptx
piezo ele.ppt.pptxpiezo ele.ppt.pptx
piezo ele.ppt.pptx
KrishnaveniManickam3
 
UNIT 2.ppt
UNIT 2.pptUNIT 2.ppt
PPT-DC.pptx
PPT-DC.pptxPPT-DC.pptx
staffing.ppt
staffing.pptstaffing.ppt
staffing.ppt
KrishnaveniManickam3
 
UNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.pptUNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.ppt
KrishnaveniManickam3
 
Organising unit ppt.ppt
Organising unit ppt.pptOrganising unit ppt.ppt
Organising unit ppt.ppt
KrishnaveniManickam3
 

More from KrishnaveniManickam3 (11)

UNIT 03 ORGANISING.ppt
UNIT 03 ORGANISING.pptUNIT 03 ORGANISING.ppt
UNIT 03 ORGANISING.ppt
 
UNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.pptUNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.ppt
 
boolean-logic.pptx
boolean-logic.pptxboolean-logic.pptx
boolean-logic.pptx
 
1-DSP Fundamentals.ppt
1-DSP Fundamentals.ppt1-DSP Fundamentals.ppt
1-DSP Fundamentals.ppt
 
Review report-template_ECE_AVSEC (10_09_2014).pptx
Review report-template_ECE_AVSEC (10_09_2014).pptxReview report-template_ECE_AVSEC (10_09_2014).pptx
Review report-template_ECE_AVSEC (10_09_2014).pptx
 
piezo ele.ppt.pptx
piezo ele.ppt.pptxpiezo ele.ppt.pptx
piezo ele.ppt.pptx
 
UNIT 2.ppt
UNIT 2.pptUNIT 2.ppt
UNIT 2.ppt
 
PPT-DC.pptx
PPT-DC.pptxPPT-DC.pptx
PPT-DC.pptx
 
staffing.ppt
staffing.pptstaffing.ppt
staffing.ppt
 
UNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.pptUNIT 5 CONTROLLING.ppt
UNIT 5 CONTROLLING.ppt
 
Organising unit ppt.ppt
Organising unit ppt.pptOrganising unit ppt.ppt
Organising unit ppt.ppt
 

Recently uploaded

一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 

Recently uploaded (20)

一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 

unit 5.ppt

  • 2. 2 PLAs Programmable Logic Array  Pre-fabricated building block of many AND/OR gates (or NOR, NAND) "Personalized" by making/ breaking connections among the gates.  General purpose logic building blocks.
  • 3. 3 PLA Inputs Dense array of AND gates Product terms Dense array of OR gates Outputs
  • 5. 5 PLA • A 3×2 PLA with 4 product terms.
  • 6. 6 Design for PLA: Example  Implement the following functions using PLA F0 = A + B' C' F1 = A C' + A B F2 = B' C' + A B F3 = B' C + A Personality Matrix 1 = asserted in term 0 = negated in term - = does not participate Input Side: 1 = term connected to output 0 = no connection to output Output Side: Outputs Inputs Product term Reuse of terms A 1 - 1 - 1 B 1 0 - 0 - C - 1 0 0 - F0 0 0 0 1 1 F1 1 0 1 0 0 F2 1 0 0 1 0 F3 0 1 0 0 1 A B B C A C B C A
  • 7. 7 Example: Continued F0 = A + B' C' F1 = A C' + A B F2 = B' C' + A B F3 = B' C + A Personality Matrix Outputs Inputs Product term Reuse of terms A 1 - 1 - 1 B 1 0 - 0 - C - 1 0 0 - F0 0 0 0 1 1 F1 1 0 1 0 0 F2 1 0 0 1 0 F3 0 1 0 0 1 A B B C A C B C A A B C F0 F1 F2 F3 AB B’C AC’ B’C’ A
  • 8. 8 Constants  Sometimes a PLA output must be programmed to be a constant 1 or a constant 0. − P1 is always 1 because its product line is connected to no inputs and is therefore always pulled HIGH; − this constant-1 term drives the O1 output.  No product term drives the O2 output, which is therefore always 0.  Another method of obtaining a constant-0 output is shown for O3.
  • 9. 9 BCD to Gray Code Converter W = A + B D + B C X = B C' Y = B + C Z = A'B'C'D + B C D + A D' + B' C D' Minimized Functions: A 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 C 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 D 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 W 0 0 0 0 0 1 1 1 1 1 X X X X X X X 0 0 0 0 1 1 0 0 0 0 X X X X X X Y 0 0 1 1 1 1 1 1 0 0 X X X X X X Z 0 1 1 0 0 0 0 1 1 0 X X X X X X AB CD 00 01 11 10 00 01 11 10 D B C A 0 0 X 1 0 1 X 1 0 1 X X 0 1 X X K-map for W AB CD 00 01 11 10 00 01 11 10 D B C A 0 1 X 0 0 1 X 0 0 0 X X 0 0 X X K-map for X AB CD 00 01 11 10 00 01 11 10 D B C A 0 1 X 0 0 1 X 0 1 1 X X 1 1 X X K-map for Y AB CD 00 01 11 10 00 01 11 10 D B C A 0 0 X 1 1 0 X 0 0 1 X X 1 0 X X K-map for Z
  • 10. 10 4 product terms per each OR gate A B C D A BD BC W X Y Z BC’ B C BCD AD’ BCD’ Product terms cannot be shared ! PLA achieves higher flexibility at the cost of lower speed!
  • 11. 11 PALs • Programmable Array Logic  a fixed OR array. Inputs Dense array of AND gates Product terms Dense array of OR gates Outputs
  • 12. 12 PAL inputs 1st output section 2nd output section 3rd output section 4th output section Only functions with at most four products can be implemented
  • 13. 13 PAL W = ABC + CD X = ABC + ACD + ACD + BCD Y = ACD + ACD + ABD x x x
  • 14. 14
  • 15. 15 Helper Terms  If an I/O pin’s output- control gate produces a constant 1,  the output is always enabled, but the pin may still be used as an input too.   outputs can be used to generate first- pass “helper terms” for logic functions that cannot be performed in a single pass with the limited number of AND terms available for a single output.
  • 17. 17 ROM A‘B’C’D’ A‘B’C’D A‘B’CD’ A‘B’CD A‘BC’D’ A‘BC’D A‘BCD’ A‘ BCD AB’C’D’ AB’C’D AB’CD’ AB’CD AB C’D’ AB C’D AB C D’ AB C D F 1 F 3 F 2 A B C D S2 S1 S0 S3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4:16 dec Enb • Decoder  Produces minterms • ORs  Produce SOP’s
  • 19. 19 ROM vs. PLA/PAL (a) Programmable read-only memory (PROM) Inputs Fixed AND array (decoder) Programmable OR array Outputs Programmable Connections (b) Programmable array logic (PAL) device Inputs Programmable AND array Fixed OR array Outputs Programmable Connections (c) Programmable logic array (PLA) device Inputs Programmable OR array Outputs Programmable Connections Programmable Connections Programmable AND array
  • 20. 21 Example • Find a ROM-based circuit implementation for:  f(a,b,c) = a’b’ + abc  g(a,b,c) = a’b’c’ + ab + bc  h(a,b,c) = a’b’ + c • Solution:  Express f(), g(), and h() in m() format (use truth tables)  Program the ROM based on the 3 m()’s
  • 21. 22 Example  There are 3 inputs and 3 outputs, thus we need a 8x3 ROM block. − f = m(0, 1, 7) − g = m(0, 3, 6, 7) − h = m(0, 1, 3, 5, 7) 3-to-8 decoder 0 1 2 3 4 5 6 7 a b c f g h
  • 22. 23 ROM as a Memory • Read Only Memories (ROM) or Programmable Read Only Memories (PROM) have:  N input lines,  M output lines, and  2N decoded minterms. • Can be viewed as a memory with the inputs as addresses of data (output values),  hence ROM or PROM names!
  • 23. 24 (Memories) • Volatile:  Random Access Memory (RAM): − SRAM "static" − DRAM "dynamic" • Non-Volatile:  Read Only Memory (ROM): − Mask ROM "mask programmable" − EPROM "electrically programmable" − EEPROM “electrically erasable electrically programmable" − FLASH memory - similar to EEPROM with programmer integrated on chip
  • 24. 25 ROM as Memory 0 1 1 0 1 1 0 0 0 0 2 1 0 0 1 3 0 0 1 0 4 0 0 0 0 5 1 0 0 0 6 0 0 1 1 7 0 1 0 0 Address 3 4 8x4 ROM D0 D1 D2 D3 D4 D5 D6 D7 A2 A1 A0 A B C F3 F2 F1 F0 X X X X X X X X X X •Read Example: For input (A2,A1,A0) = 011, output is (F0,F1,F2,F3 ) = 0010. •What are functions F3, F2 , F1 and F0 in terms of (A2, A1, A0)? A[2:0] F[3:0]
  • 25. 26 Design by ROM: Example • BCD to 7 Segment Display Controller A B C D 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 C0 C1 C2 C3 C4 C5 C6 1 1 1 1 1 1 0 0 1 1 0 0 0 0 1 1 0 1 1 0 1 1 1 1 1 0 0 1 0 1 1 0 0 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 1 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
  • 26. 27 Standard Devices  Vpp and PGM are used when programming 2764 EPROM 8K x 8 2764 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 O0 O1 O2 O3 O4 O5 O6 O7 OE CS PGM VPP A10 A11 A12 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 O0 O1 O2 O3 O4 O5 O6 O7 OE CS PGM VPP A10 A11 A12