广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验五 Clocks and Timers

Laboratory Exercise 5 Clocks and Timers This is an exercise in implementing and using a real-time clock. PartI Implement a 3-digit BCD counter.Display the contents of the counter on the 7-segment displays,HEX2-0.Derive a control signal,from the 50-MHz clock signal provided on the Altera DE2 board,to increment the contents of the counter at one-second intervals.Use the pushbutton switch KEYo to reset the counter to 0. 1.Create a new Quartus II project which will be used to implement the desired circuit on the DE2 board. 2.Write a VHDL file that specifies the desired circuit. 3.Include the VHDL file in your project and compile the circuit. 4.Simulate the designed circuit to verify its functionality 5.Assign the pins on the FPGA to connect to the 7-segment displays and the pushbutton switch,as indicated in the User Manual for the DE2 board. 6.Recompile the circuit and download it into the FPGA chip. 7.Verify that your circuit works correctly by observing the display. Part II Design and implement a circuit on the DE2 board that acts as a time-of-day clock.It should display the hour(from 0 to 23)on the 7-segment displays HEX7-6,the minute (from 0 to 60)on HEX5-4 and the second (from 0 to 60) on HEX3-2.Use the switches SW15-0 to preset the hour and minute parts of the time displayed by the clock. Part III Design and implement on the DE2 board a reaction-timer circuit.The circuit is to operate as follows: 1.The circuit is reset by pressing the pushbutton switch KEYo. 2.After an elapsed time,the red light labeled LEDRo turns on and a four-digit BCD counter starts counting in intervals of milliseconds.The amount of time in seconds from when the circuit is reset until LEDRo is turned on is set by switches SW7-0. 3.A person whose reflexes are being tested must press the pushbutton KEY3 as quickly as possible to turn the LED off and freeze the counter in its present state.The count which shows the reaction time will be displayed on the 7-segment displays HEX2-0. Copyright C2006 Altera Corporation. 1
Laboratory Exercise 5 Clocks and Timers This is an exercise in implementing and using a real-time clock. Part I Implement a 3-digit BCD counter. Display the contents of the counter on the 7-segment displays, HEX2−0. Derive a control signal, from the 50-MHz clock signal provided on the Altera DE2 board, to increment the contents of the counter at one-second intervals. Use the pushbutton switch KEY 0 to reset the counter to 0. 1. Create a new Quartus II project which will be used to implement the desired circuit on the DE2 board. 2. Write a VHDL file that specifies the desired circuit. 3. Include the VHDL file in your project and compile the circuit. 4. Simulate the designed circuit to verify its functionality. 5. Assign the pins on the FPGA to connect to the 7-segment displays and the pushbutton switch, as indicated in the User Manual for the DE2 board. 6. Recompile the circuit and download it into the FPGA chip. 7. Verify that your circuit works correctly by observing the display. Part II Design and implement a circuit on the DE2 board that acts as a time-of-day clock. It should display the hour (from 0 to 23) on the 7-segment displays HEX7−6, the minute (from 0 to 60) on HEX5−4 and the second (from 0 to 60) on HEX3−2. Use the switches SW15−0 to preset the hour and minute parts of the time displayed by the clock. Part III Design and implement on the DE2 board a reaction-timer circuit. The circuit is to operate as follows: 1. The circuit is reset by pressing the pushbutton switch KEY0. 2. After an elapsed time, the red light labeled LEDR0 turns on and a four-digit BCD counter starts counting in intervals of milliseconds. The amount of time in seconds from when the circuit is reset until LEDR 0 is turned on is set by switches SW7−0. 3. A person whose reflexes are being tested must press the pushbutton KEY 3 as quickly as possible to turn the LED off and freeze the counter in its present state. The count which shows the reaction time will be displayed on the 7-segment displays HEX2-0. Copyright c 2006 Altera Corporation. 1
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验四 Counters.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验三 Latches, Flip-flops, and Registers.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验二 Numbers and Displays.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验一 Switches, Lights, and Multiplexers.pdf
- 中国科学技术大学:《计算机图形学》课程教学资源(讲义)第六章 观察(主讲:黄章进).pdf
- 中国科学技术大学:《计算机图形学》课程教学资源(讲义)第四章 输入与交互.pdf
- 中国科学技术大学:《计算机图形学》课程教学资源(讲义)第五章 几何对象与变换.pdf
- 中国科学技术大学:《计算机图形学》课程教学资源(讲义)第二章 计算机图形系统.pdf
- 中国科学技术大学:《计算机图形学》课程教学资源(讲义)第三章 OpenGL编程.pdf
- 中国科学技术大学:《计算机图形学》课程教学资源(讲义)第一章 计算机图形学概述 Computer Graphics.pdf
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第九章 群体类和群体数据的组织.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第八章 多态性.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第七章 继承与派生.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第六章 数组、指针与字符串.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第五章 C++程序的结构.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第四章 类与对象.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第三章 函数.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第二章 C++简单程序设计.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第十二章 异常处理.ppt
- 清华大学:《C++语言程序设计》课程教学资源(PPT课件)第十一章 流类库与输入/输出.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验六 Adders, Subtractors, and Multipliers.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验七 Finite State Machines.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验八 Memory Blocks.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验九 A Simple Processor.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(实验指导)实验十 An Enhanced Processor.pdf
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)前言(负责人:张健).ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第1章 概述.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第2章 可编程逻辑器件.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第3章 集成开发平台QuartusII操作基础.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第4章 VHDL编程基础.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第5章 VHDL主要描述语句.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第6章 VHDL设计共享.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第7章 基本逻辑电路设计.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第8章 有限状态机的VHDL设计.ppt
- 广东海洋大学:《VHDL程序设计语言》课程教学资源(PPT课件)第10章 EDA设计的仿真与测试.ppt
- 西安电子科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件讲稿)第二章 物理层.pptx
- 西安电子科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件讲稿)第三章 数据链路层.pptx
- 西安电子科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件讲稿)第四章 网络层.pptx
- 上饶师范学院:《数据库系统原理》课程教学资源(试卷习题)数据库系统原理模拟试卷(考试模拟试题,共十套,含参考答案).doc
- 上饶师范学院:《数据库系统原理》课程教学资源(资料讲义)数据库系统原理总复习(负责人:颜清).doc