六人抢答器设计
- 格式:doc
- 大小:161.00 KB
- 文档页数:27
题 目: 六人抢答器
一、初始条件
QuartusⅡ软件 微机 实验箱
二、要求完成的主要任务
1、抢答台数为6,具有抢答开始后20秒倒计时,20秒倒计时后六人抢答显示超时,并报警。
2、能显示超前抢答台号并显示犯规报警。
3、系统复位后进入抢答状态,当有一路抢答按键按下,该路抢答信号将其余各路抢答信号封锁,同时铃声响起,直至该路按键松开,显示牌显示该路抢答台号。
三、时间安排
作课程设计任务布置、选题、查阅资料 第1天
设计软件编程和仿真,验证设计的可行性和正确性 第2-8天
设计的硬件调试 第9-10天
机房检查设计成果,提交设计说明书及答辩 第11天
指导教师签名: 年 月 日
系主任(或责任教师)签名: 年 月 日
目 录
摘要 ............................................................................................................................... I
ABSTRACT ................................................................................................................. II
1 绪论 ........................................................................................................................... 1
2 设计内容及要求 ....................................................................................................... 2
2.1 设计的目的及主要任务 ..................................................................................... 2
2.1.1设计的目的.................................................................................................... 2
2.1.2 设计任务及主要技术指标........................................................................... 2
2.2设计思想 .............................................................................................................. 3
3 设计原理及单元模块设计 ....................................................................................... 3
3.1 设计原理及方法 ................................................................................................. 3
3.2 按键模块设计 ..................................................................................................... 4
3.3抢答控制模块 ...................................................................................................... 5
3.4犯规控制模块 ...................................................................................................... 6
3.5倒计时模块 .......................................................................................................... 7
3.6报警模块 .............................................................................................................. 8
3.7数码显示模块 ...................................................................................................... 9
3.8顶层电路的设计 ................................................................................................ 10
4电路的仿真及分析 .................................................................................................. 11
5 硬件调试 ................................................................................................................. 12
6 心得体会 ................................................................................................................. 13
参考文献 ..................................................................................................................... 14
附录一 ......................................................................................................................... 15
附录二 ......................................................................................................................... 16
附录三 ......................................................................................................................... 17 武汉理工大学《EDA课程设计》说明书
I
摘要
近年来随着科技的飞速发展,QuartusⅡ的应用正在不断地走向深入。本文介绍基于QuartusⅡ,并用VHDL语言设计来完成六人抢答器的方法。大体思想是:利用VHDL语言设计出按键选择模块,倒计时模块,抢答控制模块,犯规控制模块,报警模块及数码显示模块等所需要的元件,将这些元件进行例化后,进行一定的连接形成六人抢答器系统。该系统具有的功能是:开始抢答前,若有选手按动抢答键,则显示犯规选手编号且报警;当开始抢答后,若在20s内有选手按动抢答键,则能显示选手的编号且铃声响起,同时能禁止其他选手抢答,若在20s内没有选手按动抢答键,则显示超时且报警。
关键词: QuartusⅡ;VHDL; 抢答器 武汉理工大学《EDA课程设计》说明书
II
Abstract
In recent years, with the rapid development of science and technology, the
applications of Quartus Ⅱ are continually deepening. This article introduces how to
make an competitive answer machine that can be used by six selects based on Quartus
Ⅱand VHDL language. The general idea is like following: First, use VHDL language
to design the required components of button selection module, countdown module,
answer control module, fouls control module, alarm module and digital display
modules. Second, instantiate these components. Finally, line these components
into a competitive answer machine. The system has the following functions: Before
the beginning, if a selector pressed his button, then the alarm would ring and his
number would be displayed on Digital Tube. Once begin, if there were one elector
pressed his button within 20 seconds, then the alarm would ring and his number
would be displayed on Digital Tube, at the same time, the others wouldn’t be