JPS60136841A - Storage control device - Google Patents

Storage control device

Info

Publication number
JPS60136841A
JPS60136841A JP24753683A JP24753683A JPS60136841A JP S60136841 A JPS60136841 A JP S60136841A JP 24753683 A JP24753683 A JP 24753683A JP 24753683 A JP24753683 A JP 24753683A JP S60136841 A JPS60136841 A JP S60136841A
Authority
JP
Japan
Prior art keywords
puncture
bank
information
cycle
register
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
JP24753683A
Other languages
Japanese (ja)
Inventor
Toshiyuki Furui
古井 利幸
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP24753683A priority Critical patent/JPS60136841A/en
Publication of JPS60136841A publication Critical patent/JPS60136841A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication

Landscapes

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

Abstract

PURPOSE:To control the busy state of a bank with simple constitution by forming a means for detecting overlap between a request bank group and a bank group in busy registration. CONSTITUTION:A block reading request sent from a storage control device 4 through an interface 101 is controlled by a request receiving circuit 10 so as to be checked at its bank busy every two banks (M=2) per cycle from bank ''0'' (A=0) and M-2 and A=0 are set up in a check register 11 at timing T=0. Since there is no using bank at the timing T=0 and T=1 in the shown example, ''0'' is set up in the bank number informtion N1-N4 of all the bank registeration register 21-24, so that no coincidence signal is outputted from the outputs of comparators 21-24. A storage access circuit 12 can send a reading request to the banks ''0'' and ''1'' through pathes 104, 105 at the succeeding timing T=2 and T=3 on the basis of address information 112 and bank information 113.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、それぞれ独立に動作可能な複数のパンクから
構成される装置 続され,前記パンクの1つに,あるいは前記パンクの2
つに同時に,アクセスを行なうことができる記憶制御装
置と,前記記憶装置をアクセスするため,前記記憶制御
装置に対し1つ以上のパンクに対する要求を発生する1
つ以上の処理装置とを有するシステムにおける前記記憶
制御装置に関し。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a device connected to a plurality of punctures which can each operate independently, and where one of the punctures or two of the punctures
a storage controller capable of simultaneously accessing the storage device; and a storage controller that generates one or more requests for punctures to the storage controller in order to access the storage device.
The present invention relates to the storage control device in a system having two or more processing devices.

特にある周期内に複数パンクをアクセスする時のパンク
使用状態管理に関する。
In particular, it relates to puncture usage state management when multiple punctures are accessed within a certain period.

〔従来技術〕[Prior art]

近年,データ処理の分野において,処理装置の性能向上
とともに,それに見合った記憶装置のスルーグツト向上
への要求が高まっている。半導体素子の進歩によシ記憶
装置の記憶容量は年々増加してきているが2スループツ
ト向上の為のサイクルタイムの改善はあt,bなされて
ぃガい。
In recent years, in the field of data processing, as the performance of processing devices has improved, there has been an increasing demand for a commensurate improvement in the throughput of storage devices. Although the storage capacity of storage devices is increasing year by year due to advances in semiconductor devices, improvements in cycle time to increase throughput have not yet been made.

従来,記憶装置のスルーノットを向上させる為には,多
重バイト構成にょシ同時に読み/書き出来るデータ量を
増加させる方法や,多重パンク構成により記憶装置を独
立に動作可能な複数のパンクに分割し見かけのサイクル
タイムを小さくシ。
Conventionally, in order to improve the through knot of a storage device, there have been methods such as increasing the amount of data that can be read and written simultaneously using a multi-byte configuration, and dividing the storage device into multiple punctures that can operate independently using a multiple-puncture configuration. Reduce the apparent cycle time.

更にインクリーピングによるアクセスで並列動作パンク
をふやす方法々どがとられ,処理装置に必要なスルーグ
ツトを確保してきた。多重バンク構成における各パンク
の使用状態の管理は,従来。
In addition, methods have been taken to increase the number of parallel operation punctures through incremental access, thereby securing the throughput necessary for processing devices. Management of the usage status of each puncture in a multi-bank configuration is conventional.

バンク数が少ない時には各パンクからビジー侶号を直接
受はビジーでないパンクへアクセスをする方法や,多少
バンク数が増加した場合にはパンクと1対1に対応する
ようにビジーフリップフロツノを持ち,該フリップフロ
ツノをアクセス時にセットしパンクサイクル時間後にこ
れをリセッ1・シ。
When the number of banks is small, receiving the busy partner number directly from each punk is a way to access the non-busy punks, and when the number of banks increases somewhat, it is possible to have a busy flip flop so that it corresponds one-to-one with the punks. , set the flip-flop at the time of access and reset it after the puncture cycle time.

このビジーフリップフロツノの状態でパンクアクセスを
制御してきた。しかしこの様な方法では。
Punk access has been controlled in this busy flip-flop state. But in this way.

複数パンク同時アクセス可能でかつバンク数が非常に多
い高いスルーグツトを持つ記憶装置を実現しようとした
場合,前記パンクビジー管理が複Mli −でかつ金物
量としても大きなものになるという欠点があった。
When attempting to realize a storage device with a high throughput that can simultaneously access a plurality of punctures and have a very large number of banks, there is a drawback that the puncture busy management requires multiple Mli- and the amount of hardware becomes large.

〔発明の目的〕[Purpose of the invention]

本発明の目的は,非常に多くのパンクを有する記憶装置
の各パンクの使用状態(ビジ−)管理を行なう時、ビジ
ーチェック周期を設定し、該周期内でアクセスすべき1
つ以上のパンクの組のパンクビジー情報を1つとして扱
い、各周期で異なるバンク数にアクセスした場合でも、
要求パンクの組とビジー登録中の複数のパンクの組との
重カシを検出する手段を設けることによシ、単純かつ少
ない金物量で多くのパンクのビジー管理を可能にし、上
記欠点を除去した高いスルーグツトを持つ記憶制御装置
を提供することにある。
An object of the present invention is to set a busy check period when managing the usage status (busy) of each puncture in a storage device that has a large number of punctures,
Even if the punk busy information of more than one punk set is treated as one and a different number of banks are accessed in each cycle,
By providing a means for detecting the overlap between the requested puncture pair and the plurality of puncture pairs registered as busy, it is possible to easily manage a large number of punctures with a small amount of hardware, thereby eliminating the above-mentioned drawbacks. An object of the present invention is to provide a storage control device with high throughput.

