【摘 要】
传统的交通灯控制系统多数由单片机或PLC实现,本文介绍的是基于EDA技术设计交通灯系统的一种方案。EDA技术的一个重要特征就是使用硬件描述语言(HDL)来完成系统的设计文件,应用VHDL的数字电路实验降低了数字系统的设计难度,这在电子设计领域已得到设计者的广泛采用。本设计就是针对交通信号灯控制器的设计问题,提出了基于VHDL语言的交通信号灯系统的硬件实现方法。通过对系统进行结构分析,采用了层次化的设计方法,给出了各个模块的VHDL程序,并且利用Max PlusⅡ对应用程序进行了仿真,并给出了相应的仿真结果。在用VHDL语言进行电路设计时,应充分认识到VHDL语言的特点,从设计思想、语句运用及描述方法上等多方面对电路进行优化设计。通过电路优化设计,可以使用规模更小的可编程逻辑芯片,从而降低系统成本。
关键词:交通信号灯灯;VHDL;仿真
【Abstract】
Traffic light controller system is usually developed by microprocessor or PLC.This paper introduces the design of traffic light system base on EDA,one important characteristic of the EDA is that the design documents should be completed by the HDL, the digital circuit experiment utilized very-high-speed integrated circuit hardware description language(VHDL) may reduce the difficulties of digital system designing,and it is widely used by electronic designer now.Aiming at the design problem of traffic light controller,this paper puts forward a hardware realization method of traffic light system with VHDL.By analyzing the architecture of system,it gives the program of each module with VHDL using hierarchical design means.It also gives the simulation results by Max PlusⅡ. Be completely realized VHDL Language's feature when designed circuit by VHDL,Improving circuit design from the idea of design,the usage of statements and the method of describe.
Keywords: traffic light VHDL simulation
目 录
1绪论 1
2概述 1
2.1 EDA技术及其发展 1
2.2 EDA与传统电子设计方法的比较 2
3交通灯系统的设计 2
3.1 交通系统的发展趋势 2
3.2 选择VHDL硬件描述语言设计的优势 2
3.3 红绿灯交通信号系统功能描述 2
3.4 红绿灯交通信号系统的VHDL模块 4
3.4.1 时钟脉冲发生电路 4
3.4.2 计数秒数选择电路 6
3.4.3 倒计时控制电路 8
3.4.4 红绿灯信号控制电路 11
3.4.5 建立程序包 12
3.4.6 连接各个模块 13
图14 连接各个模块后的管脚分配图 14
结 论 15
参考文献 16
致 谢 17
附 录 18
1.时钟发生电路程序代码 18
2.计数秒数选择电路程序代码 19
3.倒计时控制电路程序代码 21
4.红绿灯信号控制电路程序代码 22
5. 建立程序包的程序代码 27
6.连接各个模块的程序代码 28
英文文献 30

您当前的位置:
