JPH04237347A - Memory control device - Google Patents
Memory control deviceInfo
- Publication number
- JPH04237347A JPH04237347A JP553391A JP553391A JPH04237347A JP H04237347 A JPH04237347 A JP H04237347A JP 553391 A JP553391 A JP 553391A JP 553391 A JP553391 A JP 553391A JP H04237347 A JPH04237347 A JP H04237347A
- Authority
- JP
- Japan
- Prior art keywords
- bank
- memory access
- bank number
- storage device
- main storage
- 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
Links
- 239000000872 buffer Substances 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はメモリ制御装置に関し、
特に複数のバンクを持つ主記憶装置を制御するメモリ制
御装置に関する。[Field of Industrial Application] The present invention relates to a memory control device.
In particular, the present invention relates to a memory control device that controls a main memory device having a plurality of banks.
【0002】0002
【従来の技術】従来、この種のメモリ制御装置は、バン
クが空いている時は、主記憶装置へのメモリアクセスを
要求する装置間の優先度を取り、最も優先度の高い装置
の要求をバスさせるため、以前パスしたバンク番号とは
無関係のバンク番号をバスさせる構成となっていた。2. Description of the Related Art Conventionally, this type of memory control device prioritizes devices requesting memory access to the main memory when a bank is vacant, and the request of the device with the highest priority is granted. In order to pass the bus, the configuration was such that a bank number unrelated to the previously passed bank number was passed.
【0003】0003
【発明が解決しようとする課題】上述した従来のメモリ
制御装置は、以前パスしたバンク番号とは無関係のバン
ク番号をバスさせる構成となっているので、主記憶装置
に対するメモリアクセスを要求する装置がバンク番号順
にアクセス要求を出す場合、バンクビジー待ちが増える
という欠点がある。[Problems to be Solved by the Invention] The above-mentioned conventional memory control device is configured to pass a bank number unrelated to the previously passed bank number, so that a device requesting memory access to the main storage device is When issuing access requests in the order of bank numbers, there is a drawback that the number of bank busy waits increases.
【0004】0004
【課題を解決するための手段】本発明のメモリ制御装置
は、連続する整数のバンク番号を持ち同時にアクセス出
来る複数のバンクを含む主記憶装置を制御するメモリ制
御装置において、複数の装置からの前記主記憶装置への
メモリアクセス要求を要求するバンク番号ごとに保持す
る保持手段と、この保持手段で保持した前記メモリアク
セス要求に対応するバンクが空いているかどうかをチェ
ックするチェック手段と、空いているバンクに対応する
メモリアクセス要求に対してこのメモリアクセス要求前
にパスしたバンク番号の次のバンク番号から順に優先度
を取って前記主記憶装置をアクセスするアクセス手段と
を有している。[Means for Solving the Problems] A memory control device of the present invention is a memory control device for controlling a main storage device including a plurality of banks having consecutive integer bank numbers and which can be accessed simultaneously. a holding means for holding a memory access request to the main storage device for each bank number; a checking means for checking whether a bank corresponding to the memory access request held by the holding means is free; and an access means for accessing the main storage device by giving priority to a memory access request corresponding to a bank in order from the bank number next to the bank number passed before the memory access request.
【0005】[0005]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.
【0006】図1は本発明の一実施例の適用例を示すブ
ロック図、図2は本適用例の動作の一例を示すタイムチ
ャートである。FIG. 1 is a block diagram showing an application example of an embodiment of the present invention, and FIG. 2 is a time chart showing an example of the operation of this application example.
【0007】図1において、本適用例は本発明の一実施
例のメモリ制御装置2と、メモリ制御装置2が制御する
主記憶装置1と、主記憶装置2をアクセスする演算処理
装置3および入出力処理装置4とを備えて構成している
。In FIG. 1, this application example includes a memory control device 2 according to an embodiment of the present invention, a main storage device 1 controlled by the memory control device 2, an arithmetic processing device 3 that accesses the main storage device 2, and an input device. The output processing device 4 is configured to include an output processing device 4.
【0008】主記憶装置1はバンク100〜103と、
バンク100〜103を制御する共通制御部104とを
有して構成している。The main memory device 1 has banks 100 to 103,
The common control unit 104 controls the banks 100 to 103.
【0009】メモリ制御装置2は演算処理装置3と入出
力処理装置4とからのメモリアクセス要求をバンク10
0〜103のバンク番号ごとに選択するバンク選択部2
20〜223と、バンク番号ごとにバッファするバンク
バッファ210〜213と、バンク番号ごとにバンクビ
ジーかどうかをチェックするバンクビジーチェック回路
200〜203と、最新パスしたバンク番号を保持する
バンク番号レジスタ24と、+1加算器23と、空いて
いるバンクの内最新バスしたバンク番号の次のバンク番
号の順で優先度をとる優先回路22と、優先回路22で
最も優先度の高いメモリアクセス要求を主記憶装置1に
送るため保持するメモリアクセスレジスタ21とを有し
て構成している。The memory control device 2 sends memory access requests from the arithmetic processing device 3 and the input/output processing device 4 to the bank 10.
Bank selection section 2 for selecting each bank number from 0 to 103
20 to 223, bank buffers 210 to 213 that buffer each bank number, bank busy check circuits 200 to 203 that check whether the bank is busy for each bank number, and a bank number register 24 that holds the latest passed bank number. , a +1 adder 23, a priority circuit 22 that prioritizes in the order of the bank number next to the latest bank number that has been bussed among vacant banks, and a priority circuit 22 that handles the memory access request with the highest priority. It is configured to include a memory access register 21 that is held in order to send data to the storage device 1.
【0010】次に、本適用例の動作について図1,図2
を併用して説明する。Next, the operation of this application example is shown in FIGS. 1 and 2.
This will be explained using the following.
【0011】演算処理装置3からのメモリアクセス要求
がバンク100,101,102,103の順でメモリ
制御装置2をアクセスしたとする。判りやすいように各
アクセス要求をE0,E1,E2,E3と称する。Assume that a memory access request from the arithmetic processing unit 3 accesses the memory control unit 2 in the order of banks 100, 101, 102, and 103. For ease of understanding, each access request is referred to as E0, E1, E2, and E3.
【0012】入出力処理装置4からのメモリアクセス要
求がバンク103,100,101,102の順でアク
セス要求したとする。各アクセス要求をI3,I0,I
1,I2と称する。Assume that memory access requests from the input/output processing device 4 are made for banks 103, 100, 101, and 102 in this order. Each access request is I3, I0, I
1, I2.
【0013】各メモリアクセス要求はバンク選択部22
0〜223でバンク番号ごとに分けられ、バンクバッフ
ァ210〜213に格納される。各バンクバッファ21
0〜213にはそれぞれバッファを2個持つ(0と1)
。バッファはFIFOで取出される。同時の時は入出力
処理装置4が先に入る。各メモリアクセス要求は、次に
バンクビジーチェック200〜203でチェックされ、
空いているバンクへの要求が優先回路22に入る。
最新パスしたバンク番号がバンク番号レジスタ24に入
っているので、これに+1加算器23で+1加算した値
のバンク番号を最優先として順にチェックする。最も優
先度の高い要求がパスしてメモリアクセスレジスタ21
に格納されて、主記憶装置1をアクセスする。Each memory access request is sent to the bank selector 22.
The data is divided by bank number from 0 to 223 and stored in bank buffers 210 to 213. Each bank buffer 21
0 to 213 each have two buffers (0 and 1)
. Buffers are retrieved FIFO. If they are simultaneous, the input/output processing device 4 enters first. Each memory access request is then checked by bank busy checks 200-203,
A request for an empty bank enters the priority circuit 22. Since the latest passed bank number is stored in the bank number register 24, the bank number of the value added by +1 by the +1 adder 23 is sequentially checked with top priority. The request with the highest priority passes and the memory access register 21
, and accesses the main storage device 1.
【0014】このようにメモリ制御装置2が動作するこ
とによって、演算処理装置3及び入出力処理装置4から
のメモリアクセス要求が、バンク番号順(初期値は0で
なくても良い)でさえあれば、図2のタイムチャートに
示す様に、バンクビジー待ちを極端に少なく出来る。
尚、図2のタイムチャートに示す様にメモリ制御装置2
へのアクセス順番とリプライの順番とは異なるので各メ
モリアクセス要求の装置(演算処理装置3と入出力処理
装置4)の中での整列が必要となる。By operating the memory control device 2 in this manner, memory access requests from the arithmetic processing device 3 and the input/output processing device 4 are processed in bank number order (the initial value does not have to be 0). For example, as shown in the time chart of FIG. 2, bank busy waiting can be extremely reduced. In addition, as shown in the time chart of FIG.
Since the access order and the reply order are different, it is necessary to align each memory access request within the devices (arithmetic processing unit 3 and input/output processing unit 4).
【0015】[0015]
【発明の効果】以上説明したように本発明は、複数の装
置からの主記憶装置へのアクセス要求を要求するバンク
番号ごとに保持する保持手段と、この保持手段で保持し
たメモリアクセス要求に対応するバンクが空いているか
どうかをチェックするチェック手段と、空いているバン
クに対応するメモリアクセス要求に対してこのメモリア
クセス要求前にパスしたバンク番号の次のバンク番号か
ら順に優先度を取って主記憶装置をアクセスするアクセ
ス手段とを有することにより、現メモリアクセス要求前
にパスしたバンク番号の次のバンク番号順に優先度を持
たせるので、従来よりバンクビジー待ちを少なくできて
、メモリアクセス性能を改善することができる効果があ
る。As explained above, the present invention provides a holding means that holds requests for access to the main storage device from a plurality of devices for each bank number, and a memory access request held by this holding means. A check means for checking whether a bank to be accessed is free or not, and a check method that prioritizes memory access requests corresponding to free banks in order from the bank number next to the bank number that passed before this memory access request. By having an access means for accessing the storage device, priority is given to the bank number next to the bank number passed before the current memory access request, so it is possible to reduce bank busy waiting and improve memory access performance. There are effects that can be improved.
【図1】本発明の一実施例の適用例を示すブロック図で
ある。FIG. 1 is a block diagram showing an example of application of an embodiment of the present invention.
【図2】本適用例の動作の一例を示すタイムチャートで
ある。FIG. 2 is a time chart showing an example of the operation of this application example.
1 主記憶装置
2 メモリ制御装置
3 演算処理装置
4 入出力処理装置
100〜103 バンク
104 共通制御部
21 メモリアクセスレジスタ
22 優先回路
23 +1加算器
24 バンク番号レジスタ
200〜203 バンクビジーチェック回路21
0〜213 バンクバッファ220〜223
バンク選択部1 Main storage device 2 Memory control device 3 Arithmetic processing device 4 Input/output processing device 100 to 103 Bank 104 Common control section 21 Memory access register 22 Priority circuit 23 +1 adder 24 Bank number register 200 to 203 Bank busy check circuit 21
0~213 Bank buffer 220~223
Bank selection section
Claims (1)
にアクセス出来る複数のバンクを含む主記憶装置を制御
するメモリ制御装置において、複数の装置からの前記主
記憶装置へのメモリアクセス要求を要求するバンク番号
ごとに保持する保持手段と、この保持手段で保持した前
記メモリアクセス要求に対応するバンクが空いているか
どうかをチェックするチェック手段と、空いているバン
クに対応するメモリアクセス要求に対してこのメモリア
クセス要求前にパスしたバンク番号の次のバンク番号か
ら順に優先度を取って前記主記憶装置をアクセスするア
クセス手段とを有することを特徴とするメモリ制御装置
。1. A memory control device that controls a main storage device that includes a plurality of banks that have consecutive integer bank numbers and that can be accessed simultaneously, a bank that requests memory access requests from a plurality of devices to the main storage device. holding means for holding each number; checking means for checking whether a bank corresponding to the memory access request held by the holding means is free; 1. A memory control device comprising access means for accessing the main storage device in order of priority starting from the bank number next to the bank number passed before the access request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP553391A JPH04237347A (en) | 1991-01-22 | 1991-01-22 | Memory control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP553391A JPH04237347A (en) | 1991-01-22 | 1991-01-22 | Memory control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04237347A true JPH04237347A (en) | 1992-08-25 |
Family
ID=11613829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP553391A Pending JPH04237347A (en) | 1991-01-22 | 1991-01-22 | Memory control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04237347A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010122607A1 (en) * | 2009-04-24 | 2010-10-28 | 富士通株式会社 | Memory control device and method for controlling same |
-
1991
- 1991-01-22 JP JP553391A patent/JPH04237347A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010122607A1 (en) * | 2009-04-24 | 2010-10-28 | 富士通株式会社 | Memory control device and method for controlling same |
US8560784B2 (en) | 2009-04-24 | 2013-10-15 | Fujitsu Limited | Memory control device and method |
JP5382113B2 (en) * | 2009-04-24 | 2014-01-08 | 富士通株式会社 | Storage control device and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2977688B2 (en) | Multi-processing device, method, and processor used for the same | |
JPH0219945A (en) | Main memory controller | |
JP2561261B2 (en) | Buffer storage access method | |
JPH04237347A (en) | Memory control device | |
JPS593774A (en) | Access processing system | |
JP3038257B2 (en) | Electronic computer | |
JP3982077B2 (en) | Multiprocessor system | |
JPS6031647A (en) | Data processor | |
JPH04355818A (en) | Data input/output controller | |
JPH0962633A (en) | Network control unit | |
JP3641347B2 (en) | Competitive arbitration processing method and information processing apparatus | |
JPH056333A (en) | Multiprocessor system | |
JPH0248749A (en) | buffer storage controller | |
JP2814849B2 (en) | Communication control device | |
JPH03152657A (en) | Multiprocessor system | |
JPH0314073A (en) | Vector processing system | |
JPH05241986A (en) | Input/output instruction retrying system | |
JPH05334233A (en) | Data transferring device | |
JPH0311436A (en) | Storage access control device | |
JPH01189748A (en) | Input/output control processor | |
JPH0235335B2 (en) | ||
JPH0368046A (en) | Memory access system | |
JPH05334182A (en) | Data transfer system | |
JPH01284960A (en) | Use priority determining system for memory device | |
JPH02222058A (en) | Multiprocessor system |