JPH10105509A - Method and device for controlling memory - Google Patents

Method and device for controlling memory

Info

Publication number
JPH10105509A
JPH10105509A JP27526896A JP27526896A JPH10105509A JP H10105509 A JPH10105509 A JP H10105509A JP 27526896 A JP27526896 A JP 27526896A JP 27526896 A JP27526896 A JP 27526896A JP H10105509 A JPH10105509 A JP H10105509A
Authority
JP
Japan
Prior art keywords
priority
circuit
units
dma
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27526896A
Other languages
Japanese (ja)
Inventor
Yasuaki Sawano
靖明 澤野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP27526896A priority Critical patent/JPH10105509A/en
Publication of JPH10105509A publication Critical patent/JPH10105509A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To change priority when DMA request compete corresponding to conditions by varying the priority to DMA requests when there are these DMA requests simultaneously from plural units to a memory unit. SOLUTION: An arbitration circuit AC is composed of respective circuits 1-14 and when there are DMA requests simultaneously from plural units A and B to the memory unit in the case of performing the access control of the memory unit corresponding to the DMA requests from the plural units A and B, the priority to these DMA requests can be varied. Namely, the priority to the DMA requests are varied based on plural threshold values for judging the conditions of the plural units A and B. When a signal THB is at a high level, for example, it means the throughput of the unit B does not exceed the threshold value and the priority in case of competition between the DMA requests of the units A and B is set to 1:1 but when the signal THB is at low level, the priority in case of competition between the DMA requests is set to 1:2.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のユニットか
らDMA(Direct Memory Acces
s;ダイレクトメモリーアクセス)要因があるメモリー
ユニットをアクセス制御するメモリ制御方法及び装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA (Direct Memory Access) from a plurality of units.
s; direct memory access) to a memory control method and apparatus for controlling access to a memory unit having a factor.

【0002】[0002]

【従来の技術】従来のDMAコントローラにおけるアー
ビトレーション回路は、DMA要因が2種類である場
合、図2のように構成されていた。即ち、図2は従来の
DMAコントローラにおけるアービトレーション回路A
Cの構成を示すブロック図であり、同図において、2
1,22,23はNOT回路、24,25はAND回
路、26,27,28はOR回路、29は3ステートバ
ッファ回路、30は前回DMA要求が競合したときにど
ちらが優先されたかを記憶するDフリップフロップ回路
である。これらの各回路21〜30によりアービトレー
ション回路ACが構成されている。また、図2におい
て、REQA、REQBはそれぞれユニットA,Bから
のDMA要求信号、ACKA、ACKBはそれぞれユニ
ットA,BへのDMA許可信号である。
2. Description of the Related Art An arbitration circuit in a conventional DMA controller is configured as shown in FIG. 2 when there are two types of DMA factors. That is, FIG. 2 shows an arbitration circuit A in a conventional DMA controller.
FIG. 2 is a block diagram showing a configuration of C. In FIG.
1, 22, 23 are NOT circuits, 24, 25 are AND circuits, 26, 27, 28 are OR circuits, 29 is a three-state buffer circuit, and 30 is a memory that stores which was prioritized when a previous DMA request competed. This is a flip-flop circuit. An arbitration circuit AC is constituted by these circuits 21 to 30. In FIG. 2, REQA and REQB are DMA request signals from units A and B, respectively, and ACKA and ACKB are DMA permission signals to units A and B, respectively.

【0003】次に、上記従来のDMAコントローラにお
けるアービトレーション回路ACの動作を説明する。ま
ず、REQA、REQBが共にハイレベル(High
Level)のときは、それぞれOR回路26,27の
一方の入力がハイレベルとなるので、ACKA、ACK
Bは共にハイレベルとなる。また、REQAがハイレベ
ルでREQBがロウレベルのときは、OR回路26の一
方の入力がハイレベルとなるので、ACKAはハイレベ
ルとなる。一方、NOT回路21の出力はロウレベルと
なるので、AND回路25の出力はロウレベルとなる。
従って、OR回路27の入力はいずれもロウレベルとな
り、ACKBはロウレベルとなる。REQAがロウレベ
ルでREQBがハイレベルのときは、OR回路27の一
方の入力がハイレベルとなるので、ACKBはハイレベ
ルとなる。一方、NOT回路22の出力はロウレベルと
なるので、AND回路24の出力はロウレベルとなる。
従って、OR回路26の入力はいずれもロウレベルとな
り、ACKAはロウレベルとなる。
Next, the operation of the arbitration circuit AC in the conventional DMA controller will be described. First, REQA and REQB are both high level (High
Level), one input of each of the OR circuits 26 and 27 becomes a high level, so that ACKA and ACK are output.
B are both at a high level. When REQA is at a high level and REQB is at a low level, one input of the OR circuit 26 is at a high level, so that ACKA is at a high level. On the other hand, the output of the NOT circuit 21 goes low, so that the output of the AND circuit 25 goes low.
Therefore, the inputs of the OR circuit 27 are all at low level, and ACKB is at low level. When REQA is at a low level and REQB is at a high level, one input of the OR circuit 27 is at a high level, so that ACKB is at a high level. On the other hand, the output of the NOT circuit 22 goes low, so that the output of the AND circuit 24 goes low.
Therefore, the inputs of the OR circuit 26 are all at low level, and ACKA is at low level.

【0004】ここで、REQA、REQBが共にロウレ
ベルのときは、DMA要求が競合しているので、予め決
められた優先度に従って、A,Bどちらかのユニットに
DMAの許可信号を与えることになる。図2に示す構成
のアービトレーション回路ACでは、ユニットA,Bの
優先度は1:1であり、前回DMA要求が競合したとき
に優先されなかった方のDMA要求が優先される。前回
ユニットBが優先されたとすると、Dフリップフロップ
回路30の出力はロウレベルとなる。すると、AND回
路24の一方の入力がロウレベルとなるので、AND回
路24の出力はロウレベルとなる。従って、OR回路2
6の入力はいずれもロウレベルとなり、ACKAはロウ
レベルとなる。一方、NOT回路21,23の出力はい
ずれもハイレベルになるので、AND回路25の出力は
ハイレベルとなる。すると、OR回路27の一方の入力
がハイレベルとなるので、ACKBはハイレベルとな
る。また、前回ユニットAが優先されたとすると、Dフ
リップフロップ回路30の出力はハイレベルとなる。こ
のとき、NOT回路22の出力はハイレベルであるか
ら、AND回路24の入力はいずれもハイレベルとな
り、AND回路24の出力はハイレベルとなる。する
と、OR回路26の一方の入力がハイレベルとなるの
で、ACKAはハイレベルとなる。一方、NOT回路2
3の出力はロウレベルとなり、AND回路25の一方の
入力がロウレベルとなることから、AND回路25の出
力はロウレベルとなる。従って、OR回路27の入力は
いずれもロウレベルとなるので、ACKBはロウレベル
となる。
Here, when both REQA and REQB are at the low level, DMA requests are competing, and a DMA permission signal is given to either A or B unit in accordance with a predetermined priority. . In the arbitration circuit AC having the configuration shown in FIG. 2, the priority of the units A and B is 1: 1, and the DMA request which was not prioritized when the previous DMA request competed has priority. Assuming that the unit B has been given priority last time, the output of the D flip-flop circuit 30 becomes low level. Then, one input of the AND circuit 24 goes low, so that the output of the AND circuit 24 goes low. Therefore, the OR circuit 2
6 are all low level, and ACKA is low level. On the other hand, since the outputs of the NOT circuits 21 and 23 are both at a high level, the output of the AND circuit 25 is at a high level. Then, one input of the OR circuit 27 becomes high level, so that ACKB becomes high level. Assuming that the unit A has been given priority last time, the output of the D flip-flop circuit 30 goes high. At this time, since the output of the NOT circuit 22 is at the high level, the inputs of the AND circuit 24 are all at the high level, and the output of the AND circuit 24 is at the high level. Then, one input of the OR circuit 26 becomes high level, so that ACKA becomes high level. On the other hand, NOT circuit 2
The output of the AND circuit 25 goes low because one output of the AND circuit 25 goes low and one input of the AND circuit 25 goes low. Therefore, all inputs of the OR circuit 27 are at low level, and ACKB is at low level.

【0005】このように、従来のアービトレーション回
路ACは、予め決められた優先度にしたがってアクセス
制御を行っている。
As described above, the conventional arbitration circuit AC performs access control according to a predetermined priority.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来例にあっては、DMA要求が競合したときの優先
度が予め決められていたため、図2において、例えばユ
ニットAの処理を高速に行わなければならない状態にな
った場合に、ユニットAの優先度を上げることができな
いという問題点があった。
However, in the above-mentioned conventional example, priorities when DMA requests compete are determined in advance, and therefore, for example, in FIG. There is a problem that the priority of the unit A cannot be raised when it becomes necessary to do so.

【0007】本発明は上述した従来の技術の有するこの
ような問題点に鑑みてなされたものであり、その目的と
するところは、状況によりDMA要求が競合したときの
優先度を変更することができるメモリー制御方法及び装
置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and an object of the present invention is to change the priority at the time of conflicting DMA requests depending on the situation. It is an object of the present invention to provide a memory control method and apparatus capable of performing the above.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に請求項1記載のメモリー制御方法は、複数のユニット
からDMA(ダイレクトメモリーアクセス)要因がある
メモリーユニットをアクセス制御するメモリ制御方法に
おいて、前記メモリーユニットへ同時に前記複数のユニ
ットからDMA要求があった場合に、該DMA要求に対
する優先度を可変とすることを特徴とするものである。
According to a first aspect of the present invention, there is provided a memory control method for controlling a memory unit having a DMA (direct memory access) factor from a plurality of units. When a DMA request is issued from the plurality of units to the memory unit at the same time, the priority for the DMA request is made variable.

【0009】また、上記目的を達成するために請求項2
記載のメモリー制御方法は、請求項1記載のメモリー制
御方法において、前記複数のユニットの状況を判断する
複数のしきい値に基づいて、前記DMA要求に対する優
先度を可変とすることを特徴とするものである。
[0009] In order to achieve the above object, a second aspect is provided.
The memory control method according to claim 1, wherein the priority for the DMA request is variable based on a plurality of thresholds for determining a status of the plurality of units. Things.

【0010】また、上記目的を達成するために請求項3
記載のメモリー制御方法は、請求項2記載のメモリー制
御方法において、前記しきい値の決定要因は、前記ユニ
ットの処理量であることを特徴とするものである。
[0010] Further, in order to achieve the above object, a third aspect is provided.
According to a second aspect of the present invention, in the memory control method according to the second aspect, the determining factor of the threshold value is a processing amount of the unit.

【0011】また、上記目的を達成するために請求項4
記載のメモリー制御方法は、請求項1または2記載のメ
モリー制御方法において、アービトレーション回路によ
り、前記DMA要求に対する優先度を可変とすることを
特徴とするものである。
[0011] In order to achieve the above object, the present invention provides a fourth aspect.
The memory control method according to claim 1 or 2, wherein the priority for the DMA request is made variable by an arbitration circuit.

【0012】また、上記目的を達成するために請求項5
記載のメモリー制御装置は、複数のユニットからDMA
(ダイレクトメモリーアクセス)要因があるメモリーユ
ニットをアクセス制御するメモリ制御装置において、前
記メモリーユニットへ同時に前記複数のユニットからD
MA要求があった場合に該DMA要求に対する優先度を
可変とする優先度可変手段を設けたことを特徴とするも
のである。
[0012] In order to achieve the above object, the present invention provides a semiconductor device comprising:
The described memory controller is capable of DMA transfer from multiple units.
(Direct memory access) In a memory control device for controlling access to a memory unit having a factor, the plurality of units simultaneously access the memory unit from the plurality of units.
Priority changing means for changing the priority of the DMA request when an MA request is issued is provided.

【0013】また、上記目的を達成するために請求項6
記載のメモリー制御装置は、請求項4記載のメモリー制
御装置において、前記優先度可変手段は、前記複数のユ
ニットの状況を判断する複数のしきい値に基づいて、前
記DMA要求に対する優先度を可変とすることを特徴と
するものである。
[0013] In order to achieve the above object, a sixth aspect of the present invention is provided.
5. The memory control device according to claim 4, wherein the priority variable unit changes a priority for the DMA request based on a plurality of thresholds for determining a status of the plurality of units. It is characterized by the following.

【0014】また、上記目的を達成するために請求項7
記載のメモリー制御装置は、請求項6記載のメモリー制
御装置において、前記しきい値の決定要因は、前記ユニ
ットの処理量であることを特徴とするものである。
According to another aspect of the present invention, there is provided a computer system comprising:
The memory control device according to the sixth aspect is characterized in that, in the memory control device according to the sixth aspect, the determining factor of the threshold value is a processing amount of the unit.

【0015】また、上記目的を達成するために請求項8
記載のメモリー制御装置は、請求項5または6記載のメ
モリー制御装置において、前記優先度可変手段は、アー
ビトレーション回路であることを特徴とするものであ
る。
According to another aspect of the present invention, there is provided a computer system comprising:
The memory control device according to claim 5 or 6, wherein the priority changing means is an arbitration circuit.

【0016】[0016]

【発明の実施の形態】以下、本発明の一実施の形態を図
1に基づき説明する。図1は、本発明の一実施の形態に
係るメモリー制御装置におけるアービトレーション回路
ACの構成を示すブロック図であり、同図中、1,2,
3はNOT回路、4,5はAND回路、6,7,8,9
はOR回路、10,11は3ステートバッファ回路、1
2,13はそれぞれ前回及び前々回DMA要求が競合し
たときに、どちらが優先されたかを記憶するDフリップ
フロップ回路、14はDフリップフロップ回路12,1
3のいずれかを出力するセレクタ回路である。これらの
各回路1〜14によりアービトレーション回路ACが構
成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a block diagram showing a configuration of an arbitration circuit AC in a memory control device according to an embodiment of the present invention.
3 is a NOT circuit, 4 and 5 are AND circuits, 6, 7, 8, 9
Is an OR circuit, 10 and 11 are 3-state buffer circuits, 1
Reference numerals 2 and 13 denote D flip-flop circuits for storing which of the DMA requests has been prioritized when the DMA request competed last time and two times before, respectively.
3 is a selector circuit that outputs any one of the signals. An arbitration circuit AC is constituted by these circuits 1 to 14.

【0017】また、図1において、REQA、REQB
はそれぞれユニットA,BからのDMA要求信号、AC
KA、ACKBはそれぞれユニットA,BへのDMA許
可信号、THBはユニットBの処理に対するしきい値を
判断する信号で、THBがハイレベルのときはユニット
Bの処理量がしきい値を超えていないことを意味し、ユ
ニットA,BのDMA要求が競合した場合の優先度を
1:1に設定し、THBがロウレベルのときはユニット
Bの処理量がしきい値を超えたことを意味し、ユニット
A,BのDMA要求が競合した場合の優先度を1:2に
設定するものである。
In FIG. 1, REQA, REQB
Are the DMA request signals from the units A and B, respectively.
KA and ACKB are DMA permission signals to units A and B, respectively, and THB is a signal for determining a threshold value for processing of unit B. When THB is at a high level, the processing amount of unit B exceeds the threshold value. Means that the priority is set to 1: 1 when the DMA requests of the units A and B conflict, and when THB is low level, the processing amount of the unit B exceeds the threshold value. , The priority when the DMA requests of the units A and B conflict with each other is set to 1: 2.

【0018】次に、上記構成になる本実施の形態に係る
メモリー制御装置におけるアービトレーション回路AC
の動作を説明する。まず、THBがハイレベルのとき
は、セレクタ回路14はOR回路9の出力を選択する。
ここで、REQA、REQBが共にハイレベルである
と、それぞれOR回路6,7の一方の入力がハイレベル
となるので、ACKA、ACKBは共にハイレベルとな
る。また、REQAがハイレベルでREQBがロウレベ
ルのときは、OR回路6の一方の入力がハイレベルとな
るので、ACKAはハイレベルとなる。一方、NOT回
路1の出力はロウレベルとなるので、AND回路5の出
力はロウレベルとなる。従って、OR回路7の入力はい
ずれもロウレベルとなり、ACKBはロウレベルとな
る。REQAがロウレベルでREQBがハイレベルのと
きは、OR回路7の一方の入力がハイレベルとなるの
で、ACKBはハイレベルとなる。一方、NOT回路2
の出力はロウレベルとなるので、AND回路4の出力は
ロウレベルとなる。従って、OR回路6の入力はいずれ
もロウレベルとなり、ACKAはロウレベルとなる。
Next, the arbitration circuit AC in the memory control device according to the present embodiment having the above configuration will be described.
Will be described. First, when THB is at the high level, the selector circuit 14 selects the output of the OR circuit 9.
Here, if both REQA and REQB are at a high level, one input of each of the OR circuits 6 and 7 is at a high level, and both ACKA and ACKB are at a high level. When REQA is at a high level and REQB is at a low level, one input of the OR circuit 6 is at a high level, so that ACKA is at a high level. On the other hand, the output of the NOT circuit 1 goes low, so that the output of the AND circuit 5 goes low. Therefore, the inputs of the OR circuit 7 are all at low level, and ACKB is at low level. When REQA is at a low level and REQB is at a high level, one input of the OR circuit 7 is at a high level, so that ACKB is at a high level. On the other hand, NOT circuit 2
Is at a low level, the output of the AND circuit 4 is at a low level. Therefore, the inputs of the OR circuit 6 are all at low level, and ACKA is at low level.

【0019】ここで、REQA、REQBが共にロウレ
ベルのときは、DMA要求が競合しており、THBがロ
ウレベルであることから、ユニットA,Bの優先度は
1:2である。前回及び前々回が共にユニットBが優先
されていたとすると、Dフリップフロップ回路12,1
3の出力は共にロウレベルであり、OR回路9の出力も
ロウレベルとなる。従って、セレクタ回路14の出力は
ロウレベルとなる。すると、AND回路4の出力はロウ
レベルとなり、OR回路6の入力がいずれもロウレベル
となることから、ACKAはロウレベルとなる。一方、
NOT回路1,3の出力は共にハイレベルとなるので、
AND回路5の出力もハイレベルとなる。すると、OR
回路7の一方の入力がハイレベルとなるので、ACKB
はハイレベルとなる。つまり、前回及び前々回が共にユ
ニットBが優先されると、今回はユニットAが優先され
ることになり、ユニットA,Bの優先度1:2を満足し
ている。
Here, when REQA and REQB are both at low level, DMA requests are competing and THB is at low level, so that the priority of units A and B is 1: 2. Assuming that the unit B has priority both in the last time and the last two times, the D flip-flop circuits 12, 1
3 are both at the low level, and the output of the OR circuit 9 is also at the low level. Therefore, the output of the selector circuit 14 becomes low level. Then, the output of the AND circuit 4 goes low and the inputs of the OR circuit 6 go low, so that ACKA goes low. on the other hand,
Since both outputs of the NOT circuits 1 and 3 become high level,
The output of the AND circuit 5 also goes high. Then, OR
Since one input of the circuit 7 becomes high level, ACKB
Becomes high level. In other words, if the unit B has priority in both the previous and previous rounds, the unit A has priority this time, and the units A and B satisfy the priority of 1: 2.

【0020】また、前回はユニットAが、前々回はユニ
ットBが優先されていたとすると、Dフリップフロップ
回路12,13の出力は、それぞれハイレベル、ロウレ
ベルであり、OR回路9の出力はハイレベルとなる。従
って、セレクタ14の出力はハイレベルとなる。する
と、NOT回路3の出力はロウレベルとなり、AND回
路5の出力もロウレベルとなる。このことにより、OR
回路7の入力は共にロウレベルとなり、ACKBはロウ
レベルとなる。一方、NOT回路2の出力はハイレベル
となるので、AND回路4の出力はハイレベルとなる。
すると、OR回路6の一方の入力がハイレベルになるこ
とから、ACKAはハイレベルになる。以上により、こ
の場合もユニットA,Bの優先度1:2を満足してい
る。
If it is assumed that the unit A has the priority last time and the unit B has the priority two times before, the outputs of the D flip-flop circuits 12 and 13 are high level and low level, respectively, and the output of the OR circuit 9 is high level. Become. Therefore, the output of the selector 14 becomes high level. Then, the output of the NOT circuit 3 becomes low level, and the output of the AND circuit 5 also becomes low level. This allows OR
Both inputs of the circuit 7 become low level, and ACKB becomes low level. On the other hand, the output of the NOT circuit 2 goes high, so that the output of the AND circuit 4 goes high.
Then, one input of the OR circuit 6 becomes high level, so that ACKA becomes high level. As described above, also in this case, the priorities 1: 2 of the units A and B are satisfied.

【0021】また、前回はユニットBが、前々回はユニ
ットAが優先されていたとすると、Dフリップフロップ
回路12,13の出力は、それぞれロウレベル、ハイレ
ベルであり、OR回路9の出力はハイレベルとなる。す
ると、前回はユニットAが、前々回はユニットBが優先
されていたときと同様の理由により、ACKAはハイレ
ベル、ACKBはロウレベルとなる。従って、この場合
もユニットA,Bの優先度1:2を満足している。
Assuming that the unit B has the priority last time and the unit A has the priority two times before, the outputs of the D flip-flop circuits 12 and 13 are low level and high level, respectively, and the output of the OR circuit 9 is high level. Become. Then, ACKA becomes high level and ACKB becomes low level for the same reason as when unit A was prioritized last time and unit B was prioritized two times before. Therefore, also in this case, the priorities 1: 2 of the units A and B are satisfied.

【0022】以上のことから、ユニットBの処理量によ
り、ユニットA,BのDMA要求が競合した場合のアク
セス優先度を変更できるアービトレーション回路ACを
構成できる。
As described above, the arbitration circuit AC that can change the access priority when the DMA requests of the units A and B compete with each other according to the processing amount of the unit B can be configured.

【0023】なお、上述した実施の形態においては、D
MA要求を行うユニットが2種類で、そのうちの一方の
ユニットの処理量により、DMA要求が競合したときの
アクセス優先度を2通りに変化させる構成のアービトレ
ーション回路ACとなっているが、本発明はこれに限定
されるものではなく、本発明の要旨を逸脱しない範囲で
種々の変更が可能である。例えば、DMA要求を出すユ
ニットが複数存在し、そのそれぞれについて、各々の処
理量に対するしきい値が複数設定されており、それらに
よりDMA要求の競合時のアクセス優先度が様々に変化
するアービトレーション回路ACを構成することも可能
である。また、しきい値の決定要因は、ユニットの処理
量でなくてもよい。
In the above-described embodiment, D
The arbitration circuit AC has a configuration in which there are two types of units that make MA requests, and the access priority when a DMA request conflicts is changed in two ways depending on the processing amount of one of the units. The present invention is not limited to this, and various changes can be made without departing from the gist of the present invention. For example, there are a plurality of units that issue a DMA request, and for each of them, a plurality of thresholds for each processing amount are set, and the arbitration circuit AC in which the access priority at the time of DMA contention changes variously by them. Can also be configured. Further, the determining factor of the threshold does not have to be the processing amount of the unit.

【0024】[0024]

【発明の効果】以上詳述したように本発明のメモリー制
御方法及び装置によれば、DMA要因が複数存在し、D
MA要求が競合した場合に、DMA要因の状況に応じて
アクセス優先度を変更することができるという効果を奏
する。
As described above, according to the memory control method and apparatus of the present invention, there are a plurality of DMA factors,
When the MA requests conflict, the access priority can be changed according to the situation of the DMA factor.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係るメモリー制御
装置におけるアービトレーション回路の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of an arbitration circuit in a memory control device according to a first embodiment of the present invention.

【図2】従来のメモリー制御装置におけるアービトレー
ション回路の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an arbitration circuit in a conventional memory control device.

【符号の説明】[Explanation of symbols]

AC アービトレーション回路 1 NOT回路 2 NOT回路 3 NOT回路 4 AND回路 5 AND回路 6 OR回路 7 OR回路 8 OR回路 9 OR回路 10 3ステートバッファ回路 11 3ステートバッファ回路 12 Dフリップフロップ回路 13 Dフリップフロップ回路 14 セレクタ回路 AC arbitration circuit 1 NOT circuit 2 NOT circuit 3 NOT circuit 4 AND circuit 5 AND circuit 6 OR circuit 7 OR circuit 8 OR circuit 9 OR circuit 10 3 state buffer circuit 11 3 state buffer circuit 12 D flip-flop circuit 13 D flip-flop circuit 14 Selector circuit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数のユニットからDMA(ダイレクト
メモリーアクセス)要因があるメモリーユニットをアク
セス制御するメモリ制御方法において、前記メモリーユ
ニットへ同時に前記複数のユニットからDMA要求があ
った場合に、該DMA要求に対する優先度を可変とする
ことを特徴とするメモリー制御方法。
In a memory control method for controlling access to a memory unit having a DMA (direct memory access) factor from a plurality of units, when a DMA request is issued from the plurality of units to the memory unit at the same time, the DMA request is issued. A memory control method characterized by making the priority for a variable variable.
【請求項2】 前記複数のユニットの状況を判断する複
数のしきい値に基づいて、前記DMA要求に対する優先
度を可変とすることを特徴とする請求項1記載のメモリ
ー制御方法。
2. The memory control method according to claim 1, wherein the priority for said DMA request is made variable based on a plurality of thresholds for judging the status of said plurality of units.
【請求項3】 前記しきい値の決定要因は、前記ユニッ
トの処理量であることを特徴とする請求項2記載のメモ
リー制御方法。
3. The memory control method according to claim 2, wherein the determining factor of the threshold value is a processing amount of the unit.
【請求項4】 アービトレーション回路により、前記D
MA要求に対する優先度を可変とすることを特徴とする
請求項1または2記載のメモリー制御方法。
4. An arbitration circuit for controlling said D
3. The memory control method according to claim 1, wherein the priority for the MA request is variable.
【請求項5】 複数のユニットからDMA(ダイレクト
メモリーアクセス)要因があるメモリーユニットをアク
セス制御するメモリ制御装置において、前記メモリーユ
ニットへ同時に前記複数のユニットからDMA要求があ
った場合に該DMA要求に対する優先度を可変とする優
先度可変手段を設けたことを特徴とするメモリー制御装
置。
5. A memory control device for controlling access to a memory unit having a DMA (direct memory access) factor from a plurality of units, wherein when a DMA request is issued from said plurality of units to said memory unit at the same time, said DMA request is A memory control device comprising a priority changing means for changing the priority.
【請求項6】 前記優先度可変手段は、前記複数のユニ
ットの状況を判断する複数のしきい値に基づいて、前記
DMA要求に対する優先度を可変とすることを特徴とす
る請求項5記載のメモリー制御装置。
6. The apparatus according to claim 5, wherein said priority changing means changes the priority for said DMA request based on a plurality of thresholds for judging a status of said plurality of units. Memory controller.
【請求項7】 前記しきい値の決定要因は、前記ユニッ
トの処理量であることを特徴とする請求項6記載のメモ
リー制御装置。
7. The memory control device according to claim 6, wherein the determining factor of the threshold value is a processing amount of the unit.
【請求項8】 前記優先度可変手段は、アービトレーシ
ョン回路であることを特徴とする請求項5または6記載
のメモリー制御装置。
8. The memory control device according to claim 5, wherein said priority changing means is an arbitration circuit.
JP27526896A 1996-09-27 1996-09-27 Method and device for controlling memory Pending JPH10105509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27526896A JPH10105509A (en) 1996-09-27 1996-09-27 Method and device for controlling memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27526896A JPH10105509A (en) 1996-09-27 1996-09-27 Method and device for controlling memory

Publications (1)

Publication Number Publication Date
JPH10105509A true JPH10105509A (en) 1998-04-24

Family

ID=17553064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27526896A Pending JPH10105509A (en) 1996-09-27 1996-09-27 Method and device for controlling memory

Country Status (1)

Country Link
JP (1) JPH10105509A (en)

Similar Documents

Publication Publication Date Title
US7533206B2 (en) Resource management device
US5564062A (en) Resource arbitration system with resource checking and lockout avoidance
JPH0773137A (en) Method, adaptor and system for arbitration of multilevel bus
US20050223135A1 (en) Data transfer processing device and data transfer processing method
JP4308578B2 (en) Integrated circuit device bus arbiter
JPH06161952A (en) Arbitration device of access request
US7380027B2 (en) DMA controller and DMA transfer method
JPH05274246A (en) Arbiter device
JPH10105509A (en) Method and device for controlling memory
US6868457B2 (en) Direct memory access controller, direct memory access device, and request device
JP2005173859A (en) Memory access control circuit
JPH10149311A (en) Memory controller
JP2004213666A (en) Dma module and its operating method
JP2000076183A (en) Bus arbitration circuit
JP2505303B2 (en) Data transfer method
JP2004038767A (en) Bus arbitration device
JP4282297B2 (en) Device having bus arbitration function and numerical control device
JP2003006146A (en) Bus arbitration circuit
JP2000207352A (en) Memory access contention control method, circuit therefor and data processor
JPH0353338A (en) Variable priority arbitrating circuit
JPH05242021A (en) Bus arbitrating circuit
JPH08166922A (en) Bus access monitor-type priority controller
JPS62264349A (en) Bus priority deciding system
JPS58217071A (en) Information processing system
JPH05189368A (en) Multiprocessor device and data bus using method for it