摘要
某些系统需要对FPGA加载配置文件或更新数据,回读FPGA中的数据以获得系统的工作状态或参数。针对这个需求,设计并实现了一种基于SPI接口的利用FPGA片内Flash的配置方法。以普通PC中的参数配置软件作为配置主控制器,通过串口对Spartan-3AN系列FPGA片内的Flash(In-System Flash,ISF)进行控制,可下发FLASH擦除、写入、回读和sector保护功能等命令,成功实现对FPGA工作状态、参数的动态加载和读取。经过多台设备的测试验证,该功能稳定可靠。
Some systemsneed to load configuration file or update dataon the FPGA,andread back the data in the FPGA,thus obtaining the operating status or parameters of the system.To address this need,a configuration method based on SPI interface and the use of FPGA on-chip Flash is designed and implemented.The parameter configuration software in the ordinary PC is used as the configuration master controller,and through the serial port,the Flash(In-System Flash,ISF)inSpartan-3AN series FPGA chipis controlled,and by issuing commands such as FLASH erase,write,readback and sector protection functions,the dynamic loading and reading of FPGA operating states and parametersis successfully implemented.Test verification with multiple devices indicates that the function is stable and reliable.
作者
周刚
曹健辉
彭勃
ZHOU Gang;CAO Jian-hui;PENG Bo(No.30 Institute of CETC,Chengdu Sichuan 610041,China)
出处
《通信技术》
2019年第3期750-757,共8页
Communications Technology