摘要
VHDL语言作为一种数字电路设计语言,在集成电路前端设计和用FPGA器件实现数字电子系统设计的过程设计中发挥着十分重要的作用。通过实现对AT24C08的读写,掌握VHDL这一硬件描述语言以及FPGA程序的设计思路,熟练掌握状态机的应用。首先简单介绍了IIC硬件电路设计,IIC通讯接口的标准协议以及ATMEL公司串行EEPROM AT24C08的工作原理,重点阐述了IIC总线驱动AT24C08的程序设计思路。整个程序设计采用VHDL语言,在QUARTUS II开发环境下进行各个模块的程序编写,并且通过原理图输入方式完成顶层模块的原理图设计,然后通过Modelsim仿真软件进行整个程序仿真,最终通过示波器观测实验波形,来验证程序的正确性。实验结果与仿真结果一致,实现了AT24C08数据的写入和读取。
VHDL language, as a kind of digital circuit design language, in the front-end design of integrated circuit, using FPGA devices to achieve digital electronic system design process design, is playing a very important role. Through the realization of the AT24C08 read and write, the VHDL hardware description language, FPGA program design ideas and the application of state machine are mastered. First of all, the paper briefly introduces the IIC hardware c ircu it design, the standard protocol of IIC communication interface and the working principle of serial AT24C08 EEPROM of ATMEL company, focusing on the program design of IIC bus driver AT24C08. The whole process of the design using VHDL language, in the Quartus II development environment for each module of the program, completes the schematic design of the top - level module the schematic and the whole process simulation by Modelsim simulation software. Finally, the oscilloscope is used to observe the experiment for verifying the correctness of the program. The experimental results and simulation results are consistent, and AT24C08 data write and read is achieved.
出处
《微处理机》
2017年第2期86-90,共5页
Microprocessors