FPGA vs ASIC: Differences Explained
FPGA vs ASIC is the choice between a ready-made chip you configure and a chip built for one design. An FPGA holds programmable logic blocks and routing that you load with a bitstream and can reprogram. An ASIC is fabricated with your circuit fixed in silicon: faster, smaller and lower power, but with high up-front cost.
The FPGA vs ASIC question comes up as soon as a digital design outgrows a microcontroller. Both run your logic as real parallel hardware, and both start from the same RTL code. The difference is when the circuit gets fixed: on the bench, every time you load the FPGA, or in the fab, once, for an ASIC.
What an FPGA is
A field programmable gate array is a chip full of small, identical logic blocks surrounded by programmable wiring. Kuon, Tessier and Rose describe three parts in every FPGA: logic blocks, programmable routing, and I/O blocks at the edge. Modern devices add hard blocks such as block RAM and multiply and accumulate (DSP) units.
The logic block is built around a look-up table (LUT) and a flip-flop. A LUT is a tiny memory: a k-input LUT stores 2k bits, so it can produce any logic function of its k inputs. The flip-flop next to it registers the output when the design needs state.
In the AMD 7 series, for example, each configurable logic block (CLB) holds two slices, and each slice has four 6-input LUTs and eight storage elements (UG474). Switches in the routing connect these blocks into your circuit.
Where the configuration lives
Most FPGAs store their configuration in SRAM cells. UG470 explains that 7 series configuration memory is volatile, so the bitstream must be loaded at every power-up, usually from an SPI or parallel flash chip or through JTAG.
Kuon, Tessier and Rose also describe flash-based and antifuse FPGAs. Flash devices keep their configuration without power. Antifuse devices are programmed once and cannot be changed.
What an ASIC is
An application-specific integrated circuit is a chip designed for one product or function. Weste and Harris describe how most digital ASICs today are built from a library of standard cells: pre-designed gates, flip-flops and buffers with a common height, placed in rows and joined by metal wiring.
Every gate in an ASIC is a real CMOS gate wired directly to the next one. There are no LUTs, no programmable switches and no configuration memory.
Smith groups ASICs by how much of the chip is custom: full-custom, standard-cell and gate-array designs. In full-custom design every transistor is drawn by hand. In a gate array, only the metal wiring layers are customised on a prefabricated base of transistors.
How the design flows differ
Both flows start the same way: describe the hardware in RTL, then synthesise it into logic. After that they split. The FPGA flow ends in a configuration file, and the ASIC flow ends in a set of masks for fabrication.
- Write the design in RTL (Verilog, SystemVerilog or VHDL) and simulate it.
- Synthesise it into LUTs, flip-flops, block RAM and DSP blocks of the chosen device.
- Place and route it on the device fabric, then check timing against the constraints.
- Generate the bitstream and load it into the FPGA through JTAG or the configuration flash.
AMD’s Vivado documentation (UG892) describes this sequence as synthesis, implementation and bitstream generation. A bug found on the bench costs one rebuild, not a new chip.
- Write and verify the RTL, usually far more thoroughly than for an FPGA.
- Synthesise it into standard cells from the foundry library.
- Floorplan, place the cells, build the clock tree and route the metal layers.
- Sign off: static timing analysis, design rule checks (DRC) and layout versus schematic (LVS).
- Tape out the layout, make the masks, fabricate wafers, then package and test the chips.
Weste and Harris stress that a mistake found after fabrication needs a respin, with new masks and new wafers, which is why ASIC verification is so thorough.
FPGA vs ASIC: side by side comparison
| Feature | FPGA | ASIC |
|---|---|---|
| What you buy | A standard chip, configured by you | A chip made for your design |
| Logic | LUTs, flip-flops and programmable routing | Standard cells wired directly |
| Change after build | Reload a new bitstream | New masks and a new fabrication run |
| Up-front (NRE) cost | Low: tools, boards and engineering time | High: engineering, verification, tools and masks |
| Cost per unit | Higher | Lower at high volume |
| Time to first working hardware | Short | Long (design, fab and test) |
| Speed, area, power | Slower, larger, more power | Faster, smaller, less power |
| Typical use | Prototypes, low to medium volume, changing standards | High volume, lowest power, highest performance |
How big is the gap?
Kuon and Rose measured the gap directly. They implemented the same benchmark circuits on a 90 nm FPGA and in a 90 nm standard-cell ASIC process and compared the results.
- Area: for circuits using only LUT-based logic and flip-flops, the FPGA needed on average 35 times the silicon area. Using the FPGA’s hard multiplier and memory blocks cut this to as little as 18 times for their benchmarks.
- Speed: critical path delay on the FPGA was roughly three to four times that of the ASIC.
- Power: dynamic power was about 14 times higher on the FPGA, and the gap generally became smaller when hard blocks were used.
The cause is the programmability itself. Each FPGA connection passes through programmable switches, and each logic function sits in a LUT sized for the general case.
Reading these numbers carefully
These ratios come from one study in one process generation, for core logic. They are a guide to the size of the gap, not a rule for every design. Your own design can land anywhere from close to these values to well away from them, depending on how much of it maps onto hard blocks.
Cost and the break-even volume
An ASIC’s high NRE is paid once, while its lower unit cost is saved on every chip. So the cheaper choice depends on how many units you will build. The total cost of each option is:
Setting the two totals equal gives the break-even volume. Above it the ASIC is cheaper overall:
- Given
- FPGA option: NRE of 50,000 cost units and 40 cost units per chip. ASIC option: NRE of 2,000,000 cost units and 5 cost units per chip.
- Find
- The break-even volume, and the total cost of each option at 10,000 and 100,000 units.
- Assumptions
- All four costs are assumed values chosen to show the method, not industry prices. Costs are in a generic currency unit. Unit costs stay constant with volume, and there is no respin.
- Solution
- N = (2,000,000 minus 50,000) ÷ (40 minus 5) = 1,950,000 ÷ 35 = 55,714.3 units
At 10,000 units: FPGA = 50,000 + 40 × 10,000 = 450,000; ASIC = 2,000,000 + 5 × 10,000 = 2,050,000
At 100,000 units: FPGA = 50,000 + 40 × 100,000 = 4,050,000; ASIC = 2,000,000 + 5 × 100,000 = 2,500,000 - Answer
- Break-even at about 55,700 units. At 10,000 units the FPGA is cheaper by 1,600,000; at 100,000 units the ASIC is cheaper by 1,550,000.
- Limitations
- Real decisions also weigh time to market, the risk and cost of a respin, power and board size. Unit prices change with volume and over the product life.
Key formulas for FPGA vs ASIC cost
| Quantity | Formula | Symbols and units |
|---|---|---|
| Total cost | Ctotal = CNRE + N × Cunit | C in currency units, N = number of units |
| Break-even volume | Nbe = (CNRE,ASIC minus CNRE,FPGA) ÷ (Cunit,FPGA minus Cunit,ASIC) | Nbe in units |
| LUT memory size | Bits = 2k | k = number of LUT inputs |
When to use which
- Volumes are low to medium, below the break-even point.
- The design may change after shipping, for example because a standard or protocol is still evolving.
- You need working hardware soon and cannot wait for fabrication.
- You are prototyping a design that will later become an ASIC.
- Volumes are high enough to pay back the NRE.
- Power, speed or chip area must be as good as possible, such as in battery products.
- The design is stable and fully verified.
- You need cost per unit as low as possible.
A common path is to prove the design on an FPGA first, then move the same RTL to an ASIC once volumes and the specification are settled.
An FPGA is not a microcontroller. A microcontroller runs instructions one after another, while an FPGA becomes the circuit itself. Our microcontroller vs microprocessor guide covers the processor side of that choice.
FPGA vs ASIC interview and viva questions
- What is the main difference between an FPGA and an ASIC? An FPGA is a standard chip whose logic and routing you configure with a bitstream and can change later. An ASIC has your circuit fixed in silicon during fabrication.
- What is a look-up table in an FPGA? It is a small memory that stores the truth table of a logic function. A k-input LUT holds 2k bits and can implement any function of its k inputs.
- Why is an FPGA slower and larger than an ASIC for the same logic? Its signals pass through programmable switches and its functions sit in general-purpose LUTs. Kuon and Rose measured about 35 times the area for logic only and roughly three to four times the delay.
- What is NRE and why does it matter in this choice? Non-recurring engineering is the one-time cost of design, verification, tools and, for an ASIC, masks. A high NRE only pays off when it is spread over enough units.
- Why do SRAM-based FPGAs need a configuration flash? Their configuration memory is volatile, so the bitstream is lost at power-down. It is reloaded from flash at every power-up.
Related reading
Frequently asked questions
Is an FPGA faster than an ASIC?
No. For the same logic in the same process generation, Kuon and Rose measured FPGA critical path delay at roughly three to four times that of a standard-cell ASIC. An FPGA can still beat a processor running software, because the logic runs in parallel hardware.
Can the same Verilog code be used for an FPGA and an ASIC?
Mostly, yes. Both flows start from RTL in Verilog, SystemVerilog or VHDL. Parts that target vendor primitives, such as block RAM, DSP slices or clock managers, must be replaced with ASIC memories and cells, and the timing constraints are rewritten for the new technology.
Why does an FPGA need external flash memory?
Most FPGAs, including the AMD 7 series, hold their configuration in volatile SRAM cells. The configuration is lost when power is removed, so the bitstream is stored in nonvolatile memory such as SPI flash and loaded every time the device powers up.
References
- I. Kuon and J. Rose, Measuring the Gap Between FPGAs and ASICs, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 26, no. 2, 2007
- I. Kuon, R. Tessier and J. Rose, FPGA Architecture: Survey and Challenges, Foundations and Trends in Electronic Design Automation, vol. 2, no. 2, 2008
- N. H. E. Weste and D. M. Harris, CMOS VLSI Design: A Circuits and Systems Perspective, 4th ed., Addison-Wesley, 2011
- M. J. S. Smith, Application-Specific Integrated Circuits, Addison-Wesley, 1997
- AMD (Xilinx), UG474: 7 Series FPGAs Configurable Logic Block User Guide
- AMD (Xilinx), UG470: 7 Series FPGAs Configuration User Guide
- AMD, UG892: Vivado Design Suite User Guide, Design Flows Overview
Get one engineering email a week
New articles, worked examples and study notes every week. Free, no spam, unsubscribe any time.