This article'slead sectionmay be too short to adequatelysummarize the key points. Please consider expanding the lead toprovide an accessible overview of all important aspects of the article.(January 2013) |

Aprogrammable logic device (PLD) is anelectronic component used to buildreconfigurabledigital circuits. Unlike digital logic constructed using discretelogic gates with fixed functions, the function of a PLD is undefined at the time of manufacture. Before the PLD can be used in a circuit it must be programmed to implement the desired function.[1] Compared to fixed logic devices, programmable logic devices simplify the design of complex logic and may offer superior performance.[2] Unlike formicroprocessors, programming a PLD changes the connections made between the gates in the device.
PLDs can broadly be categorised into, in increasing order of complexity,simple programmable logic devices (SPLDs), comprisingprogrammable array logic,programmable logic array andgeneric array logic;complex programmable logic devices (CPLDs); andfield-programmable gate arrays (FPGAs).
In 1969,Motorola offered the XC157, a mask-programmed gate array with 12 gates and 30 uncommitted input/output pins.[3]
In 1970,Texas Instruments developed a mask-programmable IC based on theIBM read-only associative memory or ROAM. This device, the TMS2000, was programmed by altering the metal layer during the production of the IC. The TMS2000 had up to 17 inputs and 18 outputs with 8JK flip-flops for memory. TI coined the termprogrammable logic array (PLA) for this device.[4]
In 1971,General Electric Company (GE) was developing a programmable logic device based on the newprogrammable read-only memory (PROM) technology. This experimental device improved on IBM's ROAM by allowing multilevel logic. Intel had just introduced the floating-gateUV EPROM so the researcher at GE incorporated that technology. The GE device was the first erasable PLD ever developed, predating theAltera EPLD by over a decade. GE obtained several early patents on programmable logic devices.[5][6][7]
In 1973National Semiconductor introduced a mask-programmable PLA device (DM7575) with 14 inputs and 8 outputs with no memory registers. This was more popular than the TI part but the cost of making the metal mask limited its use. The device is significant because it was the basis for the field programmable logic array produced bySignetics in 1975, the 82S100. (Intersil actually beat Signetics to market but poor yield doomed their part.)[8][9]
In 1974 GE entered into an agreement withMonolithic Memories (MMI) to develop a mask-programmable logic device incorporating the GE innovations. The device was namedprogrammable associative logic array or PALA. The MMI 5760 was completed in 1976 and could implement multilevel or sequential circuits of over 100 gates. The device was supported by a GE design environment where Boolean equations would be converted to mask patterns for configuring the device. The part was never brought to market.[10]
In 1970,Texas Instruments developed a mask-programmable IC based on theIBM read-only associative memory or ROAM. This device, the TMS2000, was programmed by altering the metal layer during the production of the IC. The TMS2000 had up to 17 inputs and 18 outputs with 8JK flip-flops for memory. TI coined the termprogrammable logic array for this device.[4]
A programmable logic array (PLA) has a programmable AND gate array, which links to a programmable OR gate array, which can then be conditionally complemented to produce an output. A PLA is similar to a ROM concept; however, a PLA does not provide full decoding of a variable and does not generate all theminterms as in a ROM.
The programmable logic sequencer (PLS/FPLS) is similar to a PLA, but with integral registered outputs using a number offlip-flops to allow creation of somestate machines.Signetics introduced the first FPLS in 1979.[11]
PAL devices have arrays of transistor cells arranged in a "fixed-OR, programmable-AND" plane used to implement "sum-of-products" binary logic equations for each of the outputs in terms of the inputs and either synchronous or asynchronous feedback from the outputs.
MMI introduced a breakthrough device in 1978, theprogrammable array logic or PAL. The architecture was simpler than that of Signetics' FPLA because it omitted the programmable OR array. This made the parts faster, smaller and cheaper. They were available in 20-pin 300-mil DIP packages, while the FPLAs came in 28-pin 600-mil packages. The PAL Handbook demystified the design process. The PALASM design software (PAL assembler) converted the engineers' Boolean equations into the fuse pattern required to program the part. The PAL devices were soonsecond-sourced by National Semiconductor, Texas Instruments and AMD.
After MMI succeeded with the 20-pin PAL parts,AMD introduced the 24-pin22V10 PAL with additional features. After buying out MMI (1987), AMD spun off a consolidated operation asVantis, and that business was acquired byLattice Semiconductor in 1999.

