摘 要SPI 是英语 Serial Peripheral interface 的缩写,顾名思义就是串行外围设备接口
SPI 是一种高速的、全双工、同步的通信总线,并且在芯片的管脚上只占用四根线,节约了芯片的管脚,同时为 PCB 的布局上节约空间
SPI Flash主要用于代码存储或者其他非易失性存储应用
本设计目的在于完成一个 SPI Flash Controller 的设计,相当于在上层的Driver 和 Flash 器件之间建立起一座连接的桥梁
控制器接收上层配置的并行数据和控制信号,经过控制器处理之后以串行的方式发送至 Flash 器件以完成对 Flash 的相应的读写等操作
本设计采纳 Verilog HDL 语言,在 Vi 编辑器中完成设计,并用 EDA tool 对设计进行了编译、模拟、仿真和调试
最后又在FPGA 上对结果进行了实践证明
完成上述全部工作之后,再从功能、面积优化和成本缩减等方面对设计进行分析总结本次毕业设计中获得的宝贵经验
关键词: 闪存 Verilog HDL 串行 并行 FPGAABSTRACTSPI (Serial Peripheral interface) is a serial periphery slave interface
SPI is a fast, duplex and synchronism communication bus
And there are only 4 pins on the chip of SPI
It is so convenient for wire layings of PCB
SPI Flash is ideal for code download as well as storing nonvolatile voice, text and data
In this design, I