JPS6122823B2 - - Google Patents

Info

Publication number
JPS6122823B2
JPS6122823B2 JP3533681A JP3533681A JPS6122823B2 JP S6122823 B2 JPS6122823 B2 JP S6122823B2 JP 3533681 A JP3533681 A JP 3533681A JP 3533681 A JP3533681 A JP 3533681A JP S6122823 B2 JPS6122823 B2 JP S6122823B2
Authority
JP
Japan
Prior art keywords
store
requests
fetch
main memory
request
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.)
Expired
Application number
JP3533681A
Other languages
Japanese (ja)
Other versions
JPS57150050A (en
Inventor
Michitaka Yamamoto
Toshihisa Matsuo
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3533681A priority Critical patent/JPS57150050A/en
Publication of JPS57150050A publication Critical patent/JPS57150050A/en
Publication of JPS6122823B2 publication Critical patent/JPS6122823B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 本発明はデータ処理装置等における主記憶制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a main memory control device in a data processing device or the like.

電子計算機等のデータ処理装置においては、他
の演算装置等からのアクセス要求(以下、「リク
エスト」という。)を高速に処理することが必要
である。そして、この際、主記憶へのストアとフ
エツチの順序保証は常に考慮すべき問題である。
BACKGROUND ART Data processing devices such as electronic computers need to process access requests (hereinafter referred to as "requests") from other computing devices at high speed. At this time, guaranteeing the order of storing and fetching into the main memory is an issue that must always be considered.

従来は一般に、ストアアドレスとフエツチアド
レスとの比較回路を持ち、双方のアドレスが衝突
(以下、「コンフリクト」という。)するかどうか
を検出し、優先順位の低いリクエストを待機させ
て前記主記憶へのアクセス順序を保証することが
行なわれていた。そのため、スタツクしているア
ドレスの数に比例したアドレス比較回路が必要と
され、主記憶制御装置が大型化し、かつ制御も複
雑になるという問題があつた。
Conventionally, a circuit that compares a store address and a fetch address is used to detect whether or not there is a conflict between the two addresses (hereinafter referred to as a "conflict"), and to make a request with a lower priority wait and store it in the main memory. The order of access was guaranteed. Therefore, address comparison circuits proportional to the number of stacked addresses are required, resulting in problems such as an increase in the size of the main memory control device and complicated control.

本発明の目的は、従来の主記憶制御装置の上述
した如き問題点を解消し、簡単な構成で、主記憶
へのリクエストとしてスタツクされているストア
リクエストとフエツチリクエストとを、それらが
要求された順序に主記憶に対してリクエストを発
生させるようにした主記憶制御装置を提供するこ
とにある。
It is an object of the present invention to solve the above-mentioned problems of conventional main memory control devices, and to enable storage requests and fetch requests that are stacked as requests to the main memory by a simple configuration. An object of the present invention is to provide a main memory control device which generates requests to the main memory in the same order.

本発明の上記目的は、複数個のストアリクエス
トを記憶するストアスタツクと複数個のフエツチ
リクエストを記憶するフエツチスタツクとを有す
る主記憶制御装置において、それぞれ独立の入出
力ポインタを設けて前記各リクエスト内のリクエ
スト順序を制御するとともに、ストアリクエスト
とフエツチリクエストの双方を含めてのリクエス
ト順序を制御する第3の入出力ポインタを設け
て、ストアリクエストとフエツチリクエストとの
アクセス順序を保証する如く制御するようにした
主記憶制御装置によつて達成される。
The above object of the present invention is to provide a main memory control device having a store stack for storing a plurality of store requests and a fetch stack for storing a plurality of fetch requests, by providing independent input/output pointers for each of the fetch requests. A third input/output pointer is provided to control the order of requests within the server, as well as the order of requests including both store requests and fetch requests, so as to guarantee the access order of store requests and fetch requests. This is achieved by a main memory controller that controls the main memory.

以下、本発明の実施例を図面に基いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示す主記憶制御装
置のブロツク図である。図中、1はストアスタツ
クであり、この例ではアドレス、ストアデータと
も各々3個まで記憶される。2はフエツチスタツ
クであり、アドレスが1個だけ記憶される。3,
4はそれぞれストアスタツクの入力、出力ポイン
タであり、更新は0→1→2→0……の順に行わ
れる。5,6はそれぞれストアスタツク、フエツ
チスタツクのビジー状態を表示するステータスラ
ツチである。
FIG. 1 is a block diagram of a main memory control device showing one embodiment of the present invention. In the figure, 1 is a store stack, and in this example, up to three addresses and three store data each are stored. 2 is a fetch stack in which only one address is stored. 3,
4 are the input and output pointers of the store stack, respectively, and updates are performed in the order of 0→1→2→0... Status latches 5 and 6 indicate the busy status of the store stack and fetch stack, respectively.

中央処理装置(CPU)12から、ストアリク
エストがストアライン3Aを通して発行される
と、ストア入力ポインタ3で指示されるストアス
タツクへ、アドレスライン1Aとストアデータラ
イン2Aを介してアドレスとストアデータが取込
まれ、ストア入力ポインタ3は1つ更新される。
When a store request is issued from the central processing unit (CPU) 12 through the store line 3A, the address and store data are sent to the store stack indicated by the store input pointer 3 through the address line 1A and store data line 2A. The data is taken in, and the store input pointer 3 is updated by one.

7,8,9は中央処理装置12からのストアリ
クエストとフエツチリクエストとの発生の順序を
記憶し、主記憶13へその発生順序に従つてリク
エストを発行するための制御部である。ここで
8,9は、それぞれストアとフエツチ双方のリク
エスト入力・出力ポインタであり、更新は0→1
→2→3→0の順に行われる。7はストアとフエ
ツチ双方のリクエスト記憶部であり、リクエスト
がストアであれば入力ポインタ8により指示され
るリクエスト記憶部7のラツチbi、(i=0,
1,2,3)へ、リクエストがフエツチであれば
同様にciへそれぞれ記憶され、リクエスト入力
ポインタ8は1つ更新される。前記ストア入力ポ
インタ3はストアリクエストのみにより更新され
るのに対して、リクエスト入力ポインタ8はスト
アとフエツチ双方のリクエストで更新される。
Control units 7, 8, and 9 store the order of generation of store requests and fetch requests from the central processing unit 12, and issue the requests to the main memory 13 in accordance with the order of generation. Here, 8 and 9 are the request input/output pointers for both store and fetch, respectively, and the update is from 0 to 1.
It is performed in the order of →2 →3 →0. Reference numeral 7 indicates a request storage unit for both store and fetch, and if the request is a store, the latch b i of the request storage unit 7 indicated by the input pointer 8, (i=0,
1, 2, and 3), and if the request is a fetch, they are similarly stored in c i and the request input pointer 8 is updated by one. The store input pointer 3 is updated only by store requests, whereas the request input pointer 8 is updated by both store and fetch requests.

一方、ストアとフエツチ双方のリクエスト出力
ポインタ9により指示されるリクエスト記憶部7
のラツチbi,ciはリクエスト出力ラツチ10に
出力され、リクエスト出力ラツチ10のaが
“1”になると主記憶13へのリクエストライン
5Aが“1”となり、このときリクエスト記憶部
7のbiが“1”であると、リクエスト出力ラツ
チのbが“1”となり、主記憶13へのストアオ
ーダーライン6Aが“1”となる。また、リクエ
スト記憶部7のciが“1”である場合には同様
にして、リクエスト出力ラツチ10のcが“1”
となり、主記憶13へのストアオーダーライン7
Aが“1”となる。そこで、ストア出力ポインタ
4は、リクエスト出力ラツチ10のbが“1”に
なると1つ更新されるのに対して、リクエスト出
力ポインタ9はリクエスト出力ラツチ10のb,
cどちらかが“1”、すなわちリクエスト出力ラ
ツチ10のaが“1”になると1つ更新される。
On the other hand, the request storage unit 7 indicated by the request output pointer 9 of both the store and fetch
The latches b i and c i of are output to the request output latch 10, and when a of the request output latch 10 becomes "1", the request line 5A to the main memory 13 becomes "1", and at this time, the b of the request storage section 7 becomes "1". When i is "1", b of the request output latch becomes "1", and the store order line 6A to the main memory 13 becomes "1". Similarly, when c i of the request storage section 7 is "1", c of the request output latch 10 is "1".
Therefore, store order line 7 to main memory 13
A becomes "1". Therefore, the store output pointer 4 is updated by one when b of the request output latch 10 becomes "1", whereas the request output pointer 9 is updated by one when b of the request output latch 10 becomes "1".
When either c becomes "1", that is, when a of the request output latch 10 becomes "1", it is updated by one.

主記憶13へのアドレスは、ストア出力ポイン
タ4によりストアアドレスがストアアドレス出力
ライン8Aに出力されており、フエツチアドレス
がフエツチアドレス出力ライン9Aに出力されて
いるが、リクエスト出力ラツチ10の前記出力
b,cのどちらかが“1”になると、主記憶13
へのオーダーがストアかフエツチかにより、セレ
クタ11で前記ライン8Aあるいは9Aが選択さ
れ、アドレス出力ライン10Aへの所定のアドレ
スが確定する。主記憶13へのストアデータはス
トア出力ポインタ4によりストアデータ出力ライ
ン11Aへ確定する。このようにして、主記憶1
3へのリクエストとしてスタツクされているスト
アリクエストとフエツチリクエストとをそれら要
求された順序に主記憶13に対してリクエストを
発生させることが達成できる。
Regarding the address to the main memory 13, the store address is outputted to the store address output line 8A by the store output pointer 4, and the fetch address is outputted to the fetch address output line 9A. When either output b or c becomes “1”, the main memory 13
Depending on whether the order is a store or a fetch, the selector 11 selects the line 8A or 9A, and a predetermined address to the address output line 10A is determined. Store data to the main memory 13 is determined by the store output pointer 4 to the store data output line 11A. In this way, main memory 1
It is possible to generate requests to the main memory 13 in the order in which the store requests and fetch requests, which are stacked as requests to 3, are requested.

以上詳述した如く、本発明によれば、複数個の
ストアリクエストを記憶するストアスタツクと複
数個のフエツチリクエストを記憶するフエツチス
タツクとを有する主記憶制御装置において、それ
ぞれ独立の入出力ポインタを設けて前記各リクエ
スト内のリクエスト順序を制御するとともに、ス
トアリクエストとフエツチリクエストの双方を含
めてのリクエスト順序を制御する第3の入出力ポ
インタを設けて、ストアリクエストとフエツチリ
クエストとのアクセス順序を保証する如く制御す
るようにしたので、従来の如くストアアドレスと
フエツチアドレスとがコンフリクトするかどうか
を検討するための多数の比較回路を必要とせず、
簡単な構成で主記憶へのリクエストとしてスタツ
クされているストアリクエストとフエツチリクエ
ストとを、それらが要求された順序に主記憶に対
してリクエストを発生させることが可能となり、
実用上顕著な効果を奏する。
As described in detail above, according to the present invention, in a main memory control device having a store stack that stores a plurality of store requests and a fetch stack that stores a plurality of fetch requests, independent input/output pointers can be used. A third input/output pointer is provided to control the order of requests within each request, and also to control the order of requests including both store requests and fetch requests. Since the control is performed to guarantee the order, there is no need for a large number of comparison circuits to examine whether there is a conflict between the store address and fetch address as in the past.
With a simple configuration, store requests and fetch requests that are stacked as requests to main memory can be generated to the main memory in the order in which they are requested.
It has a remarkable practical effect.

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

第1図は本発明の一実施例を示す主記憶制御装
置のブロツク図である。 1:ストアスタツク、2:フエツチスタツク、
3:ストア入力ポインタ、4:ストア出力スタツ
ク、5:ストアスタツクビジー状態表示ラツチ、
6:フエツチスタツクビジー状態表示ラツチ、
7:リクエスト記憶部、8:ストア、フエツチリ
クエスト入力ポインタ、9:ストア、フエツチリ
クエスト出力ポインタ、10:リクエスト出力ラ
ツチ、11:セレクタ、12:中央処理装置、1
3:主記憶。
FIG. 1 is a block diagram of a main memory control device showing one embodiment of the present invention. 1: Store stack, 2: Fetish stack,
3: Store input pointer, 4: Store output stack, 5: Store stack busy status display latch,
6: Fetish stack busy status display latch,
7: Request storage unit, 8: Store, Fetch request input pointer, 9: Store, Fetch request output pointer, 10: Request output latch, 11: Selector, 12: Central processing unit, 1
3: Main memory.

Claims (1)

【特許請求の範囲】[Claims] 1 複数個のストアリクエストを記憶するストア
スタツクと複数個のフエツチリクエストを記憶す
るフエツチスタツクとを有する主記憶制御装置に
おいて、それぞれ独立の入出力ポインタを設けて
前記各リクエスト内のリクエスト順序を制御する
とともに、ストアリクエストとフエツチリクエス
トの双方を含めてのリクエスト順序を制御する第
3の入出力ポインタを設けて、ストアリクエスト
とフエツチリクエストとのアクセス順序を保証す
る如く制御することを特徴とする主記憶制御装
置。
1. In a main memory control device having a store stack that stores a plurality of store requests and a fetch stack that stores a plurality of fetch requests, independent input/output pointers are provided to control the order of requests within each of the requests. In addition, a third input/output pointer is provided to control the order of requests including both store requests and fetch requests, and the access order of store requests and fetch requests is controlled so as to be guaranteed. main memory controller.
JP3533681A 1981-03-13 1981-03-13 Main storage controller Granted JPS57150050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3533681A JPS57150050A (en) 1981-03-13 1981-03-13 Main storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3533681A JPS57150050A (en) 1981-03-13 1981-03-13 Main storage controller

Publications (2)

Publication Number Publication Date
JPS57150050A JPS57150050A (en) 1982-09-16
JPS6122823B2 true JPS6122823B2 (en) 1986-06-03

Family

ID=12438989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3533681A Granted JPS57150050A (en) 1981-03-13 1981-03-13 Main storage controller

Country Status (1)

Country Link
JP (1) JPS57150050A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644245B2 (en) * 1983-12-29 1994-06-08 富士通株式会社 Store buffer device

Also Published As

Publication number Publication date
JPS57150050A (en) 1982-09-16

Similar Documents

Publication Publication Date Title
US5233701A (en) System for managing interprocessor common memory
JPS6244303B2 (en)
JP2561261B2 (en) Buffer storage access method
JPS6122823B2 (en)
US5303363A (en) Image processing apparatus having disk storage resembling ram memory
JPH0449145B2 (en)
JPH01142846A (en) Cache memory control system for information processor
JPS5928287A (en) Cache buffer controller
KR0171771B1 (en) Address bus lock control apparatus of computer system
JPH05289847A (en) Ring buffer control device
JPS6124734B2 (en)
JPH06274415A (en) Shared memory system
US20210089463A1 (en) Method and system for task-based cache isolation
JPH0235541A (en) Control system for main storage device
JP2805786B2 (en) Information processing device
JPH03196345A (en) Data input/output system
JP2988048B2 (en) Dictionary information resident access device
JPH03246741A (en) Synchronous controller
JPH0752423B2 (en) Data transfer control method
JPH01142847A (en) Cache memory control system for information processor
JPS5942394B2 (en) cache controller
JPH0322053A (en) Move in buffer control system
JPS63240649A (en) Data processor
JPH07117912B2 (en) Main memory access method
JPH0248749A (en) Buffer storage control device