All Topics  
Programmable logic device

 

 

 

 

 

Programmable logic device


 
 


A programmable logic device or PLD is an electronicElectronics

The field of electronics comprises the study and use of systems that operate by controlling the flow of electrons in device...
 component used to build reconfigurableFacts About Reconfigurable computing

Reconfigurable computing is computer processing with highly flexible computing fabrics....
 digital circuitDigital circuit

A digital circuit is based on a number of discrete voltage levels, as distinct from an analog circuit that uses continuous v...
s. Unlike a logic gateLogic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output....
, which has a fixed function, a PLD has an undefined function at the time of manufacture. Before the PLD can be used in a circuit it must be programmed (i. e. reconfiguredReconfigurable computing

Reconfigurable computing is computer processing with highly flexible computing fabrics....
).

Using a ROM as a PLD


Before PLDs were invented, read-only memoryRead-only memory

Read-only memory is a class of storage media used in computers and other electronic devices....
 (ROM) chips were used to create arbitrary combinational logicCombinational logic Overview

----In digital circuit theory, combinational logic is a type of logic circuit whose output is a function of the present inp...
 functions of a number of inputs. Consider a ROM with m inputs (the address lines) and n outputs (the data lines). When used as a memory, the ROM contains words of n bits each. Now imagine that the inputs are driven not by an m-bit address, but by m independent logic signals. Theoretically, there are possible Boolean functionBoolean function

In mathematics, a finitary boolean function is a function of the form f : Bk → B, where B =&...
s of these m signals, but the structure of the ROM allows just n of these functions to be produced at the output pins. The ROM therefore becomes equivalent to n separate logic circuits, each of which generates a chosen function of the m inputs.

The advantage of using a ROM in this way is that any conceivable function of the m inputs can be made to appear at any of the n outputs, making this the most general-purpose combinatorial logic device available. Also, PROMsProgrammable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting...
 (programmable ROMs), EPROMEPROM

An EPROM, or erasable programmable read-only memory, is a type of computer memory chip that retains its data when its po...
s and EEPROMEEPROM

An EEPROM or Electrically Erasable Programmable Read-Only Memory, is a non-volatile sto...
s (electrically erasable PROMs) are available that can be programmed using a standard PROM programmer without requiring specialised hardware or software. However, there are several disadvantages:
  • they are usually much slower than dedicated logic circuits,
  • they cannot necessarily provide safe "covers" for asynchronous logic transitions so the PROM's outputs may glitch as the inputs switch,
  • they consume more power, and
  • because only a small fraction of their capacity is used in any one application, they often make an inefficient use of space.


Since most ROMs do not have input or output registers, they cannot be used stand-alone for sequential logicSequential logic

In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present input bu...
. An external TTLTransistor-transistor logic

Transistor-Transistor Logic is a class of digital circuits built from bipolar junction transistors , and resistors....
 register was often used for sequential designs such as state machines. Common EPROMEPROM

An EPROM, or erasable programmable read-only memory, is a type of computer memory chip that retains its data when its po...
s, for example the 2716, are still sometimes used in this way by hobby circuit designers, who often have some lying around. This use is sometimes called a 'poor man's PALProgrammable Array Logic

The term Programmable Array Logic is used to describe a family of programmable logic device semiconductors used to implement...
'.

Early programmable logic

In 1970, Texas InstrumentsTexas Instruments

| homepage =}}Texas Instruments , better known in the electronics industry as TI, is an American company ba...
 developed a mask-programmable IC based on the IBMIBM

company_name = International Business Machines Corporation |...
 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 8 JK flip flop for memory. TI coined the term Programmable Logic ArrayProgrammable logic array Summary

A programmable logic array is a programmable device used to implement combinational logic circuits....
 for this device.

In 1973 National SemiconductorNational Semiconductor

Headquartered in Santa Clara, California, National Semiconductor is one of the largest semiconductor manufacturers....
 introduced a mask-programmable PLAProgrammable logic array

A programmable logic array is a programmable device used to implement combinational logic circuits....
 device (DM7575) with 14 inputs and 8 outputs with no memory registers. This was more popular than the TI part but 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 by SigneticsSignetics