〔発明の構成〕[Structure of the invention]

本発明によれば。 According to the invention.

それぞれ独立に動作可能な複数のパンクから構成される
装置 該記憶装置に接続され,前記パンクの1つに。
A device comprising a plurality of independently operable punctures is connected to the storage device and connected to one of the punctures.

あるいは前記パンクの2つ以上に同時に,アクセスを行
なうことができる記憶制御装置と。
Or a storage control device that can access two or more of the punctures at the same time.

前記記憶装置をアクセスするため,前記記憶制御装置に
対し1つ以上のパンクに対する要求を発生する1つ以上
の処理装置とを有するシステムにおける前記記憶制御装
置において。
and one or more processing units that issue one or more requests for punctures to the storage controller in order to access the storage device.

予め定めた周期で前記要求で必要とJ〜るパンクから前
記1周期内で処理すべきパンクを決定し。
At a predetermined cycle, a puncture to be processed within the one cycle is determined from J~1 punctures required by the request.

パンク番号情報とパンク数情報を出力する要求処理回路
と。
a request processing circuit that outputs puncture number information and puncture number information;

前記アクセスにより各周期1Uに使用状態として扱われ
る使用パンク情報を前記バンク番号情報とパンク数情報
で登録し,使用状態のパンクに該パンクのパンクサイク
ル時間内に再びアクセスがないよう登録期間を保証する
だけの前記周期とパンクサイクル時間とから決められた
数からなるバンク登録レジスタと。
The used puncture information that is handled as being in the used state by the access in each cycle 1U is registered with the bank number information and the number of punctures information, and the registration period is guaranteed so that the puncture in the used state is not accessed again within the puncture cycle time of the puncture. and a bank registration register consisting of a number determined from the period and the puncture cycle time.

前記バンク登録レジスタの各出力に接続され。connected to each output of the bank registration register.

前記要求処理回路からの要求パンク情報を共通人力とし
,前記各バンク登録レジスタに登録中の使用状態パンク
情報と要求パンク情報とにより同一パンクが存在するか
否かを個々に検出する,前記パンク登録レジスタと同数
のパンク検出回路と。
The puncture registration process uses the request puncture information from the request processing circuit as a common manual and individually detects whether or not the same puncture exists based on the usage state puncture information and the request puncture information registered in each bank registration register. With the same number of puncture detection circuits as registers.

前記パンク検出回路のすべての検出結果により。Based on all the detection results of the puncture detection circuit.

前記記憶装置に対するアクセスを制御するアクセス制御
回路とを備え。
and an access control circuit that controls access to the storage device.

予め定めた周期毎に,該周期内に処理すべき全パンクに
ついて該パンクが使用状態であるか否かをパンク番号情
報とパンク数情報を基に検出し。
At every predetermined cycle, it is detected whether or not all the punctures to be processed within the cycle are in use based on the puncture number information and the number of punctures.

該パンクがすべて使用状態でない時に該パンクに対する
アクセスを行なうとともに,該パンク情報を前記パンク
登録レジスタの1つに登録することを特徴とする記憶制
御装置が得られる。
There is obtained a storage control device characterized in that the puncture is accessed when all the punctures are not in use, and the puncture information is registered in one of the puncture registration registers.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例のデータ処理システムの構成
を示すブロック図である。演算処理装置1は,他の演算
処理装置2及び入出力処理装置3と記憶装置5を共有し
て,データ処理を行なう。
FIG. 1 is a block diagram showing the configuration of a data processing system according to an embodiment of the present invention. The arithmetic processing device 1 shares the storage device 5 with other arithmetic processing devices 2 and input/output processing device 3 to perform data processing.

演算処理装置1は,記憶装置5へデータアクセスを行な
うのに,インタフェース101を使って記憶制御装置4
に要求を送る。インタフェース101ハ毎マシンサイク
ル1語のデータ転送ができる能力を持っている。また、
インタフェース102は毎マシンサイクル2語,インタ
フェース103は2マシンサイクルに1語の転送能力を
もつ。記憶装置5は,内部にそれぞれ並列動作可能な3
2個のパンクを持ち,4つのアクセスパス104〜10
7で記憶制御装置4に接続されている。各アクセスパス
104〜107は第1図に示す様に,対応ずるユニット
5−1〜5−4内のそれぞれ8パンクをアクセスできる
。各パス104〜107は2マシンサイクルで1語の転
送能力をもち,各パンクは9マシンサイクルのバンクサ
イクル時間を必要とする。各パンクは1語×nで構成さ
れ,記憶装置5での番地付けはパンク番号順に割付けら
れており,各パンクには32語境界での番地が与えられ
,パンクの選択は32語境界内の語の番地で行なわれる
。前記複数の要求元から出された記憶装置5へのアクセ
スは,インタフェース101〜103で記憶制御装置4
に通知され,記憶制御装置4で要求の種類及び要求番地
から,記憶装置5のどのパンクを同時に何個どのパスを
用いてアクセスすべきかが判定され,該必要パンクの使
用状態(ビジー)検査が行なわれる。今,演算処理装置
1から8語のブロック読出し要求が来た場合には、イン
タフェース101が1マシンサイクル1語の転送能力で
あるのに対し、4本のインタフェース104〜107は
それぞれ2マシンサイクルに1語の転送能力なので、記
憶制御装置4は記憶装置5に対し、2マシンサイクルに
2つのパンクの割合で4回アクセスし、記憶装置5から
の2マシンサイクル毎に2語送られてくるデータを毎マ
シンサイクル1語ずつ8回返せば良いことが分かる。
The arithmetic processing unit 1 uses the interface 101 to access the storage control unit 4 in order to access data to the storage unit 5.
send a request to. The interface 101 has the ability to transfer one word of data per machine cycle. Also,
The interface 102 has a transfer capacity of two words per machine cycle, and the interface 103 has a transfer capacity of one word per two machine cycles. The storage device 5 has three internal memory devices each capable of parallel operation.
Has 2 punctures and 4 access paths 104 to 10
7 is connected to the storage control device 4. As shown in FIG. 1, each access path 104 to 107 can access eight punctures in each of the corresponding units 5-1 to 5-4. Each path 104-107 has a transfer capacity of one word in two machine cycles, and each puncture requires a bank cycle time of nine machine cycles. Each puncture consists of 1 word x n, and addresses in the storage device 5 are assigned in the order of the puncture number. Each puncture is given an address on a 32-word boundary, and the selection of punctures is made within the 32-word boundary. It is carried out at the address of the word. Access to the storage device 5 issued by the plurality of request sources is performed by the storage control device 4 through the interfaces 101 to 103.
The storage control device 4 determines which punctures in the storage device 5 should be accessed at the same time, how many, and which path should be used, based on the type of request and the request address, and checks the usage status (busy) of the required puncture. It is done. Now, when an 8-word block read request comes from the arithmetic processing unit 1, the interface 101 has a transfer capacity of 1 word per machine cycle, while the 4 interfaces 104 to 107 each have a transfer capacity of 2 machine cycles. Since the transfer capacity is one word, the storage control device 4 accesses the storage device 5 four times at a rate of two punctures in every two machine cycles, and the data sent from the storage device 5 is two words every two machine cycles. It turns out that it is sufficient to return 8 times, one word per machine cycle.

