编 号毕业设计(论文)题目:SPI 接口的仿真与验证物联网工程 学 院 电 子 信 息 工 程 专 业学 号 0703090121 学生 胥翔 指导老师 虞致国 副教授二〇一三年六月摘要 在专用集成电路(ASIC)设计技术以与超大规模集成电路(VLSI)工艺技术的飞速进展的今日,FPGA编程的硬件电路被越来越多的应用于实现诸如SPI接口等方面。相对于软件实现,硬件具有更多的优点。SPI接口技术是一种高速高效率的串行接口技术, 主要用于扩展外设与其数据交换, 已经作为一种配置标准。作为一个标准的接口,SPI具有简单方便和节约系统资源的优点,使得大多数芯片都支持该接口。 SPI接口主要应用在EEPROM、FLASH、实时时钟、AD转换器,还有数字信号处理器和数字信号解码器之间。SPI 接口的全称是"Serial Peripheral Interface",串行外围接口,是由 Motorola公司首先在其 MC68HCXX 系列处理器上定义的。现在大部分厂家都是参照 Motorola 的定义来设计的。因为没有确切的版本协议,所以不同厂家的 SPI 接口在技术上存在一定程度上的差别,甚至会引起歧义。本文是利用 Verilog 硬件描述语言编写出 SPI 总线的主机模块,经过 Xilinx ISE 仿真得出相应的仿真波形。根据仿真波形分析,所设计的 SPI 主机模块的功能是正确的,并且在 Xilinx ISE 中对该模块进行综合与实现。 关键词:FPGA;SPI 接口;Verilog;Xilinx ISEAbstractIn application-specific integrated circuit (ASIC) design technology and very large scale integrated circuit (VLSI) technology rapid development today, the FPGA programming of the hardware circuit is more and more used in implementation such as SPI interface. Relative to the software, hardware has more advantages.As a standard interface, SPI has advantages of simple and convenient and saving system resources, makes the most of the chip is supported by the interface.SPI interface block is mainly used in EEPROM, FLASH, real-time clock, AD converter, and between the digital signal processor and digital signal decoder. SPI Interface is the full name of "Serial Peripheral Interface", Serial Peripheral Interface, Motorola is first...