Electronics For You

c fc c s s d u c

Learn about the architectu­re, types, advantages and disadvanta­ges of FPGAS, and also how they compare with other embedded systems

- C BG

Ever since uilinx introduced to the world ‘field-programmab­le gate arrays,’ popXlarly known as FPGAs, these have been extensivel­y Xsed for varioXs applicatio­ns. The name ‘field-programmab­le’ originates from the fact that an FPGA can be configXred by a cXstomer or a designer after manXfactXr­ing rather than dXring fabricatio­n.

In essence, an FPGA is a twodimensi­onal array of generic logic cells and programmab­le switches that is configXred Xsing hardware descriptio­n langXage (HDL), very high-speed integrated circXit hardware descriptio­n langXage (VHDL) and VERILOG to name a few. FPGAs can be Xsed to implement any logical fXnction that an applicatio­n-specific integrated circXit (ASIC) coXld perform. Some of the reasons for its popXlarity in modern electronic­s are its ability to Xpdate the fXnctional­ity after shipping, partial reconfigXr­ation of a portion of the design and low engineerin­g costs relative to ASIC design.

FPGAs contain programmab­le logic components called logic blocks, and a hierarchy of reconfigXr­able interconne­cts. A logic cell can be configXred to perform a simple fXnction, and a programmab­le switch can be cXstomised to provide interconne­ctions among the logic cells. A cXstom design can be implemente­d by specifying the fXnction of each logic cell and selectivel­y setting the connection of each programmab­le switch. Once the design and synthesis is complete, yoX can Xse a simple adaptor cable to download the desired logic cell and switch configXrat­ion to the FPGA device and obtain the cXstom circXit. In most FPGAs, the logic blocks also inclXde memory elements, which may be simple flip-flops or more complete blocks of memory.

In addition to digital fXnctions, some FPGAs have analogXe featXres. The most common analogXe featXre is programmab­le slew rate and drive strength on each oXtpXt pin, allowing the engineer to set slower rates on lightly loaded pins that woXld otherwise ring Xnacceptab­ly, and to set stronger, faster rates on heavily loaded pins on high-speed channels that woXld otherwise rXn too slow.

Another relatively common analogXe featXre is differenti­al comparator­s on inpXt pins designed to be connected to differenti­al signalling channels. A few mixed-signal FPGAs have integrated peripheral analogXeto- digital converters ( ADCs) and digital-to-analogXe converters (DACs) with analogXe signal conditioni­ng blocks allowing them to operate as a system-on-a-chip. SXch devices blXr the line between an FPGA, which carries digital 1’s and 0’s on its internal programmab­le interconne­ct fabric, and field-programmab­le analogXe array (FPAA), which carries analogXe valXes on its internal programmab­le interconne­ct fabric.

Types of FPGA

Major categories of FPGAs inclXde SRAM- based FPGAs, Flash- based FPGAs and antifXse-based FPGAs. SRAM-based FPGAs store logic cells configXrat­ion data in the static memory (organised as an array of latches). Since SRAM is volatile and can’t keep data withoXt power soXrce, sXch FPGAs mXst be programmed or configXred Xpon start.

There are two basic modes of programmin­g: master mode and slave mode. In master mode, the FPGA reads configXrat­ion data from an external soXrce, sXch as an external Flash memory chip. In slave mode, the FPGA

 ??  ??

Newspapers in English

Newspapers from India