# 现场可编程门阵列

**现场可编程门阵列**（FPGA）是一种集成电路，其逻辑功能在制造时并不固定，而是在制造完成后通过对可编程逻辑块、I/O单元及其他模块组成的阵列进行编程来定义，这些模块由可编程布线开关连接。<sup>[1](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)</sup> 这使FPGA处于固定功能定制硅片与软件之间：一个设计可以在数周内完成编译并运行，并可通过加载新的比特流在现场升级，代价通常是时钟速度低于同等ASIC、功耗高于同等ASIC。<sup>[1](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 配置方式 | 在基于SRAM的FPGA中，数百万个SRAM单元控制逻辑块和布线开关；比特流通常在上电时从外部闪存加载。<sup>[1](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)</sup><sup> • </sup><sup>[2](https://www.chipfieldguide.com/architectures/fpga-fabric/)</sup> |
| 逻辑单元 | AMD 7系列CLB使用真正的6输入LUT；四个LUT和八个触发器构成一个slice，两个slice构成一个CLB。<sup>[3](https://docs.amd.com/r/en-US/ug474_7Series_CLB/CLB-Overview)</sup> |
| FPGA vs ASIC（90 nm实测） | 逻辑和触发器面积约为40倍，关键路径延迟为3–4倍，动态功耗约12倍；硬核可将面积差距缩小至最低21倍。<sup>[4](https://dl.acm.org/doi/pdf/10.1145/1117201.1117205)</sup> |
| 时钟频率 | FPGA通常达到200–500 MHz（部分高端器件达1 GHz）；ASIC视工艺节点可达1–4 GHz。<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup> |
| ASIC盈亏平衡点 | 历史上在10,000至100,000颗之间，且随着ASIC NRE成本上升而提高；一个基于公式的示例给出50,000颗。<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup><sup> • </sup><sup>[6](https://inovasense.com/insights/fpga-vs-asic)</sup> |
| 市场份额（2019年，Gartner） | AMD-Xilinx 51.1%，Intel 35.8%，Microsemi 6.6%，Lattice 5.0%。<sup>[7](https://dl.acm.org/doi/full/10.1145/3561515)</sup> |
| 安全性 | Xilinx 7系列比特流加密（AES-256-CBC）已被Starbleed攻击完全破解；该缺陷存在于专用硅片中，无法修补。<sup>[8](https://www.usenix.org/system/files/sec20-ender.pdf)</sup> |

## 架构：LUT、CLB、布线与硬核

该逻辑阵列由二维单元网格构成——包含K输入查找表（LUT）和触发器的软逻辑簇、按列排列的硬存储器和乘累加模块、I/O环以及硬IP——全部通过可编程互连连接。<sup>[2](https://www.chipfieldguide.com/architectures/fpga-fabric/)</sup> LUT是一种小型存储器，可产生其输入的任何[布尔函数](https://www.edgepedia.org/zh/boolean-function)，因此通过加载真值表即可实现任意组合逻辑；寄存于LUT输出端的触发器保存状态。在AMD 7系列器件中，每个6输入LUT还可充当两个5输入LUT，具有独立输出和公共输入。<sup>[3](https://docs.amd.com/r/en-US/ug474_7Series_CLB/CLB-Overview)</sup>

**Slice与CLB。** 四个6输入LUT、其八个触发器、多路复用器和算术进位逻辑构成一个slice；两个slice构成一个可配置逻辑块（CLB）。约三分之二的slice为纯逻辑（SLICEL）；其余（SLICEM）可将其LUT用作分布式64位RAM、32位移位寄存器或两个16位移位寄存器。每个CLB通过开关矩阵连接到通用布线矩阵，专用高速进位链支持算术运算。<sup>[3](https://docs.amd.com/r/en-US/ug474_7Series_CLB/CLB-Overview)</sup>

**硬核。** 现代器件增加了36 Kb双端口块RAM（内置FIFO逻辑）、速率高达1,866 Mb/s的DDR3接口、带有25 × 18乘法器/48位累加器和预加法器的DSP slice、速率从600 Mb/s到28.05 Gb/s的串行收发器，以及带片上温度和电源传感器的双12位1 MSPS XADC。<sup>[9](https://docs.amd.com/api/khub/documents/2LByHkO~nSZXcei2D55fTg/content)</sup> SoC FPGA（如Zynq-7000和Stratix 10）嵌入ARM核心，ARM TrustZone将逻辑阵列资源划分为安全域和非安全域。<sup>[7](https://dl.acm.org/doi/full/10.1145/3561515)</sup> AMD的Versal Prime Gen 2器件将逻辑阵列与Arm应用核心、实时核心和Mali-G78AE GPU相结合：第一代型号（2VM3858、2VM3558和2VM3358）搭载8个Arm Cortex-A78AE应用核心和10个Cortex-R52实时核心，提供高达此前Versal或Zynq UltraScale+器件10倍的标量计算能力，而2VM3454、2VM3254和2VM3104在仅为23 mm × 23 mm的封装中提供高达100k DMIPs的标量计算能力，配备4个Cortex-A78AE核心、6个Cortex-R52核心和Mali-G78AE GPU。<sup>[10](https://www.amd.com/en/blogs/2026/announcing-new-amd-versal-prime-series-gen-2-devices.html)</sup>

## 配置技术：SRAM、闪存、反熔丝

三种编程技术占据主导地位。基于SRAM的FPGA是主流技术，易失且可无限次重新编程，但每次上电都必须重新加载配置，通常从外部非易失性存储器加载，耗时10–200 ms。<sup>[2](https://www.chipfieldguide.com/architectures/fpga-fabric/)</sup><sup> • </sup><sup>[11](https://tches.iacr.org/index.php/TCHES/article/download/13111/12656/17462)</sup><sup> • </sup><sup>[12](https://pcbsync.com/cpld-vs-fpga-comparison/)</sup> 基于闪存的FPGA是非易失性的，编程次数有限，某一系列标称为500次。反熔丝FPGA为一次性可编程，开关电阻为20–100欧姆，且编程前无法完全测试。<sup>[2](https://www.chipfieldguide.com/architectures/fpga-fabric/)</sup> 这一选择对启动至关重要：SRAM器件需要启动序列，每次上电通常使用外部闪存。<sup>[12](https://pcbsync.com/cpld-vs-fpga-comparison/)</sup>

## 设计流程与工具

设计者用Verilog或VHDL描述功能，或通过C或OpenCL的高层次综合来描述，然后由CAD流程将描述编译为配置SRAM的比特流。<sup>[1](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)</sup> 该流程有五个不同步骤：综合、工艺映射、映射、布局和布线。<sup>[13](https://cse.usf.edu/~haozheng/teach/cda4253/doc/fpga-arch-overview.pdf)</sup> 一个典型项目从规格到集成需要11–26周（3–6个月）。<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup> 开源工具链——主要是用于综合的Yosys、用于布局布线的nextpnr和用于比特流生成的Project IceStorm——降低了FPGA开发的门槛。<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup>

**软核处理器。** 供应商提供软核处理器，如Altera的Nios和Xilinx的MicroBlaze，它们在逻辑阵列中实现并允许自定义硬件指令；硬核处理器是替代方案（例如Atmel FPSLIC中的AVR或Virtex-4中的[PowerPC](https://www.edgepedia.org/zh/powerpc)）。移除未使用的指令并针对特定应用调整架构权衡，可为软核处理器平均获得25%的面积收益。<sup>[13](https://cse.usf.edu/~haozheng/teach/cda4253/doc/fpga-arch-overview.pdf)</sup>

## 供应商与产品系列

根据2019年Gartner的研究，AMD-Xilinx占据FPGA市场51.1%，Intel占35.8%，[Microsemi](https://www.edgepedia.org/zh/microsemi)占6.6%，Lattice占5.0%，两大领导者均生产基于SRAM的器件。<sup>[7](https://dl.acm.org/doi/full/10.1145/3561515)</sup> AMD的7系列分级从Spartan-7到Artix-7、Kintex-7和Virtex-7，采用28 nm高k金属栅工艺，Artix-7上最多可达200万个逻辑单元和5.3 Tb/s的I/O带宽；最大的Virtex-7器件采用堆叠硅互连（SSI）技术。<sup>[9](https://docs.amd.com/api/khub/documents/2LByHkO~nSZXcei2D55fTg/content)</sup> Intel的Agilex 7系列采用Intel 10 nm SuperFin（F/I系列）或Intel 7（M系列）工艺技术，具有小芯片架构和第二代Hyperflex逻辑阵列，依系列不同涵盖57.3万至390万个逻辑元素，可变精度DSP性能高达38 TFLOPS。<sup>[14](https://docs.altera.com/r/docs/683458/current/agilextm-7-fpgas-and-socs-device-overview/key-features-and-innovations-in-agilextm-7-fpgas-and-socs)</sup> AMD的Versal AI Core VC1902包含多达1,968个AI引擎，以二维网格排列，每个引擎均为带有32 KB本地存储器的VLIW向量处理器，在INT8下提供约100 TOPS的性能，同时配备约899K个LUT6和1,968个DSP58单元；AMD创造了ACAP（自适应计算加速平台）一词，以将Versal与传统FPGA区分开来。<sup>[15](https://fpgainsights.com/blog/intel-agilex-vs-amd-versal-which-fpga-wins-for-data-center-ai/)</sup>

## 数据一览

市场规模估计因机构而异：一家研究公司将2024年FPGA行业估值定为103亿美元，以8.7%的复合年增长率增长至2035年的243亿美元，<sup>[16](https://www.transparencymarketresearch.com/field-programmable-gate-array.html)</sup> 而另一家预测从2025年的99.3亿美元增长至2031年的172.3亿美元，报告2026–2031年复合年增长率为9.35%。<sup>[17](https://www.mordorintelligence.com/industry-reports/field-programmable-gate-array-fpga-market)</sup> 逻辑容量从10,000到超过3,000,000个逻辑单元，单价从约10美元到超过10,000美元不等，视系列而定。<sup>[12](https://pcbsync.com/cpld-vs-fpga-comparison/)</sup>

**ASIC盈亏平衡点。** 交叉销量可估算为 \( V = (NRE_{\mathrm{ASIC}} - NRE_{\mathrm{FPGA}}) / (unit_{\mathrm{FPGA}} - unit_{\mathrm{ASIC}}) \)；一个说明性示例为ASIC额外NRE 90万欧元、每颗节省18欧元，得出盈亏平衡点为50,000颗。<sup>[6](https://inovasense.com/insights/fpga-vs-asic)</sup> 不同来源对交叉点的定位不同：历史上在10,000至100,000颗之间，经验法则为FPGA低于5,000颗、ASIC可能在50,000颗以上有利，<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup> 对比另一种说法：FPGA适用年产量低于约1万颗，ASIC在5万–20万颗开始具有意义，20万颗以上ASIC经济性才具吸引力。<sup>[18](https://anysilicon.com/asic-vs-fpga-break-even/)</sup> 在1,000颗时ASIC仅NRE就超过500万美元；在1,000,000颗时ASIC单价降至1–3美元，而FPGA单价约为恒定的50美元。<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup>

## 与ASIC、GPU和CPLD的比较

在90 nm CMOS上测量，FPGA实现组合逻辑和触发器所需的硅面积平均为标准单元ASIC的40倍，通过硬核乘法器和存储器块可缩小至最低21倍；关键路径延迟比约为3至4倍，动态功耗比约为12倍，硬核可缩小这两项差距。<sup>[4](https://dl.acm.org/doi/pdf/10.1145/1117201.1117205)</sup> 一项调查将差距主要归因于布线结构。<sup>[2](https://www.chipfieldguide.com/architectures/fpga-fabric/)</sup> 在时钟频率方面，FPGA通常达到200–500 MHz，而ASIC为1–4 GHz。<sup>[5](https://pcbsync.com/fpga-vs-asic/)</sup> ASIC相对FPGA并不存在通用的时钟速度倍数；比较必须保持算法、数值精度、存储器流量和运行条件不变。<sup>[6](https://inovasense.com/insights/fpga-vs-asic)</sup>

与GPU相比，FPGA适合需要低延迟和确定性执行的应用，而GPU擅长通用并行处理，拥有CUDA和OpenCL等成熟框架，适用于延迟不太关键的高吞吐量工作负载。<sup>[19](https://arxiv.org/html/2511.06565)</sup> 与CPLD相比，FPGA提供10,000到超过3,000,000个逻辑单元，而CPLD为32到约10,000个宏单元，但CPLD即时启动，而SRAM FPGA需要10–200 ms的比特流加载。<sup>[12](https://pcbsync.com/cpld-vs-fpga-comparison/)</sup>

## 安全性与比特流

由于大多数FPGA基于SRAM并将比特流存储于对手可访问的外部存储器中，供应商约二十年前引入了比特流加密方案。<sup>[20](https://eprint.iacr.org/2021/1277.pdf)</sup> 提取明文比特流的攻击者可对其进行逆向工程以克隆知识产权或添加恶意功能。<sup>[7](https://dl.acm.org/doi/full/10.1145/3561515)</sup> Xilinx 7系列器件使用AES-256-CBC加密，密钥保存在BBRAM或仅通过[JTAG](https://www.edgepedia.org/zh/jtag)编程的eFUSE中；启用加密后，外部回读端口返回空值，只有内部ICAP2接口可以读取加密比特流。<sup>[8](https://www.usenix.org/system/files/sec20-ender.pdf)</sup> 2020年的Starbleed攻击完全破解了该加密，且该漏洞无法修补，因为缺陷存在于专用硅片中而非可修复的固件中。<sup>[8](https://www.usenix.org/system/files/sec20-ender.pdf)</sup> 较旧的系列完整性检查较弱：Virtex-4、Virtex-5和Spartan-6使用22位CRC验证加密比特流，而在Virtex-4和Virtex-5中CRC不包含在加密部分内。<sup>[21](https://eprint.iacr.org/2016/641.pdf)</sup> 较新的器件增加了更强的方案：Agilex 7 SoC包含支持比特流加密、物理不可克隆函数（PUF）密钥存储和SPDM认证的安全设备管理器，<sup>[14](https://docs.altera.com/r/docs/683458/current/agilextm-7-fpgas-and-socs-device-overview/key-features-and-innovations-in-agilextm-7-fpgas-and-socs)</sup> AMD的Kintex UltraScale+ Gen 2系列增加了防克隆保护、安全密钥管理和CNSA 2.0级密码学。<sup>[22](https://www.amd.com/en/blogs/2026/announcing-amd-kintex-ultrascale-gen-2-mid-range-fpgas.html)</sup>

## 应用与使用者

FPGA在数据中心大规模部署，用于加速搜索引擎、数据包处理和机器学习工作负载，并用于无线通信、嵌入式信号处理、网络、ASIC原型验证和高频交易。<sup>[1](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)</sup> 原因在于需求变化下的可重构性：微软的Brainwave项目主要基于Altera FPGA构建，因为研究人员频繁更改数值格式、激活函数、存储器层次和片上网络设计。<sup>[23](https://electronics360.globalspec.com/article/24157/q-a-life-after-intel-is-good-says-altera)</sup>

## 近期发展

**所有权。** 在2025年前后那次采访的大约一年前，Intel完成了向Silver Lake出售Altera 51%股份的交易，保留49%的股份；Altera表示其旗舰Agilex系列目前的每瓦性能是竞争器件的两倍。<sup>[23](https://electronics360.globalspec.com/article/24157/q-a-life-after-intel-is-good-says-altera)</sup>

**小芯片与AI引擎。** 2023年5月，Intel的可编程解决方案事业部推出了搭载R-Tile小芯片的Agilex 7——首款具备PCIe 5.0和CXL能力的FPGA。<sup>[24](https://www.theinsightpartners.com/reports/fpga-market)</sup> Agilex 7 I系列支持高达4 Tbps的收发器带宽，配备116 Gbps PAM4、PCIe 5.0 x16和CXL；M系列增加了HBM2E和以硬核电路实现的存储器片上网络，SoC则集成最高1.5 GHz的四核64位Arm Cortex-A53硬核处理器系统。<sup>[14](https://docs.altera.com/r/docs/683458/current/agilextm-7-fpgas-and-socs-device-overview/key-features-and-innovations-in-agilextm-7-fpgas-and-socs)</sup> AMD于2025年底开始出货Versal Prime Gen 2 2VM3858的首批量产单元，8个Arm Cortex-A78AE和10个Cortex-R52核心提供高达此前Versal或Zynq UltraScale+器件10倍的标量计算能力。<sup>[10](https://www.amd.com/en/blogs/2026/announcing-new-amd-versal-prime-series-gen-2-devices.html)</sup> 两家供应商对AI采取不同路径：AMD在逻辑阵列旁以硬核电路实现AI引擎，而Altera将AI能力融入可编程逻辑阵列中。<sup>[23](https://electronics360.globalspec.com/article/24157/q-a-life-after-intel-is-good-says-altera)</sup> 三十多年来，FPGA已从简单的可编程逻辑和I/O块阵列演变为这些嵌入块RAM、DSP块和处理器的异构多芯片系统。<sup>[1](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)</sup>

## References

1. [Principles and Progression: FPGA architecture survey, University of Toronto](https://www.eecg.utoronto.ca/~vaughn/papers/casm2021_arch_survey.pdf)
2. [How FPGAs work: lookup tables, routing and bitstreams, Chip Field Guide](https://www.chipfieldguide.com/architectures/fpga-fabric/)
3. [7 Series FPGAs CLB User Guide (UG474), AMD](https://docs.amd.com/r/en-US/ug474_7Series_CLB/CLB-Overview)
4. [Measuring the Gap Between FPGAs and ASICs (Kuon & Rose, ACM)](https://dl.acm.org/doi/pdf/10.1145/1117201.1117205)
5. [FPGA vs ASIC: Complete Comparison Guide, PCBSync](https://pcbsync.com/fpga-vs-asic/)
6. [FPGA vs ASIC vs SoC: Engineering Decision Guide, Inovasense](https://inovasense.com/insights/fpga-vs-asic)
7. [A Survey on FPGA Cybersecurity Design Strategies (ACM TRETS)](https://dl.acm.org/doi/full/10.1145/3561515)
8. [The Unpatchable Silicon: A Full Break of the Bitstream Encryption of Xilinx 7-Series FPGAs (USENIX Security 2020)](https://www.usenix.org/system/files/sec20-ender.pdf)
9. [7 Series FPGAs Data Sheet: Overview (DS180), AMD](https://docs.amd.com/api/khub/documents/2LByHkO~nSZXcei2D55fTg/content)
10. [Announcing New AMD Versal Prime Series Gen 2 Devices, AMD](https://www.amd.com/en/blogs/2026/announcing-new-amd-versal-prime-series-gen-2-devices.html)
11. [Leakback CRC: Optical Plaintext Recovery of Encrypted Bitstreams, TCHES](https://tches.iacr.org/index.php/TCHES/article/download/13111/12656/17462)
12. [CPLD vs FPGA: Choosing the Right Programmable Logic Device, PCBSync](https://pcbsync.com/cpld-vs-fpga-comparison/)
13. [FPGA Architectures: An Overview, University of South Florida](https://cse.usf.edu/~haozheng/teach/cda4253/doc/fpga-arch-overview.pdf)
14. [Key Features and Innovations in Agilex 7 FPGAs and SoCs, Altera](https://docs.altera.com/r/docs/683458/current/agilextm-7-fpgas-and-socs-device-overview/key-features-and-innovations-in-agilextm-7-fpgas-and-socs)
15. [Intel Agilex vs AMD Versal: Which FPGA Wins for Data Center AI?, FPGA Insights](https://fpgainsights.com/blog/intel-agilex-vs-amd-versal-which-fpga-wins-for-data-center-ai/)
16. [Field Programmable Gate Array Market Size to 2035, Transparency Market Research](https://www.transparencymarketresearch.com/field-programmable-gate-array.html)
17. [Field Programmable Gate Array Market 2031, Mordor Intelligence](https://www.mordorintelligence.com/industry-reports/field-programmable-gate-array-fpga-market)
18. [ASIC vs FPGA Break-Even: When the Economics Flip, AnySilicon](https://anysilicon.com/asic-vs-fpga-break-even/)
19. [FPGA or GPU? Analyzing comparative research for application-specific guidance, arXiv](https://arxiv.org/html/2511.06565)
20. [LifeLine for FPGA Security, IACR ePrint](https://eprint.iacr.org/2021/1277.pdf)
21. [Bitstream Fault Injections (BiFI), IACR ePrint](https://eprint.iacr.org/2016/641.pdf)
22. [AMD Launches Kintex UltraScale+ Gen 2 Mid-Range FPGAs, AMD](https://www.amd.com/en/blogs/2026/announcing-amd-kintex-ultrascale-gen-2-mid-range-fpgas.html)
23. [Q&A: Life after Intel is good, says Altera, Electronics360](https://electronics360.globalspec.com/article/24157/q-a-life-after-intel-is-good-says-altera)
24. [FPGA Market Report, The Insight Partners](https://www.theinsightpartners.com/reports/fpga-market)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Embedded & soft processors › Soft processors & open hardware › FPGA processor implementation & tooling

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/field-programmable-gate-array

English original: https://www.edgepedia.org/field-programmable-gate-array
