IP Library Granted Patent US 8,572,296
Granted Patent B2
US 8,572,296 · App. 11/994,270 · Granted Oct 29, 2013

Device and method for arbitrating between direct memory access task requests

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,572,296
App. No.
11/994,270
Granted
Oct 29, 2013
Kind
B2
Abstract

A method for arbitrating between direct memory access task requests, the method includes receiving multiple DMA task requests; the method is characterized by selecting a DMA task request out of the multiple DMA task requests in response to timing deadlines associated with the DMA tasks. A device that includes an interface, that is adapted to receive DMA task requests; the device is characterized by including an arbiter that is adapted to select a DMA task request out of the multiple DMA task requests in response to timing deadlines associated with the DMA tasks.

Claims (39)

1. A method for arbitrating between direct memory access (DMA) task requests, the method comprises:

defining a plurality of timing deadline ranges, each timing deadline range comprising a plurality of timing deadlines;

receiving multiple DMA task requests, wherein each DMA task request includes a current counter field for storing a current value of a timing counter, and a threshold field for storing a threshold value, wherein the threshold value reflects a value of the timing counter when the associated DMA task is due, and wherein a difference between the current value of the timing counter and the threshold value represents a timing deadline for the associated DMA task;

sorting the multiple DMA task requests into the plurality of timing deadline ranges based upon the timing deadlines associated with the respective DMA tasks;

selecting a first DMA task request out of the multiple DMA task requests, wherein the selecting includes selecting one of a plurality of DMA task requests associated with a particular timing deadline range;

determining that a first timing deadline of the first DMA task has passed, wherein the first timing deadline occurs prior to a time when the current value of the timing counter for the first DMA task equals the threshold value for the first DMA task; and

increasing a priority of the first DMA task in response to determining that the first timing deadline has passed;

wherein at least one DMA task is a cyclic time based DMA task that has a repetition rate that is limited by a DMA task execution period.

2. The method according to claim 1 wherein each DMA task request of the plurality of DMA task requests associated with the particular timing deadline range has substantially a same timing deadline.

3. The method according to claim 1 , wherein at least one DMA task request of the plurality of DMA task requests is a cyclic time based DMA task, wherein only a single cyclic time based DMA task is executed during a single DMA task execution period.

4. The method according to claim 1 , wherein each DMA task is associated with an I/O port and wherein the selecting comprises arbitrating between DMA task requests that are associated to the same I/O port.

5. The method according to claim 1 , wherein at least one DMA task request involves retrieving information from a multidimensional buffer; wherein each dimension of the multidimensional buffer is associated with a different DMA sub task of the DMA task.

6. The method according to claim 1 , further comprising generating an interrupt at an end of a DMA task execution sub-interval, in response to a possible timing deadline violation, wherein the possible timing deadline violation is detected, before a timing violation occurred, if a DMA task that was expected to be completed during a DMA task execution interval was not completed during the DMA task execution sub-interval.

7. A device that comprises:

an interface that is adapted to:

define a plurality of timing deadline ranges, each timing deadline range comprising a plurality of timing deadlines; and

receive multiple direct memory access (DMA) task requests, wherein each DMA task includes a current counter field for storing a current value of a timing counter, and a threshold for storing a threshold value, wherein the threshold value reflects a value of the timing counter when the associated DMA task is due, and wherein a difference between the current value of the timing counter and the threshold value represents a timing deadline for the associated DMA task;

an arbiter that is adapted to:

sort the multiple DMA task requests into the plurality of timing deadline ranges in response to the timing deadlines associated with the respective DMA tasks;

select a first DMA task request out of the multiple DMA task requests, wherein in selecting, the arbiter is further adapted to select one of a plurality of DMA task requests associated with a particular timing deadline range of the plurality of timing deadline ranges;

determine that a first timing deadline of the first DMA task has passed, wherein the first timing deadline occurs prior to a time when the current value of the timing counter for the first DMA task equals the threshold value for the first DMA task; and

increase a priority of the first DMA task in response to determining that the first timing deadline has passed.

8. The device according to claim 7 wherein each DMA task request of the plurality of DMA task requests associated with the particular timing deadline range has substantially a same timing deadline.

9. The device according to claim 7 , wherein at least one DMA task request of the plurality of DMA task requests is a cyclic time based DMA task, wherein only a single cyclic time based DMA task is executed during a single DMA task execution period.

10. The device according to claim 7 , wherein at least one DMA task request involves retrieving information from a multidimensional buffer; wherein each dimension of the multidimensional buffer is associated with a different DMA sub task of the DMA task.

11. The device according to claim 7 , further adapted to generate an interrupt at an end of a DMA task execution sub-interval, in response to a possible timing deadline violation, wherein the possible timing deadline violation is detected, before a timing violation occurred, if a DMA task that was expected to be completed during a DMA task execution interval was not completed during the DMA task execution sub-interval.

12. The device according to claim 7 , comprising multiple ports and wherein the arbiter is adapted to arbitrate between DMA tasks associated with a single port.

13. The method according to claim 1 , further comprising allowing, in response to a possible timing deadline violation, more than a single DMA cyclic time based DMA task to be executed during a next DMA task execution period.

14. The device according to claim 7 , further adapted to allow, in response to a possible timing deadline violation, more than a single DMA cyclic time based DMA task to be executed during a next DMA task execution period.

15. The method according to claim 1 wherein the selected DMA task request has other than a shortest timing deadline of the plurality of DMA task requests.

16. The device according to claim 7 wherein the selected DMA task request has other than a shortest timing deadline of the plurality of DMA task requests.

17. The method according to claim 1 , wherein:

each DMA task further includes a base counter field that includes a base counter value that is loaded to the current counter field when the associated DMA task is initialized; and

each DMA task has an associated DMA task execution period that is defined as a first difference between an associated base counter value and an associated timing deadline.

18. The method according to claim 1 , further comprising:

forcing an execution of the first DMA task in further response to determining that the first timing deadline has passed.

19. The device according to claim 7 , wherein:

each DMA task further includes a base counter field that includes a base counter value that is loaded to the current counter field when the associated DMA task is initialized and a third timing field that includes a current time value; and

each DMA task has an associated DMA task execution period that is defined as a first difference between an associated base counter value and an associated timing deadline.

Assignments (26)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0387 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042985 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051030/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042762 FRAME 0145. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051145/0184 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050745/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042762/0145 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042985/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE LISTED CHANGE OF NAME SHOULD BE MERGER AND CHANGE PREVIOUSLY RECORDED AT REEL: 040652 FRAME: 0180. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Jan 12, 2017
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 041354/0148 →
CHANGE OF NAME Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 040652/0180 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12092129 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Jul 14, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039361/0212 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
SECURITY AGREEMENT SUPPLEMENT Recorded Mar 7, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 038017/0058 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0553 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0143 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037354/0670 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →