JP2000330866A - Method and system for controlling memory - Google Patents

Method and system for controlling memory

Info

Publication number
JP2000330866A
JP2000330866A JP11140250A JP14025099A JP2000330866A JP 2000330866 A JP2000330866 A JP 2000330866A JP 11140250 A JP11140250 A JP 11140250A JP 14025099 A JP14025099 A JP 14025099A JP 2000330866 A JP2000330866 A JP 2000330866A
Authority
JP
Japan
Prior art keywords
access request
access
continuous
request
memory
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
JP11140250A
Other languages
Japanese (ja)
Inventor
Tetsuya Hirose
哲也 広瀬
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 JP11140250A priority Critical patent/JP2000330866A/en
Publication of JP2000330866A publication Critical patent/JP2000330866A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a memory control system capable of efficiently processing access requests from plural access request devices. SOLUTION: The memory control system is provided with a memory 5 having plural memory banks 51 to 54 capable of independently storing row addresses, plural request devices 2, 6, 7 capable of accessing the memory 5 and a memory controller 4 for receiving access requests from respective request devices 2, 6, 7, selecting any one of the requests by arbitration and allowing the request device outputting the selected access request to access the memory 5. In the case of continuously executing plural accesses, each request device issues a continuous access request indicating the continuous accesses. At the time of permitting the request device issuing the continuous access request to access the memory 5, the memory controller 4 preferentially selects an access request from the request device at the time of succeeding arbitration.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、主記憶装置と複数
の構成要素とが接続されてなる計算機システムに適用さ
れる、主記憶装置へのメモリアクセスを制御する方法お
よびシステムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a method and system for controlling memory access to a main storage device applied to a computer system in which a main storage device and a plurality of components are connected.

【0002】[0002]

【従来の技術】計算機システムは、一般にCPU、キャ
ッシュメモリ、入出力装置、主記憶装置などの複数の構
成要素を備える。このような計算機システムにおいて
は、主記憶装置はバスまたはネットワークを介して複数
の構成要素と接続され、各構成要素が、メモリ制御装置
に対してアクセス要求があることを示す信号を送出する
とともにアクセスの種類、対象アドレス、アクセスワー
ド数などを示して、メモリアクセスを行う。
2. Description of the Related Art A computer system generally includes a plurality of components such as a CPU, a cache memory, an input / output device, and a main storage device. In such a computer system, the main storage device is connected to a plurality of components via a bus or a network, and each component sends a signal indicating that there is an access request to the memory control device, and simultaneously accesses the memory control device. , A target address, the number of access words, and the like, and perform memory access.

【0003】メモリアクセスの高速化を図った例とし
て、特開平9-223066号公報には、主記憶装置に複数の内
部バンクを備えるシンクロナス(Synchronous)DRA
Mを用いたメモリ制御方法が開示されている。このメモ
リ制御方法では、シンクロナスDRAMにより構成され
た主記憶装置の一部にディレクトリが置かれ、メモリ制
御装置が、特定のアドレスビットにてシンクロナスDR
AMの内部バンクの選択を行い、メモリブロックとこれ
に対応するディレクトリをそれぞれ異なる内部バンクに
配置することによって、ディレクトリアクセスとデータ
アクセスとをそれぞれ行アドレスを保持した状態のまま
行う。
Japanese Patent Application Laid-Open No. 9-223066 discloses a synchronous DRA having a plurality of internal banks in a main storage device.
A memory control method using M is disclosed. In this memory control method, a directory is placed in a part of a main storage device configured by a synchronous DRAM, and the memory control device uses a specific address bit to specify a synchronous DR.
By selecting an internal bank of the AM and arranging the memory block and the directory corresponding to the memory block in different internal banks, directory access and data access are performed in a state where each row address is held.

【0004】上記メモリ制御によれば、2種類のデータ
を連続してアクセスする場合、先に行われたアクセスの
行アドレスを保持した状態のまま次のアクセスを行うこ
とができるので、2番目に行われるアクセスの際の行ア
ドレスの指定を省略することができ、その分、アクセス
の高速化を図ることができる。
According to the above memory control, when two types of data are successively accessed, the next access can be performed while holding the row address of the previously performed access. The specification of the row address at the time of access to be performed can be omitted, and the access can be speeded up accordingly.

【0005】ところで、メモリ制御装置は、通常、複数
の構成要素からのアクセス要求を受け付けるようになっ
ており、複数の構成要素が同時にアクセス要求を発行し
た場合には、どの構成要素からのアクセス要求を選択す
るのかを調停によって決める必要がある。また、ある構
成要素からの複数のアクセスを連続して処理することが
要求される場合には、その処理の間、他の構成要素から
のアクセスを受け付けないように制御する必要がある。
このような連続して処理しなければならない複数のアク
セスを「アトミックアクセス」と呼ぶ。
[0005] Incidentally, the memory control device normally accepts access requests from a plurality of components, and when a plurality of components issue an access request at the same time, the access request from any component is determined. It is necessary to decide whether to choose by arbitration. Further, when it is required to continuously process a plurality of accesses from a certain component, it is necessary to control not to accept accesses from other components during the process.
A plurality of such accesses that must be processed continuously are called "atomic accesses".

【0006】アトミックアクセスを行うメモリ制御とし
て、アトミックアクセスが必要な場合は、バスが占有さ
れていることを示す信号をバス上に送出することによっ
て、他の構成要素がアクセス要求をバス上に送出しない
ように制御する方法がある。この制御方法の場合、各構
成要素は、バス上にバスが占有されていることを示す信
号が送出されているか否かを確認して、アクセス要求を
発行するか否かを決定する。
When an atomic access is required as a memory control for performing an atomic access, a signal indicating that the bus is occupied is sent on the bus, so that another component sends an access request on the bus. There is a way to control not to. In the case of this control method, each component checks whether or not a signal indicating that the bus is occupied is transmitted on the bus, and determines whether to issue an access request.

【0007】アトミックアクセスを行うメモリ制御シス
テムの一例として、特開平7-287667号公報には、STO
P_MOST線とCLIENT_OP線を用いて排他制
御を行うものが開示されている。このシステムでは、ま
ず、アトミックアクセスを行う装置がSTOP_MOS
T線をアサートする。次いで、CLIENT_OP線の
状態が自分がアトミック所有者である状態となるのを待
って、メモリアクセスを行う。この際、アトミック所有
者以外の装置のCLIENT_OP線は他の装置による
アトミックアクセス中である旨を示す状態になってお
り、基本的にメモリアクセスを行わないように制御され
る。
As an example of a memory control system for performing an atomic access, Japanese Patent Application Laid-Open No. 7-287667 discloses an STO.
A system that performs exclusive control using a P_MOST line and a CLIENT_OP line is disclosed. In this system, first, a device that performs an atomic access is a STOP_MOS
Assert line T. Next, the memory access is performed after the state of the CLIENT_OP line becomes an atomic owner. At this time, the CLIENT_OP line of the device other than the atomic owner is in a state indicating that the atomic access is being performed by another device, and is basically controlled so as not to perform the memory access.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
た従来のメモリ制御には、以下のような問題がある。
However, the above-mentioned conventional memory control has the following problems.

【0009】特開平9-223066号公報に記載のものにおい
ては、2種類のデータを連続してアクセスする途中で、
他の構成要素からアクセス要求が発行された場合には、
調停によっていずれの構成要素からのアクセス要求を処
理するかが決定される。この調停の際に、他の構成要素
からのアクセス要求が選択された場合は、保持されてい
た行アドレスが変わってしまい、行アドレスの設定をや
り直すことになるため、前述したようなアクセスの高速
化を図ることはできない。この問題は、アクセス要求を
発行する装置の数が多いものほど発生する可能性が高く
なる。
In the method described in Japanese Patent Application Laid-Open No. 9-223066, while two types of data are continuously accessed,
When an access request is issued from another component,
The arbitration determines from which component the access request is processed. If an access request from another component is selected at the time of this arbitration, the stored row address changes, and the row address is set again. It cannot be planned. This problem is more likely to occur as the number of devices that issue access requests increases.

【0010】特開平7-287667号公報に記載のものにおい
ては、各構成要素がそれぞれ独立に制御線を用いた状態
確認を行うようになっているため、各構成要素からのア
クセス要求を切り替える際の遅延が大きくなる。さらに
加えて、アトミックアクセス制御用の専用線を用いて排
他制御を行っているため、アクセス要求を発行する装置
側の処理が複雑になる。
In the device described in Japanese Patent Application Laid-Open No. 7-287667, since each component performs a state check using a control line independently, when switching an access request from each component, Delay increases. In addition, since exclusive control is performed using a dedicated line for atomic access control, processing on the device side that issues an access request becomes complicated.

【0011】本発明の目的は、上記問題を解決し、複数
のアクセス要求装置からのアクセス要求を効率良く処理
することができる、メモリ制御方法およびメモリ制御シ
ステムを提供することにある。
An object of the present invention is to provide a memory control method and a memory control system capable of solving the above-mentioned problem and efficiently processing access requests from a plurality of access request devices.

【0012】本発明の他の目的は、他のアクセス要求装
置からのアクセス要求によって妨げられることなく、一
連のアクセスを高速に処理することができる、メモリ制
御方法およびメモリ制御システムを提供することにあ
る。
Another object of the present invention is to provide a memory control method and a memory control system capable of processing a series of accesses at a high speed without being hindered by an access request from another access request device. is there.

【0013】本発明の他の目的は、排他制御を効率良く
行うことができ、かつ、アクセス要求装置側の処理が複
雑になることのない、メモリ制御方法およびメモリ制御
システムを提供することにある。
Another object of the present invention is to provide a memory control method and a memory control system which can perform exclusive control efficiently and do not complicate the processing on the access requesting device side. .

【0014】本発明の他の目的は、複数のアクセス要求
装置からのアクセス要求を効率良く切り替て処理するこ
とができる、メモリ制御方法およびメモリ制御システム
を提供することにある。
It is another object of the present invention to provide a memory control method and a memory control system capable of efficiently switching and processing access requests from a plurality of access request devices.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するた
め、本発明のメモリ制御方法は、それぞれが独立して行
アドレスを保持することが可能な複数のメモリバンクを
有するメモリへのアクセスを制御するメモリ制御方法に
おいて、前記メモリとのアクセスが可能な複数のアクセ
ス要求装置からアクセス要求を受けると、調停によりい
ずれか1つのアクセス要求を選択して前記メモリへのア
クセスを許可するステップと、前記調停により選択され
たアクセス要求が連続して複数のアクセスを行う旨を示
す連続アクセス要求であるか否かを判定し、連続アクセ
ス要求である場合には、次回の調停の際に、該連続アク
セス要求を発行したアクセス要求装置からのアクセス要
求を優先的に選択するステップとを含むことを特徴とす
る。
In order to achieve the above object, a memory control method according to the present invention controls access to a memory having a plurality of memory banks each of which can independently hold a row address. Receiving an access request from a plurality of access request devices capable of accessing the memory, selecting one of the access requests by arbitration and permitting access to the memory; It is determined whether or not the access request selected by the arbitration is a continuous access request indicating that a plurality of accesses are to be continuously performed. If the access request is a continuous access request, the access request is determined at the next arbitration. Preferentially selecting an access request from the access request device that issued the request.

【0016】上記の方法において、連続アクセス要求で
あるか否かの判定結果が連続アクセス要求である場合
に、連続アクセス状態である旨を示す情報と該アクセス
要求を発行したアクセス要求装置を特定するための情報
とを保持し、これ以外の場合は通常アクセス状態である
旨を示す情報を保持するようにし、該保持情報に基づい
て、現在、連続アクセス状態であるか否か、どのアクセ
ス要求装置が連続アクセスを行っているかを判定するス
テップをさらに含むようにしてもよい。
In the above method, when the result of the determination as to whether or not the request is a continuous access request is a continuous access request, information indicating the continuous access state and the access requesting device that issued the access request are specified. In other cases, information indicating the normal access state is held, and based on the held information, whether the current access state is the continuous access state, May further include a step of determining whether or not the user is performing continuous access.

【0017】上記の方法において、連続アクセス要求で
あるか否かの判定結果が連続アクセス要求である場合
に、該要求のページアドレスを保持するステップと、連
続アクセス状態にある場合に、現在連続アクセスを行っ
ているアクセス要求装置以外のアクセス要求装置から、
ページアドレスが前記保持されたページアドレスと異な
り、かつ、連続アクセス要求でない通常のアクセス要求
が発行されると、該アクセス要求を受け付けてメモリへ
のアクセスを許可するステップをさらに含むようにして
もよい。
In the above method, when the result of the determination as to whether or not the request is a continuous access request is a continuous access request, the step of holding the page address of the request; From an access request device other than the access request device performing
When a normal access request that is different from the held page address and is not a continuous access request is issued, the method may further include the step of accepting the access request and permitting access to the memory.

【0018】本発明のメモリ制御システムは、それぞれ
が独立して行アドレスを保持することが可能な複数のメ
モリバンクを有するメモリ手段と、前記メモリ手段にア
クセス可能な複数のアクセス要求手段と、前記複数のア
クセス要求手段からのアクセス要求を受け、調停により
いずれか1つのアクセス要求を選択して前記メモリ手段
へのアクセスを許可するメモリ制御手段とを有し、前記
複数のアクセス要求手段はそれぞれ、連続して複数のア
クセスを行う場合はその旨を示す連続アクセス要求を発
行するように構成され、前記メモリ制御手段が、連続ア
クセス要求を発行したアクセス要求手段に前記メモリ手
段へのアクセスを許可した場合には、次回の調停の際
に、該アクセス要求手段からのアクセス要求を優先的に
選択するように構成されたことを特徴とする。
A memory control system according to the present invention comprises a memory means having a plurality of memory banks, each of which can independently hold a row address; a plurality of access request means capable of accessing the memory means; Memory control means for receiving an access request from a plurality of access request means, selecting one of the access requests by arbitration, and permitting access to the memory means, wherein the plurality of access request means each include: When a plurality of accesses are performed consecutively, the memory control unit is configured to issue a continuous access request to that effect, and the memory control unit permits the access request unit that issued the continuous access request to access the memory unit. In such a case, at the time of the next arbitration, the access request from the access request unit is preferentially selected. Characterized in that it has been.

