SlideShare a Scribd company logo
1 of 14
Programmable Array Logic and Programmable Logic Array
Programmable Logic Array
A programmable logic array (PLA) is a kind of programmable logic device used to
implement combinational logic circuits. The PLA has a set of programmable AND gate planes,
which link to a set of programmable OR gate planes, which can then be conditionally
complemented to produce an output.
 Logic expressions for content information to be stored in PLA must be obtained first,
then minimized, and finally programmed into PLA.
 Number of input buffer = number of variables
 Numer of programmable AND gates = number of minterms (minterms should not be
repeated)
 Number of programmable OR gates = number of function
 X = fusible/programmable = fixed
Block Diagram of PLA:
Application:
One application of a PLA is to implement the control over a datapath. It defines various states in
an instruction set, and produces the next state (by conditional branching). [e.g. if the machine is
in state 2, and will go to state 4 if the instruction contains an immediate field; then the PLA
should define the actions of the control in state 2, will set the next state to be 4 if the instruction
contains an immediate field, and will define the actions of the control in state 4]. Programmable
logic arrays should correspond to a state diagram for the system.
Note that the use of the word "programmable" does not indicate that all PLAs are field-
programmable; in fact many are mask-programmed during manufacture in the same manner as
a mask ROM. This is particularly true of PLAs that are embedded in more complex and
numerous integrated circuits such as microprocessors. PLAs that can be programmed after
manufacture are called FPGA (Field-programmable gate array), or less frequently FPLA (Field-
programmable logic array)..
The Commodore 64 home computer released in 1982 used a "906114-01 PLA" to handle system
signals.
Example 1:
Given the truth table, design the combinational circuit using PLA.
A B C Y1 Y2
0 0 0 0 0
0 0 1 0 0
0 1 0 0 0
0 1 1 0 1
1 0 0 1 0
1 0 1 1 1
1 1 0 0 0
1 1 1 1 1
Solution:
Y1:
0 0 0 0
1 1 1 0
Y1= AB + AC
Y2:
0 0 1 0
0 1 1 0
Y2= AC + BC
Example 2:
Given:
Y1 = ABC + ABC + ABC
Y2 = AB + AC + ABC
Y3 = ∈ 0 ,2 , 6 ,7
Implement the given function into PLA.
Y3:
1 1 1 0
0 0 1 0
Y3= AC + AB
Programmable Array Logic (PAL)
The PAL architecture consisted of a programmable AND array and a fixed OR array so
that each output is the sum of a specific set of product terms.
 Commonly used type of PLD
 Only the connected inputs to AND are programmable, OR gates are fixed
 Unlike the PLA, a product term cannot be shared among two or more OR gates.
Therefore, each function can be simplified by itself without regard to common product
terms.
 Standard architecture used to implement combinational circuits
Block Diagram:
Circuit Diagram:
Pin Configuration: PLUS16L8
Logic Diagram: PLUS16L8
Application:
 PAL’s also often have an extra circuitry connected to the output of OR gates is called
Macrocell
Macrocell Function:
Example 1:
Given the outputs X, Y, Z and its minterms are specified.
X (A B C) = €m (2, 3, 5, 7)
Y (A B C) = €m (0, 1, 5)
Z (A B C) = €m (0, 2, 3, 5)
Solution:
X:
0 0 1 1
0 1 1 0
X= AC + A’B + AB = 3 minterms
Y:
1 1 0 0
0 1 0 0
Y = A’B’ + B’C = 2 minterms
Z:
1 0 1 1
0 1 0 0
Z= AB’C + A’C’ + A’B = 3 minterms
Time to program using PAL.
1. Looking for the number of variable. The number of variables is equal to the input buffer.
An input buffer is a combination of NOT gate that gives you two outputs, the
complemented and non-complemented.
We have 3 variablessowe have 3
inputbuffer.
2. The number of AND arrays is equal to the number of output times to the number of
maximum min-terms.
3. The number of the outputs are 3 so we have 3 OR gates the (X, Y, and Z).
We have 9 AND gate because we
have 3 outputsandhas 3 minterms.
We are goingto program the
Programmable ArrayLogic(PAL) now.
4. The programmed PLA.
Example 2. Full adder using PAL.
In this example we are doing almost the same as we did to the example 1 but
some changes occurred.
A B Cin Sum Carry
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
K-Mapping
Sum
0 1 0 1
1 0 1 0
Sum = AB’Cin’ + A’B’Cin + ABCin + A’BCin’ = 4 minterms
Carry
0 0 1 0
0 1 1 1
Carry = ACin + BCin + AB = 3 minters
Programming the PAL
Example 3. Given the function W, X, Y, and Z.
W (A B C D) = Σm(2, 12, 13)
X (A B C D) = Σm(7, 8, 9, 10, 11, 12, 13, 14, 15)
Y (A B C D) = Σm(0, 2, 3, 4, 5, 6, 7, 8, 10, 11, 15)
Z (A B C D) = Σm(1, 2, 8, 12, 13)
K-Mapping
W
0 0 0 1
0 0 0 0
1 1 0 0
0 0 0 0
W= ABC’ + A’B’CD’
X
0 0 0 0
0 0 1 0
1 1 1 1
1 1 1 1
X = A + BCD
Y
1 0 1 1
1 1 1 1
0 0 1 0
1 0 1 1
Y = A’B + CD + B’D
Z
0 1 0 1
0 0 0 0
1 1 0 0
1 0 0 0
Z = A’B’CD’ + ABC’ + A’B’C’D + AC’D’
Z = W + A’B’C’D + AC’D’
As you can see, we used the output of the other function to minimize the used of terms.
Programming PAL.

More Related Content

What's hot

Vlsi physical design
Vlsi physical designVlsi physical design
Vlsi physical design
I World Tech
 
L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)
NAGASAI547
 
fpga programming
fpga programmingfpga programming
fpga programming
Anish Gupta
 

What's hot (20)

Field programable gate array
Field programable gate arrayField programable gate array
Field programable gate array
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Vlsi physical design
Vlsi physical designVlsi physical design
Vlsi physical design
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGN
 
L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)
 
fpga programming
fpga programmingfpga programming
fpga programming
 
PLDs
PLDsPLDs
PLDs
 
Ripple Carry Adder
Ripple Carry AdderRipple Carry Adder
Ripple Carry Adder
 
Introduction to System verilog
Introduction to System verilog Introduction to System verilog
Introduction to System verilog
 
Vhdl programming
Vhdl programmingVhdl programming
Vhdl programming
 
Four way traffic light conrol using Verilog
Four way traffic light conrol using VerilogFour way traffic light conrol using Verilog
Four way traffic light conrol using Verilog
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Sequential circuit design
Sequential circuit designSequential circuit design
Sequential circuit design
 
Fpga
FpgaFpga
Fpga
 
8 bit full adder
8 bit full adder8 bit full adder
8 bit full adder
 
Don't care conditions
Don't care conditionsDon't care conditions
Don't care conditions
 
Physical design
Physical design Physical design
Physical design
 
Hdl
HdlHdl
Hdl
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Vliw
VliwVliw
Vliw
 

Similar to Programmable array-logic-and-programmable-logic-array

Similar to Programmable array-logic-and-programmable-logic-array (20)

Combinational logic circuit by umakant bhaskar gohatre
Combinational logic circuit by umakant bhaskar gohatreCombinational logic circuit by umakant bhaskar gohatre
Combinational logic circuit by umakant bhaskar gohatre
 
FPGA based BCH Decoder
FPGA based BCH DecoderFPGA based BCH Decoder
FPGA based BCH Decoder
 
6th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
6th Semeste Electronics and Communication Engineering (June-2016) Question Pa...6th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
6th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdf
 
System design using HDL - Module 3
System design using HDL - Module 3System design using HDL - Module 3
System design using HDL - Module 3
 
Quiz
QuizQuiz
Quiz
 
unit 5.ppt
unit 5.pptunit 5.ppt
unit 5.ppt
 
Programmable Logic Array(PLA), digital circuits
Programmable Logic Array(PLA), digital circuits Programmable Logic Array(PLA), digital circuits
Programmable Logic Array(PLA), digital circuits
 
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT「SPICEの活用方法」セミナー資料(28JAN2011) PPT
「SPICEの活用方法」セミナー資料(28JAN2011) PPT
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
 
Write your own generic SPICE Power Supplies controller models
Write your own generic SPICE Power Supplies controller modelsWrite your own generic SPICE Power Supplies controller models
Write your own generic SPICE Power Supplies controller models
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
Quantum Computing Notes Ver 1.2
Quantum Computing Notes Ver 1.2Quantum Computing Notes Ver 1.2
Quantum Computing Notes Ver 1.2
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Digital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebraDigital systems logicgates-booleanalgebra
Digital systems logicgates-booleanalgebra
 
04 comb ex
04 comb ex04 comb ex
04 comb ex
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
 
Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2
 

Recently uploaded

一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
awasv46j
 
Design-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyDesign-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora Agency
Isadora Agency
 
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
nirzagarg
 
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
eeanqy
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
eeanqy
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
eqaqen
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
mark11275
 
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
nirzagarg
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Nitya salvi
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecture
saipriyacoool
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 

Recently uploaded (20)

一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
一比一原版(WLU毕业证)罗瑞尔大学毕业证成绩单留信学历认证原版一模一样
 
Hackathon evaluation template_latest_uploadpdf
Hackathon evaluation template_latest_uploadpdfHackathon evaluation template_latest_uploadpdf
Hackathon evaluation template_latest_uploadpdf
 
Design-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyDesign-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora Agency
 
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
Top profile Call Girls In Mau [ 7014168258 ] Call Me For Genuine Models We ar...
 
Furniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptxFurniture & Joinery Details_Designs.pptx
Furniture & Joinery Details_Designs.pptx
 
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
 
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best ServiceIndependent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
 
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Sonipat [ 7014168258 ] Call Me For Genuine Models W...
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
TRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxTRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptx
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecture
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
 

Programmable array-logic-and-programmable-logic-array

  • 1. Programmable Array Logic and Programmable Logic Array Programmable Logic Array A programmable logic array (PLA) is a kind of programmable logic device used to implement combinational logic circuits. The PLA has a set of programmable AND gate planes, which link to a set of programmable OR gate planes, which can then be conditionally complemented to produce an output.  Logic expressions for content information to be stored in PLA must be obtained first, then minimized, and finally programmed into PLA.  Number of input buffer = number of variables  Numer of programmable AND gates = number of minterms (minterms should not be repeated)  Number of programmable OR gates = number of function  X = fusible/programmable = fixed Block Diagram of PLA:
  • 2. Application: One application of a PLA is to implement the control over a datapath. It defines various states in an instruction set, and produces the next state (by conditional branching). [e.g. if the machine is in state 2, and will go to state 4 if the instruction contains an immediate field; then the PLA should define the actions of the control in state 2, will set the next state to be 4 if the instruction contains an immediate field, and will define the actions of the control in state 4]. Programmable logic arrays should correspond to a state diagram for the system. Note that the use of the word "programmable" does not indicate that all PLAs are field- programmable; in fact many are mask-programmed during manufacture in the same manner as a mask ROM. This is particularly true of PLAs that are embedded in more complex and numerous integrated circuits such as microprocessors. PLAs that can be programmed after manufacture are called FPGA (Field-programmable gate array), or less frequently FPLA (Field- programmable logic array).. The Commodore 64 home computer released in 1982 used a "906114-01 PLA" to handle system signals. Example 1: Given the truth table, design the combinational circuit using PLA. A B C Y1 Y2 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 1 1 0 0 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 1 1 Solution: Y1:
  • 3. 0 0 0 0 1 1 1 0 Y1= AB + AC Y2: 0 0 1 0 0 1 1 0 Y2= AC + BC Example 2: Given: Y1 = ABC + ABC + ABC Y2 = AB + AC + ABC Y3 = ∈ 0 ,2 , 6 ,7 Implement the given function into PLA. Y3:
  • 4. 1 1 1 0 0 0 1 0 Y3= AC + AB
  • 5. Programmable Array Logic (PAL) The PAL architecture consisted of a programmable AND array and a fixed OR array so that each output is the sum of a specific set of product terms.  Commonly used type of PLD  Only the connected inputs to AND are programmable, OR gates are fixed  Unlike the PLA, a product term cannot be shared among two or more OR gates. Therefore, each function can be simplified by itself without regard to common product terms.  Standard architecture used to implement combinational circuits Block Diagram:
  • 7. Logic Diagram: PLUS16L8 Application:  PAL’s also often have an extra circuitry connected to the output of OR gates is called Macrocell
  • 9. Example 1: Given the outputs X, Y, Z and its minterms are specified. X (A B C) = €m (2, 3, 5, 7) Y (A B C) = €m (0, 1, 5) Z (A B C) = €m (0, 2, 3, 5) Solution: X: 0 0 1 1 0 1 1 0 X= AC + A’B + AB = 3 minterms Y: 1 1 0 0 0 1 0 0 Y = A’B’ + B’C = 2 minterms Z: 1 0 1 1 0 1 0 0 Z= AB’C + A’C’ + A’B = 3 minterms Time to program using PAL. 1. Looking for the number of variable. The number of variables is equal to the input buffer. An input buffer is a combination of NOT gate that gives you two outputs, the complemented and non-complemented. We have 3 variablessowe have 3 inputbuffer.
  • 10. 2. The number of AND arrays is equal to the number of output times to the number of maximum min-terms. 3. The number of the outputs are 3 so we have 3 OR gates the (X, Y, and Z). We have 9 AND gate because we have 3 outputsandhas 3 minterms. We are goingto program the Programmable ArrayLogic(PAL) now.
  • 11. 4. The programmed PLA. Example 2. Full adder using PAL. In this example we are doing almost the same as we did to the example 1 but some changes occurred. A B Cin Sum Carry 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1
  • 12. K-Mapping Sum 0 1 0 1 1 0 1 0 Sum = AB’Cin’ + A’B’Cin + ABCin + A’BCin’ = 4 minterms Carry 0 0 1 0 0 1 1 1 Carry = ACin + BCin + AB = 3 minters Programming the PAL
  • 13. Example 3. Given the function W, X, Y, and Z. W (A B C D) = Σm(2, 12, 13) X (A B C D) = Σm(7, 8, 9, 10, 11, 12, 13, 14, 15) Y (A B C D) = Σm(0, 2, 3, 4, 5, 6, 7, 8, 10, 11, 15) Z (A B C D) = Σm(1, 2, 8, 12, 13) K-Mapping W 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 W= ABC’ + A’B’CD’ X 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 1 X = A + BCD Y 1 0 1 1 1 1 1 1 0 0 1 0 1 0 1 1 Y = A’B + CD + B’D Z 0 1 0 1 0 0 0 0 1 1 0 0 1 0 0 0 Z = A’B’CD’ + ABC’ + A’B’C’D + AC’D’ Z = W + A’B’C’D + AC’D’ As you can see, we used the output of the other function to minimize the used of terms.