同様に演算処理装置2からの8語のブロック読出し要求
の場合は、インタフェース102が毎マシンサイクル2
語の転送能力を持つため、記憶制御装置4は、記憶装置
5には2マシンサイクル毎に同時に4バンクの割合で2
回アクセスし、2マシンサイクル毎の4語のデータを毎
マシンサイクル2語返せば良いことが分かる。又、要求
元からの1語ずつの要求に対しては、2マシンサイクル
で1語の処理を行なう。この様に要求元と要求の種類に
よって同時に処理すべきバンク数が決められ同時に1個
又は複数個のパンクについてパンクビジーを検査する必
要があり、かつそのタイミングは本実施例の場合2マシ
ンサイクルに1回の割合で行なえば良い。まだ上記プロ
、り読出しの場合。
Similarly, in the case of an 8-word block read request from the arithmetic processing unit 2, the interface 102
Because of its word transfer capability, the storage controller 4 transfers two banks to the storage device 5 simultaneously at a rate of four banks every two machine cycles.
It can be seen that it is sufficient to access the data once and return 4 words of data every 2 machine cycles and 2 words every machine cycle. Further, in response to a request for one word from a request source, one word is processed in two machine cycles. In this way, the number of banks to be processed simultaneously is determined by the request source and the type of request, and it is necessary to check for puncture busy for one or more punctures at the same time, and in this embodiment, the timing is once every two machine cycles. It is best to do it at a rate of once. If you still read the above pro.

同時にアクセスするパンクは、プロ、クアドレスが8語
境界にあることからパンク番号0,8゜16.24から
の連続する2個又は4個毎となる。
Since the pro and quad addresses are on the 8-word boundary, the punctures that are accessed at the same time are every two or four consecutive punctures starting from the puncture number 0,8°16.24.

第2図は記憶制御装置4の本発明に係る部分のブロック
図である。また、第3図は第2図の各部の動作を説明す
る為のタイミングチャー1・である。
FIG. 2 is a block diagram of a portion of the storage control device 4 according to the present invention. Further, FIG. 3 is a timing chart 1 for explaining the operation of each part in FIG. 2.

第3図は、演算処理装置1からO〜7バンク内データに
対するブロック読出し要求があり、演算処理装置2から
24〜31パンク内データに対するブロック読出し要求
があシ、その後、入出力処理装置3からパンク7へと演
算処理装置1からパンク25への1語の書込み要求があ
り、つづいて演算処理装置2からのパンクO〜7に対す
るプロ。
In FIG. 3, there is a block read request from the arithmetic processing device 1 for data in banks 0 to 7, a block read request is made from the arithmetic processing device 2 to data in banks 24 to 31, and then the input/output processing device 3 There is a one-word write request from the arithmetic processing unit 1 to the puncture 25 for the puncture 7, and then there is a write request from the processing unit 2 for the punctures O to 7.

り読出しがあった場合のタイミングを示したものである
。(第3図のTは説明の為マゾンザイクルに番号付けを
したものである。)以下、第2図の各部の動作を第3図
をも参照して説明する。
This figure shows the timing when there is a readout. (T in FIG. 3 is a numbered mason cycle for explanation.) Hereinafter, the operation of each part in FIG. 2 will be explained with reference to FIG. 3 as well.

インクフェース101で記憶制御装置4に送られてきた
ブロック読出し要求は要求受付回路10でバイト0から
(即ち、 A=O)ザイクル当り2パンクずつ(即ち、
M=2)パンクピッ−チェックをする様に判定され、出
力111でチェックレジスタ11にM=2 、 A=0
 (パンク0と1を示す)がタイミング出力0でセット
される。該チェックレジスタ11の出力113はビジー
チェックの為に比較回路31〜34に入力される。タイ
ミングT=0及びT=1では使用中のパンクが無いので
、全てのバンク登録レジスタ21〜24の・ぐンク数情
報N1〜N4にはOが登録されている。
A block read request sent to the storage control device 4 by the ink face 101 is processed by the request reception circuit 10 from byte 0 (i.e., A=O) by 2 punctures per cycle (i.e.,
M=2) It is determined that a puncture check should be performed, and the output 111 sets the check register 11 as M=2, A=0.
(indicating punctures 0 and 1) is set at timing output 0. The output 113 of the check register 11 is input to comparison circuits 31-34 for busy checking. Since there is no puncture in use at timings T=0 and T=1, O is registered in the gunk number information N1 to N4 of all bank registration registers 21 to 24.

従って、比較回路21〜24の出力141〜144には
一致信号は出ない。該出力141〜144は記憶アクセ
ス回路12に入力され、記憶アクセス回路12は2前記
出力141〜144がいずれも一致を検出していないこ
とから、該パンク0と1が未使用状態でおることが分か
る。そこで、記憶アクセス回路12は、タイミング出力
110(本実施例では、奇数番号タイミングT=1 、
3 、5 。
Therefore, no match signal is output from the outputs 141-144 of the comparison circuits 21-24. The outputs 141 to 144 are input to the memory access circuit 12, and the memory access circuit 12 detects that none of the outputs 141 to 144 match, indicating that the punctures 0 and 1 remain unused. I understand. Therefore, the memory access circuit 12 outputs the timing output 110 (in this embodiment, odd number timing T=1,
3, 5.

・・・で発生)が出ているタイミングT=1で、出力1
14により受付要求回路10に、該/SSツク対する要
求を記憶装置5に出せることを通知する。
At timing T=1 when the output (occurred in ...) is output, the output is 1.
14, the reception request circuit 10 is notified that a request for the /SS link can be issued to the storage device 5.

記憶アクセス回路12は、要求受付回路1Oからの番地
情報(バンク内アドレス)1】2と・くンク情報113
を使って次のタイミングT=2及びT=3でパス104
.105を用いて該iZンク0と1に読出し要求を送る
。登録制御回路13は、タイミング出力110が出る毎
に4本の出力121〜124を順番に出すことにより登
録レジスタ21〜24をそれぞれ8マシンサイクル毎に
更新する。登録レジスタ21〜24のストローブ入力1
、21〜124は前記通知114が有る時には出力11
3で入力されるチェックレジスタ11の内容を、無い時
にはバンク数としてN=0をセットする様、制御されて
いる。タイミングT=1では通知出力114が有る為、
ストローブ121により前記チェックレジスタ11の内
容M、Aが登録2ル ジスタ←令→のNl、Blにセットされる。通知114
を受けた要求受付回路10は、チーcyりレジスタ11
にある要求は処理されたので2次のタイミングT=2で
次の2つのパンク(パンク2と3)に要求をすべく前記
出力111によシ前記チェックレノスタ11にM=2 
、A=2をセットする。
The memory access circuit 12 receives the address information (address within the bank) from the request reception circuit 1O.
Pass 104 at the next timing T=2 and T=3 using
.. 105 to send a read request to the iZ links 0 and 1. The registration control circuit 13 updates the registration registers 21 to 24 every eight machine cycles by sequentially outputting four outputs 121 to 124 each time the timing output 110 is output. Strobe input 1 of registration registers 21 to 24
, 21 to 124 are the output 11 when there is the notification 114.
Control is such that the contents of the check register 11 input at step 3 are set to N=0 as the number of banks when the contents are not present. At timing T=1, there is a notification output 114, so
The contents M and A of the check register 11 are set by the strobe 121 to Nl and Bl of the registered register ←order→. Notification 114
The request reception circuit 10 that received the request inputs the check register 11.
Since the request in the above has been processed, the output 111 is sent to the check reno star 11 to request the next two punctures (punk 2 and 3) at the secondary timing T=2.
, set A=2.

以下同様にして、パンク4と5.パンクロと7に要求を
し、演算処理装置1からのブロック読出し要求を処理す
る。次の演算処理装置2からのブロック読出し要求は同
時に4バンク処理する為。
Similarly, Punk 4 and Punk 5. It makes a request to Panchrome 7 and processes the block read request from the arithmetic processing unit 1. The next block read request from the arithmetic processing unit 2 is to process 4 banks at the same time.

チェックレジスフ11にM=4(4バンク単位でピノ−
チェックする)をセ、 l−する点を除き同様の動作を
行なう。タイミングT−14でインクフェース103で
要求された入出力処理装置3からのパンク7への1語の
書込み要求がパンクピノ−チェックの為チェックレジス
フ]1にM−1゜A=7としてセットされる。今、パン
ク7は先の演算処理装置1からのブロック読出し要求で
使用状態にある為、’I’=16のタイミングで記憶装
置5のパンク7をアクセスしてはならない。以下。
M=4 in check register 11 (pinot in units of 4 banks)
Perform the same operation except that the check box is set and l- is checked. At timing T-14, a one-word write request from the input/output processing device 3 to the puncture 7 requested by the ink face 103 is set to check register 1 as M-1゜A=7 for the puncture pinot check. Ru. Since the puncture 7 is currently in use due to the previous block read request from the arithmetic processing unit 1, the puncture 7 of the storage device 5 must not be accessed at the timing of 'I'=16. below.

第4図を参照して前記アクセスが抑止されることを説明
する。
The fact that the access is inhibited will be explained with reference to FIG.

第4図は第2図における比較回路31〜34のうちの1
つを詳細に示したブロック図である。チェックレジスタ
11のバンク数Mとパンク番号Aの出力113(第4図
における出力201.202)は、4つの比較回路31
〜34のそれぞれに入力される。寸だ。
FIG. 4 shows one of the comparison circuits 31 to 34 in FIG.
FIG. 2 is a block diagram showing one in detail. The output 113 (outputs 201 and 202 in FIG. 4) of the bank number M and the puncture number A of the check register 11 is sent to four comparison circuits 31.
.about.34. It's a size.

比較回路31〜34にはそれぞれ対応する登録レジスタ
21〜24のバンク数Nとパンク番号Bの出力131〜
134(第4図における出力203,204)が入力さ
れる。各比較回路31〜34では」ニ述の入力からA’
=A十M−1を演算器5]で、又、B’=B+N−]を
演算器52でめる。演算器51のA′出力211は、要
求パンクの内Aが開始パンクを示すのに対し、終了パン
クを示す。同様に、演算器52の出力B′213は、使
用パンク内の開始パンクBに対し。
The comparison circuits 31 to 34 have outputs 131 to 131 of the bank number N and puncture number B of the corresponding registration registers 21 to 24, respectively.
134 (outputs 203 and 204 in FIG. 4) are input. In each of the comparison circuits 31 to 34, A'
=A0M-1 is calculated by the calculator 5], and B'=B+N-] is calculated by the calculator 52. A' output 211 of the arithmetic unit 51 indicates an end puncture, whereas A of the requested punctures indicates a starting puncture. Similarly, the output B' 213 of the arithmetic unit 52 is for the starting puncture B among the used punctures.