【0019】上記メモリ制御システムにおいて、メモリ
制御手段は、複数のアクセス要求手段から発行されたア
クセス要求に対して調停を行う調停手段と、前記調停手
段にて選択されたアクセス要求が連続アクセス要求であ
る場合は、連続アクセス状態である旨を示す情報と該ア
クセス要求を発行したアクセス要求手段を特定するため
の情報とを保持し、これ以外の場合は通常アクセス状態
である旨を示す情報を保持するフラグ手段とを有し、前
記調停手段が、前記フラグ手段に保持された情報に基づ
いて、前記メモリ制御手段が連続アクセス状態であるか
否かを判定し、連続アクセス状態の場合は、次回の調停
の際に、現在連続アクセスを行っているアクセス要求手
段からのアクセス要求を優先的に選択するように構成さ
れてもよい。
In the above memory control system, the memory control means arbitrates access requests issued from the plurality of access request means, and the access request selected by the arbitration means is a continuous access request. In some cases, information indicating the continuous access state and information for specifying the access requesting unit that issued the access request are held; otherwise, information indicating the normal access state is held. Flag means for determining whether the memory control means is in a continuous access state based on information held in the flag means. In the case of arbitration, the access request from the access request means that is currently performing continuous access may be preferentially selected.

【0020】上記メモリ制御システムにおいて、複数の
アクセス要求手段はそれぞれ、連続して複数のアクセス
を行うか否かを示す連続指示ビットを含むコマンド信号
をアクセス要求とともに前記メモリ制御手段に対して送
出するように構成され、フラグ手段が、前記連続指示ビ
ットの情報に基づいて連続アクセス状態、通常アクセス
状態のいずれかの状態をとるように構成されてもよい。
In the memory control system, each of the plurality of access request means sends a command signal including a continuation instruction bit indicating whether or not to make a plurality of accesses continuously to the memory control means together with the access request. The flag means may be configured to take one of a continuous access state and a normal access state based on the information of the continuous instruction bit.

【0021】上記メモリ制御システムにおいて、メモリ
制御手段は、調停手段にて選択されたアクセス要求が連
続アクセス要求である場合に、該要求のページアドレス
を保持するレジスタ手段をさらに有し、前記調停手段
が、前記メモリ制御手段が連続アクセス状態にある場合
に、現在連続アクセスを行っているアクセス要求手段以
外のアクセス要求手段から、ページアドレスが前記レジ
スタ手段に保持されたページアドレスと異なり、かつ、
連続アクセス要求でない通常のアクセス要求が発行され
ると、該アクセス要求を受け付けてメモリ手段へのアク
セスを許可するように構成されてもよい。
In the above-mentioned memory control system, the memory control means further comprises a register means for holding a page address of the request when the access request selected by the arbitration means is a continuous access request; However, when the memory control means is in the continuous access state, from the access request means other than the access request means currently performing continuous access, the page address is different from the page address held in the register means, and
When a normal access request that is not a continuous access request is issued, the access request may be accepted and access to the memory unit may be permitted.

【0022】(作用)上記のとおりの本発明において
は、複数のアクセスを連続して処理する旨の連続アクセ
ス要求が調停によって選択されると、その連続アクセス
要求に関する一連のアクセスが優先的に処理される。こ
の処理の間、他の要求装置からのアクセス要求が受け付
けられることはないので、従来の問題として挙げたよう
な、連続アクセス中に他の構成要素からのアクセス要求
が選択されて保持されていた行アドレスが変わり、行ア
ドレスの設定をやり直すといったことは生じない。
(Operation) In the present invention as described above, when a continuous access request for processing a plurality of accesses continuously is selected by arbitration, a series of accesses relating to the continuous access request is processed with priority. Is done. During this process, since an access request from another requesting device is not accepted, an access request from another component is selected and held during continuous access as described above as a conventional problem. It does not occur that the row address changes and the row address is set again.

【0023】本発明のうち連続指示ビットを含むコマン
ド信号をアクセス要求とともに送出するものにおいて
は、単に連続指示ビットを設定するだけで連続アクセス
要求をメモリ制御手段に対して示すことができるので、
従来のように制御線を用いて他のアクセス要求装置の状
態を確認するなどの特別な制御を行う必要はない。よっ
て、本発明では、各アクセス要求装置からのアクセス要
求を切り替える際の遅延が大きくなることがなく、また
アクセス要求装置側の処理が複雑になることもない。
In the present invention, in which the command signal including the continuous instruction bit is transmitted together with the access request, the continuous access request can be indicated to the memory control means simply by setting the continuous instruction bit.
It is not necessary to perform special control such as checking the state of another access requesting device using a control line as in the related art. Therefore, according to the present invention, the delay in switching the access request from each access request device does not increase, and the processing on the access request device side does not become complicated.

【0024】本発明のうち、連続アクセス中に他のアク
セス要求手段からページアドレスの異なる通常のアクセ
ス要求が発行されると、該アクセス要求を受け付けるも
のにおいては、割り込み制御が可能となり、他のアクセ
ス要求手段の連続ページアドレス以外のアクセスを待た
せることなく処理することができる。
According to the present invention, when a normal access request having a different page address is issued from another access request means during continuous access, interrupt control can be performed for a device that accepts the access request, and other access requests can be controlled. Processing can be performed without waiting for accesses other than the continuous page address of the request unit.

【0025】[0025]

【発明の実施の形態】次に、本発明の実施形態について
図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0026】図1に、本発明のメモリ制御システムの一
実施形態を示す。このメモリ制御システムは、N台のプ
ロセッサ1−1〜1−Nがプロセッサ間ネットワーク8
を介して相互に接続された並列計算機システムである。
各プロセッサ1−1〜1−Nは、いずれも同じ構成のも
のである。図1では、便宜上、プロセッサ1−1の構成
のみを示してある。
FIG. 1 shows an embodiment of the memory control system of the present invention. In this memory control system, N processors 1-1 to 1-N are connected to an inter-processor network 8.
Are parallel computer systems connected to each other via a.
Each of the processors 1-1 to 1-N has the same configuration. FIG. 1 shows only the configuration of the processor 1-1 for convenience.

【0027】各プロセッサ1−1〜1−Nは、それぞれ
CPU2、キャッシュメモリ3、メモリ制御装置4、メ
モリ5、入出力装置6、プロセッサ間通信装置7から構
成される。CPU2は演算処理などを司り、入出力装置
6は入出力処理を司る。プロセッサ間通信装置7は、自
プロセッサと他のプロセッサとの間でのデータの送受を
行うものであって、CPU2からの指示により、メモリ
5からデータを読み出してプロセッサ間ネットワーク8
へ送出したり、他のプロセッサからプロセッサ間ネット
ワーク8を介して送られてきたデータをメモリ5に書き
込んだりする。
Each of the processors 1-1 to 1-N comprises a CPU 2, a cache memory 3, a memory control device 4, a memory 5, an input / output device 6, and an inter-processor communication device 7. The CPU 2 controls arithmetic processing and the like, and the input / output device 6 controls input / output processing. The inter-processor communication device 7 transmits and receives data between its own processor and another processor. The inter-processor communication device 7 reads data from the memory 5 in accordance with an instruction from the CPU 2, and reads data from the memory 5.
And writes the data sent from another processor via the inter-processor network 8 to the memory 5.

