Question: Consider that a new Nios timer is configured thusly: It is always a 32-bit down counter. In Qsys, you configure a the timeout to have
- Consider that a new Nios timer is configured thusly:
- It is always a 32-bit down counter.
- In Qsys, you configure a the timeout to have a maximum timeout value in terms of units of time (e.g., 30 ms).
- The clock is scaled such that counting down from the maximum value of 0xFFFFFFFF always correlates to that maximum timeout value.
Let there be one of these timers configured with a maximum timeout of 1 second. We are timing the execution of a process. It starts when the timer is at the maximum value; it ends when the timers value is 0x12344321. How long (in milliseconds) did the process take?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