終了パンクを示す。前記要求バンクと使用パンクの開始
Indicates end puncture. Said request bank and use puncture start.

終了パンクを示す値は一致検出回路61と62に入力さ
れる。−数構出回路61では、(A、<B)・(A’<
B)をチェックし、その出力221には要求パンクA 
−A’がいずれも使用開始パンクBより小さい時(重な
りがない時)に論理0が出力される。他の一致検出回路
62では、(B<A)・(13’<A)をチェックし、
その出力222には要求パンクの開始パンクAが使用パ
ンクE −B’のいずれよりも大きい時(重なシがない
時)に論理0が出力される。(ただし、パンク31と0
は同−周期内で要求されることはないとする。)−数構
出回路の出力221と222は論理積回路70に入力さ
れ1その出力231は要求パンクと使用パンクで一致す
るパンク(重な#))が無い時に論理0、重なっている
時には論理1となる。該出力231が論理1で重なシ有
りの場合で、使用パンク数NがOで無ければ、Nの値を
出力203で判定している判定回路50の出力232は
論理1であることから、論理積回路80の出力である一
致状態信号は論理工となる。逆に2AとBの関係に一致
が検出されても、該比較回路に対応する前記パンク登録
レジスタのバンク数Nが0の場合には。
The value indicating the ending puncture is input to coincidence detection circuits 61 and 62. - In the number configuration circuit 61, (A,<B)・(A'<
B) and its output 221 shows the request puncture A.
-A' is both smaller than the starting puncture B (when there is no overlap), a logic 0 is output. The other coincidence detection circuit 62 checks (B<A) and (13'<A),
A logic 0 is output to the output 222 when the starting puncture A of the requested puncture is larger than any of the used punctures E - B' (when there is no overlap). (However, Punk 31 and 0
It is assumed that no request is made within the same period. ) - The outputs 221 and 222 of the number output circuit are input to the AND circuit 70, and the output 231 is a logic 0 when there is no matching puncture (overlapping #) between the requested puncture and the used puncture, and a logic 0 when there is an overlap. It becomes 1. If the output 231 is a logic 1 and there is an overlap, and the number of punctures used N is not O, the output 232 of the determination circuit 50 that determines the value of N using the output 203 is a logic 1. The match state signal that is the output of the AND circuit 80 becomes a logic circuit. Conversely, even if a match is detected in the relationship between 2A and 2B, if the number of banks N of the puncture registration register corresponding to the comparison circuit is 0.

判定回路50の出力232が論理Oとなる為、論理積回
路80の出力は常にQf、一致状態を検出することはな
い。
Since the output 232 of the determination circuit 50 is logic O, the output of the AND circuit 80 is always Qf, and no matching state is detected.

今、タイミングT=14では、パンク7の使用状態は登
録レジスタ24にN4=2 、B4=6として登録され
ている。又、チェックレジスタ11にはM−1,A=7
がセットされる。比較回路34では、演算器51.52
でA’=7十m−1=7(−A)とB′=6+2−1=
7がめられる。−数構°出回路61では条件が成立せず
、出力221は論理1となり、他の一致検出回路62で
もB′二Aニアの為条件が成立せず(重なりを検出して
)、その出力222は論理1となる。今、N−2であり
判定回路50の出力232は論理1となっており。
Now, at timing T=14, the usage status of Punk 7 is registered in the registration register 24 as N4=2 and B4=6. Also, the check register 11 has M-1, A=7.
is set. In the comparator circuit 34, arithmetic units 51 and 52
So A'=70m-1=7(-A) and B'=6+2-1=
7 is seen. - In several output circuits 61, the condition does not hold, and the output 221 becomes logic 1, and in other coincidence detection circuits 62, the condition does not hold because B'2A is near (overlap is detected), and the output 222 becomes logic 1. Now, it is N-2, and the output 232 of the determination circuit 50 is logic 1.

論理積回路70.80の条件が成立し、出力144は論
理1となり、要求バンクの中に使用状態・ぐンクが有る
ことが示される。記憶アクセス回路12は前記出力14
4で一致の報告がされると。
The conditions of the AND circuits 70 and 80 are satisfied, and the output 144 becomes logic 1, indicating that there is a used state/gunk in the request bank. The memory access circuit 12 outputs the output 14
When a match is reported in step 4.

記憶装置5に対するアクセスを抑止し1通知114も出
さない。第3図からも判るようにタイミングT=16で
は、バンク登録レジスタ24 はストローブタイミング
が来てアクセスが無い為、ノクンり数N4−0になる。
Access to the storage device 5 is suppressed and no notification 114 is issued. As can be seen from FIG. 3, at timing T=16, the bank registration register 24 has no access since the strobe timing has come, so the knock count becomes N4-0.

このだめ、第4図における判定回路50の出力232が
Oとなり、前記出力144をOにし一致無しの状態とな
る為、パンク7に対する要求は処理することができる。
In this case, the output 232 of the determination circuit 50 in FIG. 4 becomes O, and the output 144 becomes O, resulting in a state where there is no match, so that the request for puncture 7 can be processed.

以上説明したように登録レジスタには複数個のパンクを
登録する為に開始パンク番号とバンク数が保持され、そ
れと要求パンクとの比較においてはその開始、終了パン
ク番号の大小比較によシそれぞれの重りを検出すること
ができる。タイミングT−22はタイミングT=14と
は逆に1番目の登録レジスタ21にはパンク7が1個登
録されており、チェックレジスタ11KM=4 、A=
4(パンク4〜7)の4バンクの要求パンクが入った場
合である。この場合、 A = 4 、 A’ =4+
4−1=7゜B = 7 、 B’=7+1−1=7=
 Bとなシ、比較回路31の一致検出回路61で重なシ
が検出され、比較回路31の出力141で一致が報告さ
れる。
As explained above, the registration register holds the starting puncture number and the number of banks in order to register multiple punctures, and when comparing it with the requested puncture, it is necessary to compare the starting and ending puncture numbers. Weight can be detected. At timing T-22, contrary to timing T=14, one puncture 7 is registered in the first registration register 21, and check register 11KM=4, A=
This is a case where requested punctures of 4 banks (punks 4 to 7) are received. In this case, A = 4, A' = 4+
4-1=7゜B=7, B'=7+1-1=7=
When B and B overlap, the match detection circuit 61 of the comparison circuit 31 detects the overlap, and the output 141 of the comparison circuit 31 reports the match.

第2図において、登録レジスタ21〜24は8マンンサ
イクル毎に更新される為、一度登録しノスタに登録され
たビジーパンクは10マシンサイクルアクセス出来ない
ことになる。今、記憶装置5の各パンクのサイクルタイ
ムは9である為、同一パンクに対するアクセスの重なり
は生ずることがないことが保証されている。この様に登
録レノスタの必要数はパンクのザイクルタ4ムとパンク
チェックのサイクルからめることができる。又。
In FIG. 2, since the registration registers 21 to 24 are updated every 8 machine cycles, a busy puncture once registered in the nostar cannot be accessed for 10 machine cycles. Now, since the cycle time of each puncture in the storage device 5 is 9, it is guaranteed that accesses to the same puncture will not overlap. In this way, the required number of registered renostas can be determined from the cycle of puncture cycles and the puncture check cycle. or.

チェックレジスタ11と登録レジスタ21〜240ビツ
ト数は同時にパンクビジーチェックを行うバンク数と前
記記憶装置5のバンク数から決められる。
The number of bits in the check register 11 and in the register registers 21 to 240 is determined from the number of banks on which the puncture busy check is performed simultaneously and the number of banks in the storage device 5.

第5図は本発明の別の実施例を示すブロック図であり、
第2図における登録レジスタ21〜24をシフトレジス
タ状に構成したものである。この場合1通知114でチ
ェ、クレジスタ11の内容を登録するのは必ず1番目の
登録ンジスタ21であシ、この内容が2マシンサイクル
毎のタイミング出力110により登録レジスタ21→2
2→23→24と順に移送される。従って、アクセスの
為ビジーとして登録されたパンクは8マ7ンザイクル間
登録されていることになり、前記実施例と同じ効果を生
み出すことができる。ただし、内容が順次移送される為
、第2図における登録制御回路13は不要となり、タイ
ミング出力110だけで制御できる。
FIG. 5 is a block diagram showing another embodiment of the present invention,
The registration registers 21 to 24 in FIG. 2 are configured in the form of a shift register. In this case, the first notification 114 checks and the contents of the credit register 11 are always registered in the first register register 21, and this contents are transferred from the register register 21 to the register register 21 by the timing output 110 every two machine cycles.
They are transferred in the order of 2 → 23 → 24. Therefore, a puncture registered as busy for access will be registered for 8 cycles and 7 cycles, and the same effect as in the previous embodiment can be produced. However, since the contents are transferred sequentially, the registration control circuit 13 in FIG. 2 is not required, and control can be performed only by the timing output 110.

第6図は本発明のさらに他の実施例を示すブロック図で
あり、第5図の実施例に比ベチェックレジスタ11と比
較回路31〜34を3組持ち、要求受付回路10はそれ
ぞれの要求元からの要求に対し要求パンクを決定して、
対応するチェックレジスタ11にセットする。こうする
ことによシ。
FIG. 6 is a block diagram showing still another embodiment of the present invention, in which the embodiment of FIG. Determine request punctuation for the original request,
Set in the corresponding check register 11. It's good to do this.

各要求元からの要求パンクを同時にパンクビジーチェッ
クすることが可能になり、バンクビジー待ち時間を減少
させることができる。比較回路31−1〜31−3.3
2−1〜32−3.33.−1〜33−3 、34.−
1〜34−3での検査結果は出力140−1〜140−
3で記憶アクセス回路12に入力され、同時に2つ以上
が検査の結果記憶アクセス可能な場合にはその内の1つ
を選び前記記憶装置5をアクセスするとともに1通知1
14で要求受付回路10に知らせる。該要求受付は回路
10は通知のあった要求パンクのチェックレジスタ11
に次の要求・ぐンクをセットすることは他の実施例と同
様である。前記通知114はまた新たに設けられた切替
回路15に送られ、処理した要求パンク情報を3つのチ
ェ、クレノスタ11−1〜11−3の出力113−1〜
113−3の内から選びその出力115で第1番目の登
録レジスタ21にセットするようにする。通知1】4の
無いタイミングでは第1番目の登録レノスタ21にはバ
ンク数としてN1=0をセットするのは他の実施例と同
様である。
It becomes possible to perform a puncture busy check for request punctures from each request source at the same time, and it is possible to reduce bank busy waiting time. Comparison circuits 31-1 to 31-3.3
2-1 to 32-3.33. -1 to 33-3, 34. −
The test results for 1 to 34-3 are output 140-1 to 140-
3 is input to the memory access circuit 12, and if two or more can be accessed at the same time as a result of the inspection, one of them is selected and the memory device 5 is accessed, and a notification 1 is sent.
At step 14, the request reception circuit 10 is notified. To receive the request, the circuit 10 checks the notified request puncture check register 11.
Setting the next request/gunk is the same as in other embodiments. The notification 114 is also sent to the newly provided switching circuit 15, and the processed request puncture information is sent to the three checks, the outputs 113-1 to 113-1 of the Kurenostars 11-1 to 11-3.
113-3 and set the output 115 in the first registration register 21. [Notification 1] At the timing when 4 is not present, N1=0 is set as the number of banks in the first registered reno star 21, as in other embodiments.

以上本発明のいくつかの実施例について図面を参照して
説明したが1本発明におけるパンクチェック周期は適用
されるシステムによって最適な値を選択すれば良く、記
憶装置へのアクセス方法やそのバンク数によシ決められ
るべきものであり。
Several embodiments of the present invention have been described above with reference to the drawings. 1. The puncture check period in the present invention may be selected as an optimal value depending on the system to which it is applied, and the method of accessing the storage device and the number of banks thereof. This should be determined by the individual.

又その時の登録レジスタの数、とビット数も各パンクの
サイクルタイムを保証する値に調整され1本。
Also, the number of registration registers and the number of bits at that time are adjusted to a value that guarantees the cycle time of each puncture.

実施例の値に限定されるものではない。It is not limited to the values in the examples.

なお、上述した実施例において、要求受付回路10及び
チェ、クレノスタ11.11−1〜11−3を含む部分
が2本発明の構成において述べた[g水処理回路」に対
応し、比較回路31〜34.31−1〜3]−3,32
−1〜32−3.33−1〜33−3.34−1〜34
−3が本発明の構成において述べた「パンク検出回路」
に対応し、記憶アクセス回路12が本発明の構成におい
て述べた「アクセス制御回路」に対応する。
In addition, in the above-mentioned embodiment, the portion including the request reception circuit 10 and the Che/Clenosta 11.11-1 to 11-3 corresponds to the "g water treatment circuit" described in the configuration of the present invention, and ~34.31-1~3]-3,32
-1~32-3.33-1~33-3.34-1~34
-3 “Puncture detection circuit” mentioned in the configuration of the present invention
Correspondingly, the storage access circuit 12 corresponds to the "access control circuit" described in the configuration of the present invention.

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

