Method and apparatus for determining priorities in direct memory access device having multiple direct memory access request blocks
First Claim
Patent Images
1. A priority determining method, comprising:
- granting priority to each of Direct Memory Access (DMA) request blocks transmitting a DMA request signal, based on Data Transfer Amounts (DTAs) of the DMA request blocks and Arrival Times (ATs) of the DMA request signals;
counting the number of times the granted priority is changed for each of the DMA request blocks whose granted priority is changed in the granting priority; and
if a DMA request signal is received from a new DMA request block, determining priorities of the DMA request blocks based on at least one of the DTAs and ATs considering the counted number of times the granted priority has changed for each of the DMA request blocks whose priority is changed,wherein an arrival order of DMA request blocks is determined based on the ATs, and the priorities of the DMA request blocks are determined using the arrival order to reduce a total Waiting Time (WT),wherein the determining priorities of the DMA request blocks comprises;
comparing the counted number of times the granted priority has changed for each of the DMA request blocks whose priority is changed, with a predetermined count threshold; and
determining priorities of the DMA request blocks and the new DMA request block based on at least one of the DTAs and ATs of the DMA request signals according to a result of the comparison.
1 Assignment
0 Petitions
Accused Products
Abstract
A priority determining method and apparatus can reduce a total waiting time of DMA request blocks by granting priority to each of Direct Memory Access (DMA) request blocks transmitting a DMA request signal, based on Data Transfer Amounts (DTAs) of the DMA request blocks and Arrival Times (ATs) of the DMA request signals, counting the number of priority changes of each of DMA request blocks whose priority is changed in the priority granting process, and if a DMA request signal is received from a new DMA request block, determining priorities of the DMA request blocks based on the counted the number of priority changes.
-
Citations
15 Claims
-
1. A priority determining method, comprising:
-
granting priority to each of Direct Memory Access (DMA) request blocks transmitting a DMA request signal, based on Data Transfer Amounts (DTAs) of the DMA request blocks and Arrival Times (ATs) of the DMA request signals; counting the number of times the granted priority is changed for each of the DMA request blocks whose granted priority is changed in the granting priority; and if a DMA request signal is received from a new DMA request block, determining priorities of the DMA request blocks based on at least one of the DTAs and ATs considering the counted number of times the granted priority has changed for each of the DMA request blocks whose priority is changed, wherein an arrival order of DMA request blocks is determined based on the ATs, and the priorities of the DMA request blocks are determined using the arrival order to reduce a total Waiting Time (WT), wherein the determining priorities of the DMA request blocks comprises; comparing the counted number of times the granted priority has changed for each of the DMA request blocks whose priority is changed, with a predetermined count threshold; and determining priorities of the DMA request blocks and the new DMA request block based on at least one of the DTAs and ATs of the DMA request signals according to a result of the comparison. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A priority determining apparatus, comprising:
-
a priority pre-processing unit to grant priority to each of Direct Memory Access (DMA) request blocks transmitting a DMA request signal, based on Data Transfer Amounts (DTAs) of the DMA request blocks and Arrival Times (ATs) of the DMA request signals; a counter to count the number of times the granted priority is changed for each of the DMA request blocks whose priority is changed in the priority granting process; and a priority determining module to determine priorities of the DMA request blocks based on at least one of the DTAs and ATs considering the counted number of times the granted priority has changed for each of the DMA request blocks whose priority is changed, when a DMA request signal is received from a new DMA request block, wherein an arrival order of DMA request blocks is determined based on the ATs, and the priorities of the DMA request blocks are determined using the arrival order to reduce a total Waiting Time (WT), and wherein the priority determining module comprises; a comparator to compare the counted number of times the granted priority has changed for each of the DMA request blocks whose priority is changed, with a predetermined count threshold; and a priority determiner to determine priorities of the DMA request blocks and the new DMA request block based on at least one of the DTAs and ATs of the DMA request signals according to a result of the comparison. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A priority determining method, comprising:
-
granting priority to each of Direct Memory Access (DMA) request blocks; and transmitting a DMA request signal, based on Data Transfer Amounts (DTAs) of the DMA request blocks, and Arrival Times (ATs) considering a number of times a granted priority is changed for each of the DMA request blocks, wherein an arrival order of DMA request blocks is determined based on the ATs, and priorities of the DMA request blocks are determined using the arrival order to reduce a total Waiting Time (WT), wherein the transmitting a DMA request signal comprises; comparing the number of times the granted priority has changed for each of the DMA request blocks, with a predetermined count threshold; and transmitting a DMA request signal, based on the DTAs of the DMA request blocks and the ATs, according to a result of the comparison. - View Dependent Claims (15)
-
Specification