【0028】上述のCPU2、入出力装置6、プロセッ
サ間通信装置7の各装置(以下、総称して要求装置とい
う。)はそれぞれ、メモリ制御装置4に対して、必要に
応じてメモリ5へのアクセス要求(要求信号a)を発行
するとともにコマンド信号bを送出する。図2に、各要
求装置からメモリ制御装置4に対して送出されるコマン
ド信号bの一例を示す。
Each of the CPU 2, the input / output device 6, and the inter-processor communication device 7 (hereinafter collectively referred to as “request devices”) is transmitted to the memory control device 4 and the memory 5 as necessary. It issues an access request (request signal a) and sends out a command signal b. FIG. 2 shows an example of the command signal b sent from each requesting device to the memory control device 4.

【0029】このコマンド信号bは、要求(リクエス
ト)の種類、ワード長、連続指示ビット、アドレスの4
つの項目が定義されている。リクエストの種類の項目に
は、ワード数を指定してワード単位の読み書きを行うこ
とを示す「Word Read」、「Word Write」、キャッシュ
メモリのラインサイズでメモリの読み書きを行うことを
示す「Block Read」、「Block Write」が設定される。
ワード長は、「Word Read」、「Word Write」のリクエ
スト時のワード数を指定する項目である。アドレスは、
メモリのアクセスすべき位置を指定する項目である。連
続指示ビットは、次リクエストを連続して処理するかど
うかの指示を与える項目である。この連続指示ビット
は、図2に示すように「1」または「0」の値をとり、
ここでは「1」が真、「0」が偽を表わすものとして説
明する。
The command signal b includes four types of request (request), word length, continuous instruction bit, and address.
Two items are defined. The request type items include “Word Read” and “Word Write”, which indicate that reading and writing are performed in word units by specifying the number of words, and “Block Read”, which indicates that reading and writing of memory is performed using the cache memory line size. ”And“ Block Write ”are set.
The word length is an item that specifies the number of words at the time of a request for “Word Read” and “Word Write”. The address is
This item specifies the location of the memory to be accessed. The continuous instruction bit is an item for giving an instruction as to whether or not to process the next request continuously. This continuous instruction bit takes a value of “1” or “0” as shown in FIG.
Here, a description will be given assuming that “1” represents true and “0” represents false.

【0030】メモリ5は、それぞれが独立して行アドレ
スを保持することができる複数のメモリバンク51〜5
4を備える。このメモリ5は、例えばシンクロナスDR
AMなどにより構成することができる。あるいは、通常
のDRAMと付属回路によって構成することもできる。
The memory 5 has a plurality of memory banks 51 to 5 each of which can independently hold a row address.
4 is provided. The memory 5 is, for example, a synchronous DR.
It can be constituted by AM or the like. Alternatively, it can be constituted by a normal DRAM and an attached circuit.

【0031】メモリ制御装置4は、CPU2、入出力装
置6、プロセッサ間通信装置7の各要求装置のメモリ5
へのアクセスを制御するものであって、その構成は、連
続アクセス状態を示すフラグ42を内部に備えた調停回
路41、メモリ制御回路43、セレクタ44からなる。
The memory control device 4 includes a memory 5 of each request device of the CPU 2, the input / output device 6, and the interprocessor communication device 7.
The arbitration circuit 41 includes a flag 42 indicating a continuous access state therein, a memory control circuit 43, and a selector 44.

【0032】調停回路41は、各要求装置からアクセス
要求を受けると、調停によりいずれかの要求装置を選択
し、選択した要求装置のアクセス要求が複数のアクセス
を連続して処理することを示す連続アクセス要求である
場合は、次回の調停の際に、該要求装置からのアクセス
要求を優先的に選択する。この動作を実現するために、
調停回路41は、連続アクセス状態フラグ42を備えて
いる。
Upon receiving an access request from each requesting device, the arbitration circuit 41 selects one of the requesting devices by arbitration, and indicates that the access request of the selected requesting device continuously processes a plurality of accesses. If the request is an access request, an access request from the requesting device is preferentially selected at the time of the next arbitration. To achieve this behavior,
The arbitration circuit 41 includes a continuous access state flag 42.

【0033】連続アクセス状態フラグ42は、調停回路
41にて選択された要求装置のアクセス要求が連続アク
セス要求である場合は、連続アクセス状態である旨を示
す情報とその要求装置を特定するための情報とを保持
し、連続アクセス要求でない場合には通常アクセス状態
である旨を示す情報を保持する。
If the access request of the requesting device selected by the arbitration circuit 41 is a continuous access request, the continuous access status flag 42 contains information indicating that the device is in the continuous access state and specifies the requesting device. And if the request is not a continuous access request, information indicating that the access state is the normal access state.

【0034】調停回路41は、上記連続アクセス状態フ
ラグ42に保持された情報に応じて、次回の要求装置の
アクセス要求の選択を行う。また調停回路41は、アク
セス要求を選択すると、その旨を示す応答信号Cを選択
した要求装置に対して送出する。
The arbitration circuit 41 selects the next access request from the requesting device in accordance with the information held in the continuous access state flag 42. Upon selecting the access request, the arbitration circuit 41 sends a response signal C indicating the selection to the selected requesting device.

【0035】セレクタ44は、各要求装置からコマンド
信号bが入力されており、これら入力のうちから調停回
路41にて選択された要求装置のコマンド信号bを選択
する。メモリ制御回路43は、セレクタ44にて選択さ
れたコマンド信号bに従って、調停回路41にて選択さ
れた要求装置のメモリ5へのアクセス制御を行う。
The selector 44 receives the command signal b from each requesting device, and selects the command signal b of the requesting device selected by the arbitration circuit 41 from these inputs. The memory control circuit 43 controls access to the memory 5 of the request device selected by the arbitration circuit 41 according to the command signal b selected by the selector 44.

【0036】次に、本実施形態のメモリ制御システムに
おけるメモリ制御動作について説明する。
Next, a memory control operation in the memory control system of the present embodiment will be described.

【0037】まず、CPU2、入出力装置6、プロセッ
サ間通信装置7の各要求装置のアクセス要求の発行手順
を説明する。図3に複数のアクセスを連続して処理する
場合のアクセス要求の発行手順を示す。以下、図3を参
照して、n個のアクセスを連続して処理するアクセス要
求を発行する場合について説明する。
First, a procedure for issuing an access request from each of the requesting devices of the CPU 2, the input / output device 6, and the inter-processor communication device 7 will be described. FIG. 3 shows a procedure for issuing an access request when a plurality of accesses are processed continuously. Hereinafter, a case in which an access request for continuously processing n accesses will be described with reference to FIG.

【0038】要求装置は、コマンド信号bの連続指示ビ
ット(図2参照)を「1」にセットした上で、メモリ制
御装置4に対して1番目のアクセスについてのアクセス
要求を発行する(ステップS1)。続く2番目〜n−1
番目までのアクセスについても、同様に連続指示ビット
を「1」にセットした状態でアクセス要求を発行する。
最後のn番目のアクセスについては、連続指示ビットを
「0」にセットしてアクセス要求を発行する(ステップ
S2)。なお、要求装置は、通常のアクセス要求(複数
のアクセスを連続して処理する必要のないもの)の場合
は、連続指示ビットを「0」にセットしてアクセス要求
を発行する。
The requesting device sets the continuous instruction bit (see FIG. 2) of the command signal b to "1" and issues an access request for the first access to the memory control device 4 (step S1). ). The second to n-1
In the same way, the access request is issued with the continuous instruction bit set to "1".
For the last n-th access, an access request is issued with the continuation instruction bit set to "0" (step S2). In the case of a normal access request (one that does not need to process a plurality of accesses consecutively), the requesting device sets the continuation instruction bit to “0” and issues the access request.

【0039】続いて、調停回路41の動作を説明する。
図4に、この調停回路41の制御手順を示す。以下、図
4を参照して制御手順を説明する。
Next, the operation of the arbitration circuit 41 will be described.
FIG. 4 shows a control procedure of the arbitration circuit 41. Hereinafter, the control procedure will be described with reference to FIG.

【0040】ステップS11で、各要求装置からのアク
セス要求を待つ。アクセス要求待ち状態で各要求装置か
らアクセス要求を受けると、続くステップS12で、連
続アクセス状態フラグ42に保持されている情報を確認
して現在連続アクセス状態であるか否かを判定する。こ
のとき、連続アクセス状態フラグ42は、前回選択され
た要求装置のアクセス要求が連続アクセス要求であれ
ば、連続アクセス状態である旨を示す情報とその要求装
置を特定するための情報を保持しており、通常アクセス
要求であれば、通常アクセス状態である旨を示す情報を
保持している。
In step S11, an access request from each requesting device is waited. When an access request is received from each requesting device in the access request waiting state, in subsequent step S12, the information held in the continuous access state flag 42 is checked to determine whether or not the apparatus is in the continuous access state. At this time, if the access request of the previously selected requesting device is a continuous access request, the continuous access status flag 42 holds information indicating that the device is in the continuous access status and information for specifying the requesting device. If the request is a normal access request, information indicating that the request is in the normal access state is held.

【0041】上記ステップS12の判定が連続アクセス
状態である場合は、続くステップS13で現在の連続ア
クセス装置からのアクセス要求か否かを判定する。この
判定が真となった場合は、続くステップS14でそのア
クセス要求を選択して後述のステップS16に移り、偽
となった場合は、上述のステップS11の要求待ち状態
に戻る。
If the determination in the step S12 is a continuous access state, it is determined in a succeeding step S13 whether or not the current access request is from a continuous access device. If this determination is true, the access request is selected in the following step S14, and the process proceeds to step S16 described below. If false, the process returns to the request waiting state in step S11 described above.

【0042】上記ステップS12の判定が連続アクセス
状態でない場合、すなわち通常アクセス状態である場合
は、ステップS15で適当な調停方法によってアクセス
要求の選択を行って、後述のステップS16に移る。こ
のステップS15における調停については、同時に複数
のアクセス要求を受けた際に行われる周知の調停である
ため、ここではその説明を省略する。
If it is determined in step S12 that the access state is not the continuous access state, that is, if the access state is the normal access state, an access request is selected by an appropriate arbitration method in step S15, and the process proceeds to step S16 described later. The arbitration in step S15 is a well-known arbitration performed when a plurality of access requests are received at the same time, and a description thereof will be omitted here.

【0043】ステップS14またはS15にてアクセス
要求が選択されると、続いてステップS16で、その選
択したアクセス要求について、連続指示ビットが「1」
か否か、すなわち連続アクセス要求であるか否かを判定
する。連続アクセス要求であれば、ステップS17でそ
の選択したアクセス要求を発行した要求装置を特定する
情報と連続アクセス要求である旨を示す情報を連続アク
セス状態フラグ42に保持させた後、上述のステップS
11の要求待ち状態に戻る。連続アクセス要求でなけれ
ば、ステップS18で通常アクセス要求である旨を示す
情報を連続アクセス状態フラグ42に保持させた後、上
述のステップS11の要求待ち状態に戻る。
When an access request is selected in step S14 or S15, subsequently, in step S16, the continuation instruction bit is set to "1" for the selected access request.
It is determined whether the request is a continuous access request or not. If the access request is a continuous access request, information specifying the requesting device that issued the selected access request and information indicating the continuous access request are stored in the continuous access state flag 42 in step S17.
It returns to the request waiting state of No. 11. If the request is not a continuous access request, the information indicating that the request is a normal access request is stored in the continuous access state flag 42 in step S18, and the process returns to the request waiting state in step S11 described above.

【0044】以上説明した本実施形態のメモリ制御シス
テムでは、連続アクセス要求を選択した場合には、先に
行われたアクセスの行アドレスを保持した状態のまま次
のアクセスを行うことができる。よって、連続アクセス
要求の2番目以降のアクセス要求については行アドレス
の指定を省略することができ、その分、アクセスの高速
化を図ることができる。この連続アクセス中、他の要求
装置からのアクセス要求が受け付けられることはない。
In the memory control system of the present embodiment described above, when a continuous access request is selected, the next access can be performed while retaining the row address of the previously performed access. Therefore, the designation of the row address can be omitted for the second and subsequent access requests of the continuous access request, and the access can be speeded up accordingly. During this continuous access, no access request from another requesting device is accepted.

【0045】また、各要求装置は要求があるときには常
にアクセス要求をアサートしているので、調停回路41
は、メモリ制御回路43の状態に応じてアクセス要求を
選択することができる。このアクセス要求切り替えの際
の遅延は前述した従来のメモリ制御における遅延に比べ
て小さい。
Since each requesting device always asserts an access request when there is a request, the arbitration circuit 41
Can select an access request according to the state of the memory control circuit 43. The delay in switching the access request is smaller than the delay in the conventional memory control described above.

【0046】なお、本実施形態では、複数のプロセッサ
によって構成される並列計算機について説明したが、本
発明のメモリ制御はこの構成に限定されるもではなく、
例えば単一プロセッサからなる計算機にも適用すること
ができる。
In this embodiment, a parallel computer constituted by a plurality of processors has been described. However, the memory control of the present invention is not limited to this configuration.
For example, the present invention can be applied to a computer including a single processor.

【0047】また、各要求装置とメモリ制御装置を接続
するコマンド信号線は各要求装置毎に設けられている
が、これに代えて、バスなどを用いた接続構造を採用し
てもよい。
Although a command signal line connecting each requesting device and the memory control device is provided for each requesting device, a connection structure using a bus or the like may be used instead.

【0048】さらに、複数の要求装置と複数のメモリ制
御装置がスイッチを介して接続されるような構成として
もよい。
Further, a configuration may be employed in which a plurality of request devices and a plurality of memory control devices are connected via switches.

【0049】(他の実施形態)上述の実施形態のメモリ
制御システムにおいて、連続アクセス中に他のアクセス
要求手段からページアドレスの異なる通常のアクセス要
求が発行されると、該アクセス要求を受け付けるように
することもできる。ここでは、その制御動作を実現でき
るシステムを説明する。
(Other Embodiments) In the memory control system of the above-described embodiment, when a normal access request having a different page address is issued from another access request unit during continuous access, the access request is accepted. You can also. Here, a system that can realize the control operation will be described.

