《電子技術應用》
您所在的位置:首頁 > 嵌入式技術 > 設計應用 > 基于AXI總線復用的DMA數(shù)據(jù)傳輸結構設計
基于AXI總線復用的DMA數(shù)據(jù)傳輸結構設計
2023年電子技術應用第8期
阮翔,任濤,毛佳佳,張虎
(中國電子科技集團公司第52研究所,浙江 杭州 311100)
摘要: 常規(guī)多通道DMA數(shù)據(jù)傳輸結構應用在多傳感器接入式人工智能平臺時,隨著傳感器類型和數(shù)量的增加,在通道協(xié)議轉(zhuǎn)換、AXI總線擴展過程中會消耗大量的FPGA邏輯和存儲資源,容易產(chǎn)生邏輯擁塞,增加工具布線難度。與此同時,封閉式的AXI系統(tǒng)缺乏對通道差異控制的靈活性,難以適應人工智能平臺多模式數(shù)據(jù)傳輸需求。因此,設計了一種AXI總線復用方式的DMA數(shù)據(jù)傳輸結構,該設計可以極大地縮減AXI總線數(shù)量,降低FPGA資源消耗和工具布線用時,方便地引入附加邏輯實現(xiàn)多模式DMA數(shù)據(jù)傳輸,為人工智能平臺提供靈活高效的多源數(shù)據(jù)獲取機制。
關鍵詞: 通道 DMA 傳輸 AXI FPGA
中圖分類號:TP274 文獻標志碼:A DOI: 10.16157/j.issn.0258-7998.223646
中文引用格式: 阮翔,任濤,毛佳佳,等. 基于AXI總線復用的DMA數(shù)據(jù)傳輸結構設計[J]. 電子技術應用,2023,49(8):125-129.
英文引用格式: Ruan Xiang,Ren Tao,Mao Jiajia,et al. Design of DMA data transmission structure based on AXI bus multiplexing[J]. Application of Electronic Technique,2023,49(8):125-129.
Design of DMA data transmission structure based on AXI bus multiplexing
Ruan Xiang,Ren Tao,Mao Jiajia,Zhang Hu
(The 52th Research Institute of China Electronics Technology Group Corporation, Hangzhou 311100, China)
Abstract: When the conventional multi-channel DMA data transmission structure is applied to the multi-sensor connected artificial intelligence platform, with the increase of sensor type and quantity, a lot of FPGA logic and storage resources will be consumed in the process of channel protocol conversion and AXI bus extension, which will easily lead to logic congestion and increase the difficulty of tool routing. At the same time, the closed AXI system lacks the flexibility of channel differential control, and it is difficult to adapt to the multi-mode data transmission requirements of artificial intelligence platform. Therefore, a DMA data transmission structure with AXI bus multiplexing mode is designed, which can greatly reduce the number of AXI buses, reduce FPGA resource consumption and tool routing time, conveniently fit additional logic to realize multi-mode DMA data transmission, and provide a flexible and efficient multi-source data acquisition mechanism for artificial intelligence platform.
Key words : channel;DMA;transmission;AXI;FPGA

0 引言

近年來,支持多傳感器接入的人工智能平臺已經(jīng)在各個領域獲得廣泛應用。利用嵌入式人工智能(Artificial Intelligence,AI)處理器和現(xiàn)場可編程邏輯門陣列(Field Programmable Gate Array,FPGA)進行直接內(nèi)存訪問(Direct Memory Access,DMA)交互的系統(tǒng)架構往往成為這類人工智能平臺的最優(yōu)實現(xiàn)方案。平臺內(nèi),F(xiàn)PGA承擔了數(shù)據(jù)的采集、緩存及DMA任務。常規(guī)方式是把每個數(shù)據(jù)通道封裝成一路AXI總線,使用AXI交換結構將數(shù)據(jù)通道與緩存控制器、DMA控制器互聯(lián),形成一個封閉的AXI數(shù)據(jù)傳輸系統(tǒng)。然而,隨著應用場景復雜度和平臺智能化程度的提升,傳感器的種類和數(shù)量持續(xù)增長。常規(guī)傳輸結構逐漸表現(xiàn)出擴展不便、優(yōu)化困難、靈活性差等問題。為簡化AXI交換拓撲、方便通道擴展、實現(xiàn)靈活的DMA參數(shù)化配置,本文設計了一種以AXI總線復用方式實現(xiàn)的DMA數(shù)據(jù)傳輸結構,以滿足平臺對多路、多類型傳感器通道擴展和數(shù)據(jù)靈活處理的需求。



本文詳細內(nèi)容請下載:http://theprogrammingfactory.com/resource/share/2000005490




作者信息:

阮翔,任濤,毛佳佳,張虎

(中國電子科技集團公司第52研究所,浙江 杭州 311100)

微信圖片_20210517164139.jpg

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權禁止轉(zhuǎn)載。