摘要
使用片外flash存储的配置文件来重配置FPGA具有众多优点,传统的做法是直接通过SPI读取flash里的配置文件,弊端显而易见,多个配置文件不便于管理,直接访问通用性差。FatFs是专门针对小型嵌入式系统的通用FAT文件系统模型,代码空间和数据空间需求量小。基于艾特(Actel)的片上系统FPGA芯片SmartFusion,通过对FatFs文件系统的移植,有效解决了对配置文件的管理问题,同时屏蔽了对flash的直接访问,避免误操作。
There are many advantages in configuration of FPGA by using configuration files on off-chip flash in store.Traditionally the configuration files in flash are read directly by SPI,the drawback is obviously,including that the management of multiple configuration files are not easy and the direct access to flash could not be commonly used.FatFs is a general FAT file system model for small embedded systems with little demand of code place and data place.Based on FPGA chip Smart Fusion from Actel and the transplantation of FatFs file system,the management configuration files is effectively settled,and meanwhile the direct access to flash shielded,and the mistake avoided.
出处
《通信技术》
2013年第8期150-152,共3页
Communications Technology
关键词
片上系统
串行外设接口
文件系统
SoC(system-on-chip)
SPI(serial peripheral interface)
FatFs(File System)