基于CPLD的路灯控制系统设计.doc
文本预览下载声明
PAGE
PAGE 29
摘 要
VHDL(即超高速集成电路硬件描述语言)是随着可编程逻辑器件(PLD)的发展而发展起来的一种硬件描述语言,主要用于描述数字系统的结构、行为、功能和接口,是电子设计自动化(EDA)的关键技术之一。它采用一种自上而下(top-down)的设计方法,即从系统总体要求出发,自上至下地逐步将设计内容细化,如划分为若干子模块,最后完成系统硬件的整体设计。它支持设计库和可重复使用的元件生成,支持阶层设计,提供模块设计的创建。VHDL设计技术对可编程专用集成电路(ASIC)的发展起着极为重要的作用。
交通灯控制系统通常要实现自动控制和手动控制其红绿灯的变化,传统的交通控制灯多数由单片机或PLC实现,基于FPGA设计的交通灯控制系统电路简单、可靠性好。本文主要介绍以EP1C3/EP1C6芯片进行十字路口的交通控制灯的设计,该系统可控制2个方向的红、黄、绿三盏灯,让其按特定的规律进行变化。用EP1C3/EP1C6作为交通控制灯的主控芯片,采用VHDL语言编写控制程序,利用MAX+PlusⅡ对设计结果进行仿真,发现系统工作性能良好。据此设计而成的硬件电路,也实现了控制要求。该设计展示了VHDL语言的强大功能和优秀特性。
关键词:交通控制灯 VHDL语言 FPGA EP1C3/EP1C6 MAX+PlusⅡ
ABSTRACT
VHDL (Very High Speed Integrated Circuit Hardware Description Language), a kind of hardware description language, which rises with the development of programmable logic device (PLD), is mainly used to describe the digital system structure, behavior, function and interface, it’s one of the key technologies of electronic design automation (EDA). It uses a top-down design method, that is to say, design elements are gradually refined according to the general system requirements, such as the delineation of a number of sub-modules and then the final completion of the overall system hardware design. It supports the design and reusable components generation, class design, support for the creation of modular design. The VHDL design technology plays an extremely important role in the development of ASIC.
Traffic light control system is usually to achieve automatic control and manual control of the change of its traffic lights. Traditional traffic control lights are mostly realized by SCM or PLC, the FPGA-based control system of traffic lights in which the circuit is simple is reliable. This paper introduces how to control the traffic lights at the crossroads by EP1C3/EP1C6 chip. The system can control the red, yellow and green lights of two directions, to make them change by specific rules. The performance of the system is good in the conditions of using EP1C3/EP1C6 as the traffic lights controlling c
显示全部