Back to Study Hub
FPGA• 14 min read

FPGA Architecture and Design Flow: CLBs, LUTs, Routing and Configuration

Complete FPGA guide for Wireless PSI and GPSC exams: CLBs, LUTs, programmable routing, I/O blocks, SRAM vs antifuse configuration, FPGA vs CPLD vs ASIC, and the HDL-to-bitstream design flow.

By MCQ Arena TeamUpdated June 24, 2026

A Field Programmable Gate Array (FPGA) is a digital integrated circuit whose internal logic and interconnections can be configured by the user after manufacturing. Instead of fixing the function in silicon at the foundry, an FPGA ships as a sea of generic logic resources that you program to behave like almost any digital circuit, from a simple counter to a complete processor.

This article explains what an FPGA is, how it differs from CPLDs and ASICs, and its internal architecture: configurable logic blocks (CLBs), look-up tables (LUTs), flip-flops, programmable routing and I/O blocks. We then walk through the design flow from HDL to bitstream and compare configuration technologies. These topics are frequently tested in Wireless PSI and GPSC technical papers, so expect direct questions on LUT capacity, configuration memory types and the place-and-route stage.

What Is an FPGA?

An FPGA is a programmable logic device (PLD) built from a large array of small logic blocks surrounded by a flexible network of programmable wires. Each logic block can implement small Boolean functions and store bits in flip-flops, while the routing network connects blocks together to form larger circuits. The word field-programmable means the device is configured in the field by the engineer, not at the semiconductor fab.

Functionally, the FPGA contains three resource types: logic (CLBs with LUTs and flip-flops), interconnect (programmable switches and wire segments) and I/O (input/output blocks at the periphery). A configuration memory holds the pattern of bits that decides what each LUT computes and which switches are closed. Change those bits and you change the circuit.

FPGA vs CPLD vs ASIC

To place the FPGA correctly, compare it with the two devices it sits between. A CPLD (Complex Programmable Logic Device) uses a smaller number of larger logic blocks based on sum-of-products (PAL/PLA) arrays with non-volatile flash configuration, giving predictable timing but lower capacity. An ASIC (Application Specific Integrated Circuit) is custom-fabricated for one function, offering the best speed, power and unit cost at very high volumes but with huge upfront cost and no reprogrammability.

FeatureFPGACPLDASIC
Logic capacityVery highLow to mediumHighest
ArchitectureLUT-based CLBs + routingAND-OR (PAL/PLA) macrocellsFully custom gates
ConfigurationMostly SRAM (volatile)Flash/EEPROM (non-volatile)Fixed in silicon
ReprogrammableYes, unlimitedYes, limited cyclesNo
Power-up behaviourNeeds reloading bitstreamInstant-onInstant-on
Timing predictabilityRouting dependentVery predictableBest, deterministic
Upfront cost (NRE)LowLowVery high
Unit cost at high volumeHighMediumLowest
Time to marketFastFastSlow

Exam tip: Remember that CPLDs are non-volatile and instant-on because their configuration sits in flash, whereas most FPGAs use volatile SRAM and must reload their bitstream from an external flash chip at every power-up.

Configurable Logic Blocks (CLBs)

The CLB is the fundamental logic resource of the FPGA. A CLB typically groups several smaller units (often called slices or logic elements), and each contains one or more look-up tables, a few flip-flops, fast carry logic for arithmetic, and multiplexers that steer signals. The LUT provides the combinational logic, and the flip-flop provides storage for sequential logic, so a single CLB can implement both the next-state logic and the state registers of a small state machine.

Carry chains inside CLBs are dedicated fast paths used for adders and counters, avoiding the slower general routing. Common mistake: assuming each CLB holds only one gate. In reality a CLB is a flexible block whose LUTs can implement any function of their inputs, not a single fixed gate.

Look-Up Tables and How They Implement Any Function

A look-up table (LUT) is a tiny memory that stores the complete truth table of a Boolean function. The input variables act as the memory address, and the stored bit at that address is the output. Because every possible input combination has its own stored output bit, a k-input LUT can realise any function of k variables simply by loading the right truth-table bits during configuration.

a k-input LUT stores 2k bits

A k-input LUT must store one output bit for every input combination