本発明には以上説明したように、ある周期でアクセスす
る1つ以上のバンクの組を1情報として管理し1周期毎
にチェックすることによシ、バンク数が多くなった場合
でも単純かつ少ない金物量でビジー管理が可能になると
い、う効果がある。
As explained above, the present invention manages a set of one or more banks accessed in a certain cycle as one piece of information and checks it every cycle, so that even when the number of banks increases, the number of banks is simple and small. This has the effect of enabling busy management based on the amount of gold.

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

第1図は本発明による記憶制御装置を用いたデータ処理
システムの構成を示すブロック図、第2図、第5図及び
第G図はそれぞれ1本発明の実施例に係る記憶制御装置
の一部の詳細を示すブロック図、第3図は第2図の各部
の動作を説明するだめのタイミングチャート、第4図は
第2図の比較回路の詳細ブロック図である。 1.2・・演算処理装置、3・・・入出力処理装置。 4・・記憶制御装置、5・記憶装置、10・要求受付は
回路、11・・チェックレノスタ、12・記憶アクセス
回路、13・登録制御回路、15 ・切替回路、21〜
24・・・登録レノスタ、31〜34・比較回路、50
・・・判定回路、51及び52・・演算器、61及び6
2・・−数構出回路、70及び80・・・論理積回路。 第4図 第5図 第6図
FIG. 1 is a block diagram showing the configuration of a data processing system using a storage control device according to the present invention, and FIGS. 2, 5, and G are each a part of a storage control device according to an embodiment of the present invention. FIG. 3 is a timing chart for explaining the operation of each part in FIG. 2, and FIG. 4 is a detailed block diagram of the comparator circuit in FIG. 2. 1.2... Arithmetic processing unit, 3... Input/output processing unit. 4. Storage control device, 5. Storage device, 10. Request reception circuit, 11. Check recorder, 12. Memory access circuit, 13. Registration control circuit, 15. Switching circuit, 21-
24...Registered reno star, 31-34, comparison circuit, 50
... Judgment circuit, 51 and 52 ... Arithmetic unit, 61 and 6
2...-number construction circuit, 70 and 80... AND circuit. Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】 1 それぞれ独立に動作可能な複数のパンクから構成さ
れる装置 該記憶装置に接続され,前記バンクの1つに。 あるいは前記パンクの2つ以上に同時に,アクセスを行
なうことができる記憶制御装置と。 前記記憶装置をアクセスするため,前記記憶制御装置に
対し1つ以上のパンクに対する.要求を発生する1つ以
上の処理装置とを有するシステムにおける前記記憶制御
装置において。 予め定めた周期で前記要求で必要とするバンクから前記
1周期内で処理すべきバンクを決定し。 パンク番号情報とバンク数情報を出力する要求処理回路
と。 前記アクセスによシ各周期毎に使用状態とじて扱われる
使用バンク情報を前記パンク番号情報とバンク数情報で
登録し,使用状態のバンクに該パンクのパンクサイクル
時間内に再びアクセスがないよう登録期間を保証するだ
けの前記周期とパンクサイクル時間とから決められた数
からなるバンク登録レジスタと。 前記バンク登録レジスタの各出力に接続され。 前記要求処理回路からの要求バンク情報を共通入力とし
,前記各・ぐンク登録レジスタに登録中の使用状態バン
ク情報と要求パンク情報とにより同一パンクが存在する
か否かを個々に検出する,前記バンク登録レジスタと同
数のバンク検出回路と。 前記パンク検出回路のすべての検出結果により。 前記記憶装置に対するアクセスを制御するアクセス制御
回路とを備え。 予め定めた周期毎に,該周期内に処理すべき全パンクに
ついて該バンクが使用状態であるか否かをパンク番号情
報とバンク数情報を基に検出し。 該パンクがすべて使用状態でない時に該バンクに対する
アクセスを行なうとともに,該パンク情報を前記パンク
登録レジスタの1つに登録することを特徴とする記憶制
御装置。 2 前記パンク登録レジスタに使用状態のパンク情報を
パンクサイクル時間以上保持するだめに。 前記パンク登録レジスタは前記周期毎に順次ストローブ
され、該周期に要求パンクがすべて使用状態でなければ
要求パンク情報を使用パンク情報として該周期に対応し
た前記パンク登録レジスタに登録し、該周期に要求バン
クの少なくとも1つが使用状態であれば該レジスタのバ
ンク数情報を無しまたはパンク番号情報を存在しないパ
ンク番号にして、前記パンク検出回路の検査においてそ
の出力が無効となるように登録するように゛した特許請
求の範囲第1項記載の記憶制御装置。 3、前記パンク登録レジスタは要求パンク情報を受付け
る第1番目のレジスタから順にシフトレジスタ状に接続
され、該内容を前記周期毎に次の段に移すように制御さ
れ、前記第1番目のレジスタには前記周期毎に要求バン
クが使用状態でなければ、要求パンク情報を使用パンク
情報として登録し、前記周期毎に要求バンクの少なくと
も1つが使用状態であれば、該レジスタのバンク数情報
を無し、またはパンク番号情報を存在しないパンク番号
にして前記パンク検出回路の検査においてその出力が無
効となるように登録するようにした特許請求の範囲第1
項記載の記憶制御装置。 4 前記パンク登録レジスタの各出力に接続される前記
パンク検出回路を複数組備え、前記要求処理回路から出
力される複数の要求パンク情報を同時に検査し、検査を
通過した要求の内の1つを予め定めた優先順位に従って
選択し、該要求パンク情報を使用状態パンク情報として
登録するとともに、前記記憶装置にアクセスをするよう
にした特許請求の範囲第2項又は第3項記載の記憶制餌
1装置。
Claims: 1. A device consisting of a plurality of independently operable punctures connected to the storage device and connected to one of the banks. Or a storage control device that can access two or more of the punctures at the same time. In order to access the storage device, one or more punctures are applied to the storage controller. and one or more processing units that generate requests. A bank to be processed within the one cycle is determined from the banks required by the request at a predetermined cycle. and a request processing circuit that outputs puncture number information and bank number information. The used bank information, which is treated as a used state in each cycle of the access, is registered with the puncture number information and bank number information, and the bank in the used state is registered so that it will not be accessed again within the puncture cycle time of the corresponding puncture. and a bank registration register consisting of a number determined from the period and the puncture cycle time, which are sufficient to guarantee the period. connected to each output of the bank registration register. The request bank information from the request processing circuit is used as a common input, and it is individually detected whether or not the same puncture exists based on the usage state bank information and the request puncture information registered in the respective gunk registration registers. With the same number of bank detection circuits as bank registration registers. Based on all the detection results of the puncture detection circuit. and an access control circuit that controls access to the storage device. At every predetermined period, it is detected whether or not the bank is in use for all the punctures to be processed within the period based on the puncture number information and the bank number information. A storage control device, characterized in that the bank is accessed when all the punctures are not in use, and the puncture information is registered in one of the puncture registration registers. 2. To keep the used puncture information in the puncture registration register for longer than the puncture cycle time. The puncture registration register is sequentially strobed in each cycle, and if all the requested punctures are in use in that cycle, the requested puncture information is registered as used puncture information in the puncture registration register corresponding to the cycle, and the requested puncture is registered in the puncture registration register corresponding to the cycle. If at least one of the banks is in use, the bank number information of the register is set to "No" or the puncture number information is set to a non-existent puncture number, and the output thereof is registered so as to be invalid when inspecting the puncture detection circuit. A storage control device according to claim 1. 3. The puncture registration registers are connected like a shift register in order from the first register that receives requested puncture information, and are controlled to transfer the contents to the next stage at each cycle, and are controlled to transfer the contents to the next stage at each cycle. registers the requested puncture information as used puncture information if the requested bank is not in the used state in each cycle, and deletes the bank number information in the register if at least one of the requested banks is in the used state in each cycle; Alternatively, the puncture number information is registered as a non-existing puncture number so that the output thereof becomes invalid in the inspection of the puncture detection circuit.
The storage control device described in Section 1. 4. A plurality of sets of the puncture detection circuits are connected to each output of the puncture registration register, and the plurality of request puncture information output from the request processing circuit are simultaneously inspected, and one of the requests passing the inspection is selected. Memory restriction 1 according to claim 2 or 3, wherein the requested puncture information is selected according to a predetermined priority order, the requested puncture information is registered as usage state puncture information, and the storage device is accessed. Device.
JP24753683A 1983-12-26 1983-12-26 Storage control device Pending JPS60136841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24753683A JPS60136841A (en) 1983-12-26 1983-12-26 Storage control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24753683A JPS60136841A (en) 1983-12-26 1983-12-26 Storage control device

