文件名称:Sequence-Detector
-
所属分类:
- 标签属性:
- 上传时间:2015-11-02
-
文件大小:4.4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用状态机设计一个序列检测器,用以检测“1101”。用btn[1]和btn[0]作为输入分别代表1和0,输入的当前数字显示在数码管最后一位,每当新输入一个数字,之前输入的数字左移一位,依次显示出最近输入的四位数字,无输入时数码管不显示任何数字。clk时钟需要分频后才可作为检测时钟(建议分频至190Hz),每当检测到序列中有“1101”出现时,led[0]点亮,即数码显示管上显示“1101”时led[0]点亮;当按下btn[2]时恢复初始状态。-The use of a state machine sequence detector for detecting " 1101." With btn [1] and btn [0] as input representing 1 and 0, the current digital input digital tube display in the last one, whenever entering a new number, enter the number before the left one, in turn shows recently four digital inputs, when no input digital tube does not show any numbers. After clk clock divider is available as a detector needs a clock (recommended crossover to 190Hz), whenever the detected sequence of " 1101" appears, led [0] is lit, the digital display shows " 1101" when the pipe led [0] lights btn restore the initial state when you press [2].
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Sequence Detector/bounce.vhd
Sequence Detector/clk_div.vhd
Sequence Detector/display.vhd
Sequence Detector/main.vhd
Sequence Detector/state.vhd
Sequence Detector
Sequence Detector/clk_div.vhd
Sequence Detector/display.vhd
Sequence Detector/main.vhd
Sequence Detector/state.vhd
Sequence Detector
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.