與 RISC-V 處理器協同運算之 CNN 加速器設計與實作

Design and Implementation of a CNN Accelerator for a RISC-V Application Processor

檔案

日期

2025

類型

語言

中文

摘要

本論文提出一個基於硬體加速器之物件偵測系統,採用 Ultranet 為實作模型。Ultranet 為一款輕量型物件偵測模型,是針對影像中單一目標物件偵測所設計,適合部署於無人機等資源有限的嵌入式平台。本研究所採用之系統架構為軟硬體協同合作,處理器端使用本實驗室(EISL@NYCU)所開發之 RISC-V 處理器 Aquila,搭配本論文所設計之 Ultranet 硬體加速器,並部署於 Xilinx KC705 FPGA 開發板上。
系統設計採用定點數 Q8.8 格式進行特徵圖與權重之表示與運算,以降低硬體資源使用,並搭配卷積平行化與特徵圖區塊化之硬體架構,以提升整體推論效能與降低資源使用量。為實現軟硬體間之整合與資料傳輸,系統亦整合 MMIO 控制介面及 DRAM 存取介面,使處理器與硬體加速器模組得以順利合作運行。
實驗結果顯示,本系統成功在 FPGA 平台上實現 Ultranet 模型之推論功能,並可於最短 84 毫秒完成單張影像之推論作業,此成果證實本設計在嵌入式裝置上具備實用性與可行性,亦為後續實現高效率、可擴充之 AI 邊緣運算平台提供實作與優化的參考基礎。
This thesis presents a hardware-accelerated object detection system based on the Ultranet model. Ultranet is a lightweight object detection model specifically designed for single-object detection tasks, making it well-suited for deployment on resource-constrained embedded platforms such as unmanned aerial vehicles (UAVs).
The proposed system adopts a hardware-software co-design architecture, where the processor core is Aquila, a 32-bit RISC-V processor developed by the Embedded Intelligent Systems Lab (EISL@NYCU). The system integrates a custom-designed Ultranet hardware accelerator and is implemented on the Xilinx KC705 FPGA development board.
The system utilizes Q8.8 fixed-point format to represent and compute feature maps and weights, thereby reducing hardware resource consumption. In addition, it employs a parallel convolution engine and feature map tiling to enhance inference throughput and efficiency. To facilitate seamless communication between hardware and software components, the system incorporates an MMIO control interface and a DRAM access interface, enabling effective data exchange and coordination between the processor and the accelerator.
Experimental results show that the system successfully executes Ultranet inferences on an FPGA platform and achieves a minimum inference latency of 84 milliseconds per image. These results demonstrate the practicality and feasibility of the proposed design for embedded applications, and provide a solid foundation for future implementations of high-efficiency and scalable AI edge computing platforms.
顯示完整詮釋資料 統計資料

引用此條目

黃珮瑄 (2025). 與 RISC-V 處理器協同運算之 CNN 加速器設計與實作. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/86263

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/86263