Signetics, once a major player in semiconductor manufacturing, made a variety of devices which included integrated circuits,...
 in 1975, the 82S100. (Intersil actually beat Signetics to market but poor yield doomed their part.)

In 1971, General ElectricGeneral Electric

The General Electric Company, or GE is a multinational American technology and services conglomerate....
 Company (GE) was developing a programmable logic device based on the new PROMProgrammable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting...
 technology. This experimental device improved on IBM's ROAM by allowing multilevel logic. Intel had just introduced the floating-gate UVUltraviolet

Ultraviolet light is electromagnetic radiation with a wavelength shorter than that of visible light, but longer than soft X...
 erasable PROM so the researcher at GE incorporated that technology. The GE device was the first erasable PLD ever developed, predating the AlteraAltera Overview

...
 EPLD by over a decade. GE obtained several early patents on programmable logic devices.

In 1974 GE entered into an agreement with Monolithic MemoriesMonolithic Memories Overview

Monolithic Memories, Inc. produced bipolar PROMs, programmable logic devices, and logic circuits....
 to develop a mask- programmable logic device incorporating the GE innovations. The device was named the 'Programmable 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.

PAL


MMI introduced a breakthrough device in 1978, the Programmable Array LogicProgrammable Array Logic

The term Programmable Array Logic is used to describe a family of programmable logic device semiconductors used to implement...
 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 soon second-sourcedSecond source

In the electronics industry, a second source is a company that is licensed to manufacture and sell components originally des...
 by National Semiconductor, Texas Instruments and AMD.

After MMI succeeded with the 20-pin PAL parts, AMD introduced the 24-pin 22V10 PAL with additional features. After buying out MMI (1987), AMD spun off a consolidated operation as VantisVantis

Vantis was a semiconductor company that produced programmable logic devices....
, and that business was acquired by Lattice SemiconductorFacts About Lattice Semiconductor

Lattice Semiconductor Corporation is a leading manufacturer of high-performance programmable logic devices, field-programmab...
 in 1999.

There are also PLA's : Programmable Logic Array.

GALs


An innovation of the PAL was the generic array logic device, or GAL, invented by Lattice SemiconductorLattice Semiconductor

Lattice Semiconductor Corporation is a leading manufacturer of high-performance programmable logic devices, field-programmab...
 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 any bugs in the logic can be corrected by reprogramming. GALs are programmed and reprogrammed using a PAL programmer, or by using the in-circuit programming technique on supporting chips.

Lattice GALs combine CMOSCMOS

Complementary metaloxidesemiconductor , is a major class of integrated circuits....
 and electrically erasable (E^2) 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.

CPLDs

PALs and GALs are available only in small sizes, equivalent to a few hundred logic gates. For bigger logic circuits, complex PLDs or CPLDCPLD

CPLD stands for Complex Programmable Logic Device....
s can be used. These contain the equivalent of several PALs linked by programmable interconnections, all in one integrated circuitIntegrated circuit

A monolithic integrated circuit is a miniaturized electronic circuit which has been manufactured in the surface of a thin ...
. 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 boardPrinted circuit board

In electronics, printed circuit boards, or PCBs, are used to mechanically support and electrically connect elect...
, then feed it with a serial data stream from a personal computerPersonal computer

A personal computer is usually a microcomputer whose price, size, and capabilities make it suitable for personal usage....
. The CPLD contains a circuit that decodes the data stream and configures the CPLD to perform its specified logic function.

Each manufacturer has a proprietary name for this programming system. For example, Lattice SemiconductorLattice Semiconductor

Lattice Semiconductor Corporation is a leading manufacturer of high-performance programmable logic devices, field-programmab...
 calls it "in-system programming". However, these proprietary systems are beginning to give way to a standard from the Joint Test Action Group.

FPGAs

While PALs were busy developing into GALs and CPLDs (all discussed above), a separate stream of development was happening. This type of device is based on gate arrayGate array

A gate array or uncommitted logic array is an approach to the design and manufacture of application-specific integrate...
 technology and is called the field-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.

FPGAs use a grid of logic gates, similar to that of an ordinary gate array, but the programming is done by the customer, not by the manufacturer. The term "field-programmable" means the array is done outside the factory, or "in the field."

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 configuration PROMProgrammable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting...
 or EEPROMEEPROM

