1、 课程设计报告课程设计报告 题题 目目 交通灯控制电路设计交通灯控制电路设计 专业、学号专业、学号 授课班号授课班号 学生姓名学生姓名 指导教师指导教师 完成时间完成时间 2012/9/3 HDL 项目设计 - - 1 摘摘 要要 本次课程设计通过 HDL 技术设计交通灯控制系统,其设计描述可被不同的 工具所支持,可用不同器件来实现。同学们在理论学习的基础上,通过完成一个 涉及时序逻辑、组合逻辑、声光输出的,具有实用性、趣味性的小系统设计,使 学生不但能够将课堂上学到的理论知识与实际应用结合起来,而且能够对分析、 解决实际的数字电路问题进一步加深认识, 为今后能够独立进行某些数字应用系 统的开
2、发设计工作打下一定的基础。 利用 Verilog HDL 语言自顶向下的设计方法设计交通灯控制系统 ,使其实 现道路交通的快速正常运转,突出了其作为硬件描述语言的良好的可读性、可移 植性和易理解等优点,并通过 Quartus II 和 ModelSim 完成综合、仿真。此程 序下载到 FPGA 芯片后,可应用于实际的交通灯控制系统中。 通常的设计方法 基于中、小规模集成电路进行 , 电路元件多、接线复杂、故障率高。随着大规 模集成电路的发展、 EDA 技术的出现 , 数字电路的设计进入了一个崭新阶段 。 首先是利用 ModelSim 编写程序, 再将程序输入 Quartus II 进行进一步的
3、仿真, 问题最大之处就是编写的是否正确,是否能出现分析中的仿真。 本论文介绍了用 Verilog HDL 语言设计交通灯控制器的方法 , 并在 Quartus II 系统对 FPGA 芯片进行编译下载 , 由于生成的是集成化的数字电 路 ,没有传统设计中的接线问题 , 所以故障率低 、 可靠性高 , 而且体积非常 小 。 根据提示更改程序,查找资料及其询问得到更改。使得仿真图与分析图一 致,达到理想状态,进行实验箱连接。 【关键词】 Verilog HDL 硬件描述语言 交通灯控制器 HDL 项目设计 - - 2 ABSTRACT This course is designed by HDL
4、design of traffic light control system, its design description can be supported by different tools, implemented by different devices. Students based on theory study, by completing one involving sequential logic, combinational logic, an output, practical, fun little system design, so that the student
5、s can not only to the classroom theoretical knowledge and practical application of combined, but also to the analysis, solve practical digital circuit problem further understanding, for the future can be independent of certain digital application system design work and lay a foundation. Using Verilo
6、g language HDL top-down design method to design the traffic light control system, make its make traffic fast running, prominent as a hardware description language good readability, portability and easy to understand and other advantages, and through Quartus II and ModelSim completed a comprehensive, simulation. This program is downloaded to FPGA chip, can be applied to the practical traffic lights control system. The usu