【0050】図5は、本発明のメモリ制御システムの他
の実施形態の構成を示すブロック図である。本形態のメ
モリ制御システムは、上述の図1に示したメモリ制御シ
ステムにおいて、調停回路の内部に連続アクセスページ
レジスタを追加した以外は同様の構成のもとなってい
る。図5中、同じ構成には同じ符号を付してある。な
お、図1に示したものと同じ構成についての説明は前述
した通りであり、重複するため、ここではその説明を省
略する。
FIG. 5 is a block diagram showing the configuration of another embodiment of the memory control system of the present invention. The memory control system of the present embodiment has the same configuration as the memory control system shown in FIG. 1 except that a continuous access page register is added inside the arbitration circuit. In FIG. 5, the same components are denoted by the same reference numerals. Note that the description of the same configuration as that shown in FIG. 1 is as described above, and will not be repeated here.

【0051】本形態のメモリ制御システムでは、調停回
路41’の内部に連続アクセス状態フラグ42および連
続アクセスページレジスタ45が設けられている。連続
アクセスページレジスタ45は、調停回路41’にて選
択されたアクセス要求が連続アクセス要求である場合
に、該連続アクセス要求のページアドレス(連続アクセ
ス要求の各アクセスのページアドレスは基本的に同一で
ある)を保持する。本形態では、調停回路41’は、現
在、アクセスを許可している要求装置が連続アクセス状
態にある場合に、他の要求装置から、ページアドレスが
連続アクセスページレジスタ45に保持されたページア
ドレスと異なり、かつ、連続アクセス要求でない通常の
アクセス要求が発行されると、該アクセス要求を受け付
けてメモリ5へのアクセスを許可するようになってい
る。図6に、この調停回路41’における制御手順を示
す。以下、図6を参照して制御手順を説明する。
In the memory control system of this embodiment, a continuous access state flag 42 and a continuous access page register 45 are provided inside the arbitration circuit 41 '. When the access request selected by the arbitration circuit 41 'is a continuous access request, the continuous access page register 45 stores the page address of the continuous access request (the page address of each access of the continuous access request is basically the same). Hold). In the present embodiment, when the requesting device currently permitting the access is in the continuous access state, the arbitration circuit 41 ′ transmits the page address from the other requesting device to the page address held in the continuous access page register 45. In contrast, when a normal access request that is not a continuous access request is issued, the access request is accepted and the access to the memory 5 is permitted. FIG. 6 shows a control procedure in the arbitration circuit 41 '. Hereinafter, the control procedure will be described with reference to FIG.

【0052】ステップS21で、各要求装置からのアク
セス要求を待つ。アクセス要求待ち状態で各要求装置か
らアクセス要求を受けると、続くステップS22で、連
続アクセス状態フラグ42に保持されている情報を確認
して現在連続アクセス状態であるか否かを判定する。こ
の判定が連続アクセス状態でない場合、すなわち通常ア
クセス状態である場合は、ステップS27で適当な調停
方法によってアクセス要求の選択を行って後述のステッ
プS28の処理に移る。このステップS27における調
停については、同時に複数のアクセス要求を受けた際に
行われる周知の調停であるため、ここではその説明を省
略する。
In step S21, an access request from each requesting device is waited. When an access request is received from each requesting device in the access request waiting state, in subsequent step S22, the information held in the continuous access state flag 42 is checked to determine whether or not the apparatus is in the continuous access state. If this determination is not a continuous access state, that is, if it is a normal access state, an access request is selected by an appropriate arbitration method in step S27, and the process proceeds to step S28 described later. The arbitration in step S27 is a well-known arbitration performed when a plurality of access requests are received at the same time, and a description thereof will be omitted here.

【0053】上記ステップS22の判定が連続アクセス
状態である場合は、続くステップS23で現在の連続ア
クセス装置からのアクセス要求か否かを判定する。現在
の連続アクセス装置からのアクセス要求である場合は、
続くステップS24でそのアクセス要求を選択して後述
のステップS28に移る。現在の連続アクセス装置から
のアクセス要求でない場合は、ステップS25に移り、
そのアクセス要求のページアドレスが連続アクセスペー
ジレジスタ45に保持されたページアドレスと異なり、
かつ、連続指示ビットが「0」であるかどうかを確認す
る。この確認が真となった場合は、続くステップS26
でそのアクセス要求を選択して後述のステップS28に
移り、偽となった場合は、上述のステップ21の要求待
ち状態に戻る。
If the determination in the step S22 is a continuous access state, it is determined in a succeeding step S23 whether or not the access request is from the current continuous access device. If the access request is from the current continuous access device,
In a succeeding step S24, the access request is selected, and the process proceeds to a step S28 described later. If it is not an access request from the current continuous access device, the process proceeds to step S25,
The page address of the access request is different from the page address held in the continuous access page register 45,
Also, it is determined whether or not the continuous instruction bit is “0”. If this confirmation is true, the following step S26
In step S28, the access request is selected, and the process proceeds to step S28 described below. If the access request is false, the process returns to the request waiting state in step S21.

【0054】ステップS28では、選択したアクセス要
求が連続アクセス要求であるか否かを判定する。連続ア
クセス要求であれば、続くステップS29でその選択し
たアクセス要求を発行した要求装置を特定する情報と連
続アクセス要求である旨を示す情報を連続アクセス状態
フラグ42に保持させ、アクセス要求のページアドレス
を連続アクセスページレジスタ45に保持させた後、上
述のステップS11の要求待ち状態に戻る。連続アクセ
ス要求でなければ、ステップS30で通常アクセス要求
である旨を示す情報を連続アクセス状態フラグ42に保
持させた後、上述のステップS11の要求待ち状態に戻
る。
In step S28, it is determined whether or not the selected access request is a continuous access request. In the case of a continuous access request, in the following step S29, information for specifying the requesting device that has issued the selected access request and information indicating that the request is a continuous access request are stored in the continuous access status flag 42, and the page address of the access request is stored. Is stored in the continuous access page register 45, and the process returns to the request waiting state in step S11 described above. If the request is not a continuous access request, information indicating that the request is a normal access request is stored in the continuous access state flag 42 in step S30, and then the process returns to the request waiting state in step S11 described above.

【0055】以上の処理により、連続アクセス中の割り
込み制御が可能となり、他の要求装置の連続ページアド
レス以外のアクセスを待たせることなく処理することが
できる。
With the above-described processing, interrupt control during continuous access can be performed, and processing can be performed without waiting for accesses other than the continuous page address of another requesting device.

【0056】なお、本実施形態では、連続アクセス中、
他の要求装置からのアクセス要求が受け付けられること
になるが、このとき受け付けられるアクセス要求は、ペ
ージアドレスが連続アクセス要求のページアドレスと異
なる、通常のアクセス要求である。したがって、メモリ
5では、連続アクセス要求のページアドレスは保持され
たままとなり、連続アクセス中の割り込み制御によって
先の実施形態で説明した高速化が妨げられることはな
い。
In this embodiment, during continuous access,
An access request from another requesting device is accepted, but the accepted access request is a normal access request whose page address is different from the page address of the continuous access request. Therefore, in the memory 5, the page address of the continuous access request remains held, and the interrupt control during the continuous access does not hinder the increase in speed described in the previous embodiment.

