基于FPGA的SPI接口Flash控制器设计及在存储配置数据中的应用.pdf
文本预览下载声明
第 36 卷第 2 期 2014 年 3 月
Vol.36 No.2 Journal of Tangshan Teachers College Mar. 2014
基于 FPGA 的 SPI 接口 Flash 控制器设计
及在存储配置数据中的应用
赵庆平,姜恩华
(淮北师范大学物理与电子信息学院,安徽 淮北 235000 )
摘 要:介绍了SPI 工作原理,给出了一种基于FPGA 的SPI 控制器的设计方法。利用FPGA 丰富的逻辑
资源以及产生精确时序的能力,非常方便地对SPI flash 进行读写、擦除等操作,从而能快速、准确地存储数据。
阐述SPI 控制器的设计过程,使用Modelsim 进行仿真验证,并用VHDL 硬件描述语言进行编程,下载到FPGA
开发板上进行测试验证,对SPI 接口Flash 进行操作。证明了系统设计方法的正确性和可靠性。该方法对FLASH
存储控制系统的设计具有普遍适用性,可用于对FPGA 配置进行保存。
关键词:SPI 控制器;FPGA ;VHDL 设计;Modelsim 仿真
TP332.3 A 1009-9115(2014)02-0069-04
中图分类号: 文献标识码: 文章编号:
DOI :10.3969/j.issn.1009-9115.2014.02.020
Design of SPI Interface Flash Controller Based on FPGA and the
Application in Storing Configuration Data
ZHAO Qing-ping, JIANG En-hua
(School of Physics and Electronic Information, Huaibei Normal University, Huaibei 235000, China)
Abstract: It introduces the operating principles of SPI (serial peripheral interface) and gives a designed method by using
SPI controller based on FPGA (Field Programmable Gate Array). We can expediently read-write and wipe SPI flash to quickly
and accurately storage data with rich logical resources and accurate time series making by FPGA. It also expounds the designing
process of SPI controller, which utilizes the simulation and verification by Modelsim and uses VHDL hardware description
language controller to program, and then download the program to FPGA development board to test and verify and finally
operates the SPI interface flash. It is proved that the method is correct and reliable, and has general applica
显示全部