Publications (1)

Publication Number Publication Date
JPS60136841A true JPS60136841A (en) 1985-07-20

Family

ID=17164952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24753683A Pending JPS60136841A (en) 1983-12-26 1983-12-26 Storage control device

Country Status (1)

Country Link
JP (1) JPS60136841A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62267189A (en) * 1986-05-15 1987-11-19 Ricoh Co Ltd Thermal transfer recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62267189A (en) * 1986-05-15 1987-11-19 Ricoh Co Ltd Thermal transfer recording medium

Similar Documents

Publication Publication Date Title
US6170070B1 (en) Test method of cache memory of multiprocessor system
US5115411A (en) Dual port memory system
US4174537A (en) Time-shared, multi-phase memory accessing system having automatically updatable error logging means
CA1132716A (en) Command stacking apparatus for use in a memory controller
JPH01320564A (en) Parallel processor
US6473821B1 (en) Multiple processor interface, synchronization, and arbitration scheme using time multiplexed shared memory for real time systems
US7346713B2 (en) Methods and apparatus for servicing commands through a memory controller port
JPS60136841A (en) Storage control device
EP0251686A2 (en) Method and apparatus for sharing information between a plurality of processing units
KR0177197B1 (en) Programmable error-checking matrix for digital communication system
JPS6079445A (en) Storage controller
US5056005A (en) Data buffer device using first-in first-out memory and data buffer array device
JPH03238539A (en) Memory access controller
JPH05151769A (en) Multi port memory
US6493775B2 (en) Control for timed access of devices to a system bus
JPS6125178B2 (en)
JP3108421B2 (en) Memory access device
JP2943926B2 (en) Error recovery control device
JP2505021B2 (en) Main memory controller
JPH01118941A (en) Memory access control system
KR970007156Y1 (en) Access time control circuit of data i/o apparatus
JPH0721113A (en) Multiprocessor system
EP0927935A1 (en) Memory structure with groups of memory banks and serializing means
JPH07113914B2 (en) Memory controller
JPH04192192A (en) Multiport memory control circuit