What is inside an FPGA

A field-programmable gate array (FPGA) is a grid of configurable logic blocks joined by programmable interconnect. Each logic block contains lookup tables (LUTs), small memories whose stored bits define a truth table and whose inputs drive multiplexers that select the output, so a k-input LUT can implement any function of k inputs. Flip-flops store state. Many devices also include hard blocks such as block RAM, DSP multiply-accumulate units, clock managers, high-speed serial transceivers and sometimes processor cores. In most FPGAs the configuration lives in SRAM cells and is loaded from external flash at power-up.

From HDL to bitstream

Designs are written in a hardware description language such as Verilog or VHDL. Synthesis maps the logic onto LUTs, flip-flops and hard blocks, recognizing standard coding patterns: a register array written and read synchronously with the clock is usually inferred as block RAM, while an asynchronous read may become flip-flops or distributed memory. Place-and-route then assigns resources and wires, static timing analysis checks clock frequency, and the result is a bitstream loaded into the device. Processing blocks are often linked with standard on-chip interfaces such as AXI4-Stream.

FPGA vs. ASIC

An FPGA needs no masks or fabrication lead time and can be reprogrammed in the field, so bugs and new features can be handled after shipment. The price is overhead: the configurable routing and LUTs make the same function slower, more power-hungry and much larger in area than in an application-specific integrated circuit (ASIC), and the unit price is higher. ASICs win at high volume once their large up-front engineering and mask costs are spread across many units; FPGAs win for prototypes, low volumes and fast-changing requirements.

Where you will meet it

FPGAs appear in communications equipment, test and measurement instruments, video and signal-processing pipelines, industrial control and data-center accelerators. They are also central to verifying large SoCs: mapping the design onto FPGAs (FPGA prototyping) runs it orders of magnitude faster than software simulation, so real operating systems and applications can run before silicon exists. Hardware emulators serve the same purpose with better visibility into internal signals, while FPGA prototypes generally run faster.

Try it: questions about FPGA

Which correctly describes the function of a multiplexer?

  1. AIt stores the input value for one clock cycle
  2. BIt inverts the logic of the input signal
  3. CIt selects one of several inputs according to select signals and outputs it
Show answer and explanation

Answer: C. It selects one of several inputs according to select signals and outputs it

A multiplexer (selector) routes one of several inputs to its output according to a select signal; n select bits choose among 2ⁿ inputs. CPUs use them to pick register values and switch buses, and FPGA logic blocks (LUTs) implement arbitrary logic with memory plus multiplexers. A circuit that routes one input to one of several outputs is a demultiplexer.

Which correctly describes a feature of FPGAs?

  1. AThe circuit is fixed at manufacture and cannot be changed
  2. BThey are devices dedicated to analog circuits
  3. CUsers can rewrite the configuration of the logic circuit after manufacturing
Show answer and explanation

Answer: C. Users can rewrite the configuration of the logic circuit after manufacturing

An FPGA consists of logic blocks with small lookup tables (LUTs) and programmable interconnect whose configuration can be rewritten after manufacture. With no fabrication lead time or mask costs, unlike an ASIC, it suits prototypes, low volumes and equipment needing updates. Its reconfiguration circuitry adds overhead, so the same function in an ASIC is generally faster, lower power and smaller. It is not an analog-only device.

FAQ

What does FPGA stand for?

FPGA stands for field-programmable gate array: a chip whose logic and wiring can be configured by the user after manufacture, in the field, rather than fixed during fabrication.

What is the difference between an FPGA and a microcontroller?

A microcontroller has a fixed processor that executes software instructions one after another. An FPGA has no fixed function; its hardware itself is configured, so many operations can run in parallel every clock cycle, at the cost of a harder design flow.

Does an FPGA keep its configuration when power is off?

Most FPGAs store their configuration in SRAM and lose it at power-off, reloading a bitstream from an external flash memory at each power-up. Some families use on-chip flash or one-time antifuses and are non-volatile.

Questions that mention FPGA (3)

FPGA appears in 5 practice questions across 4 topics, including IC design flow and EDA, HDL & Verification, Logic circuits.

  1. When the code above is synthesized for an FPGA, how is it generally implemented?
  2. In verifying large SoCs, which technique runs the designed circuit on dedicated hardware or FPGAs and verifies it quickly together with software?
  3. What is a characteristic of AXI4-Stream?

Books on IC design flow and EDA Ad

As an Amazon Associate I earn from qualifying purchases.

Comparisons that include this term

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary