Back to Study Hub
Programmable Logic• 13 min read

Programmable Logic Devices: PLA, PAL, GAL and CPLD Basics

Wireless PSI and GPSC notes on programmable logic devices: why PLDs, the AND-OR array concept, ROM as a PLD, PLA with programmable AND and OR planes, PAL with fixed OR plane, GAL, fuse maps, implementing SOP functions, and SPLD vs CPLD vs FPGA with a comparison table and MCQs.

By MCQ Arena TeamUpdated June 24, 2026

Programmable logic devices are a compact, high-yield topic in the digital section of Wireless PSI and GPSC technical papers. The questions are almost always conceptual rather than numerical: which array is programmable in a PLA, which is fixed in a PAL, how a ROM can act as a logic device, and where SPLD, CPLD and FPGA sit relative to one another. Get the AND-OR array idea right and the whole family falls into place.

This article explains why PLDs exist, builds the AND-OR array picture once and reuses it for ROM, PLA and PAL, and then shows how a sum-of-products function is mapped onto these devices. It includes the classic ROM-versus-PLA-versus-PAL comparison, the idea of a fuse map, a brief tour from simple PLDs up to FPGAs, and a set of exam-style MCQs with explanations so you can lock in the distinctions.

Why programmable logic devices

Before PLDs, a digital circuit was built by wiring together many fixed-function logic gates and SSI/MSI chips. That meant large boards, long design times and no way to correct a logic error without rewiring. Programmable logic devices (PLDs) are general chips containing many gates whose interconnections the user can program to realise a desired logic function, replacing dozens of fixed chips with one configurable device.

The advantages are fewer chips and smaller boards, faster design and prototyping, easy modification (reprogram instead of rewire), and better security because the internal function is not obvious from the part number. This is why PLDs dominate digital design and why examiners expect you to know the family.

The AND-OR array concept

Any Boolean function can be written as a sum of products (SOP): an OR of several AND terms (product terms). This maps naturally onto two stages of logic — an AND array that forms the product terms from the inputs (and their complements), followed by an OR array that sums selected product terms to produce the outputs.

F = (A · B) + (A · C) + (B · C)

Standard sum-of-products form realised by an AND plane then an OR plane

Every device in the PLD family is just an AND array feeding an OR array. What distinguishes the three classic devices is simply which of the two arrays is programmable. Fix that idea and the whole topic becomes a single comparison.

ROM as a programmable logic device

A ROM can act as a logic device. Its address decoder is a fixed AND array that generates every possible minterm of the input variables (one active line per address), and its storage matrix is a programmable OR array that decides which minterms appear at each output bit. So a ROM with n address lines and m data lines implements m Boolean functions of n variables, using their full minterm form.

Number of product terms (minterms) = 2n

A ROM decoder produces every minterm of the n input variables

Exam tip: in a ROM the AND array is fixed (it must produce all minterms) and only the OR array is programmable. Because all minterms are generated, a ROM wastes capacity when a function has only a few product terms — which is exactly the inefficiency the PLA was designed to remove.

PLA: programmable AND and programmable OR

The Programmable Logic Array (PLA) makes both arrays programmable. The user programs the AND array to produce only the specific product terms a function needs (not all minterms), and programs the OR array to sum the right product terms for each output. This is the most flexible of the three classic devices because product terms can be shared between several outputs.

The cost of that flexibility is two programmable planes, which makes the PLA larger, slower and more expensive to manufacture and program than a PAL. Both planes being programmable is the single fact to remember about the PLA.

PAL: programmable AND, fixed OR

The Programmable Array Logic (PAL) keeps the AND array programmable but makes the OR array fixed. Each OR gate is hard-wired to a fixed group of product terms (for example, a fixed number of AND terms per output). You choose the product terms via the AND array, but you cannot freely route any product term to any output.

With only one programmable plane the PAL is faster, cheaper and easier to program than a PLA, which is why PAL-style devices became far more popular in practice. The trade-off is less flexibility: product terms cannot be shared across outputs because the OR connections are fixed.

Common mistake: swapping PLA and PAL. Use the memory hook — PLA has All (both) arrays programmable; PAL "Limits" you, with only the AND array programmable and the OR array fixed.

GAL and the comparison

The Generic Array Logic (GAL) is essentially an electrically erasable, reprogrammable version of the PAL. It uses the same programmable-AND, fixed-OR structure but stores the configuration in EEPROM-style cells so it can be erased and reprogrammed many times, and its output logic can be configured (combinational or registered). Functionally it is a flexible, reusable PAL.

DeviceAND arrayOR arrayFlexibility
ROMFixed (all minterms)ProgrammableWastes terms; good for full tables
PLAProgrammableProgrammableMost flexible; slower, costlier
PALProgrammableFixedLess flexible; faster, cheaper
GALProgrammableFixedPAL that is reprogrammable (EEPROM)

Exam tip: the most frequently asked single fact is the AND/OR programmability row above. ROM = fixed AND, programmable OR; PLA = both programmable; PAL = programmable AND, fixed OR.

Implementing SOP functions and the fuse map

Suppose you must implement two outputs sharing product terms:

F1 = (A · B) + (A · C),   F2 = (A · C) + (B · C)

There are three distinct product terms here: A·B, A·C and B·C. On a PLA you program the AND array to generate exactly these three terms, then program the OR array so F1 sums the first two and F2 sums the last two; the term A·C is shared by both outputs, using just one AND row.

On a PAL the OR connections are fixed, so the shared term A·C cannot be reused across outputs — it must be generated twice, once in the product terms feeding F1 and once in those feeding F2. This is the concrete cost of the fixed OR plane.

Programming is described by a fuse map: the array is drawn as a grid of crosspoints where each row is a product line and each column is an input or output line. An intact fuse (or a programmed cell) makes a connection at a crosspoint; a blown fuse removes it. Programming the device means selectively blowing fuses so that only the wanted connections remain.

Common mistake: assuming a PAL can share product terms like a PLA. Because the OR array is fixed, a PAL usually duplicates a common term, consuming extra AND rows.

SPLD vs CPLD vs FPGA

The small AND-OR array devices — PLA, PAL and GAL — are collectively called SPLDs (Simple PLDs). As designs grew, larger architectures appeared.

  • SPLD — a single small AND-OR array block (PLA, PAL, GAL); tens to hundreds of gates.
  • CPLD (Complex PLD) — several SPLD-like blocks on one chip joined by a programmable interconnect; uses non-volatile (EEPROM/Flash) configuration, so it is ready at power-up.
  • FPGA (Field Programmable Gate Array) — a very large array of small configurable logic blocks (look-up tables and flip-flops) with rich routing; usually SRAM-based, so it is reconfigured at every power-up and offers the highest capacity.
FeatureCPLDFPGA
Building blockAND-OR (product term) blocksLook-up tables (LUTs)
CapacityLowerVery high
Configuration storageNon-volatile (Flash/EEPROM)Usually volatile (SRAM)
Power-upInstant (retains config)Must load config each time
Typical useGlue logic, controlLarge complex digital systems

Exam tip: a common true/false point is that a CPLD keeps its configuration through a power cycle (non-volatile) while a typical SRAM-based FPGA must reload its configuration at every power-up.

Key Takeaways
  • Every classic PLD is an AND array feeding an OR array; the device type is defined by which array is programmable.
  • ROM has a fixed AND array (all minterms) and a programmable OR array.
  • PLA has both the AND and OR arrays programmable; it is the most flexible and allows product-term sharing.
  • PAL has a programmable AND array but a fixed OR array; it is faster and cheaper but cannot share product terms across outputs.
  • GAL is a reprogrammable EEPROM-based PAL; PLA, PAL and GAL are all SPLDs.
  • CPLDs use non-volatile configuration and stay ready at power-up; SRAM-based FPGAs are larger but must reload their configuration each time.

Practice MCQs

Q1. In a PLA, which arrays are programmable?

  • A.Only the AND array
  • B.Only the OR array
  • C.Both the AND and OR arrays
  • D.Neither array

Correct Answer: C

Explanation: A PLA (Programmable Logic Array) has both the AND array and the OR array programmable, which makes it the most flexible of the classic PLDs.

Q2. In a PAL, the OR array is:

  • A.Programmable
  • B.Fixed
  • C.Absent
  • D.Replaced by a decoder

Correct Answer: B

Explanation: A PAL (Programmable Array Logic) has a programmable AND array but a fixed OR array, so product terms cannot be freely shared between outputs.

Q3. When a ROM is used as a logic device, its AND array is:

  • A.Programmable
  • B.Fixed and generates all minterms
  • C.Absent
  • D.Built from OR gates

Correct Answer: B

Explanation: A ROM uses its address decoder as a fixed AND array that produces every minterm of the inputs; only the OR array (the stored data) is programmable.

Q4. Which device allows product terms to be shared between multiple outputs?

  • A.PAL
  • B.PLA
  • C.Mask ROM only
  • D.None of these

Correct Answer: B

Explanation: Because both planes are programmable, a PLA can route a single product term to several outputs (sharing). A PAL has a fixed OR plane and generally cannot share product terms.

Q5. A GAL is best described as:

  • A.A ROM with a programmable AND array
  • B.An electrically reprogrammable PAL-type device
  • C.An FPGA with LUTs
  • D.A volatile SRAM device

Correct Answer: B

Explanation: A GAL (Generic Array Logic) uses the programmable-AND, fixed-OR structure of a PAL but stores its configuration in EEPROM cells, so it can be erased and reprogrammed many times.

Q6. In a fuse-map representation of a PLD, a blown fuse at a crosspoint means:

  • A.A connection is made at that point
  • B.No connection exists at that point
  • C.The output is shorted to ground
  • D.The device is faulty

Correct Answer: B

Explanation: An intact fuse makes a connection at a crosspoint; a blown fuse removes that connection. Programming selectively blows fuses to keep only the wanted connections.

Q7. Which statement about CPLD versus FPGA configuration is correct?

  • A.CPLDs are SRAM-based and reload at power-up
  • B.FPGAs are always non-volatile
  • C.CPLDs use non-volatile storage and are ready at power-up
  • D.Both lose all logic when powered off

Correct Answer: C

Explanation: CPLDs typically store their configuration in non-volatile Flash/EEPROM, so they are ready immediately at power-up. Typical FPGAs are SRAM-based and must reload their configuration each time.

Q8. Which of the following is NOT classified as a simple PLD (SPLD)?

  • A.PLA
  • B.PAL
  • C.GAL
  • D.FPGA

Correct Answer: D

Explanation: PLA, PAL and GAL are simple PLDs built around a single AND-OR array. An FPGA is a much larger, LUT-based device and is not an SPLD.

MA

MCQ Arena Team

Subject reviewers & exam mentors

This guide is written and fact-checked by the MCQ Arena editorial team — engineering graduates and competitive-exam mentors who build the question banks used on the platform. Every concept, formula and MCQ is cross-checked against standard textbooks and the latest Wireless PSI / GPSC exam pattern. Spotted an error or have a correction? Tell us — we update articles as syllabi and feedback come in.

Last reviewed and updated on June 24, 2026.

Put it into practice

Reading strategy is one thing — building it into instinct takes timed reps. Practise with daily timed mock tests on MCQ Arena.

Start practising free

Keep reading