hw05 - over to 35) Stopwatch starts at 35 and displays...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE420 Homework/Project #5 20 points Design a 2-digit stopwatch that ticks every second. A switch is used to start and stop the time. When the switch is pushed, the time will start and when it is pushed again, the time will stop. In order for the switch to work properly, the switch must be debounced and the software debouncer must be used for the debouncing. Implement the stopwatch using the Altera Cyclone II EP2C35F672C5. Additional Requirements : 1. Entry Method: Solely VHDL codes. 2. Stopwatch initial time must be the last two digits of your student ID XY 3. XY Tick of Time Count Format Roll Over at Roll Over to 00 - 20 + 3 BCD XY + 30 XY 21 - 40 + 4 BCD XY + 40 XY 41 - 50 - 3 BCD XY – 30 XY 51 - 70 - 4 BCD XY - 40 XY 71 - 99 - 5 BCD XY - 50 XY Example: Last two digits of a student ID: 35 (increment by +4, roll over at 75, roll
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: over to 35) Stopwatch starts at 35 and displays sequentially after each second : 39, 43, 47, 51, 55, 59, 63, , 71, 75, roll over to 35 , 43, 47, continues in the same pattern listed earlier. Material to submit: clk set ledh 7 7 1. VHDL codes with abundance of comment statements. 2. Functional simulation output with the VHDL codes modified to assume that one microsecond = 2 system clock cycles, one millisecond = 2 microseconds, one second = 2 milliseconds, and system clock is 50 MHz. Include also the start/stop simulation. Manually identify where the tick of time rolls over, and where the timer stops and starts. Do your own work; copying other students work is prohibited!...
View Full Document

Page1 / 2

hw05 - over to 35) Stopwatch starts at 35 and displays...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online