【0057】[0057]

【発明の効果】以上説明したように、本発明によれば、
連続アクセス中に他の構成要素からのアクセス要求が選
択されて保持されていた行アドレスが変わり、行アドレ
スの設定をやり直すといったことは生じないので、一連
のアクセスを高速に処理することができ、トータル的に
複数のアクセス要求装置からのアクセス要求を効率良く
処理することができる。
As described above, according to the present invention,
During a continuous access, an access request from another component is selected and the held row address changes, and there is no need to reset the row address, so that a series of accesses can be processed at high speed. In total, access requests from a plurality of access request devices can be efficiently processed.

【0058】また本発明によれば、単に連続指示ビット
を設定するだけで連続アクセス要求をメモリ制御装置に
対して示すことができ、従来のように制御線を用いて他
のアクセス要求装置の状態を確認するなどの特別な制御
を行う必要はないので、各アクセス要求装置からのアク
セス要求を切り替える際の遅延を従来よりも小さくする
ことができるとともに排他制御を効率良く行うことがで
きる。
Further, according to the present invention, a continuous access request can be indicated to the memory control device simply by setting the continuous instruction bit. Therefore, it is not necessary to perform special control such as confirming that the access request from each access requesting device can be switched to a smaller delay than before, and exclusive control can be performed efficiently.

【0059】さらに本発明によれば、他の要求装置の連
続ページアドレス以外のアクセスを待たせることなく処
理することができるので、複数のアクセス要求装置から
のアクセス要求を高率良く切り替て処理することができ
る。
Further, according to the present invention, it is possible to process access requests other than the continuous page address of other requesting devices without waiting, so that access requests from a plurality of access requesting devices are switched and processed at high efficiency. be able to.

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

【図1】本発明のメモリ制御システムの一実施形態を示
すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a memory control system of the present invention.

【図2】図1に示す各要求装置から送出されるコマンド
信号bのフォーマット例を示す図である。
FIG. 2 is a diagram showing a format example of a command signal b transmitted from each requesting device shown in FIG. 1;

【図3】図1に示す各要求装置にて行われる、複数のア
クセスを連続して処理する場合のアクセス要求の発行手
順を示すフローチャート図である。
FIG. 3 is a flowchart showing an access request issuing procedure performed by each requesting device shown in FIG. 1 when a plurality of accesses are processed continuously.

【図4】図1に示す調停回路41の動作を説明するため
のフローチャート図である。
FIG. 4 is a flowchart for explaining the operation of the arbitration circuit 41 shown in FIG. 1;

【図5】本発明のメモリ制御システムの他の実施形態を
示すブロック図である。
FIG. 5 is a block diagram showing another embodiment of the memory control system of the present invention.

【図6】図1に示す調停回路41’の動作を説明するた
めのフローチャート図である。
FIG. 6 is a flowchart for explaining the operation of the arbitration circuit 41 ′ shown in FIG. 1;

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

1−1〜1−N プロセッサ 2 CPU 3 キャッシュメモリ 4 メモリ制御装置 5 メモリ 6 入出力装置 7 プロセッサ間通信装置 8 プロセッサ間ネットワーク 41 調停回路 42 連続状態フラグ 43 メモリ制御回路 44 セレクタ 45 連続アクセスページレジスタ 51〜54 メモリバンク 1-1 to 1-N processor 2 CPU 3 cache memory 4 memory control device 5 memory 6 input / output device 7 interprocessor communication device 8 interprocessor network 41 arbitration circuit 42 continuous status flag 43 memory control circuit 44 selector 45 continuous access page register 51-54 memory bank

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 それぞれが独立して行アドレスを保持す
ることが可能な複数のメモリバンクを有するメモリへの
アクセスを制御するメモリ制御方法において、 前記メモリとのアクセスが可能な複数のアクセス要求装
置からアクセス要求を受けると、調停によりいずれか1
つのアクセス要求を選択して前記メモリへのアクセスを
許可するステップと、 前記調停により選択されたアクセス要求が連続して複数
のアクセスを行う旨を示す連続アクセス要求であるか否
かを判定し、連続アクセス要求である場合には、次回の
調停の際に、該連続アクセス要求を発行したアクセス要
求装置からのアクセス要求を優先的に選択するステップ
とを含むことを特徴とするメモリ制御方法。
1. A memory control method for controlling access to a memory having a plurality of memory banks, each of which can independently hold a row address, wherein a plurality of access request devices capable of accessing said memory When an access request is received from the
Selecting one of the access requests to allow access to the memory, and determining whether the access request selected by the arbitration is a continuous access request indicating that a plurality of accesses are to be continuously performed, If the request is a continuous access request, at the time of the next arbitration, preferentially selecting an access request from the access request device that issued the continuous access request.
【請求項2】 請求項1に記載のメモリ制御方法におい
て、 連続アクセス要求であるか否かの判定結果が連続アクセ
ス要求である場合に、連続アクセス状態である旨を示す
情報と該アクセス要求を発行したアクセス要求装置を特
定するための情報とを保持し、これ以外の場合は通常ア
クセス状態である旨を示す情報を保持するようにし、該
保持情報に基づいて、現在、連続アクセス状態であるか
否かを判定するステップをさらに含むことを特徴とする
メモリ制御方法。
2. The memory control method according to claim 1, wherein when the result of the determination as to whether or not the request is a continuous access request is a continuous access request, information indicating that the access is continuous and said access request are transmitted. Information for identifying the issued access request device, and in other cases, information indicating that the device is in the normal access state, and based on the held information, the device is currently in the continuous access state. A memory control method, further comprising a step of determining whether or not the memory control is performed.
【請求項3】 請求項2に記載のメモリ制御方法におい
て、 連続アクセス要求であるか否かの判定結果が連続アクセ
ス要求である場合に、該要求のページアドレスを保持す
るステップと、 連続アクセス状態にある場合に、現在連続アクセスを行
っているアクセス要求装置以外のアクセス要求装置か
ら、ページアドレスが前記保持されたページアドレスと
異なり、かつ、連続アクセス要求でない通常のアクセス
要求が発行されると、該アクセス要求を受け付けてメモ
リへのアクセスを許可するステップをさらに含むことを
特徴とするメモリ制御方法。
3. The memory control method according to claim 2, wherein, when the result of the determination as to whether or not the request is a continuous access request is a continuous access request, a step of holding a page address of the request; In the case where a normal access request is issued from an access request device other than the access request device currently performing continuous access, the page address is different from the held page address, and is not a continuous access request, A memory control method, further comprising the step of accepting the access request and permitting access to the memory.
【請求項4】 それぞれが独立して行アドレスを保持す
ることが可能な複数のメモリバンクを有するメモリ手段
と、 前記メモリ手段にアクセス可能な複数のアクセス要求手
段と、 前記複数のアクセス要求手段からのアクセス要求を受
け、調停によりいずれか1つのアクセス要求を選択して
前記メモリ手段へのアクセスを許可するメモリ制御手段
とを有し、 前記複数のアクセス要求手段はそれぞれ、連続して複数
のアクセスを行う場合はその旨を示す連続アクセス要求
を発行するように構成され、 前記メモリ制御手段が、連続アクセス要求を発行したア
クセス要求手段に前記メモリ手段へのアクセスを許可し
た場合には、次回の調停の際に、該アクセス要求手段か
らのアクセス要求を優先的に選択するように構成された
ことを特徴とするメモリ制御システム。
4. A memory means having a plurality of memory banks each capable of independently holding a row address; a plurality of access request means capable of accessing the memory means; and a plurality of access request means. And a memory control means for selecting any one of the access requests by arbitration and permitting access to the memory means. Is performed, a continuous access request indicating that fact is issued, and the memory control unit, if the access request unit that has issued the continuous access request permits access to the memory unit, the next time, A memorandum configured to preferentially select an access request from the access request means at the time of arbitration. Control system.
【請求項5】 請求項4に記載のメモリ制御システムに
おいて、 メモリ制御手段は、 複数のアクセス要求手段から発行されたアクセス要求に
対して調停を行う調停手段と、 前記調停手段にて選択されたアクセス要求が連続アクセ
ス要求である場合は、連続アクセス状態である旨を示す
情報と該アクセス要求を発行したアクセス要求手段を特
定するための情報とを保持し、これ以外の場合は通常ア
クセス状態である旨を示す情報を保持するフラグ手段と
を有し、 前記調停手段が、前記フラグ手段に保持された情報に基
づいて、前記メモリ制御手段が連続アクセス状態である
か否かを判定し、連続アクセス状態の場合は、次回の調
停の際に、現在連続アクセスを行っているアクセス要求
手段からのアクセス要求を優先的に選択するように構成
されたことを特徴とするメモリ制御システム。
5. The memory control system according to claim 4, wherein the memory control unit arbitrates an access request issued from a plurality of access request units, and the memory control unit is selected by the arbitration unit. When the access request is a continuous access request, information indicating that the access request is in a continuous access state and information for specifying an access request unit that has issued the access request are held. Flag means for holding information indicating that the memory control means is in a continuous access state based on the information held in the flag means; In the case of the access state, it is configured that, at the time of the next arbitration, the access request from the access request means that is currently performing continuous access is preferentially selected. Memory control system, characterized in that the.
【請求項6】 請求項5に記載のメモリ制御システムに
おいて、 複数のアクセス要求手段はそれぞれ、連続して複数のア
クセスを行うか否かを示す連続指示ビットを含むコマン
ド信号をアクセス要求とともに前記メモリ制御手段に対
して送出するように構成され、 フラグ手段が、前記連続指示ビットの情報に基づいて連
続アクセス状態、通常アクセス状態のいずれかの状態を
とるように構成されたことを特徴とするメモリ制御シス
テム。
6. The memory control system according to claim 5, wherein each of the plurality of access request means includes a command signal including a continuous instruction bit indicating whether or not to perform a plurality of accesses continuously, together with the access request. A memory configured to transmit to the control means, and wherein the flag means is configured to take one of a continuous access state and a normal access state based on the information of the continuous instruction bit. Control system.
【請求項7】 請求項6に記載のメモリ制御システムに
おいて、 メモリ制御手段は、 調停手段にて選択されたアクセス要求が連続アクセス要
求である場合に、該要求のページアドレスを保持するレ
ジスタ手段をさらに有し、 前記調停手段が、前記メモリ制御手段が連続アクセス状
態にある場合に、現在連続アクセスを行っているアクセ
ス要求手段以外のアクセス要求手段から、ページアドレ
スが前記レジスタ手段に保持されたページアドレスと異
なり、かつ、連続アクセス要求でない通常のアクセス要
求が発行されると、該アクセス要求を受け付けてメモリ
手段へのアクセスを許可するように構成されたことを特
徴とするメモリ制御システム。
7. The memory control system according to claim 6, wherein the memory control means includes, when the access request selected by the arbitration means is a continuous access request, a register means for holding a page address of the request. The arbitration means, when the memory control means is in a continuous access state, a page whose page address is held in the register means from an access request means other than the access request means which is currently performing continuous access; A memory control system characterized in that when a normal access request different from an address and not a continuous access request is issued, the access request is accepted and access to the memory means is permitted.
JP11140250A 1999-05-20 1999-05-20 Method and system for controlling memory Pending JP2000330866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11140250A JP2000330866A (en) 1999-05-20 1999-05-20 Method and system for controlling memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11140250A JP2000330866A (en) 1999-05-20 1999-05-20 Method and system for controlling memory

