開源RISC-V處理器之網路功能設計

Design of the network function for an open-source RISC-V processor

檔案

日期

2022

類型

語言

中文

摘要

因RISC-V指令集精簡與模組化的特性,使得基於RISC-V指令集所設計的處理器擁有較低的開發成本與較大的客製化彈性,這使得RISC-V處理器非常適合使用在嵌入式系統或是物聯網裝置上。而嵌入式系統與物聯網裝置作為邊緣節點,時常需要透過網路與外界進行資料的傳輸,因此連接網路的能力就顯得尤為重要。
本論文研究目標是基於陽明交通大學資訊工程系嵌入式智慧系統實驗室所開源的RISC-V處理器Aquila,進行網路功能的設計,使其具備連接網路的能力。本論文透過兩種方式進行了網路功能的設計:首先以傳統的方法,透過軟體實作TCP/IP網路層以提供網路功能。接著更進一步以硬體實作TCP/IP網路層提供網路功能,並讓TCP/IP控制電路透過直接快取存取機制與處理器傳輸資料,以增加兩者間的資料傳輸效率,另外我們也提供了標準的socket API軟體介面以增加可用性。
本論文的設計在Xilinx KC705 FPGA上進行驗證,並且比較軟體和硬體實作TCP/IP網路功能的效能差異。另外,我們也使用較完整的ARM應用處理器系統執行TCP/IP軟體,來和本論文提出的內嵌TCP/IP電路模組的Aquila應用處理器比較傳輸效能的差異。
Due to the simplified and modular design approach of the RISC-V instruction set architecture (ISA) , the processors designed using the RISC-V ISA have lower development cost and more flexibility in domain-specific customization, which makes the RISC-V processors very suitable for use in embedded systems and IoT devices. As edge nodes, embedded systems and IoT devices often need to transmit data to the outside world through the network, so the connection ability is particularly important.
The research goal of this paper is to design the network function of an application processor SoC based on the open source RISC-V processor core Aquila, which is developed by the Embedded Intelligent Systems Laboratory of the Department of Computer Science, NCYU. In this paper, the network function is designed in two different approaches: First, the network function is implemented through the software network stack in traditional way. The other approach is to implement the network function with a hardware TCP/IP network stack. For the integration of the hardware TCP/IP module into the application processor, the data transmission efficiency between the processor and the hardware network stack is increased through a direct cache access mechanism, and we also provide a standard software socket API to increase the usability.
The design proposed in this paper is verified on a Xilinx KC705 FPGA development board, and we compare the performance difference between the hardware and the software network functions developed in this thesis using low-level TCP/IP APIs. In addition, we also compared the network transmission performance of an ARM-based application processor running software TCP/IP stack with the proposed Aquila application processor with an embedded hardware TCP/IP module.

所屬典藏

網路工程研究所
顯示完整詮釋資料 統計資料

引用此條目

李怡德 (2022). 開源RISC-V處理器之網路功能設計. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/79963

BibTeX RIS

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

分享

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