太赫兹科学与电子信息学报, 2022, 20 (4): 385, 网络出版: 2022-08-12  

基于FPGA的PCIe 接口逻辑设计与实现

Design and implementation of PCIe interface logic based on FPGA
作者单位
南京信息工程大学电子与信息工程学院,江苏南京210044
摘要
为了提升高速串行计算机扩展总线标准(PCIe)总线互联设备在高速通信过程中的系统性能,减少对中央处理器(CPU)资源的占用,基于Kintex-7 系列现场可编程逻辑门阵列(FPGA)平台进行总线主控式直接存储访问(DMA)设计,通过PCIe 接口实现了主机设备(PC)与FPGA 设备之间的高性能数据传输。同时,基于Root Port 仿真平台设计DMA 读写测试用例,仿真结果验证PCIe 接口逻辑的正确性。通过连接上位机和配置驱动进行实际传输速率测试,结果表明,DMA 写速率最高可达1 620 MB/s,DMA 读速率最高可达1 427 MB/s,带宽最大值能够达到PCIe 接口理论带宽值的84%。设计方案成本低,可靠性高,能够满足高性能、低延时的数据采集要求。
Abstract
The bus master Direct Memory Access(DMA) controller is implemented based on the Kintex-7 series Field Programmable Gate Array(FPGA) platform in order to improve the system performance of Peripheral Component Interconnect express(PCIe) bus interconnection devices in the process of high-speed communication and reduce the consumption of Central Processing Unit(CPU) resources. The high performance data transmission between Personal Computer(PC) and FPGA via PCIe is realized. DMA test cases are designed through the Root Port simulation platform, and the simulation results verify the correctness of the PCIe interface logic. The actual transmission rate is tested through the master computer and driver, and the experimental results show that the measured highest transfer rates are 1 620 MB/s on write and 1 427 MB/s on read, which reaches 84% of the theoretical maximum. The design scheme bears the advantages of low cost and high reliability, and can meet the requirements of data acquisition with high performance and low delay.

李龙乾, 方华, 冯姣, 李鹏. 基于FPGA的PCIe 接口逻辑设计与实现[J]. 太赫兹科学与电子信息学报, 2022, 20(4): 385. LI Longqian, FANG Hua, FENG Jiao, LI Peng. Design and implementation of PCIe interface logic based on FPGA[J]. Journal of terahertz science and electronic information technology, 2022, 20(4): 385.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!