Publications (1)

Publication Number Publication Date
JP2000330866A true JP2000330866A (en) 2000-11-30

Family

ID=15264416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11140250A Pending JP2000330866A (en) 1999-05-20 1999-05-20 Method and system for controlling memory

Country Status (1)

Country Link
JP (1) JP2000330866A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007074555A1 (en) * 2005-12-26 2007-07-05 Matsushita Electric Industrial Co., Ltd. Command processing apparatus, method and integrated circuit apparatus
US9620215B2 (en) 2014-10-23 2017-04-11 International Business Machines Corporation Efficiently accessing shared memory by scheduling multiple access requests transferable in bank interleave mode and continuous mode

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007074555A1 (en) * 2005-12-26 2007-07-05 Matsushita Electric Industrial Co., Ltd. Command processing apparatus, method and integrated circuit apparatus
JPWO2007074555A1 (en) * 2005-12-26 2009-06-04 パナソニック株式会社 Command processing apparatus, method, and integrated circuit device
JP4690424B2 (en) * 2005-12-26 2011-06-01 パナソニック株式会社 Command processing apparatus, method, and integrated circuit device
US9201819B2 (en) 2005-12-26 2015-12-01 Socionext Inc. Command processing apparatus, method and integrated circuit apparatus
US9489139B2 (en) 2005-12-26 2016-11-08 Socionext Inc. Command processing apparatus, method and integrated circuit apparatus
US9620215B2 (en) 2014-10-23 2017-04-11 International Business Machines Corporation Efficiently accessing shared memory by scheduling multiple access requests transferable in bank interleave mode and continuous mode

Similar Documents

Publication Publication Date Title
JP2761506B2 (en) Main memory controller
JPH10228417A (en) Data processor
JP4715801B2 (en) Memory access control device
JP2006099731A (en) Resource management apparatus
JP4531223B2 (en) Data processing apparatus having a plurality of processors sharing a collective memory
JP4642531B2 (en) Arbitration of data requests
JP2000330866A (en) Method and system for controlling memory
JP2003316571A (en) Parallel processor
JP2618223B2 (en) Single chip microcomputer
JPH05233560A (en) Inter-processor notifying system for multiprocessor circuit and its method
JPH11232213A (en) Data transfer system for input/output device
JP2587586B2 (en) Data transfer method
US20040034748A1 (en) Memory device containing arbiter performing arbitration for bus access right
US8239652B2 (en) Data processing system
JPH1185673A (en) Method and device for controlling shared bus
JPH11184761A (en) Read modify write control system
JPH0341856B2 (en)
JP2005107873A (en) Semiconductor integrated circuit
JP2000227895A (en) Device and method for transferring image data
JP3201635B2 (en) Storage controller
JP2006268734A (en) Memory access controller
JPH0962633A (en) Network control unit
JPH056333A (en) Multi-processor system
KR19990071122A (en) Multiprocessor circuit
JP3270149B2 (en) Data transfer device