What Is an FPGA? How LUTs and Routing Form a Circuit
An FPGA is an integrated circuit that can be configured after manufacturing by setting its logic functions and connections. A two-input XOR example shows how a lookup table works, followed by a vendor-specific design flow and the trade-offs to assess before using an FPGA.
What Is an FPGA? How LUTs and Routing Form a Circuit
A field-programmable gate array (FPGA) is an integrated circuit whose logic functions and connection paths can be configured after manufacturing. Rather than running instructions on a fixed processor structure, FPGA design tools map logic into programmable blocks and routing to build a circuit. This flexibility helps when you need a custom data path or want to iterate on a hardware design, but it does not automatically make software faster: the circuit still needs to be designed and verified for function and timing.
Why use an FPGA?
An application-specific integrated circuit (ASIC) fixes a function in the circuitry during manufacturing. Once the function is stable, this can allow optimization for its target task, but design and verification take time and require upfront investment; changing the circuit after manufacturing is difficult. An FPGA lets designers reconfigure the logic blocks and routing in an already-manufactured chip, so they can try a custom circuit or update a design without making new silicon. The trade-off is that the design must fit the FPGA’s programmable resources and tools. Which option is faster or more economical depends on the device, workload, and development and operating conditions.
FPGAs can be used for digital signal processing that repeatedly handles streams, custom I/O or communications paths, hardware prototypes, and accelerators. For example, AMD documents a Vivado HLS case that describes a multichannel fractional sample-rate conversion filter in C++ and generates synthesizable Verilog or VHDL for an FPGA. It shows one way higher-level code can become hardware; it does not mean that translating code automatically produces a fast circuit. The generated design still needs resource, timing, and interface checks.
A LUT selects a logic result for its inputs
An FPGA contains a grid of logic blocks connected by configurable routing. In Intel’s description, Intel FPGAs use adaptive logic modules (ALMs) as basic blocks; a simplified ALM contains a lookup table (LUT) that implements logic and a register that can store a result. Some FPGAs also include DSP blocks for efficient multiplication or addition and memory blocks. ALM is Intel’s term; resource types and detailed block structures vary by vendor and product family.
Consider a two-input XOR circuit. XOR outputs 1 when the two inputs differ and 0 when they match. Set the four results in the table below in a LUT, and inputs A and B select the result for their combination. This is a simplified model of a LUT. The number of inputs and internal implementation of real FPGA LUTs vary; this does not mean that FPGA devices only have two-input LUTs.
| A | B | XOR output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Connecting the inputs and outputs of multiple LUTs through configurable routing creates larger logic functions and data paths. A register can store a result when needed, forming stages between registers. With a clock, different stages can process different input data at the same time. Pipelining can help improve throughput or meet a clock target, but it may increase the number of clock cycles before a result is complete.
The orange path illustrates one configured route among several choices. The physical placement and routing structure differ by product.
How a design becomes an FPGA circuit
Tools and detailed steps vary by vendor and design method. As one example, AMD Vivado 2026.1’s traditional RTL-to-bitstream flow works as follows.
**Define requirements and choose a target device.** Specify inputs and outputs, data width, clock period, and acceptable latency. Check the target FPGA and board pin and clock requirements.
**Describe the behavior in RTL or a supported higher-level design, then simulate it.** Register-transfer level (RTL) describes how register values and combinational logic change with the clock. Simulation feeds in expected inputs to check functionality. AMD tools support RTL analysis and simulation at multiple stages of the design flow.
**Synthesize the design into a logic network.** Synthesis converts the described behavior into logic blocks, registers, and candidate dedicated resources. Resource reports help assess whether the design may fit the target device.
**Place and route, then analyze timing.** Implementation tools place logic elements on physical device resources and connect signal paths. The path between registers with the greatest delay is the critical path, and its delay limits the maximum achievable clock rate. If the timing target is missed, shorten the logic path or adjust the pipeline, then analyze again.
**Generate a device configuration file and check the actual board.** The implementation result produces a bitstream or other device-specific file that configures the FPGA. Load it onto the board and verify I/O, clocks, reset, and data flow. File formats and programming procedures depend on the device.
A simulation that matches expected results, implementation reports that meet resource and timing constraints, and board I/O that behaves as specified provide evidence to proceed. If the design does not fit, reduce unnecessary logic or consider dedicated DSP and memory resources; if it still does not fit, compare a larger device. If timing fails, first inspect the critical path and constraints, then adjust the logic or pipeline. Lowering the clock target should only be considered if the system can tolerate the resulting latency or throughput.
How does an FPGA differ from a CPU, GPU, or ASIC?
| Option | How the hardware operates | When to consider it | Main trade-off |
|---|---|---|---|
| CPU or GPU | Runs programs on an already-designed processor structure | You want to use established software and libraries for varied programs | The workload must be organized for the processor’s execution model |
| FPGA | Builds a data path from reconfigurable logic and routing | You need custom parallel logic or I/O paths, and may need to update the design | Hardware design and verification, resource limits, and timing constraints |
| ASIC | Fixes a circuit for a specific function during manufacturing | The function is stable and specialization can justify development and manufacturing costs | Large pre-manufacturing verification and investment burden; difficult to change |
Intel notes that a custom ASIC can outperform an FPGA on a specific task, while requiring more development time and money. This is not a universal product ranking or break-even rule. To assess an FPGA, define the actual data flow and correctness requirements, implement the design with supported tools, and check resource reports, critical paths, board interfaces, and end-to-end system latency. These checks are more useful than deciding from logic-block counts or peak clock rate alone.
Sources
[Intel oneAPI FPGA Handbook 2025.0: FPGA Architecture Overview](https://www.intel.com/content/www/us/en/docs/oneapi-fpga-add-on/developer-guide/2025-0/fpga-architecture-overview.html)
[Intel oneAPI FPGA Handbook 2025.0: Concepts of FPGA Hardware Design](https://www.intel.com/content/www/us/en/docs/oneapi-fpga-add-on/developer-guide/2025-0/concepts-of-fpga-hardware-design.html)
[AMD Vivado Design Suite User Guide: Design Flows Overview (UG892), 2026.1](https://docs.amd.com/r/en-US/ug892-vivado-design-flows-overview)
[AMD: Programmable Logic, Versal AI Edge and Prime Series Gen 2 Technical Reference Manual (AM026), 2026.1](https://docs.amd.com/r/en-US/am026-versal-ai-edge-prime-gen2-trm/Programmable-Logic)
[AMD: Digital Signal Processing Solutions](https://www.amd.com/en/products/adaptive-socs-and-fpgas/technologies/digital-signal-processing.html)
References
- Intel oneAPI FPGA Handbook 2025.0: FPGA Architecture Overview
- Intel oneAPI FPGA Handbook 2025.0: Concepts of FPGA Hardware Design
- AMD Vivado Design Suite User Guide: Design Flows Overview (UG892), 2026.1
- AMD: Programmable Logic, Versal AI Edge and Prime Series Gen 2 Technical Reference Manual (AM026), 2026.1
- AMD: Digital Signal Processing Solutions