1、 课课 程程 设设 计计 说说 明明 书书 课程设计名称:课程设计名称: 电子技术课程设计电子技术课程设计 题题 目:目: 交通灯控制系统交通灯控制系统 日期:2012 年 5 月 25 日 成绩 第 1 页 摘要摘要: : Verilog HDL 作为一种规范的硬件描述语言,被广泛的运用于电路的设计之中, 本设计通过 FPGA 芯片实现了交通信号灯控制电路的设计。本文采用 Verilog 硬件描述 语言描述了十字路口交通信号灯电路,并完成了对电路的功能仿真。交通灯的循环点亮 方式采用状态机的设计思路, 实现环形计数器的功能。 输出部分通过组合逻辑电路实现。 系统控制主要由计数器、控制器、分频
2、器、分位译码器、和扫描显示电路等组成。通过 输入输出接口控制红绿灯发光二极管的亮灭和七段数码管的显示。与传统的设计方式相 比,本设计由于采用了 FPGA 芯片来实现,它将大量的电路功能集成到一个芯片中,并 且可以由用户自行设计逻辑功能,提高了系统的功率密集度、可靠性和工作速度。 关键词:关键词:现场可编程门阵列、硬件描述语言、交通灯、状态机、环形计数器 Abstract:Abstract: Verilog HDL as a standard of hardware description language, is widely used in the circuit design. In th
3、is design through the FPGA chip realized the traffic light control circuit design. In this article, the Verilog hardware description language describes the intersection traffic light circuit, and completed the function of circuit simulation. The traffic light cycle light way using the state machine
4、design train of thought, to realize the function of the annular counter. Output part through the assembly logic circuit implementation. System control mainly by the counter, controller, frequency division device, points a decoder, and scanning display circuit etc. Through the input/output interface
5、control traffic lights led light destroyed and seven section of pipe that digital. Compared with the traditional design methods, the design with FPGA chips to realize, it will be a lot of circuit function integration to a chip, and can be by the user to design logical function, improve the system of
6、 power consumed, reliability and the speed of work. Keywords: Keywords: FPGA Hardware Description Language Traffic lights State Machine Ring Counter 第 2 页 前言前言 随着电子技术的发展, 人们的生活水平和质量不断提高, 生活设备的智能化程度也 越来越高,这些都离不开电子产品的进步。现代电子产品在性能提高、复杂度增大 的同时,价格却一直呈下降趋势,而且产品更新换代的步伐也越来越快,实现这种 进步的主要因素是生产制造技术和电子设计技术的发展。 前者以微细加工技术为代 表, 目前已进展到深亚微米阶段, 可以在几平方厘米的芯片上集成数千万个晶体管。 后者的核心就是 EDA 技术,EDA 是指以计算机为工作平台,融合应用电子技术、计 算机技术、智能化技术最新成果而研制成的电子 CAD 通用软件包。 特别是近年来科技的飞速发展,EDA 技术的应用不断深入,不仅