文件名称:light
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 589kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
A方向和B方向各设红(R)、黄(Y)、绿(G)和左拐(L)4盏灯,4种灯按合理的顺序亮灭,并将时间以倒计时的形式显示出来。同时要设置两个方向的紧急通道模式,当某一方向有紧急事件发生时,交警按下紧急通道按钮,该方向绿灯亮,另外一个方向红灯亮,等紧急事件解除后(假定计时10s),交通恢复原来的状态
要求在数码管上显示两个方向的灯种和计时,实现紧急情况按钮输入功能
根据交通灯控制要实现的功能,可考虑用两个并行执行的always模块(两个进程)来分别控制A和B两个方向的4盏灯。这两个always模块使用同一个时钟信号,以进行同步,也就是说,两个进程的敏感信号时同一个
每个always模块控制一个方向的4种灯按如下顺序点亮,并往复循环:绿灯-黄灯-左拐灯-黄灯-红灯,灯亮的时间由自己设定
由于板上资源有限,如觉得实现困难,可去掉左拐灯,即顺序为绿灯-黄灯-红灯。-err
要求在数码管上显示两个方向的灯种和计时,实现紧急情况按钮输入功能
根据交通灯控制要实现的功能,可考虑用两个并行执行的always模块(两个进程)来分别控制A和B两个方向的4盏灯。这两个always模块使用同一个时钟信号,以进行同步,也就是说,两个进程的敏感信号时同一个
每个always模块控制一个方向的4种灯按如下顺序点亮,并往复循环:绿灯-黄灯-左拐灯-黄灯-红灯,灯亮的时间由自己设定
由于板上资源有限,如觉得实现困难,可去掉左拐灯,即顺序为绿灯-黄灯-红灯。-err
(系统自动生成,下载前可以参看下载内容)
下载文件列表
light
.....\.untf
.....\automake.log
.....\bitgen.ut
.....\coregen.log
.....\coregen.prj
.....\light.bgn
.....\light.bit
.....\light.bld
.....\light.cmd_log
.....\light.dhp
.....\light.drc
.....\light.lso
.....\light.mrp
.....\light.nc1
.....\light.ncd
.....\light.ngc
.....\light.ngd
.....\light.ngm
.....\light.ngr
.....\light.npl
.....\light.pad
.....\light.pad_txt
.....\light.par
.....\light.pcf
.....\light.placed_ncd_tracker
.....\light.prj
.....\light.routed_ncd_tracker
.....\light.stx
.....\light.syr
.....\light.twr
.....\light.twx
.....\light.ucf
.....\light.ucf.untf
.....\light.ut
.....\light.vhd
.....\light.xpi
.....\light1.ucf
.....\lighttest.dhp
.....\light_last_par.ncd
.....\light_map.ncd
.....\light_map.ngm
.....\light_pad.csv
.....\light_pad.txt
.....\light_vhdl.prj
.....\xst
.....\...\work
.....\...\....\hdllib.ref
.....\...\....\hdpdeps.ref
.....\...\....\sub00
.....\...\....\.....\vhpl00.vho
.....\...\....\.....\vhpl01.vho
.....\_impact.cmd
.....\_impact.log
.....\_ngo
.....\....\netlist.lst
.....\__projnav
.....\.........\bitgen.rsp
.....\.........\coregen.rsp
.....\.........\ednTOngd_tcl.rsp
.....\.........\light.gfl
.....\.........\light.xst
.....\.........\lighttest.gfl
.....\.........\lighttest_flowplus.gfl
.....\.........\light_flowplus.gfl
.....\.........\light_ncdTOut_tcl.rsp
.....\.........\map.log
.....\.........\nc1TOncd_tcl.rsp
.....\.........\par.log
.....\.........\parentCreateAreaConstraintsApp_tcl.rsp
.....\.........\parentEditConstraintsTextApp_tcl.rsp
.....\.........\posttrc.log
.....\.........\runXst_tcl.rsp
.....\__projnav.log
.....\.untf
.....\automake.log
.....\bitgen.ut
.....\coregen.log
.....\coregen.prj
.....\light.bgn
.....\light.bit
.....\light.bld
.....\light.cmd_log
.....\light.dhp
.....\light.drc
.....\light.lso
.....\light.mrp
.....\light.nc1
.....\light.ncd
.....\light.ngc
.....\light.ngd
.....\light.ngm
.....\light.ngr
.....\light.npl
.....\light.pad
.....\light.pad_txt
.....\light.par
.....\light.pcf
.....\light.placed_ncd_tracker
.....\light.prj
.....\light.routed_ncd_tracker
.....\light.stx
.....\light.syr
.....\light.twr
.....\light.twx
.....\light.ucf
.....\light.ucf.untf
.....\light.ut
.....\light.vhd
.....\light.xpi
.....\light1.ucf
.....\lighttest.dhp
.....\light_last_par.ncd
.....\light_map.ncd
.....\light_map.ngm
.....\light_pad.csv
.....\light_pad.txt
.....\light_vhdl.prj
.....\xst
.....\...\work
.....\...\....\hdllib.ref
.....\...\....\hdpdeps.ref
.....\...\....\sub00
.....\...\....\.....\vhpl00.vho
.....\...\....\.....\vhpl01.vho
.....\_impact.cmd
.....\_impact.log
.....\_ngo
.....\....\netlist.lst
.....\__projnav
.....\.........\bitgen.rsp
.....\.........\coregen.rsp
.....\.........\ednTOngd_tcl.rsp
.....\.........\light.gfl
.....\.........\light.xst
.....\.........\lighttest.gfl
.....\.........\lighttest_flowplus.gfl
.....\.........\light_flowplus.gfl
.....\.........\light_ncdTOut_tcl.rsp
.....\.........\map.log
.....\.........\nc1TOncd_tcl.rsp
.....\.........\par.log
.....\.........\parentCreateAreaConstraintsApp_tcl.rsp
.....\.........\parentEditConstraintsTextApp_tcl.rsp
.....\.........\posttrc.log
.....\.........\runXst_tcl.rsp
.....\__projnav.log