An EEPROM or Electrically Erasable Programmable Read-Only Memory, is a non-volatile sto...
. EEPROM versions may be in-system programmable (typically via JTAGJTAG

JTAG, an acronym for Joint Test Action Group, is the usual name used for the IEEE 1149.1 standard entitled Standard...
).

FPGAs and CPLDs are often equally good choices for a particular task. Sometimes the decision is more an economic one than a technical one, or may depend on the engineer's personal preference or experience.

Other variants

At present, much interest exists in reconfigurableReconfigurable computing Summary

Reconfigurable computing is computer processing with highly flexible computing fabrics....
 systems. These are microprocessor circuits that contain some fixed functions and other functions that can be altered by code running on the processor. Designing self-altering systems requires engineers to 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-called core) surrounded by programmable logic. These devices let designers concentrate on adding new features to designs without having to worry about making the microprocessor work.

How PLDs retain their configuration

A PLD is a combination of a logic device and a memory 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 antifuseAntifuse

    An antifuse is an electrical device that performs the opposite function to a fuse....
    s
  • SRAMStatic random access memory

    Static random access memory is a type of semiconductor memory....
  • EPROMEPROM Overview

    An EPROM, or erasable programmable read-only memory, is a type of computer memory chip that retains its data when its po...
     or EEPROMEEPROM

    An EEPROM or Electrically Erasable Programmable Read-Only Memory, is a non-volatile sto...
     cells
  • Flash memoryFlash memory

    Flash memory is a form of non-volatile computer memory that can be electrically erased and reprogrammed....



Silicon antifuses are the storage elements used in the PAL, the first type of PLD. These are connections that are made by applying a voltage across a modified area of silicon inside the chip. They are called antifuses 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 EPROMEPROM

An EPROM, or erasable programmable read-only memory, is a type of computer memory chip that retains its data when its po...
 cell is a MOS transistorTransistor

The transistor is a three terminal solid state semiconductor device that can be used for amplification, switching, voltage s...
 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 strong ultravioletFacts About Ultraviolet

Ultraviolet light is electromagnetic radiation with a wavelength shorter than that of visible light, but longer than soft X...
 light in a device called an EPROM eraser.

Flash memory is non-volatile, retaining its contents even when the power is switched off. It can be erased and reprogrammed as required. This makes it useful for PLD memory.

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.

PLD programming languages

Many PAL programming devices accept input in a standard file format, commonly referred to as 'JEDEC files'.They are analogous to software compilerCompiler

A compiler is a computer program that translates text written in a computer language into another computer language ....
s. The languages used as source code for logic compilers are called hardware description languageFacts About Hardware description language

In electronics, a hardware description language or HDL is any language from a class of computer languages for formal d...
s, or HDLs.

PALASMPALASM

PALASM is an early hardware description language, used to program Programmable Array Logic devices introduced by Monolithic ...
 and ABEL are frequently used for low-complexity devices, while VerilogVerilog

Verilog is a hardware description language used to model electronic systems....
 and VHDL 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 see FPGA and Reconfigurable ComputingReconfigurable computing

Reconfigurable computing is computer processing with highly flexible computing fabrics....
.

PLD programming devices

A device 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 his 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 PLDs from all existing manufacturers.

See also

  • CPLDCPLD

    CPLD stands for Complex Programmable Logic Device....
  • Macrocell arrayMacrocell array Summary

    A macrocell array is an approach to the design and manufacture of ASICs....
  • Programmable array logicProgrammable Array Logic

    The term Programmable Array Logic is used to describe a family of programmable logic device semiconductors used to implement...
     (PAL)
  • Field-programmable gate arrayField-programmable gate array

    A field programmable gate array is a semiconductor device containing programmable logic components and programmable interco...
     (FPGA)
  • Application-specific integrated circuitApplication-specific integrated circuit

    An application-specific integrated circuit is an integrated circuit customised for a particular use, rather than intended fo...
     (ASIC)
  • Programmable logic controllerProgrammable logic controller

    A Programmable Logic Controller, PLC, or Programmable Controller is a small computer used for automation of rea...
     (PLC)