基于ARM的FPGA远程重配置的设计
发布时间:2018-08-02 14:27
【摘要】:随着科技的发展,FPGA在现实生活中的应用越来越广泛,但是目前对FPGA器件的重配置普遍都要将FPGA设备与电脑进行连接,再使用厂商提供的配置软件和配置器件对FPGA进行重配置。这种配置方式具有一定的局限性,需要在电脑的周边进行配置,只适用于实验室环境和比较平和、稳定的生产环境,当需要在非常恶劣且常剧烈变化的环境下时(如战争情况、野外作业环境等),就需要研究一种方便的配置方式。 本设计的任务是运用口益发展的嵌入式技术,使用ARM对FPGA进行重配置,使FPGA重配置脱离专用配置软件,使得FPGA配置时不需要与电脑进行直接连接。可将配置文件预存在ARM的存储芯片中,使ARM系统连接到网络从远程服务器上下载配置文件来对FPGA进行重配置。在后期的设计中,对FPGA系统生成的配置文件进行处理(格式转换、加密、解密等),并将文件处理的方法推广到该类型的各个系列FPGA上去。这样一来,只要有配置文件就可以对FPGA进行配置,而不再需要将FPGA系统和实验电脑连接在一起。本论文具体完成的内容如下: 首先,构建了NFS文件系统,使得基于ARM的嵌入式Linux系统能够与远程的Linux服务器进行连接,得到相应的FPGA配置文件。 其次,设计了SPI配置模式下的相关电路,将ARM与FPGA的配置电路相连接,选用主SPI Flash模式,把ARM设定为主设备,FPGA设定为从设备,使用ARM对FPGA以SPI重配置的方式对FPGA进行重配置进行硬件连接。 最后,在Linux系统下,通过ARM将配置文件从服务器端下载到ARM中,再通过ARM使用SPI通讯协议将配置文件传输到FPGA中,使FPGA进行重配置。这里选用Linux操作系统,并在Linux下开发相应的SPI驱动程序。 本论文的设计结果实现了计算机与ARM开发板之间的NFS文件系统、有线网通信和配置文件的处理,实现了ARM与FPGA之间的用于进行重配置的SPI通信。
[Abstract]:With the development of science and technology, FPGA is more and more widely used in real life. However, the reconfiguration of FPGA devices is generally necessary to connect FPGA devices to computers, and then reconfigure FPGA with configuration software and devices provided by manufacturers. This configuration has certain limitations. It needs to be configured around the computer, only in laboratory environments and more peaceful and stable production environments, when it needs to be in very harsh and often dramatically changing environments (as in war situations). The field work environment and so on, needs to study one kind of convenient configuration way. The task of this design is to use the embedded technology of Kou Yi development to reconfigure the FPGA by using ARM so that the reconfiguration of FPGA is separated from the special configuration software so that the FPGA configuration does not need direct connection with the computer. The configuration file can be pre-stored in the memory chip of ARM, and the ARM system can be connected to the network to download the configuration file from the remote server to reconfigure the FPGA. In the later design, the configuration files generated by FPGA system are processed (format conversion, encryption, decryption, etc.), and the method of file processing is extended to each series of FPGA of this type. As a result, FPGA can be configured as long as a configuration file is available, without the need to connect the FPGA system to the experimental computer. The contents of this thesis are as follows: firstly, the NFS file system is constructed, which enables the embedded Linux system based on ARM to connect with the remote Linux server and obtain the corresponding FPGA configuration file. Secondly, the related circuit in SPI configuration mode is designed, the configuration circuit of ARM and FPGA is connected, the main SPI Flash mode is selected, and the ARM is set as slave device. Use ARM to reconfigure FPGA with SPI reconfiguration. Finally, in Linux system, the configuration file is downloaded from server to ARM through ARM, and then transferred to FPGA through ARM using SPI communication protocol, which makes FPGA reconfigure. Here choose Linux operating system, and develop the corresponding SPI driver under Linux. The design result of this paper realizes the NFS file system between the computer and the ARM development board, the cable network communication and the configuration file processing, and realizes the SPI communication between ARM and FPGA for reconfiguration.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP332;TN791
本文编号:2159728
[Abstract]:With the development of science and technology, FPGA is more and more widely used in real life. However, the reconfiguration of FPGA devices is generally necessary to connect FPGA devices to computers, and then reconfigure FPGA with configuration software and devices provided by manufacturers. This configuration has certain limitations. It needs to be configured around the computer, only in laboratory environments and more peaceful and stable production environments, when it needs to be in very harsh and often dramatically changing environments (as in war situations). The field work environment and so on, needs to study one kind of convenient configuration way. The task of this design is to use the embedded technology of Kou Yi development to reconfigure the FPGA by using ARM so that the reconfiguration of FPGA is separated from the special configuration software so that the FPGA configuration does not need direct connection with the computer. The configuration file can be pre-stored in the memory chip of ARM, and the ARM system can be connected to the network to download the configuration file from the remote server to reconfigure the FPGA. In the later design, the configuration files generated by FPGA system are processed (format conversion, encryption, decryption, etc.), and the method of file processing is extended to each series of FPGA of this type. As a result, FPGA can be configured as long as a configuration file is available, without the need to connect the FPGA system to the experimental computer. The contents of this thesis are as follows: firstly, the NFS file system is constructed, which enables the embedded Linux system based on ARM to connect with the remote Linux server and obtain the corresponding FPGA configuration file. Secondly, the related circuit in SPI configuration mode is designed, the configuration circuit of ARM and FPGA is connected, the main SPI Flash mode is selected, and the ARM is set as slave device. Use ARM to reconfigure FPGA with SPI reconfiguration. Finally, in Linux system, the configuration file is downloaded from server to ARM through ARM, and then transferred to FPGA through ARM using SPI communication protocol, which makes FPGA reconfigure. Here choose Linux operating system, and develop the corresponding SPI driver under Linux. The design result of this paper realizes the NFS file system between the computer and the ARM development board, the cable network communication and the configuration file processing, and realizes the SPI communication between ARM and FPGA for reconfiguration.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP332;TN791
【参考文献】
相关期刊论文 前8条
1 艾红;王洪涛;;基于ARM & Linux的嵌入式远程监控系统[J];安防科技;2009年07期
2 贺超;唐厚君;;基于Linux的嵌入式开放性数控系统平台的设计与开发[J];电工技术;2009年09期
3 周彩宝,刘应学;ARM体系以及AMBA总线分析[J];计算机工程;2003年05期
4 文全刚;陈守孔;;嵌入式方向课程设置与教学——基于ARM体系结构[J];计算机教育;2007年17期
5 郭志 ,江秀臣 ,曾奕;一个嵌入式系统的启动分析[J];微计算机信息;2005年22期
6 陈佳男;李欣;张海燕;;基于ARM+Linux的异步串行通信设计[J];微计算机信息;2009年08期
7 汪雪花;秦开宇;;基于ARM+Linux2.6内核的控制系统驱动设计[J];现代电子技术;2009年08期
8 王珏文;金伟信;蔡一兵;颜莉萍;;基于FPGA的SPI总线接口的实现[J];现代电子技术;2010年14期
,本文编号:2159728
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2159728.html