摘要
ARM与FPGA是目前应用于嵌入式开发的两款主要芯片,ARM偏向于控制领域,而FPGA偏向数据处理。为实现两者的协同工作以及数据通信,介绍了一种通信接口方案的设计与实现。在ARM上运行嵌入式Linux系统的情况下,将FPGA作为字符设备,对两者之间的接口进行驱动程序开发,包括数据总线驱动和GPIO控制驱动。用户应用程序通过调用驱动中定义好的操作函数,便可实现两者的数据通信。最后利用自定义的通信方案对接口进行测试,实现了ARM对FPGA设备的命令控制以及正确稳定的并行数据传输。
At present,ARM and FPGA are two mainstream chips that used in embedded development. ARM is widely used in the field of control,while FPGA is more used in the field of data processing. In order to realize synergetic work and data communication between them,this paper introduces the design and implementation of a kind of communication interface between ARM and FPGA. The interface driver was developed in the case of embedded Linux system running on ARM and FPGA as a character device,including data bus driver and general purpose input output( GPIO) driver. The user application program can realize the data communication between them by calling the operation function defined in the driver. At last,after testing the interface with custom communication scheme,it can realize the control of ARM to FPGA equipment and stable parallel data transmission.
出处
《杭州电子科技大学学报(自然科学版)》
2015年第4期26-30,共5页
Journal of Hangzhou Dianzi University:Natural Sciences
关键词
数据总线
通用输入输出端口
嵌入式系统
设备驱动
data bus
general purpose input output
embedded operating system
device driver