I’m working on a other question and need support to help me learn.
Lab Assignment #2 – The Stopwatch In this lab, we will turn our simulator into a stopwatch. We have six seven-segment displays, so we will organize them as: MM:SS:HH. That is to say, the leftmost two digits display the number of minutes counted, the middle two digits display the number of seconds counted and the rightmost two digits display the count in hundredths of a second. The seven segment displays have decimal points, but unfortunately the decimal points have not been wired to the Cyclone V, so we’ll have to imagine it. Part 1 – Lab Assignment The DE-10 has four push-button switches. They are debounced in hardware, so even in hardware you don’t have to worry about debouncing them. (In simulation, of course you don’t.) They are mapped into the ARM’s memory at address 0xFF200050 (called KEY_BASE in address_map_arm.h) For the purposes of this lab, we will identify them as follows: Switch Bit Position Function PB1 Bit 0 Start PB2 Bit 1 Stop PB3 Bit 2 Lap PB4 Bit 3 Clear The operation of a stopwatch is as follows: • Clear returns the stopwatch to its default status. The clock time, the lap time and the output should all clear to 00:00.00 • Start starts the timer counting up. • Stop stops the timer counting but does not reset it. The clock can be restarted and will pick up from the same point. • Lap captures the time currently stored. The lap time DOES NOT appear on the display unless selected (see below). Only one lap time can be stored. A second click on Lap overwrites the previous time. The stopwatch also has one mode switch. Bit 0 of the slide switch bank (our old friend from Lab 1) toggles between displaying the current time OR the lap time. Useful Information For the purposes of this lab, we will use the Interval Timer. There are two Interval Timers on the board. The first Interval Timer is mapped into the ARM’s memory space at TIMER_BASE, while the second one is mapped at TIMER_2_BASE. The simulator implements both of them. The timer has the following register map: Address Register Function TIMER_BASE+0 Status TIMER_BASE+1 Control TIMER_BASE+2 Load Value Low TIMER_BASE+3 Load Value High The function of the timer is documented in the user manual DE10-Standard_Computer_ARM (available at OWL) on page 12 (Interval Timers). The timer runs at 100MHz. For the purposes of creating the stopwatch, you will probably want to program it to count 0.01 second intervals. Note that since we are stuck in the simulator, the actual performance of the timer element could be unpredictable and slower than real time, although on my computer I get very close to accurate results. Evaluation The TAs will assess the code based on the results of simulation. Part 2 – Discussion Finally, I like to invite you to think about the experience of the lab. Was it worthwhile? Did you learn anything? Can you see ways to apply what you have learned? Did you have problems with the development environment? Was the lab too easy? Too difficult? Too long? You do not have to submit anything at this time. However, I will be asking you to submit a document towards the end of the semester summarizing your reaction to the labs as a whole, so making some notes now while it is fresh in your memory is a good idea.

Requirements: Follow the instruction

can any one help me in my lab experiment home work Other account_circle Unassigned schedule 10 Hours account_balance_wallet $1.00-$5.00