All Topics  
Programmable logic device

 
Programmable Logic Device

   Email Print
   Bookmark   Link






 

Programmable logic device



 
 
A programmable logic device or PLD is an electronic
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
 component used to build reconfigurable
Reconfigurable computing

Reconfigurable computing is a computing paradigm combining some of the flexibility of software with the high performance of hardware by processing with very flexible high speed computing fabrics like FPGAs....
 digital circuit
Digital circuit

Digital electronics are electronics systems that use digital signals. Digital electronics are representations of Boolean algebra and are used in computers, mobile phones, and other consumer products....
s. Unlike a logic gate
Logic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits....
, 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. reconfigured
Reconfigurable computing

Reconfigurable computing is a computing paradigm combining some of the flexibility of software with the high performance of hardware by processing with very flexible high speed computing fabrics like FPGAs....
).

Using a ROM as a PLD
Before PLDs were invented, read-only memory
Read-only memory

Read-only memory is a class of computer storage media used in computers and other electronic devices. Because data stored in ROM cannot be modified , it is mainly used to distribute firmware ....
 (ROM) chips were used to create arbitrary combinational logic
Combinational logic

In digital circuit theory, combinational logic is a type of logic circuit whose output is a pure function of the present input only. This is in contrast to sequential logic, in which the output depends not only on the present input but also on the history of the input....
 functions of a number of inputs.






Discussion
Ask a question about 'Programmable logic device'
Start a new discussion about 'Programmable logic device'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A programmable logic device or PLD is an electronic
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
 component used to build reconfigurable
Reconfigurable computing

Reconfigurable computing is a computing paradigm combining some of the flexibility of software with the high performance of hardware by processing with very flexible high speed computing fabrics like FPGAs....
 digital circuit
Digital circuit

Digital electronics are electronics systems that use digital signals. Digital electronics are representations of Boolean algebra and are used in computers, mobile phones, and other consumer products....
s. Unlike a logic gate
Logic gate

A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits....
, 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. reconfigured
Reconfigurable computing

Reconfigurable computing is a computing paradigm combining some of the flexibility of software with the high performance of hardware by processing with very flexible high speed computing fabrics like FPGAs....
).

Using a ROM as a PLD


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

Read-only memory is a class of computer storage media used in computers and other electronic devices. Because data stored in ROM cannot be modified , it is mainly used to distribute firmware ....
 (ROM) chips were used to create arbitrary combinational logic
Combinational logic

In digital circuit theory, combinational logic is a type of logic circuit whose output is a pure function of the present input only. This is in contrast to sequential logic, in which the output depends not only on the present input but also on the history of the input....
 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 function
Boolean function

In mathematics, a Boolean function is a function of the form f : Bk ? B, where B =  is a Boolean domain and k is a nonnegative integer called the arity of the function....
s of these m signals, but the structure of the ROM allows just 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, PROMs
Programmable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting of each bit is locked by a Fuse or antifuse....
 (programmable ROMs), EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
s (ultraviolet
Ultraviolet

Ultraviolet light is electromagnetic radiation with a wavelength shorter than that of visible light, but longer than x-rays, in the range 400 nanometer to 10 nm, and energies from 3 Electron volt to 124 eV....
-erasable PROMs) and EEPROM
EEPROM

EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration....
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 logic
Sequential logic

In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present input but also on the history of the input....
. An external TTL
Transistor-transistor logic

File:68k ttl.jpgTransistor?transistor logic is a class of digital circuits built from bipolar junction transistors and resistors. It is called transistor?transistor logic because both the logic gating function and the amplifying function are performed by transistors ....
 register was often used for sequential designs such as state machines. Common EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
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 PAL
Programmable Array Logic

File:AMD PAL 22V10.jpgThe term Programmable Array Logic is used to describe a family of programmable logic device semiconductors used to implement logic functions in digital electrical network introduced by Monolithic Memories, Inc....
'.

Early programmable logic

In 1970, Texas Instruments
Texas Instruments

Texas Instruments , better known in the electronics industry as TI, is an United States company based in Dallas, Texas, Texas, United States, renowned for developing and commercializing semiconductor and computer technology....
 developed a mask-programmable IC based on the IBM
IBM

International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
 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 Array
Programmable logic array

A programmable logic array is a programmable device used to implement combinational logic electrical network. 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....
 for this device.

In 1973 National Semiconductor
National Semiconductor

National Semiconductor is a semiconductor manufacturer, specializing in analog devices and subsystems,headquartered in Santa Clara, California, California, United States....
 introduced a mask-programmable PLA
Programmable logic array

