![]() Reaction time ( leds leds leds leds leds leds leds leds leds leds leds <= " " END CASE END PROCESS END Behavior ECE M. “w” signal pulse is generated by the Dual OS circuit to light the LED and to trigger the BCD counter. Reference: Fundamentals of Digital Logic, section ECE M. The count which shows the reaction time will be displayed on the 7-segment displays HEX3-0. 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 amount of time in seconds from when the circuit is reset until LEDR0 is turned on is set by the output of a pseudo random number generator (PRNG). After an elapsed time, the red light labeled LEDR0 turns on and a four-digit BCD counter starts counting in intervals of milliseconds. The circuit is reset by pressing the pushbutton switch KEY0. Design and implement on the DE2 board a reaction-timer circuit.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |