JPH03212754A - Memory request control system - Google Patents

Memory request control system

Info

Publication number
JPH03212754A
JPH03212754A JP880790A JP880790A JPH03212754A JP H03212754 A JPH03212754 A JP H03212754A JP 880790 A JP880790 A JP 880790A JP 880790 A JP880790 A JP 880790A JP H03212754 A JPH03212754 A JP H03212754A
Authority
JP
Japan
Prior art keywords
request
memory request
input
memory
signal
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
JP880790A
Other languages
Japanese (ja)
Inventor
Motokiyo Ikeno
池野 元清
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP880790A priority Critical patent/JPH03212754A/en
Publication of JPH03212754A publication Critical patent/JPH03212754A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute a memory request without reducing a memory request processing speed even if the request competes with another request by suppressing a memory request from an arithmetic processor during the processing of a request. CONSTITUTION:When a memory request is sent from an I/O control device 3, a comparator 42 detects discrepancy between the contents of I/O replay number counters 40, 41, turns on a request processing signal 202 to turn on a request suppressing signal 301 to be inputted to the arithmetic processor 2. A replay signal 250 receiving the request processing signals 201, 202 is returned to a main storage device 4 and a replay circuit 13 receives the replay signal 250 and sends a replay signal 400 or 401 to the processor 2 or the device 3. The contents of an operation replay number counter 31 or the I/O replay number counter 41 are counted up and the comparators 32, 42 respectively detect coincidence between respective inputs to suppress the sending of the memory request from the processor 2.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリリクエスト制御方式に関し、特に入出力
制御装置からのメモリリクエストに対する優先制御方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory request control method, and particularly to a priority control method for memory requests from an input/output control device.

〔従来の技術〕[Conventional technology]

従来、演算処理装置と外部記憶装置とのデータ転送を行
なう入出力制御装置のメモリリクエスト制御においては
、第2図に示すように、システム制御装置1a内にメモ
リリクエストを格納するバッファ10を設け、外部記憶
装置5を接続した入出力制御装置3a又は演算処理装置
2aからのメモリリクエストを受は付は順にバッファ1
0に格納していた。そして、バッファ10がF U L
 L 状態になりそれ以上のメモリリクエストを受は付
は不能になると、演算処理装置2aおよび入出力制御装
置3aそれぞれにメモIJ IJクエスト抑止信号を送
出して、それ以上のメモリリクエストが演算処理装置2
aおよび入出力制御装置3aから送出されないようにし
ていた。
Conventionally, in memory request control of an input/output control device that transfers data between an arithmetic processing device and an external storage device, as shown in FIG. 2, a buffer 10 for storing memory requests is provided in the system control device 1a. Memory requests from the input/output control device 3a or arithmetic processing device 2a to which the external storage device 5 is connected are received and sent to the buffer 1 in order.
It was stored at 0. Then, the buffer 10 is F U L
When the L state is reached and further memory requests cannot be accepted, a memo IJ quest suppression signal is sent to each of the arithmetic processing unit 2a and input/output control unit 3a, and any further memory requests are stopped by the arithmetic processing unit. 2
a and the input/output control device 3a.

例えば、システム制御装置1aに拡張記憶装置6が接続
されており主記憶装置4と拡張記憶装置6間でブロック
単位のデータ転送中には、演算処理装置2a又は入出力
制御装置3aからのメモリリクエストはブロック間でし
か処理が行なわれず、また演算処理装置2aが命令実行
の為にメモIJ IJクエストを連続に発行している場
合にはバッファ10に演算処理装置2aからのメモリリ
クエストが連続して格納され、バッファ10がFULL
状態になるとメモリリクエスト抑止信号を演算処理装置
2aおよび入出力制御装置3aそれぞれに送出する。し
たがって入出力制御装置3aからのメモリリクエストは
送出できなくなっていた。
For example, when the extended storage device 6 is connected to the system control device 1a and data is being transferred in blocks between the main storage device 4 and the extended storage device 6, a memory request from the arithmetic processing device 2a or the input/output control device 3a Processing is performed only between blocks, and if the processing unit 2a continuously issues memo IJ/IJ quests to execute instructions, the memory requests from the processing unit 2a are continuously sent to the buffer 10. stored and buffer 10 is full
When the state is reached, a memory request suppression signal is sent to each of the arithmetic processing unit 2a and the input/output control unit 3a. Therefore, memory requests from the input/output control device 3a could no longer be sent.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメモリリクエスト制御方式では、入出力
制御装置からのメモリリクエストが演算処理装置のメモ
リリクエストや拡張記憶装置とメモリ間のデータ転送と
競合した場合には、処理速度が大きく低下する。したが
って外部記憶装置との転送速度よりも低下した場合には
データが保障できなくなり、転送のやり直しが必要にな
るという欠点があった。
In the conventional memory request control method described above, when a memory request from an input/output control device competes with a memory request from an arithmetic processing unit or a data transfer between an expanded storage device and memory, the processing speed decreases significantly. Therefore, if the transfer speed becomes lower than the transfer speed with the external storage device, the data cannot be guaranteed and the transfer must be redone.

また、システム制御装置内に演算処理装置と入出力制御
装置のそれぞれにリクエストバッファを設けることも可
能であるが、ハードウェア量が増大してしまうという欠
点がある。
It is also possible to provide a request buffer for each of the arithmetic processing unit and the input/output control unit within the system control unit, but this has the disadvantage that the amount of hardware increases.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のメモリリクエスト制御方式は、演算処理装置と
外部記憶装置と主記憶装置との間でデータ転送を行なう
入出力制御装置が接続される情報処理装置において、あ
らかじめ設定され一定周期毎にON、OFFを繰返すパ
ルス信号を発生するパルス発生手段と、前記入出力制御
装置からのメモリリクエスト処理中を表示する入出力リ
クエスト表示手段と、前記演算処理装置からのメモIJ
 IJクエスト処理中を表示する演算リクエスト表示手
段と、前記入出力制御装置からのメモIJ IJクエス
ト処理中でかつ前記演算処理装置からのメモIJ IJ
クエスト処理中の場合、又は前記パルス信号がONの場
合には前記演算処理装置にメモリリクエストの送出抑止
を指示するメモリリクエスト抑止手段とを含む。
The memory request control method of the present invention is set in advance to turn on and off at regular intervals in an information processing device to which an input/output control device that transfers data between an arithmetic processing unit, an external storage device, and a main storage device is connected. pulse generating means for generating a pulse signal that repeats OFF; input/output request display means for displaying that a memory request from the input/output control device is being processed; and a memo IJ from the arithmetic processing device.
A calculation request display means for displaying that the IJ Quest is being processed, and a memo IJ from the input/output control device.
memory request inhibiting means for instructing the arithmetic processing unit to inhibit sending of memory requests when QUEST processing is in progress or when the pulse signal is ON.

また、本発明のメモリリクエスト制御方式は、前記主記
憶装置からのリプライを弁別し演算リプライ数および入
出力リプライ数をカウントする信号を送出するリプライ
回路を具備する。
Furthermore, the memory request control method of the present invention includes a reply circuit that discriminates replies from the main storage device and sends out signals for counting the number of calculation replies and the number of input/output replies.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。同
図においてメモリリクエスト制御方式は、システム制御
装置1と、演算処理装置2と、外部記憶装置5がつなが
る入出力制御装置3と、主記憶装置4とを有している。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, the memory request control method includes a system control device 1, an arithmetic processing device 2, an input/output control device 3 to which an external storage device 5 is connected, and a main storage device 4.

システム制御装置1は、演算処理装置2又は入出力制御
装置3からのメモリリクエストを複数個格納するバッフ
ァ10と、バッファ10に格納されたリクエスト数をカ
ウントするリクエスト数カウンタ20と、バッファ10
に格納されたメモリリクエストのうち主記憶装置4に送
出されたリクエスト数をカウントするリクエスト処理数
カウンタ21と、リクエスト数カウンタ20とリクエス
ト処理数カウンタ21を比較してバッファ10に格納さ
れているメモリリクエスト数をチエツクしバッファ10
がFULL状態であるとバッファFULL信号200を
送出する比較器22と、演算処理装置2からのメモリリ
クエスト数をカウントする演算リクエスト数カウンタ3
0と、主記憶装置4からのリプライ250を受は付は演
算処理装置2からのリクエスト101に対するリプライ
の場合には演算処理装置2にリプライ401を送出する
と共に演算リプライ数カウンタ31にカウントアツプ信
号251を送出し、入出力装置3からのリクエスト10
0に対するリプライの場合には入出力装置3にリプライ
400を送出すると共に入出カリプライ数カウンタ41
にカウントアツプ信号252を送出するリプライ回路1
3と、主記憶装置4からのリプライ250を演算処理装
置2に送出し処理が終了したメモリリクエスト数をカウ
ントする演算リプライ数カウンタ31と、演算リクエス
ト数カウンタ30と演算リプライ数カウンタ31を比較
してシステム制御装置1が処理中の演算処理装置2から
のメモリリクエストが存在する場合には処理中信号20
1を送出する比較器32と、入出力制御装置3からのメ
モリリクエスト数をカウントする入出力リクエスト数カ
ウンタ40、:、主記憶装置4からのリプライ250を
入出力制御装置3に送出し処理が終了したメモリリクエ
スト数をカウントする入出カリプライ数カウンタ41と
、入出力リクエスト数カウンタ40と入出カリプライ数
カウンタ41を比較してシステム制御装置1が処理中の
入出力制御装置3からのメモリリクエストが存在する場
合には処理中信号202を送出する比較器42と、ソフ
トウェアにより設定されたクロック周期分ONになりそ
の後1クロック周期分のみOFFになる動作を繰り返す
パルス信号203を発生するパルス発生回路12と、上
記の比較器22,32,42.及びパルス発生回路12
からの信号200,201,202.203により演算
処理装置2又は入出力制御装置3にメモリリクエスト抑
止信号300.301を送出するリクエスト抑止回路1
1とから構成される。
The system control device 1 includes a buffer 10 that stores a plurality of memory requests from the arithmetic processing device 2 or the input/output control device 3, a request number counter 20 that counts the number of requests stored in the buffer 10, and a buffer 10.
The request processing number counter 21 counts the number of requests sent to the main storage device 4 among the memory requests stored in the memory, and the request processing number counter 20 and the request processing number counter 21 are compared to determine the number of requests stored in the buffer 10. Check the number of requests and buffer 10
a comparator 22 that sends out a buffer FULL signal 200 when the buffer is in the FULL state, and a calculation request number counter 3 that counts the number of memory requests from the calculation processing unit 2.
0 and the reply 250 from the main storage device 4 is received, and in the case of a reply to the request 101 from the arithmetic processing unit 2, it sends the reply 401 to the arithmetic processing unit 2 and also sends a count up signal to the arithmetic reply number counter 31. 251 and request 10 from input/output device 3.
In the case of a reply to 0, a reply 400 is sent to the input/output device 3 and an input/output reply number counter 41 is sent.
Reply circuit 1 that sends out a count-up signal 252 to
3, a calculation reply number counter 31 that sends replies 250 from the main storage device 4 to the processing unit 2 and counts the number of memory requests for which processing has been completed, and a calculation request number counter 30 and a calculation reply number counter 31. If there is a memory request from the arithmetic processing unit 2 that is being processed by the system control device 1, the processing signal 20 is sent.
1, and an input/output request counter 40 that counts the number of memory requests from the input/output control device 3. The input/output calliply number counter 41 that counts the number of completed memory requests is compared with the input/output request number counter 40 and the input/output calliply number counter 41 to determine whether there is a memory request from the input/output control device 3 that is being processed by the system control device 1. In this case, a comparator 42 that sends out a processing signal 202, and a pulse generation circuit 12 that generates a pulse signal 203 that repeats the operation of turning on for a clock period set by software and then turning off for one clock period. , the above comparators 22, 32, 42 . and pulse generation circuit 12
A request suppression circuit 1 that sends a memory request suppression signal 300.301 to the arithmetic processing device 2 or input/output control device 3 using signals 200, 201, 202.203 from the
1.

第2図は上記のリクエスト抑止回路11の例を示す回路
図である。同図においてリクエスト抑止回路11はAN
D50,0R51および52とを有する。
FIG. 2 is a circuit diagram showing an example of the request suppression circuit 11 described above. In the same figure, the request suppression circuit 11 is
D50, 0R51 and 52.

第3図は上記のメモリリクエスト制御方式の動作を示す
タイムチャートである。
FIG. 3 is a time chart showing the operation of the above memory request control method.

パルス発生回路12は、例えばソフトウェアにより1ク
ロツタ周期分ONになるように設定されていると、パル
ス信号203を1クロック周期毎にON、OFFを繰返
して送出しており、リクエスト抑止回路11が演算処理
装置2へのリクエスト抑止信号301を常に1クロック
周期毎に送出して、演算処理装置2からのメモリリクエ
ストは1クロック周期おきに送出されるようになってい
る。
For example, if the pulse generation circuit 12 is set to be ON for one clock period by software, the pulse signal 203 is repeatedly turned ON and OFF every one clock period, and the request suppression circuit 11 calculates the pulse signal 203. A request suppression signal 301 to the processing device 2 is always sent out every clock cycle, and a memory request from the arithmetic processing device 2 is sent out every other clock cycle.

リクエスト抑止信号301がOFFのタイミングで演算
処理装置2がメモリリクエスト■を送出すると、バッフ
ァ10にリクエストを格納すると同時にリクエスト数カ
ウンタ20と演算リクエスト数カウンタ30をそれぞれ
+1する。演算リクエスト数カウンタ30が+1される
と、比較器32は演算リプライ数カウンタ31との不一
致を検出して演算処理装置2からのメモリリクエスト処
理中201をONにする。
When the arithmetic processing unit 2 sends the memory request (2) at the timing when the request suppression signal 301 is OFF, the request is stored in the buffer 10 and at the same time, the request number counter 20 and the arithmetic request number counter 30 are each incremented by 1. When the calculation request number counter 30 is incremented by 1, the comparator 32 detects a discrepancy with the calculation reply number counter 31 and turns ON the memory request processing 201 from the calculation processing unit 2.

次に入出力制御装置3がメモIJ IJクエスト■を送
出すると、バッファ10にリクエストを格納すると同時
にリクエスト数カウンタ20と入出力リクエスト数カウ
ンタ40をそれぞれ+1する。入出力リクエスト数カウ
ンタ40が+1されると比較器42は入出カリプライ数
カウンタ41との不一致を検出して入出力制御装置3か
らのリクエスト処理中202をONにする。
Next, when the input/output control device 3 sends out the memo IJ IJ quest ■, it stores the request in the buffer 10 and at the same time increments the request number counter 20 and the input/output request number counter 40 by 1, respectively. When the input/output request number counter 40 is incremented by 1, the comparator 42 detects a mismatch with the input/output request number counter 41 and turns on the request processing 202 from the input/output control device 3.

リクエスト処理中信号201,202が共にONになる
と、リクエスト抑止回路11のAND50.0R51,
52のそれぞれの回路が動作して演算処理装置3へのリ
クエスト抑止信号301をONする。
When the request processing signals 201 and 202 are both turned ON, AND50.0R51 of the request suppression circuit 11,
Each of the 52 circuits operates to turn on the request suppression signal 301 to the arithmetic processing unit 3.

以後、リクエスト処理中信号201又は202は受は付
けたメモリリクエストのリプライ250が主記憶装置4
から返され、リプライ回路13がそれを受付けて演算処
理装置2又は入出力制御装置3ヘリプライ400または
401を送出する。
After that, the request processing signal 201 or 202 is sent to the main memory 4 as a reply 250 of the accepted memory request.
The reply circuit 13 receives it and sends a reply 400 or 401 to the arithmetic processing unit 2 or input/output control unit 3.

そして演算リプライ数カウンタ31または入出カリプラ
イ数カウンタ41をカウントアツプし、比較器32.4
2が一致を検出する。
Then, the calculation reply number counter 31 or the input/output reply number counter 41 is counted up, and the comparator 32.4
2 detects a match.

このときAND50の出力信号は処理中のメモリリクエ
ストがなくなるまでONのままなので、演算処理装置2
へのリクエスト抑止信号301はONのままになり、演
算処理装置2からのメモリリクエストの送出は抑止され
る。さらに入出力制御装置3へのリクエスト抑止信号3
00はOFFのままなので、入出力制御装置3からのメ
モリリクエストはバッファ10がFULL状態になり比
較器22がバッファFULL信号200をONにしてリ
クエスト抑止回路11が入出力制御装置3へのリクエス
ト抑止信号300をONにするまで、つづけて送出する
ことができる。
At this time, the output signal of AND50 remains ON until there is no longer a memory request being processed, so the arithmetic processing unit 2
The request suppression signal 301 remains ON, and the sending of memory requests from the arithmetic processing unit 2 is suppressed. Furthermore, request suppression signal 3 to input/output control device 3
00 remains OFF, the memory request from the input/output control device 3 causes the buffer 10 to go into the FULL state, the comparator 22 turns on the buffer FULL signal 200, and the request suppression circuit 11 suppresses the request to the input/output control device 3. The signal can be transmitted continuously until the signal 300 is turned ON.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、演算処理装置と入出力制
御装置からのリクエスト処理中は演算処理装置からのメ
モリリクエストを抑止することにより、入出力制御装置
と演算処理装置からのメモリリクエストが競合した場合
にも入出力制御装置からのメモリリクエスト処理速度が
低下することなく実行できるという効果がある。
As explained above, the present invention suppresses memory requests from the arithmetic processing unit while requests from the arithmetic processing unit and the input/output control unit are being processed, thereby allowing memory requests from the input/output control unit and the arithmetic processing unit to compete. Even in such a case, there is an effect that memory requests from the input/output control device can be processed without slowing down in processing speed.

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

第1図は本発明の一実施例を示すブロック図、第2図は
リクエスト抑止回路のブロック図、第3図は本発明の動
作を示すタイムチャート、第4図は従来例を示すブロッ
ク図である。 1・・・システム制御装置、2・・・演算処理装置、3
・・・入出力制御装置、4・・・主記憶装置、5・・・
外部記憶装置、10・・・リクエストバッファ、11・
・・リクエスト抑止回路、12・・・パルス発生回路、
13・・・リプライ回路。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram of a request suppression circuit, FIG. 3 is a time chart showing the operation of the present invention, and FIG. 4 is a block diagram showing a conventional example. be. 1... System control device, 2... Arithmetic processing device, 3
... input/output control device, 4... main storage device, 5...
External storage device, 10...Request buffer, 11.
...Request suppression circuit, 12...Pulse generation circuit,
13...Reply circuit.

Claims (1)

【特許請求の範囲】 1、演算処理装置と外部記憶装置と主記憶装置との間で
データ転送を行なう入出力制御装置が接続される情報処
理装置において、あらかじめ設定され一定周期毎にON
、OFFを繰返すパルス信号を発生するパルス発生手段
と、前記入出力制御装置からのメモリリクエスト処理中
を表示する入出力リクエスト表示手段と、前記演算処理
装置からのメモリリクエスト処理中を表示する演算リク
エスト表示手段と、前記入出力制御装置からのメモリリ
クエスト処理中でかつ前記演算処理装置からのメモリリ
クエスト処理中の場合、又は前記パルス信号がONの場
合には前記演算処理装置にメモリリクエストの送出抑止
を指示するメモリリクエスト抑止手段とを含むことを特
徴とするメモリリクエスト制御方式。 2、請求項1記載のメモリリクエスト制御方式において
、前記主記憶装置からのリプライを弁別し演算リプライ
数および入出力リプライ数をカウントする信号を送出す
るリプライ回路を具備することを特徴とするメモリリク
エスト制御方式。
[Claims] 1. In an information processing device to which an input/output control device that transfers data between an arithmetic processing unit, an external storage device, and a main storage device is connected,
, a pulse generating means for generating a pulse signal that repeats OFF, an input/output request display means for displaying that a memory request from the input/output control device is being processed, and an operation request displaying for displaying that a memory request from the arithmetic processing device is being processed. a display means, and when a memory request from the input/output control device is being processed and a memory request from the arithmetic processing device is being processed, or when the pulse signal is ON, inhibiting sending of a memory request to the arithmetic processing device; A memory request control method comprising: memory request suppression means for instructing a memory request control method. 2. The memory request control method according to claim 1, further comprising a reply circuit for discriminating replies from the main storage device and sending out signals for counting the number of calculation replies and the number of input/output replies. control method.
JP880790A 1990-01-17 1990-01-17 Memory request control system Pending JPH03212754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP880790A JPH03212754A (en) 1990-01-17 1990-01-17 Memory request control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP880790A JPH03212754A (en) 1990-01-17 1990-01-17 Memory request control system

Publications (1)

Publication Number Publication Date
JPH03212754A true JPH03212754A (en) 1991-09-18

Family

ID=11703110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP880790A Pending JPH03212754A (en) 1990-01-17 1990-01-17 Memory request control system

Country Status (1)

Country Link
JP (1) JPH03212754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295878A (en) * 1994-04-27 1995-11-10 Kofu Nippon Denki Kk Main storage request controlling device
JPWO2006132006A1 (en) * 2005-06-09 2009-01-08 松下電器産業株式会社 Memory control device and memory control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295878A (en) * 1994-04-27 1995-11-10 Kofu Nippon Denki Kk Main storage request controlling device
JPWO2006132006A1 (en) * 2005-06-09 2009-01-08 松下電器産業株式会社 Memory control device and memory control method
JP4693843B2 (en) * 2005-06-09 2011-06-01 パナソニック株式会社 Memory control device and memory control method

Similar Documents

Publication Publication Date Title
JPH0268632A (en) Interruption controller
JPH03212754A (en) Memory request control system
JP5348698B2 (en) Information processing apparatus and information processing method
EP0509746B1 (en) Interruption circuit for use with a central processing unit
US6166747A (en) Graphics processing method and apparatus thereof
JP2625249B2 (en) Frame detection circuit
JP3072168B2 (en) Memory operation arbitration circuit
JPH033048A (en) Information processor
JPS62226361A (en) Microprocessor system
US20020126122A1 (en) Apparatus and method for minimizing the idle time of a computer graphic system using hardware controlled flipping
JP2647962B2 (en) Display control device
JPS5829194A (en) Information processor
JPS60168240A (en) Interrupt processing circuit
JPS63113750A (en) Information processing system
JP2961542B2 (en) Data processing system
JPS6022778B2 (en) Response synchronization method
JPH0461387B2 (en)
JPH05204832A (en) Dma bus arbitration system
JPH06111568A (en) Image memory device
JPS6224348A (en) Dma processing system
JPH01175064A (en) Bus error detecting circuit
JPH01250161A (en) Data transfer processing system
JPH0520261A (en) Priority control cirucit
JPS6197777A (en) Interruption processing circuit
JPH09179803A (en) Serial data transfer device