An improvement on the PAL was the generic array logic device, or GAL, invented byLattice Semiconductor in 1985. This device has the same logical properties as the PAL but can be erased and reprogrammed. The GAL is very useful in the prototyping stage of a design when anybugs in the logic can be corrected by reprogramming. GALs are programmed and reprogrammed using a PAL programmer, or, in the case of chips that support it, by using thein-circuit programming technique.
Lattice GALs combineCMOS and electrically erasable (E2) floating gate technology for a high-speed, low-power logic device. A similar device called a PEEL (programmable electrically erasable logic) was introduced by the International CMOS Technology (ICT) corporation.
Sometimes GAL chips are referred as simple programmable logic device (SPLD), analogous to complex programmable logic device (CPLD) below.
PALs and GALs are available only in small sizes, equivalent to a few hundred logic gates. For bigger logic circuits, complex PLDs orCPLDs can be used. These contain the equivalent of several PALs linked by programmable interconnections, all in oneintegrated circuit. CPLDs can replace thousands, or even hundreds of thousands, of logic gates.
Some CPLDs are programmed using a PAL programmer, but this method becomes inconvenient for devices with hundreds of pins. A second method of programming is to solder the device to its printed circuit board, then feed it with a serial data stream from a personal computer. The CPLD contains a circuit that decodes the data stream and configures the CPLD to perform its specified logic function. Some manufacturers, such asAltera andAtmel (now Microchip), useJTAG to program CPLDs in-circuit from.JAM files.
While PALs were being developed into GALs and CPLDs (all discussed above), a separate stream of development was happening. This type of device is based ongate array technology and is called thefield-programmable gate array (FPGA). Early examples of FPGAs are the 82S100 array and 82S105 sequencer, by Signetics, introduced in the late 1970s. The 82S100 was an array of AND terms. The 82S105 also had flip-flop functions.
(Remark: 82S100 and similar ICs from Signetics have PLA structure, AND-plane + OR-plane.)
FPGAs use a grid oflogic gates, and once stored, the data doesn't change, similar to that of an ordinary gate array. The termfield-programmable means the device is programmed by the customer, not the manufacturer. FPGAs and gate arrays are similar but gate arrays can only be configured at the factory during fabrication.[12][13][14]
FPGAs are usually programmed after being soldered down to the circuit board, in a manner similar to that of larger CPLDs. In most larger FPGAs, the configuration is volatile and must be re-loaded into the device whenever power is applied or different functionality is required. Configuration is typically stored in a configurationPROM,EEPROM or flash memory.[15] EEPROM versions may be in-system programmable (typically viaJTAG).
The difference between FPGAs and CPLDs is that FPGAs are internally based onlook-up tables (LUTs), whereas CPLDs form the logic functions with sea-of-gates (e.g.sum of products). CPLDs are meant for simpler designs, while FPGAs are meant for more complex designs. In general, CPLDs are a good choice for widecombinational logic applications, whereas FPGAs are more suitable for largestate machines such asmicroprocessors.

Using the same technology asEPROMs,EPLDs have a quartz window in the package that allows them to be erased on exposure to UV light.[16][17]
Using the same technology asEEPROMs,EEPLDs can be erased electrically.[16][17]
Anerasable programmable logic device (EPLD) is an integrated circuit that comprises an array of PLDs that do not come pre-connected; the connections are programmed electrically by the user. Most GAL and FPGA devices are examples of EPLDs.[citation needed]
These are microprocessor circuits that contain somefixed functions and other functions that can be altered by code running on the processor. Designing self-altering systems requires that engineers learn new methods and that new software tools be developed.
PLDs are being sold now that contain a microprocessor with a fixed function (the so-calledcore) surrounded by programmable logic. These devices let designers concentrate on adding new features to designs without having to worry about making the microprocessor work. Also, the fixed-function microprocessor takes less space on the chip than a part of the programmable gate array implementing the same processor, leaving more space for the programmable gate array to contain the designer's specialized circuits.
A PLD is a combination of a logic device and amemory device. The memory is used to store the pattern that was given to the chip during programming. Most of the methods for storing data in an integrated circuit have been adapted for use in PLDs. These include:
Silicon antifuses are connections that are made by applying a voltage across a modified area of silicon inside the chip. They are calledantifuses because they work in the opposite way to normal fuses, which begin life as connections until they are broken by an electric current.
SRAM, or static RAM, is a volatile type of memory, meaning that its contents are lost each time the power is switched off. SRAM-based PLDs therefore have to be programmed every time the circuit is switched on. This is usually done automatically by another part of the circuit.
An EPROM memory cell is aMOSFET (metal-oxide-semiconductor field-effect transistor, or MOS transistor) that can be switched on by trapping an electric charge permanently on its gate electrode. This is done by a PAL programmer. The charge remains for many years and can only be removed by exposing the chip to strongultraviolet light in a device called an EPROM eraser.
Flash memory is non-volatile, retaining its contents even when the power is switched off. It is stored onfloating-gate MOSFET memory cells, and can be erased and reprogrammed as required. This makes it useful in PLDs that may be reprogrammed frequently, such as PLDs used in prototypes. Flash memory is a kind of EEPROM that holds information using trapped electric charges similar to EPROM. Consequently, flash memory can hold information for years, but possibly not as many years as EPROM.
As of 2005, most CPLDs are electrically programmable and erasable, and non-volatile. This is because they are too small to justify the inconvenience of programming internal SRAM cells every time they start up, and EPROM cells are more expensive due to their ceramic package with a quartz window.
Many PAL programming devices accept input in a standard file format, commonly referred to as 'JEDEC files'. They are analogous tosoftwarecompilers. The languages used assource code for logic compilers are calledhardware description languages, or HDLs.[1]
PALASM,ABEL andCUPL are frequently used for low-complexity devices, whileVerilog andVHDL are popular higher-level description languages for more complex devices. The more limited ABEL is often used for historical reasons, but for new designs, VHDL is more popular, even for low-complexity designs.
For modern PLD programming languages, design flows, and tools, seeFPGA andreconfigurable computing.
Adevice programmer is used to transfer the Boolean logic pattern into the programmable device. In the early days of programmable logic, every PLD manufacturer also produced a specialized device programmer for its family of logic devices. Later, universal device programmers came onto the market that supported several logic device families from different manufacturers. Today's device programmers usually can program common PLDs (mostly PAL/GAL equivalents) from all existing manufacturers. Common file formats used to store the Boolean logic pattern (fuses) are JEDEC, Altera POF (programmable object file), or Xilinx BITstream.[18]
{{cite book}}: CS1 maint: location missing publisher (link)The registers can be dynamically or permanently configured as D, J-K, or T flip-flops, because of the flexibility offered by the inclusion of the "M" inverters (M0-M5). The outputs of the registers are fed back into the AND-arraybefore reaching the tri-state output buffers, allowing for Mealy and Moore state machine development.