For a common 4-input LUT this means 24 = 16 configuration bits; a 6-input LUT stores 26 = 64 bits. To map a function such as F = A·B + C onto a 3-input LUT, you build the 3-variable truth table for F and write those 8 output bits into the LUT memory. Functions of more than k variables are split across several LUTs and combined through routing or dedicated multiplexers.

LUT size (k)Variables handledConfiguration bits (2 to the k)
224
338
4416
5532
6664

Exam tip: If a question asks how many SRAM bits a single 4-input LUT needs, the answer is 16, derived directly from 2k.

Flip-Flops, Programmable Routing and I/O Blocks

Flip-flops

Each logic slice includes one or more D flip-flops following the LUT output. These registers hold state for counters, pipelines and finite state machines, and can usually be bypassed when only combinational logic is needed. Clock, clock-enable, set and reset lines feed these flip-flops through dedicated low-skew networks.

Programmable interconnect (routing)

The routing fabric is the network of wire segments and programmable switches (often SRAM-controlled pass transistors or switch matrices) that connects CLB outputs to other CLB inputs and to I/O. Routing is the dominant contributor to delay in an FPGA, which is why timing is harder to predict than in a CPLD. A design that fits the logic but cannot be routed will fail in the tools.

I/O blocks and special resources

I/O blocks (IOBs) sit at the chip periphery and connect internal signals to physical pins. They support different voltage standards, input/output/bidirectional modes, registers and drive-strength options. Modern FPGAs also embed hard blocks such as block RAM, DSP/multiplier slices, clock managers (PLL/DLL) and sometimes processor cores, but the LUT plus flip-flop plus routing model remains the exam core.

Configuration Technologies: SRAM, Antifuse and Flash

The configuration memory stores the bitstream that programs every LUT and switch. Three technologies appear in exams:

  • SRAM-based: volatile, reprogrammable an unlimited number of times, but loses its configuration at power-off and must reload from external memory at boot. Most mainstream FPGAs use this.
  • Antifuse-based: one-time programmable; the antifuse permanently forms a connection when programmed. Non-volatile, very secure and radiation-tolerant, but cannot be reconfigured.
  • Flash/EEPROM-based: non-volatile and reprogrammable, instant-on like a CPLD, with moderate reconfiguration limits.
TechnologyVolatileReprogrammableKey trait
SRAMYesUnlimitedNeeds external boot memory
AntifuseNoNo (one-time)Secure, radiation-hard
Flash/EEPROMNoLimited cyclesInstant-on, non-volatile

Common mistake: calling antifuse FPGAs reprogrammable. They are strictly one-time programmable because the antifuse change is permanent.

FPGA Design Flow: HDL to Bitstream

Turning a design idea into a configured FPGA follows a well-defined toolchain. Examiners often ask you to put these stages in the correct order:

  1. Design entry (HDL): describe the circuit in VHDL or Verilog, or as a schematic.
  2. Synthesis: the synthesis tool converts the HDL into a gate-level netlist of generic logic and registers, checking syntax and optimising logic.
  3. Mapping (technology mapping): the netlist is mapped onto the specific FPGA resources, packing logic into LUTs and flip-flops.
  4. Place and route: the placer assigns mapped logic to physical CLBs and the router connects them through the interconnect, honouring timing constraints.
  5. Bitstream generation: the placed-and-routed design is converted into the binary configuration file (bitstream).
  6. Configuration (download): the bitstream is loaded into the FPGA configuration memory, after which the device behaves as the designed circuit.

Verification runs alongside this flow: functional (behavioural) simulation after design entry, and timing simulation/static timing analysis after place-and-route, when real routing delays are known. Exam tip: the canonical order is synthesis then mapping then place-and-route then bitstream then configuration.

Advantages and Limitations vs ASIC

FPGAs win on flexibility and time to market: no mask costs, fast iteration, in-field reconfiguration and low risk for low-to-medium volumes. ASICs win on raw performance, power efficiency and per-unit cost at very high volumes, at the price of enormous non-recurring engineering (NRE) cost and zero post-fabrication flexibility.

AspectFPGA advantageASIC advantage
Development costLow NRE, no masksNot applicable
Performance/powerAdequateBest (custom optimised)
Unit cost (high volume)HigherLowest
FlexibilityReprogrammableFixed once fabricated
Time to marketFastSlow
Key Takeaways
  • An FPGA is a user-configurable PLD made of CLBs, programmable routing and I/O blocks; configuration sets what each LUT computes and which switches close.
  • A k-input LUT stores 2 to the power k bits and can implement any Boolean function of k variables.
  • Most FPGAs use volatile SRAM configuration and reload from external flash at power-up; antifuse is one-time and flash is non-volatile reprogrammable.
  • FPGA sits between CPLD (small, non-volatile, predictable) and ASIC (custom, fastest, highest NRE).
  • The design flow order is HDL entry, synthesis, mapping, place-and-route, bitstream generation, then configuration.

Practice MCQs

Q1. How many configuration bits are required to implement an arbitrary function in a single 4-input LUT?

  • A.8
  • B.16
  • C.24
  • D.32

Correct Answer: B

Explanation: A k-input LUT stores 2 to the power k bits. For k = 4 that is 2 to the 4 = 16 bits, one output bit for each of the 16 input combinations.

Q2. Which configuration technology makes a typical FPGA volatile, requiring its bitstream to be reloaded at every power-up?

  • A.Antifuse
  • B.Flash
  • C.SRAM
  • D.EEPROM

Correct Answer: C

Explanation: SRAM-based configuration is volatile and loses its contents at power-off, so an external memory must reload the bitstream on every boot. Antifuse and flash are non-volatile.

Q3. Which device type is one-time programmable and cannot be reconfigured?

  • A.SRAM-based FPGA
  • B.Flash CPLD
  • C.Antifuse-based FPGA
  • D.EEPROM PLD

Correct Answer: C

Explanation: Antifuse technology permanently forms connections when programmed, so antifuse-based FPGAs are strictly one-time programmable, unlike SRAM and flash devices.

Q4. In the FPGA design flow, which stage immediately follows synthesis?

  • A.Place and route
  • B.Configuration
  • C.Technology mapping
  • D.Bitstream generation

Correct Answer: C

Explanation: After synthesis produces a generic netlist, technology mapping packs that logic onto specific FPGA resources (LUTs and flip-flops) before placement and routing.

Q5. What provides the combinational logic function inside an FPGA logic slice?

  • A.The flip-flop
  • B.The look-up table
  • C.The routing switch matrix
  • D.The I/O block

Correct Answer: B

Explanation: The look-up table stores a truth table and produces the combinational output. The flip-flop provides storage, routing provides connectivity and I/O blocks connect to pins.

Q6. Compared with an ASIC, an FPGA generally offers:

  • A.Lower upfront cost and faster time to market
  • B.Lower per-unit cost at very high volume
  • C.The best power efficiency
  • D.No reprogrammability

Correct Answer: A

Explanation: FPGAs avoid mask and NRE costs and can be programmed immediately, giving low upfront cost and fast time to market. ASICs win on per-unit cost, power and performance at high volume.

Q7. Why is timing harder to predict in an FPGA than in a CPLD?

  • A.FPGAs have no flip-flops
  • B.Delay is dominated by the programmable routing fabric
  • C.CPLDs use SRAM configuration
  • D.FPGAs cannot be simulated

Correct Answer: B

Explanation: In FPGAs, much of the delay comes from the flexible programmable interconnect, whose path lengths vary with placement and routing. CPLDs use a more uniform AND-OR structure with predictable delays.

Q8. A 6-input LUT can directly implement any Boolean function of how many variables, and how many bits does it store?

  • A.6 variables, 32 bits
  • B.5 variables, 64 bits
  • C.6 variables, 64 bits
  • D.6 variables, 36 bits

Correct Answer: C

Explanation: A k-input LUT implements any function of k variables and stores 2 to the power k bits. For k = 6 that is 6 variables and 2 to the 6 = 64 bits.

MA

MCQ Arena Team

Subject reviewers & exam mentors

This guide is written and fact-checked by the MCQ Arena editorial team — engineering graduates and competitive-exam mentors who build the question banks used on the platform. Every concept, formula and MCQ is cross-checked against standard textbooks and the latest Wireless PSI / GPSC exam pattern. Spotted an error or have a correction? Tell us — we update articles as syllabi and feedback come in.

Last reviewed and updated on June 24, 2026.

Put it into practice

Reading strategy is one thing — building it into instinct takes timed reps. Practise with daily timed mock tests on MCQ Arena.

Start practising free

Keep reading