节点文献
基于FPGA的远程实验平台设计与实现
Design and Implementation of Remote Experiment Platform Based on FPGA
【作者】 陈靖宇;
【导师】 陈平华;
【作者基本信息】 广东工业大学 , 计算机技术(专业学位), 2021, 硕士
【摘要】 研发远程实验平台的动因源于本文作者为解决本科实验教学工作中的困境,在设备台套数不足及排课资源有限的条件下需要完成课时倍增的实验教学任务。本文作者有多个远程实验系统的开发、部署及运维经验。本文分析两个远程实验案例的开发及其技术演进过程后,提出了如下主要设计思路:以FPGA在线编程为核心,以虚拟化云服务为场景,以虚实结合为导向,实现计算机组成原理实验的云服务化。根据这个设计思路,本文展开计算机组成原理远程实验平台的研究开发工作,主要内容包括:(1)针对远程在线实验及虚实结合的实验模式的要求,选择合适的FPGA芯片及电路设计方案,设计并实现以FPGA为核心的计算机组成原理实验装置,该装置能在远程控制的模式下进行在线编程和调试。(2)设计并实现基于高性能ARM SOC核心板的嵌入式远程控制装置,开发设计了基于嵌入式Linux的远程控制服务进程和FPGA在线编程代理进程。通过该装置,实现了对基于FPGA的计算机组成原理实验装置的远程在线编程和调试。(3)研究并搭建基于K8S(Kubernetes)的容器(Dockers)管理平台,定制EDA开发环境(Quartus、Multisim)的容器镜像,实现免安装的EDA开发云服务支持,使学生可以在不搭建任何开发环境情况下就可以进行FPGA的VHDL编程开发及测试。(4)设计并实现远程实验服务系统:后台服务开发采用Golang语言,前端程序开发采用Flutter,数据库采用Mongo DB。系统包括实验管理服务、远程访问服务、远程调试服务以及实验数据存储等4个核心功能模块,能为用户提供远程实验访问接口和实验交互。为了验证远程实验平台的实效性,本文部署了平台测试环境,并选用一个8位模型计算机的综合设计实验进行验证,验证工作取得圆满成功。本文设计开发的研发远程实验平台的实用价值及创新之处如下:(1)通过远程实验平台可以用较低的成本解决设备台套数不足及排课资源有限的困境。(2)进行了实验装置小型化设计,即平台可以作为便携设备单机来使用,也可以作为云端资源来使用,便于分布部署实施。(3)实验装置以FPGA为核心,除了可以完成计算机组成原理实验外,还可以应用于数字逻辑、接口等硬件类实验课程。
【Abstract】 The motivation of developing the remote experimental platform stems from this paper.In order to solve the difficulties of undergraduate experiment teaching,the experimental teaching task is doubled under the condition of insufficient number of equipment stations and limited teaching resources.The author has experience in the development,deployment,operation and maintenance of multiple remote experimental systems.After analyzing the development of two remote experimental cases and their technical evolution process,the following main design ideas are put forward: taking FPGA online programming as the core,virtualization cloud service as the scene,and the combination of virtual and reality as the guidance,to realize the cloud service of computer organization principle experiment.According to this design idea,this paper develops the research and development of computer organization principle of remote experiment platform,and the main contents include:(1)According to the requirements of remote online experiment and virtual-virtual experimental mode,select appropriate FPGA chip and circuit design scheme,design and realize the computer organization principle experimental device with FPGA as the core,which can conduct online programming and debugging in the remote control mode.(2)Design and implement the embedded remote control device based on the high-performance ARM SOC core board,and develop and design the embedded Linux-based remote control service process and the FPGA online programming agent process.Through this device,the remote online programming and debugging of the FPGA-based computer organization principle experimental device is realized.(3)Research and build a K8S(Kubernetes)based container(Dockers)management platform,customize container mirroring of the EDA Development Environment(Quartus,Multisim),and achieve installation-free EDA development cloud service support,enabling students to conduct FPGA VHDL programming development and testing without building any development environment.(4)Design and realize remote experimental service system: Golang language is used in background service development,and Mongo DB.in front-end program development and Flutter,database The system includes four core function modules,including experimental management service,remote access service,remote debugging service and experimental data storage,which can provide users with remote experimental access interface and experimental interaction.In order to verify the effectiveness of the remote experimental platform,this paper deployed the platform test environment,and selects a comprehensive design experiment of8-bit model computer to verify,the verification work achieved a complete success.The practical value and innovation of the remote experiment platform designed and developed in this paper are as follows:(1)Through the remote experiment platform,we can solve the dilemma of insufficient number of equipment sets and limited scheduling resources with a low cost.(2)conducts the experimental device miniaturization design,that is,the platform can be used as a portable device alone,or as a cloud resource,to facilitate the distribution and deployment implementation.(3)The experimental device takes FPGA as the core,in addition to the computer organization principle experiment,can also be applied to digital logic and interface and other hardware experimental courses.
【Key words】 Remote experiment; Computer organization principle; FPGA; Docker;
- 【网络出版投稿人】 广东工业大学 【网络出版年期】2022年 03期
- 【分类号】TP311.52;TN791
- 【被引频次】1
- 【下载频次】188