A programmable logic array is a programmable device used to implement combinational logic electrical network. 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....
 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 Signetics
Signetics

Signetics, once a major player in semiconductor manufacturing, made a variety of devices which included integrated circuits, bipolar junction transistor and MOSFET, the Dolby circuit, logic, memory and analog circuits and Motorola clone CPUs, some of which were included in the first Atari video games....
 in 1975, the 82S100. (Intersil actually beat Signetics to market but poor yield doomed their part.)

In 1971, General Electric
General Electric

The General Electric Company, or GE is a multinational corporation United States technology and Service s conglomerate incorporated in the State of New York....
 Company (GE) was developing a programmable logic device based on the new PROM
Programmable read-only memory

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

Ultraviolet light is electromagnetic radiation with a wavelength shorter than that of visible light, but longer than x-rays, in the range 400 nanometer to 10 nm, and energies from 3 Electron volt to 124 eV....
 erasable PROM so the researcher at GE incorporated that technology. The GE device was the first erasable PLD ever developed, predating the Altera
Altera

Altera Corporation are a major manufacturer of high-end PLDs . Altera's main products are the Cyclone and Stratix series of FPGAs , the MAX series of CPLDs , the Hardcopy series of structured ASICs and the Quartus II software....
 EPLD by over a decade. GE obtained several early patents on programmable logic devices.

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

Monolithic Memories, Inc. produced bipolar PROMs, programmable logic devices, and logic circuits .A team of MMI engineers,under the direction of Ze'ev Drori and headed by John Birkner and H....
 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 Logic
Programmable Array Logic

File:AMD PAL 22V10.jpgThe term Programmable Array Logic is used to describe a family of programmable logic device semiconductors used to implement logic functions in digital electrical network introduced by Monolithic Memories, Inc....
 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-sourced
Second source

In the electronics industry, a second source is a company that is licensed to manufacture and sell components originally designed by another company ....
 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 Vantis, and that business was acquired by Lattice Semiconductor
Lattice Semiconductor

Lattice Semiconductor Corporation is a United States based manufacturer of high-performance programmable logic devices . The Oregon based company is the number four ranked company in world market share for FPGA devices, and number two for CPLDs & SPLDs....
 in 1999.

There are also PLA's : Programmable Logic Array.

GALs

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

Lattice Semiconductor Corporation is a United States based manufacturer of high-performance programmable logic devices . The Oregon based company is the number four ranked company in world market share for FPGA devices, and number two for CPLDs & SPLDs....
 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 CMOS
CMOS

Complementary metal?oxide?semiconductor , is a major class of integrated circuits. CMOS technology is used in microprocessors, microcontrollers, Static Random Access Memory, and other digital logic 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 CPLD
CPLD

A complex programmable logic device is a programmable logic device with complexity between that of Programmable Array Logics and Field-programmable gate arrays, and architectural features of both....
s can be used. These contain the equivalent of several PALs linked by programmable interconnections, all in one integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
. 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.

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

Lattice Semiconductor Corporation is a United States based manufacturer of high-performance programmable logic devices . The Oregon based company is the number four ranked company in world market share for FPGA devices, and number two for CPLDs & SPLDs....
 calls it "in-system programming". However, these proprietary systems are beginning to give way to a standard from the Joint Test Action Group JTAG.

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 array
Gate array

A gate array or uncommitted logic array is an approach to the design and manufacture of application-specific integrated circuits . A gate array circuit is a prefabricated silicon chip circuit with no particular function in which transistors, standard NAND or NOR logic gates, and other active devices are placed at regular predefined pos...
 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 PROM
Programmable read-only memory

A programmable read-only memory or field programmable read-only memory is a form of digital memory where the setting of each bit is locked by a Fuse or antifuse....
 or EEPROM
EEPROM

EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration....
. EEPROM versions may be in-system programmable (typically via JTAG
JTAG

Joint Test Action Group is the common name used for the Institute of Electrical and Electronics Engineers 1149.1 standard entitled Standard Test Access Port and Boundary-Scan Architecture for test access ports used for testing printed circuit boards using boundary scan....
).

The main difference between FPGAs and CPLDs is that FPGAs have a volatile memory, thus it requires to be programmed after power up. CPLDs do not. Also, FPGAs usually consume more power than CPLDs due to their SRAM nature. Finally, CPLDs do not have as many registers or memory storage as FPGAs. In general CPLDs are a good choice for wide combinatorial logic applications while FPGAs are more suitable for large state machines (i.e. microprocessors).

Other variants

At present, much interest exists in reconfigurable
Reconfigurable computing

Reconfigurable computing is a computing paradigm combining some of the flexibility of software with the high performance of hardware by processing with very flexible high speed computing fabrics like FPGAs....
 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
Computer memory

Computer memory is usually meant to refer to the semiconductor technology that is used to store information in Electronics devices. Current primary computer memory makes use of integrated circuits consisting of silicon-based transistors....
 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 antifuse
    Antifuse

    An antifuse is an electrical device that performs the opposite function to a Fuse . Whereas a fuse starts with a low resistance and is designed to permanently break an Electrical conduction path , an antifuse starts with a high resistance and is designed to permanently create an electrically conductive path ....
    s
  • SRAM
    Static random access memory

    Static random access memory is a type of semiconductor memory where the word static indicates that, unlike dynamic random access memory, it does not need to be periodically memory refresh, as SRAM uses bistable latch to store each bit....
  • EPROM
    EPROM

    An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
     or EEPROM
    EEPROM

    EEPROM stands for Electrically Erasable Programmable Read-Only Memory and is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration....
     cells
  • Flash memory
    Flash memory

    Flash memory is a non-volatile memory computer storage that can be electrically erased and reprogrammed. It is a technology that is primarily used in memory cards and USB flash drives for general storage and transfer of data between computers and other digital products....


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 EPROM
EPROM

An EPROM, or Erasable Programmable Read Only Memory, is a type of memory integrated circuit that retains its data when its power supply is switched off....
 cell is a MOS (metal
Metal

In chemistry, a metal is a chemical element whose atoms readily lose electrons to form positive ions , and form metallic bonds between other metal atoms and ionic bonds between nonmetal atoms....
-oxide
Oxide

An oxide is a chemical compound contaning at least one oxygen atom as well as at least one other element. Most of the Earth's crust consists of oxides....
-semiconductor
Semiconductor

A semiconductor is a material that has electrical conductivity between those of a Electrical conductor and an electrical insulation; it can vary over that wide range either permanently or dynamically....
) transistor
Transistor

In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
 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 ultraviolet
Ultraviolet

Ultraviolet light is electromagnetic radiation with a wavelength shorter than that of visible light, but longer than x-rays, in the range 400 nanometer to 10 nm, and energies from 3 Electron volt to 124 eV....
 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 compiler
Compiler

A compiler is a computer program that transforms source code written in a programming language into another computer language . The most common reason for wanting to transform source code is to create an executable program....
s. The languages used as source code for logic compilers are called hardware description language
Hardware description language

In electronics, a hardware description language or HDL is any language from a class of computer languages and/or programming languages for formal description of digital logic and electronic circuits....
s, or HDLs.

PALASM
PALASM

PALASM is an early hardware description language, used to translate Boolean functions and state transition tables into a fuse map for use with programmable array logic devices introduced by Monolithic Memories, Inc....
 and ABEL are frequently used for low-complexity devices, while Verilog
Verilog

In the semiconductor and electronic design industry, Verilog is a hardware description language used to model Electronics#Electronic systems. Verilog HDL, not to be confused with VHDL, is most commonly used in the design, verification, and implementation of Digital circuit logic chips at the Register transfer level level of Abstraction...
 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 Computing
Reconfigurable computing

Reconfigurable computing is a computing paradigm combining some of the flexibility of software with the high performance of hardware by processing with very flexible high speed computing fabrics like FPGAs....
.

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 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 .

See also

  • CPLD
    CPLD

    A complex programmable logic device is a programmable logic device with complexity between that of Programmable Array Logics and Field-programmable gate arrays, and architectural features of both....
  • Macrocell array
    Macrocell array

    A macrocell array is an approach to the design and manufacture of Application-specific integrated circuits. Essentially, it is a small step up from the otherwise similar gate array, but rather than being a prefabricated array of simple logic gates, the macrocell array is a prefabricated array of higher-level logic functions such as Flip-flop...
  • Programmable array logic
    Programmable Array Logic

    File:AMD PAL 22V10.jpgThe term Programmable Array Logic is used to describe a family of programmable logic device semiconductors used to implement logic functions in digital electrical network introduced by Monolithic Memories, Inc....
     (PAL)
  • Field-programmable gate array
    Field-programmable gate array

    A field-programmable gate array is a semiconductor device that can be configured by the customer or designer after manufacturing—hence the name "field-programmable"....
     (FPGA)
  • Application-specific integrated circuit
    Application-specific integrated circuit

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

    A programmable logic controller or programmable controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, control of amusement rides, or control of lighting fixtures....
     (PLC)
  • Memristor
    Memristor

    Memristors are a class of Passive circuit element two-terminal circuit elements that maintain a function al relationship between the time integrals of electric current and voltage....