Claims
- 1. In a data processing system having a processor, a memory, a direct memory access controller which executes a plurality of DMA tasks, and a timer unit for controlling task execution time, the timer unit comprising:a first counter coupled to the direct memory access controller, the first counter for preserving an execution interval; and a second counter coupled to the first counter, the second counter for tracking the task execution time of a DMA task of the plurality of DMA tasks as a function of the execution interval.
- 2. The timer unit of claim 1, wherein the first counter and the second counter restart counting in response to expiration of the first counter.
- 3. The timer unit of claim 1, wherein the second counter counts while a DMA task is processing.
- 4. The timer unit of claim 3, wherein the first counter has a larger count length than the second counter.
- 5. The timer unit of claim 4, further comprising:an error detection unit coupled to the first and second counters, the error detection unit generating an error signal when the first counter expires prior to expiration of the second counter.
- 6. The timer unit of claim 1, wherein the second counter tracks task execution time based on a task acknowledge signal received from the direct memory access controller.
- 7. A method for controlling task execution time in a direct memory access controller that executes a plurality of DMA tasks, comprising the steps:counting an execution interval; and tracking execution time for a DMA task of the plurality of DMA tasks within the execution interval.
- 8. The method of claim 7, further comprising the step of:generating an error signal if the execution time exceeds a predetermined proportion of the execution interval.
- 9. The method of claim 7, further comprising the step of:negating a task request signal when the execution time reaches a predetermined proportion of the execution interval.
- 10. The method of claim 7, wherein the step of tracking execution time comprises the step of:counting processing cycles while a task acknowledge signal is asserted.
RELATED APPLICATIONS
This is a continuation-in-part (CIP) of U.S. patent application Ser. No. 09/426,009 by Gary Morrison, et al., filed on Oct. 25, 1999 now U.S. Pat. No. 6,421,744 issued on Jul. 16, 2001, and assigned to the assignee hereof.
US Referenced Citations (8)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/426009 |
Oct 1999 |
US |
Child |
09/488367 |
|
US |