JPH0528856B2 - - Google Patents

Info

Publication number
JPH0528856B2
JPH0528856B2 JP62256794A JP25679487A JPH0528856B2 JP H0528856 B2 JPH0528856 B2 JP H0528856B2 JP 62256794 A JP62256794 A JP 62256794A JP 25679487 A JP25679487 A JP 25679487A JP H0528856 B2 JPH0528856 B2 JP H0528856B2
Authority
JP
Japan
Prior art keywords
unit
access
main memory
msu
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62256794A
Other languages
Japanese (ja)
Other versions
JPH0199143A (en
Inventor
Nobuo Uchida
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62256794A priority Critical patent/JPH0199143A/en
Priority to CA000577485A priority patent/CA1310429C/en
Priority to AU22318/88A priority patent/AU592717B2/en
Priority to US07/246,087 priority patent/US5073871A/en
Priority to EP88402360A priority patent/EP0309330B1/en
Priority to DE3852261T priority patent/DE3852261T2/en
Priority to ES88402360T priority patent/ES2064364T3/en
Publication of JPH0199143A publication Critical patent/JPH0199143A/en
Publication of JPH0528856B2 publication Critical patent/JPH0528856B2/ja
Granted legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術と発明が解決しようとする問題点 問題点を解決するための手段 作用 実施例 発明の効果 〔概要〕 1つ乃至複数個の主記憶装置(MSU)を有し、
該主記憶装置(MSU)に論理的に接続される1
つ乃至複数個の処理装置からの単位マシンサイク
ル当たり、1つ乃至複数個のアクセス要求の上記
主記憶装置(MSU)に対する発信の可否を制御
する主記憶制御ユニツト(MCU)を有する計算
機システムであつて、該主記憶制御ユニツト
(MCU)と主記憶装置(MSU)の間に1つ乃至
複数個のそれぞれ単位データ長に対応するアクセ
ス要求バスを有し、上記処理装置から主記憶制御
ユニツト(MCU)に対するアクセス要求は単位
データ長乃至単位データ長の複数倍に対応するデ
ータ長で発信(ブロツクアクセス)される計算機
システムにおける主記憶アクセス制御方法に関
し、 ブロツクアクセス要求時に、主記憶装置
(MSU)へのアクセスが可能な単位データ(要
素)から順番に発信して、主記憶装置(MSU)
の使用効率を向上させることを目的とし、 上記処理装置から主記憶制御ユニツト(MCU)
に対するブロツクアクセスを主記憶制御ユニツト
(MCU)内で、上記単位データ長に相当する、よ
り小さなアクセス単位に分割し、該単位データ長
毎に、上記主記憶装置(MSU)に対してアクセ
ス要求を発信し、該ブロツクアクセス内の発信順
序を任意に制御するように構成した主記憶アクセ
ス制御方法において、該主記憶制御ユニツト
(MCU)内に、該主記憶装置(MSU)の各セグ
メント対応に設けられているアクセスポート間の
バスコンフリクトチエツクを行う第1のプライオ
リテイサイクル機構と、各セグメント内の単位デ
ータのバンクビジーチエツクを行う第2のプライ
オリテイサイクル機構とを設け、上記第1のプラ
イオリテイサイクル機構で、上記各アクセスポー
トに対応して設けられているバス間のコンフリク
トチエツクを行い、上記第2のプライオリテイサ
イクル機構で、上記バス内でのバンクビジーチエ
ツクを行つて、ビジーでなければ各バンクに対し
て該単位データ毎のアクセス要求の発信を行うよ
うに構成する。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art and Problems to be Solved by the Invention Means for Solving Problems Actions Examples Effects of the Invention [Summary] One or more main storage unit (MSU),
1 logically connected to the main storage unit (MSU)
A computer system comprising a main memory control unit (MCU) that controls whether or not one or more access requests can be sent to the main storage unit (MSU) from one or more processing units per unit machine cycle, between the main memory control unit (MCU) and the main memory unit (MSU), an access request bus corresponding to one or more unit data lengths is provided between the main memory control unit (MCU) and the main memory control unit (MSU); ) is transmitted with a data length corresponding to a unit data length or multiple times the unit data length (block access). The unit data (elements) that can be accessed are transmitted sequentially to the main storage unit (MSU).
With the aim of improving the usage efficiency of
The block access to the main memory control unit (MCU) is divided into smaller access units corresponding to the unit data length, and an access request is sent to the main memory unit (MSU) for each unit data length. In the main memory access control method configured to arbitrarily control the transmission order within the block access, the main memory control unit (MCU) is provided with a main memory access control method corresponding to each segment of the main memory unit (MSU). A first priority cycle mechanism is provided that performs a bus conflict check between the access ports that are connected to each other, and a second priority cycle mechanism that performs a bank busy check of unit data in each segment. The cycle mechanism performs a conflict check between the buses provided corresponding to each access port, and the second priority cycle mechanism performs a bank busy check within the bus to determine if the bus is busy. It is configured to issue an access request for each unit of data to each bank.

〔産業上の利用分野〕[Industrial application field]

本発明は、1つ乃至複数個の主記憶装置
(MSU)を有し、該主記憶装置(MSU)に論理
的に接続される1つ乃至複数個の処理装置からの
単位マシンサイクル当たり、1つ乃至複数個のア
クセス要求の上記主記憶装置(MSU)に対する
発信の可否を制御する主記憶制御ユニツト
(MCU)を有する計算機システムであつて、該主
記憶制御ユニツト(MCU)と主記憶装置
(MSU)の間に1つ乃至複数個のそれぞれ単位デ
ータ長に対応するアクセス要求バスを有し、上記
処理装置から主記憶制御ユニツト(MCU)に対
するアクセス要求は単位データ長乃至単位データ
長の複数倍に対応するデータ長で発信(ブロツク
アクセス)される計算機システムにおける主記憶
アクセス制御方法に関する。
The present invention has one or more main storage units (MSU), and has one or more processing units logically connected to the main storage units (MSU). A computer system having a main memory control unit (MCU) that controls whether or not one or more access requests can be sent to the main memory unit (MSU), the main memory control unit (MCU) and the main memory unit (MSU) MSU) has one or more access request buses corresponding to each unit data length, and the access request from the processing device to the main memory control unit (MCU) is a unit data length or multiple times the unit data length. The present invention relates to a main memory access control method in a computer system in which data is transmitted (block access) with a data length corresponding to .

一般に、上記のような計算機システムにおいて
は、主記憶装置(MSU)に対するアクセス要求
の発信のプライオリテイをとるプライオリテイチ
エツク機構の論理が深くて、そのプライオリテイ
チエツク機構による論理遅延が当該計算機システ
ムのマシンサイクルを長くすることがあり、該計
算機システムの処理能力に重大な影響を与えるこ
とがある為、該プライオリテイチエツク機構の論
理遅延はできる限り短くすることが必要とされ
る。
In general, in the above-mentioned computer systems, the logic of the priority check mechanism that prioritizes the transmission of access requests to the main storage unit (MSU) is deep, and the logical delay caused by the priority check mechanism increases the logic delay of the computer system. The logic delay of the priority check mechanism needs to be as short as possible because it can lengthen the machine cycle and seriously affect the processing capacity of the computer system.

又、一方、該プライオリテイチエツク機構での
論理遅延が短くても、複数サイクル(例えば、2
サイクル)のプライオリテイチエツクの結果に基
づいて主記憶装置(MSU)に対してアクセス要
求を発信するような機構では、例えば、単位デー
タ(8バイト)の複数倍を一度に転送するブロツ
クアクセスの場合におけるデータ転送のスループ
ツトが著しく低下することになる。
On the other hand, even if the logic delay in the priority check mechanism is short, multiple cycles (for example, 2
In a mechanism that issues an access request to the main storage unit (MSU) based on the result of a priority check in a cycle, for example, in the case of a block access that transfers multiple units of data (8 bytes) at once. The throughput of data transfer will be significantly reduced.

従つて、該ブロツクアクセスを行う計算機シス
テムにおいては、毎マシンサイクル毎に発信でき
るプライオリテイチエツク方法が要求される。
Therefore, in a computer system that performs block access, a priority check method that can be transmitted every machine cycle is required.

〔従来の技術と発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

第4図は従来の主記憶アクセス制御方式を説明
する図であつて、aはプライオリテイチエツク機
構を模式的に示した図であり、bはブロツクアク
セス時の問題点を説明する図である。
FIG. 4 is a diagram illustrating a conventional main memory access control system, in which a is a diagram schematically showing a priority check mechanism, and b is a diagram illustrating problems during block access.

従来の主記憶制御ユニツト(MCU)1におい
ては、図示していない中央処理装置(CPU)、ベ
クトルユニツト(VU)等の処理装置から、該主
記憶制御ユニツト(MCU)1に発信されたブロ
ツクアクセス要求は、a図に示したプライオリテ
イサイクルにおいて、アクセスポート10′か
らの各ブロツクを構成する全単位データのアクセ
ス優先順位が確保された時点において、該ブロツ
クに対するアクセスを同時に主記憶装置(MSU)
に送出していた。
In the conventional main memory control unit (MCU) 1, block accesses transmitted to the main memory control unit (MCU) 1 from processing units such as a central processing unit (CPU) and a vector unit (VU) (not shown) In the priority cycle shown in Fig. a, the request is made when the access priority for all unit data constituting each block from the access port 10' is secured, and the access to the block is simultaneously executed by the main storage unit (MSU).
It was sent to

この方式では、各アクセス要求の全単位データ
(エレメントと云う)が同時に全ての競合条件の
チエツク、例えば、a図の例では「バスコンフリ
クトチエツク」、「バンクビジーチエツク」、「他の
コンフリクシヨンチエツク」を、それぞれのチエ
ツク部11a〜11cで行つた後、該チエツクの
結果に基づいてプライオリテイ制御部11dで最
優先のアクセス要求を決定し、該決定された最優
先のアクセス要求から発信できるように構成され
ているので、該競合条件の全てをクリアしなけれ
ば主記憶装置(MSU)に対してアクセス要求の
発信ができず、特に、マルチプロセツサ化等によ
り、競合条件が増加してきた場合には、その発信
効率の低下が大きくなると云う問題があつた。
In this method, all unit data (called elements) of each access request are checked for all conflict conditions at the same time. '' is performed by each of the check units 11a to 11c, and then the priority control unit 11d determines the access request with the highest priority based on the result of the check, so that the access request with the determined highest priority can be transmitted. Therefore, an access request cannot be sent to the main storage unit (MSU) unless all of the conflicting conditions are cleared, especially when the number of conflicting conditions increases due to multiprocessorization, etc. However, there was a problem in that the transmission efficiency was greatly reduced.

例えば、b図に示すように、4エレメント(0
〜3)を1ブロツクとしてアクセス要求を発信す
る場合、上記プライオリテイサイクル(サイク
ル1)において、エレメント1,3がバンクビジ
ーであると、当該ブロツクを構成している4エレ
メントの全てが待ち合わせとなり、次のプライオ
リテイサイクル(サイクル2)において、エレ
メント1,3がアクセス可能となつても、エレメ
ント0において他の処理装置からのアクセス要求
の条件に基づいて、バンクビジーとなると、やは
り当該1ブロツクの4エレメントの全てが待ち合
わせとなり、このブロツクは、サイクル3以降、
最低、バンクビジーサイクル(例えば、フエツチ
の場合には、8サイクル、ストアの場合には、12
サイクル等)間待たされてしまうと云う問題があ
つた。
For example, as shown in figure b, 4 elements (0
- 3) as one block, if elements 1 and 3 are bank busy in the priority cycle (cycle 1), all four elements making up the block will be waiting, and In the next priority cycle (cycle 2), even if elements 1 and 3 become accessible, if element 0 becomes bank busy based on the conditions of an access request from another processing device, then the block will still be accessed. All 4 elements are waiting, and this block starts from cycle 3 onwards.
Minimum bank busy cycles (e.g. 8 cycles for fetish, 12 cycles for store)
There was a problem with having to wait for a long time (cycles, etc.).

本発明は上記従来の欠点に鑑み、1つ乃至複数
個の主記憶装置(MSU)を有し、該主記憶装置
(MSU)に論理的に接続される1つ乃至複数個の
処理装置からの単位マシンサイクル当たり、1つ
乃至複数個のアクセス要求の上記主記憶装置
(MSU)に対する発信の可否を制御する主記憶制
御ユニツト(MCU)を有する計算機システムで
あつて、該主記憶制御ユニツト(MCU)と主記
憶装置(MSU)の間に1つ乃至複数個のそれぞ
れ単位データ長に対応するアクセス要求バスを有
し、上記処理装置から主記憶制御ユニツト
(MCU)に対するアクセス要求は単位データ長乃
至単位データ長の複数倍に対応するデータ長で発
信(ブロツクアクセス)される計算機システムに
おいて、該ブロツク内の主記憶装置(MSU)へ
アクセス可能な要素(エレメント)から順番に発
信して、主記憶装置(MSU)の使用効率を向上
させる主記憶アクセス制御方法を提供することを
目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention has one or more main storage units (MSU), and has one or more processing units logically connected to the main storage units (MSU). A computer system having a main memory control unit (MCU) that controls whether one or more access requests can be sent to the main memory unit (MSU) per unit machine cycle, the main memory control unit (MCU) ) and the main storage unit (MSU) have one or more access request buses corresponding to unit data lengths, and access requests from the processing device to the main memory control unit (MCU) are made based on the unit data length or In a computer system in which data is transmitted (block access) with a data length corresponding to multiple times the unit data length, data is transmitted in order from the elements that can access the main storage unit (MSU) within the block, and the data is accessed from the main memory. The purpose of this invention is to provide a main memory access control method that improves the usage efficiency of a device (MSU).

〔問題点を解決するための手段〕[Means for solving problems]

上記の問題点は、下記構成の主記憶アクセス制
御方式によつて解決される。
The above problems are solved by a main memory access control method having the following configuration.

1つ乃至複数個の主記憶装置(MSU)を有し、
該主記憶装置(MSU)に論理的に接続される1
つ乃至複数個の処理装置からの単位マシンサイク
ル当たり、1つ乃至複数個のアクセス要求の上記
主記憶装置(MSU)に対する発信の可否を制御
する主記憶制御ユニツト(MCU)を有する計算
機システムであつて、該主記憶制御ユニツト
(MCU)と主記憶装置(MSU)の間に1つ乃至
複数個のそれぞれ単位データ長に対応するアクセ
ス要求バスを有し、上記処理装置から主記憶制御
ユニツト(MCU)1に対するアクセス要求は単
位データ長乃至単位データ長の複数倍に対応する
データ長で発信(ブロツクアクセス)される計算
機システムにおいて、 上記処理装置から主記憶制御ユニツト(MCU)
に対するブロツクアクセスを主記憶制御ユニツト
(MCU)内で、上記単位データ長に相当する、よ
り小さなアクセス単位に分割し、該単位データ長
毎に、上記主記憶装置(MSU)に対してアクセ
ス要求を発信し、該ブロツクアクセス内の発信順
序を任意に制御するように構成した主記憶アクセ
ス制御方法において、該主記憶制御ユニツト
(MCU)内に、該主記憶装置(MSU)の各セグ
メント対応に設けられているアクセスポート間の
バスコンフリクトチエツクを行う第1のプライオ
リテイサイクル機構と、 各セグメント内の単位データに対するバンクビ
ジーチエツクを行う第2のプライオリテイサイク
ル機構とを設け、 上記第1のプライオリテイサイクル機構で、上
記各アクセスポートに対応して設けられているバ
ス間のコンフリクトチエツクを行い、上記第2の
プライオリテイサイクル機構で、上記バス内での
バンクビジーチエツクを行つて、ビジーでなけれ
ば各バンクに対して該単位データ毎のアクセス要
求の発信を行うように構成すると共に、該第2の
プライオリテイサイクルにおいて、各アクセスポ
ートからの単位データ毎のプライオリテイの取得
を管理するテーブルを設け、 該管理テーブルの各単位データに対するプライ
オリテイ取得情報に基づいて、各アクセスポート
からの複数個の単位データからなるブロツクの全
ての単位データの発信完了を検出して、上記ブロ
ツクアクセスの終了と判定するように構成する。
It has one or more main storage units (MSU),
1 logically connected to the main storage unit (MSU)
A computer system comprising a main memory control unit (MCU) that controls whether or not one or more access requests can be sent to the main storage unit (MSU) from one or more processing units per unit machine cycle, between the main memory control unit (MCU) and the main memory unit (MSU), an access request bus corresponding to one or more unit data lengths is provided between the main memory control unit (MCU) and the main memory control unit (MSU); ) In a computer system, an access request for 1 is sent with a data length corresponding to a unit data length or multiple times the unit data length (block access).
The block access to the main memory control unit (MCU) is divided into smaller access units corresponding to the unit data length, and an access request is sent to the main memory unit (MSU) for each unit data length. In the main memory access control method configured to arbitrarily control the transmission order within the block access, the main memory control unit (MCU) is provided with a main memory access control method corresponding to each segment of the main memory unit (MSU). A first priority cycle mechanism that performs a bus conflict check between the access ports that are connected to each other, and a second priority cycle mechanism that performs a bank busy check for unit data in each segment are provided. The cycle mechanism performs a conflict check between the buses provided corresponding to each access port, and the second priority cycle mechanism performs a bank busy check within the bus to determine if the bus is busy. The configuration is configured to send an access request for each unit of data to each bank, and a table is provided to manage the acquisition of priority for each unit of data from each access port in the second priority cycle. , Based on the priority acquisition information for each unit data in the management table, detects the completion of transmission of all unit data of a block consisting of a plurality of unit data from each access port, and determines that the block access is completed. Configure it to do so.

〔作用〕[Effect]

即ち、本発明によれば、主記憶制御ユニツト
(MCU)の第1のアクセスポートの出力、即ち、
1つ乃至複数個の単位データからなるアクセス要
求を、第1のプライオリテイサイクルにおいて、
各主記憶装置(MSU)を構成している各セグメ
ント対応のバスコンフリクトのチエツクを行い、
各セグメントに対応した第2のアクセスポートに
セツト可能であるかどうかをチエツクする。
That is, according to the present invention, the output of the first access port of the main memory control unit (MCU), that is,
An access request consisting of one or more unit data is processed in the first priority cycle.
Checks for bus conflicts for each segment that makes up each main storage unit (MSU),
Check whether the second access port corresponding to each segment can be set.

このサイクルで上記第2のアクセスポートにセ
ツトされたアクセス要求は、単位データ、ブロツ
クデータの如何にかかわらず、最早バス間のコン
フリクシヨンはないので、第2のプライオリテイ
サイクルにおいては、バンクビジーチエツク等、
該セグメント内の競合条件のチエツクのみを行
い、このチエツクの可否によつて主記憶装置
(MSU)へのアクセス要求の発信を決定する。
Regardless of whether the access request set to the second access port in this cycle is for unit data or block data, there is no longer any conflict between buses, so in the second priority cycle, a bank busy check is performed. etc,
Only the competition condition within the segment is checked, and depending on whether the check is successful or not, it is determined whether to issue an access request to the main storage unit (MSU).

又、このサイクルでは、プライオリテイの取得
管理テーブルを設けて、該管理テーブルの各単位
データに対するプライオリテイ取得情報に基づい
て、各ブロツクを構成している全エレメントの発
信完了を検出し、当該ブロツクアクセスの終了を
認識するようにする。
Also, in this cycle, a priority acquisition management table is provided, and based on the priority acquisition information for each unit data in the management table, the completion of transmission of all elements constituting each block is detected, and the Be aware of termination of access.

このように制御することにより、主記憶制御ユ
ニツト(MCU)内の各セグメント対応に設けら
れているアクセスポートにおいては、当該エレメ
ント以外の競合条件によつて待たされることがな
いので、バンクが異なると毎サイクルの発信が可
能となり主記憶装置(MSU)に対するアクセス
効率が高まる効果がある。
By controlling in this way, the access ports provided for each segment in the main memory control unit (MCU) are not made to wait due to contention conditions other than the relevant element, so if the access ports are in different banks. This enables transmission every cycle, which has the effect of increasing access efficiency to the main storage unit (MSU).

〔実施例〕〔Example〕

以下本発明の実施例を図面によつて詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例を模式的に示した図
であり、第2図は本発明によるブロツクアクセス
の動作を説明する図であり、第3図は本発明のプ
ライオリテイ取得管理テーブルの動作を説明する
図であつて、aは構成例を示し、bはポートOP
コードの真理値表を示しており、第1図におけ
る、各装置からのアクセス要求をバス間のコンフ
リクトチエツクと、バス内のバンクビジーチエツ
クの2つのプライオリテイサイクル.でチエ
ツクする手段と、第3図に示したブロツクアクセ
スの終了認識手段が本発明を実施するのに必要な
手段である。尚、全図を通して同じ符号は同じ対
象物を示している。
FIG. 1 is a diagram schematically showing an embodiment of the present invention, FIG. 2 is a diagram explaining the operation of block access according to the present invention, and FIG. 3 is a diagram showing a priority acquisition management table according to the present invention. FIG. 2 is a diagram explaining the operation of the
The truth table of the code is shown, and access requests from each device in FIG. 1 are processed in two priority cycles: conflict check between buses and bank busy check within the bus. The means for checking and the means for recognizing the end of block access shown in FIG. 3 are necessary means for carrying out the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

以下、第1図〜第3図によつて、本発明の主記
憶アクセス制御方法を説明する。
The main memory access control method of the present invention will be explained below with reference to FIGS. 1 to 3.

通常、主記憶装置(MSU)は、複数個のセグ
メント(SEG)に分割されており、該セグメン
ト(SEG)に対応してバスが張られている。
Usually, a main storage unit (MSU) is divided into a plurality of segments (SEG), and a bus is provided corresponding to each segment (SEG).

従つて、本発明においては、複数個の処理装置
から第1のアクセスポート10で受け付けたアク
セス要求について、先ずバス間の競合条件のチエ
ツクをバスコンフリクトチエツク&他のチエツク
部11で行い、そこで優先権を取得したアクセス
要求を、各バスに対応した第2アクセスポート1
2に設定する。
Therefore, in the present invention, for access requests received from a plurality of processing devices at the first access port 10, the bus conflict check & other check section 11 first checks for conflict conditions between buses, and then prioritizes the access requests. The authorized access request is sent to the second access port 1 corresponding to each bus.
Set to 2.

該第2のアクセスポート12に設定されたアク
セス要求は、前述のように、該アクセスポート1
2に対応するバスの使用権を取得しているので、
SEG内バンクビジーチエツク部13において、
該バス内でのプライオリテイ、即ち、バンクビジ
ーチエツクでのプライオリテイの取得が得られれ
ば、即主記憶装置(MSU)に対して発信できる
ことになる。
As described above, the access request set to the second access port 12 is transmitted to the second access port 12.
Since we have obtained the right to use the bus corresponding to 2.
In the SEG bank busy check section 13,
If the priority within the bus, that is, the priority in the bank busy check, can be obtained, the data can be sent to the main storage unit (MSU) immediately.

この状態を、本図においては、例えば、「MS
G 0 MSU 0,SEG 0」等で表している。
即ち、主記憶装置(MSU 0)のセグメント
(SEG)0内の特定のバンクに対してアクセス要
求が発信できることを示している。
In this figure, for example, this state is represented by “MS
G 0 MSU 0, SEG 0" etc.
That is, it shows that an access request can be sent to a specific bank in segment (SEG) 0 of the main storage device (MSU 0).

このように制御すると、各主記憶装置(MSU)
の各セグメント対応で、バンク、例えば、8バイ
トの単位データ長毎のアクセス要求を独立に発信
することができるようになる。
When controlled in this way, each main storage unit (MSU)
By corresponding to each segment, it becomes possible to independently issue an access request for each bank, for example, a unit data length of 8 bytes.

この時の発信動作を第2図によつて説明する
と、上記第2のプライオリテイサイクル(サイ
クル1)において、ある処理装置からアクセス要
求のあつたブロツクアクセスのデータが単位デー
タ(エレメントと云う)0〜7からなつていて、
そのエレメント0,2に対してバンクビジーが解
除(即ち、プライオリテイの取得)され、発信可
能となる{これを‘0'で示し、バンクビジー中を
‘×’で示している}と、当該第2のプライオリ
テイサイクル(サイクル1)においては、バン
ク間の競合条件はないので、該バンクビジーの解
除されたアクセス要求は即、主記憶装置(MSU)
に対して発信される。
The transmission operation at this time will be explained with reference to FIG. 2. In the second priority cycle (cycle 1), the block access data for which an access request was received from a certain processing device is unit data (referred to as an element) 0. It is familiar from ~7,
When the bank busy state is canceled for the elements 0 and 2 (that is, the priority is acquired) and the call becomes possible {this is indicated by '0' and the bank busy state is indicated by 'x'], the corresponding In the second priority cycle (cycle 1), since there is no competition condition between banks, the access request that is cleared from the bank busy is immediately sent to the main storage unit (MSU).
sent to.

そして、次の同じ第2のプライオリテイサイク
ル(サイクル2)において、前のサイクルでバ
ンクビジーであつたエレメント1,3のバンクビ
ジーが解除されると、そのサイクルにおいて該単
位データは、主記憶装置(MSU)に発信される。
Then, in the next second priority cycle (cycle 2), when the bank busy state of elements 1 and 3 that were bank busy in the previous cycle is released, the unit data is transferred to the main memory in that cycle. (MSU).

この結果、次の同じ第2のプライオリテイサイ
クルにおいては、続くエレメント4〜7に対す
るバンクビジーチエツクが行われるように機能
し、バンクビジーの解除された単位データから順
次主記憶装置(MSU)に発信される。
As a result, in the next second priority cycle, a bank busy check is performed for the following elements 4 to 7, and data is sequentially sent to the main storage unit (MSU) starting from the unit data whose bank busy status has been cleared. be done.

従つて、該単位データ長の複数倍のデータ長で
発信されるブロツクアクセスにおいては、該ブロ
ツクを構成しいる複数個の単位データが、それぞ
れ、独立に発信されることになり、その順序性が
保たれないことになるので、当該ブロツクアクセ
スの終了、即ち、該データブロツクの発信の終了
を何らかの手段で認識する必要がある。
Therefore, in a block access that is transmitted with a data length that is multiple times the unit data length, the plurality of unit data that make up the block will be transmitted independently, and the order will be affected. Therefore, it is necessary to recognize by some means the end of access to the block, that is, the end of transmission of the data block.

そこで、本発明においては、第3図aに示した
プライオリテイ取得管理テーブル14を設け、上
記の第2のプライオリテイサイクルにおいて、
各第2のアクセスポート12からのアクセス要求
毎に、プライオリテイが取得されたとき、この管
理テーブル14に‘1'を送出するようにする。
Therefore, in the present invention, the priority acquisition management table 14 shown in FIG. 3a is provided, and in the above second priority cycle,
When the priority is acquired for each access request from each second access port 12, '1' is sent to this management table 14.

本例においては、ブロツクアクセスを、例え
ば、32バイト(これを32Bで示し、以下同じ)ブ
ロツク、16バイトブロツク、8バイトブロツクを
例として説明する。
In this example, block access will be explained using, for example, a 32-byte (hereinafter referred to as 32B) block, a 16-byte block, and an 8-byte block.

従つて、32バイトブロツクアクセスの場合に
は、ポートOPコードレジスタ(B0,B1)140
が‘11'にセツトされているので、b図の真理値
表から明らかなように、論理積回路14bが‘1'
となり、論理積回路15aをゲートする。
Therefore, in the case of 32-byte block access, the port OP code registers (B 0 , B 1 ) 140
is set to '11', so as is clear from the truth table in figure b, the AND circuit 14b is set to '1'.
Therefore, the AND circuit 15a is gated.

ここで、第1図で示した第2のアクセスポート
12からのアクセス要求信号のプライオリテイが
取得され、上記管理テーブル(E0〜E3)14の
全てが‘1'になつたときには、該32バイトブロツ
クアクセス要求の発信が終了したと認識され、論
理和回路14aを介して論理積回路15aを‘1'
に付勢し、論理和回路16から該管理テーブル1
4をリセツトするように機能する。
Here, when the priority of the access request signal from the second access port 12 shown in FIG . It is recognized that the transmission of the 32-byte block access request has been completed, and the AND circuit 15a is set to '1' via the OR circuit 14a.
is energized, and the logical sum circuit 16 outputs the management table 1.
Functions to reset 4.

上記の動作を更に具体的に説明すると、論理和
回路14aにおいては、上記管理テーブル(E0
〜E3)14の出力信号と、その入力信号の論理
和をとるように構成されているので、例えば、該
管理テーブル(E0〜E2)(エレメント0〜2に対
応)14が‘1'になつている時点で、次のサイク
ルでエレメント3に対応するアクセス要求信号の
プライオリテイが取られると、そのサイクルにお
いて、該論理和回路14aを介して、上記論理積
回路15aの出力を‘1'として、即、論理和回路
16から当該管理テーブル(E0〜E3)14をリ
セツトする信号「リセツトテーブル」を出力する
ことになり、サイクル対応でブロツクアクセスの
終了を認識することができる。
To explain the above operation more specifically, in the OR circuit 14a, the above management table (E 0
Since the output signal of ~E 3 ) 14 and its input signal are logically summed, for example, the management table (E 0 ~ E 2 ) (corresponding to elements 0 to 2) 14 is '1'. 'When the access request signal corresponding to element 3 is given priority in the next cycle, the output of the AND circuit 15a is transmitted through the OR circuit 14a in that cycle. 1', the OR circuit 16 immediately outputs a signal ``reset table'' that resets the management table (E 0 to E 3 ) 14, making it possible to recognize the end of block access in a cycle-based manner. .

16バイト、8バイトブロツクアクセスの場合に
ついても、同じように機能し、それぞれのブロツ
クアクセスの終了を認識することができる。
It functions in the same way for 16-byte and 8-byte block accesses, and can recognize the end of each block access.

上記リセツト信号「リセツトテーブル」が出力
されているときに、上記第2のアクセスポートか
ら次のアクセス要求のプライオリテイ取得信号が
入力されてくると、上記管理テーブル(E0〜E3
14はセツト優先型のフリツプフロツプ(FF)
で構成されているので、該アクセス要求信号によ
るセツト動作が優先されるように機能し、論理遅
れのないブロツクアクセスの管理が行われること
になる。
When the priority acquisition signal for the next access request is input from the second access port while the reset signal "reset table" is being output, the management table (E 0 to E 3 ) is
14 is a set-priority flip-flop (FF)
Since the access request signal is configured as follows, the set operation based on the access request signal is given priority, and block access is managed without logical delay.

このように、本発明は、1つ乃至複数個の主記
憶装置(MSU)を有し、該主記憶装置(MSU)
に論理的に接続される1つ乃至複数個の処理装置
からの単位マシンサイクル当たり、1つ乃至複数
個のアクセス要求の上記主記憶装置(MSU)に
対する発信の可否を制御する主記憶制御ユニツト
(MCU)を有する計算機システムであつて、該主
記憶制御ユニツト(MCU)と主記憶装置
(MSU)の間に1つ乃至複数個のそれぞれ単位デ
ータ長に対応するアクセス要求バスを有し、上記
処理装置から主記憶制御ユニツト(MCU)に対
するアクセス要求は単位データ長乃至単位データ
長の複数倍に対応するデータ長で発信(ブロツク
アクセス)される計算機システムにおいて、各処
理装置からのアクセス要求をその第1のプライオ
リテイサイクルにおいて、主記憶装置(MSU)
のセグメント対応に設けられているバス間のコン
フリクトチエツク等を行い、次のサイクルで、該
選択されたセグメント内のバンクビジーチエツク
を行つて、複数個の単位データからなるブロツク
アクセス要求の場合においても、各セグメントに
おいて、アクセス可能な単位データから、刻々主
記憶装置(MSU)に発信することができるよう
にした所に特徴がある。
As described above, the present invention has one or more main storage units (MSU), and the main storage unit (MSU)
A main memory control unit (MSU) that controls whether one or more access requests can be sent to the main storage unit (MSU) per unit machine cycle from one or more processing units logically connected to the MSU. A computer system having one or more access request buses each corresponding to a unit data length between the main memory control unit (MCU) and the main memory unit (MSU), In a computer system, an access request from a device to a main memory control unit (MCU) is sent with a data length corresponding to a unit data length or multiple times the unit data length (block access). In priority cycle 1, main storage unit (MSU)
In the next cycle, a bank busy check is performed in the selected segment, even in the case of a block access request consisting of multiple units of data. The feature is that in each segment, accessible unit data can be sent to the main storage unit (MSU) every moment.

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

以上、詳細に説明したように、本発明の主記憶
アクセス制御方式は、1つ乃至複数個の処理装置
から主記憶制御ユニツト(MCU)に対するブロ
ツクアクセスを主記憶制御ユニツト(MCU)内
で、上記単位データ長に相当する、より小さなア
クセス単位に分割し、該単位データ長毎に、上記
主記憶装置(MSU)に対してアクセス要求を発
信し、該ブロツクアクセス内の発信順序を任意に
制御するように構成する主記憶アクセス制御方法
であつて、該主記憶制御ユニツト内に、該主記憶
装置(MSU)の各セグメント対応に設けられて
いるアクセスポート間のバスコンフリクトチエツ
クを行う第1のプライオリテイサイクル機構と、
各セグメント内の単位データのバンクビジーチエ
ツクを行う第2のプライオリテイサイクル機構と
を設け、上記第1のプライオリテイサイクル機構
で、上記各アクセスポートに対応して設けられて
いるバス間のコンフリクトチエツクを行い、上記
第2のプライオリテイサイクル機構で、上記バス
内のバンクビジーチエツクを行い、ビジーでなけ
れば各バンクに対して、該単位データ毎のアクセ
ス要求を行うようにしたものであるので、主記憶
制御ユニツト(MCU)内の各セグメント対応に
設けられているアクセスポートにおいては、当該
エレメント以外の競合条件によつて待たされるこ
とがなく、バンクが異なると毎サイクルの発信が
可能となり主記憶装置(MSU)に対するアクセ
ス効率が高まる効果がある。
As described in detail above, the main memory access control method of the present invention allows block access from one or more processing devices to the main memory control unit (MCU) to be performed within the main memory control unit (MCU). Divide into smaller access units corresponding to the unit data length, send an access request to the main storage unit (MSU) for each unit data length, and arbitrarily control the order of sending within the block access. A main memory access control method configured as follows, wherein the main memory control unit includes a first priority check for bus conflicts between access ports provided corresponding to each segment of the main memory unit (MSU). A take cycle mechanism,
A second priority cycle mechanism that performs a bank busy check of unit data in each segment is provided, and the first priority cycle mechanism performs a conflict check between buses provided corresponding to each access port. The second priority cycle mechanism performs a bank busy check on the bus, and if the bus is not busy, an access request is made to each bank for each unit of data. The access port provided for each segment in the main memory control unit (MCU) does not have to wait due to contention conditions other than the relevant element, and if the bank is different, it is possible to transmit every cycle. This has the effect of increasing access efficiency to the device (MSU).

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

第1図は本発明の一実施例を模式的に示した
図、第2図は本発明によるブロツクアクセスの動
作を説明する図、第3図は本発明のプライオリテ
イ取得管理テーブルの動作を説明する図、第4図
は従来の主記憶アクセス制御方式を説明する図、
である。 図面において、1は主記憶制御ユニツト
(MCU)、10は第1のアクセスポート、10′は
アクセスポート、11はバスコンフリクトチエツ
ク&他のチエツク部、11aはバスコンフリクト
チエツク部、11bはバンクビジーチエツク部、
11cは他のコンフリクシヨンチエツク部、11
dはプライオリテイ制御部、12は第2のアクセ
スポート、13はSEG内バンクビジーチエツク
部、14はプライオリテイ取得管理テーブル
(E0〜E3)、又は単に管理テーブル、140はポ
ートOPコードレジスタ(B0,B1)、14aは論
理和回路、14b〜は論理積回路(32B,16B,
8B)、15a〜は論理積回路、16は論理和回
路、をそれぞれ示す。
FIG. 1 is a diagram schematically showing an embodiment of the present invention, FIG. 2 is a diagram explaining the operation of block access according to the present invention, and FIG. 3 is a diagram explaining the operation of the priority acquisition management table of the present invention. Figure 4 is a diagram explaining the conventional main memory access control method.
It is. In the drawing, 1 is a main memory control unit (MCU), 10 is a first access port, 10' is an access port, 11 is a bus conflict check & other check section, 11a is a bus conflict check section, and 11b is a bank busy check. Department,
11c is another conflict check section, 11
d is a priority control unit, 12 is a second access port, 13 is an SEG bank busy check unit, 14 is a priority acquisition management table (E 0 to E 3 ) or simply a management table, 140 is a port OP code register (B 0 , B 1 ), 14a is an OR circuit, 14b~ are AND circuits (32B, 16B,
8B), 15a~ show an AND circuit, and 16 shows an OR circuit, respectively.

Claims (1)

【特許請求の範囲】 1 1つ乃至複数個の主記憶装置(MSU)を有
し、該主記憶装置(MSU)に論理的に接続され
る1つ乃至複数個の処理装置からの単位マシンサ
イクル当たり、1つ乃至複数個のアクセス要求の
上記主記憶装置(MSU)に対する発信の可否を
制御する主記憶制御ユニツト(MCU)1を有す
る計算機システムであつて、該主記憶制御ユニツ
ト(MCU)1と主記憶装置(MSU)の間に1つ
乃至複数個のそれぞれ単位データ長に対応するア
クセス要求バスを有し、上記処理装置から主記憶
制御ユニツト(MCU)1に対するアクセス要求
は単位データ長乃至単位データ長の複数倍に対応
するデータ長で発信(ブロツクアクセス)される
計算機システムにおいて、 上記処理装置から主記憶制御ユニツト(MCU)
1に対するブロツクアクセスを主記憶制御ユニツ
ト(MCU)1内で、上記単位データ長に相当す
る、より小さなアクセス単位に分割し、該単位デ
ータ長毎に、上記主記憶装置(MSU)に対して
アクセス要求を発信し、該ブロツクアクセス内の
発信順序を任意に制御する主記憶制御方法であつ
て、 該主記憶制御ユニツト(MCU)1内に、該主
記憶装置(MSU)の各セグメント対応に設けら
れているアクセスポート間のバスコンフリクトチ
エツクを行う第1のプライオリテイサイクル機構
11と、 各セグメント内の単位データに対するバンクビ
ジーチエツクを行う第2のプライオリテイサイク
ル機構13とを設け、 上記第1のプライオリテイサイクル機構11
で、上記各アクセスポートに対応して設けられて
いるバス間のコンフリクトチエツクを行い、上記
第2のプライオリテイサイクル機構13で、上記
バス内でのバンクビジーチエツクを行つて、ビジ
ーでなければ各バンクに対して該単位データ毎の
アクセス要求の発信を行うと共に、 該第2のプライオリテイサイクルにおいて、
各アクセスポートからの単位データ毎のプライオ
リテイの取得を管理する管理テーブル14を設
け、 該管理テーブル14の各単位データに対するプ
ライオリテイ情報に基づいて、各アクセスポート
からの複数個の単位データからなるブロツクの全
ての単位データの発信完了を検出して、上記ブロ
ツクアクセスの終了と判定することを特徴とする
主記憶アクセス制御方法。
[Claims] 1. A unit machine cycle from one or more processing devices having one or more main storage units (MSU) and logically connected to the main storage units (MSU) A computer system having a main memory control unit (MCU) 1 that controls whether or not one or more access requests can be sent to the main storage unit (MSU), wherein the main memory control unit (MCU) 1 and the main storage unit (MSU) have one or more access request buses each corresponding to a unit data length, and access requests from the processing device to the main memory control unit (MCU) 1 are made based on the unit data length or In a computer system where data is transmitted (block access) with a data length that corresponds to multiple times the unit data length, the processing unit transfers data from the processing unit to the main memory control unit (MCU).
The block access to 1 is divided into smaller access units corresponding to the unit data length in the main memory control unit (MCU) 1, and the main memory unit (MSU) is accessed for each unit data length. A main memory control method for transmitting requests and arbitrarily controlling the order of transmitting within the block access, the method comprising A first priority cycle mechanism 11 that performs a bus conflict check between the access ports that are connected to each other, and a second priority cycle mechanism 13 that performs a bank busy check for unit data in each segment are provided. Priority cycle mechanism 11
Then, a conflict check is performed between the buses provided corresponding to each access port, and the second priority cycle mechanism 13 performs a bank busy check within the bus, and if the bus is not busy, each bus is checked. While transmitting an access request for each unit data to the bank, in the second priority cycle,
A management table 14 is provided to manage the acquisition of priority for each unit of data from each access port, and based on the priority information for each unit of data in the management table 14, a plurality of units of data from each access port are configured. A main memory access control method characterized in that the block access is determined to have ended by detecting completion of transmission of all unit data of a block.
JP62256794A 1987-09-19 1987-10-12 Main memory access control system Granted JPH0199143A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP62256794A JPH0199143A (en) 1987-10-12 1987-10-12 Main memory access control system
CA000577485A CA1310429C (en) 1987-09-19 1988-09-15 Access priority control system for main storage for computer
AU22318/88A AU592717B2 (en) 1987-09-19 1988-09-16 Access priority control system for main storage for computer
US07/246,087 US5073871A (en) 1987-09-19 1988-09-19 Main storage access priority control system that checks bus conflict condition and logical storage busy condition at different clock cycles
EP88402360A EP0309330B1 (en) 1987-09-19 1988-09-19 Access priority control system for main storage for computer
DE3852261T DE3852261T2 (en) 1987-09-19 1988-09-19 Priority access control system to main memory for computers.
ES88402360T ES2064364T3 (en) 1987-09-19 1988-09-19 ACCESS PRIORITY CONTROL SYSTEM FOR MAIN MEMORY FOR A COMPUTER.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62256794A JPH0199143A (en) 1987-10-12 1987-10-12 Main memory access control system

Publications (2)

Publication Number Publication Date
JPH0199143A JPH0199143A (en) 1989-04-18
JPH0528856B2 true JPH0528856B2 (en) 1993-04-27

Family

ID=17297534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62256794A Granted JPH0199143A (en) 1987-09-19 1987-10-12 Main memory access control system

Country Status (1)

Country Link
JP (1) JPH0199143A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3036372U (en) * 1996-10-01 1997-04-15 忠正 高田 Protective sheet

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04155550A (en) * 1990-10-19 1992-05-28 Fujitsu Ltd Buffer invalidation control system
JP2680208B2 (en) * 1991-07-17 1997-11-19 富士通株式会社 Memory access control device
JP2587586B2 (en) * 1994-05-25 1997-03-05 甲府日本電気株式会社 Data transfer method
JP3398673B2 (en) * 1994-08-31 2003-04-21 エヌイーシーコンピュータテクノ株式会社 Vector data processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52142441A (en) * 1976-05-21 1977-11-28 Fujitsu Ltd Memory . access control method
JPS57176465A (en) * 1981-04-24 1982-10-29 Hitachi Ltd Main storage control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52142441A (en) * 1976-05-21 1977-11-28 Fujitsu Ltd Memory . access control method
JPS57176465A (en) * 1981-04-24 1982-10-29 Hitachi Ltd Main storage control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3036372U (en) * 1996-10-01 1997-04-15 忠正 高田 Protective sheet

Also Published As

Publication number Publication date
JPH0199143A (en) 1989-04-18

Similar Documents

Publication Publication Date Title
US4481572A (en) Multiconfigural computers utilizing a time-shared bus
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
US5682551A (en) System for checking the acceptance of I/O request to an interface using software visible instruction which provides a status signal and performs operations in response thereto
US5799207A (en) Non-blocking peripheral access architecture having a register configure to indicate a path selection for data transfer between a master, memory, and an I/O device
US4675812A (en) Priority circuit for channel subsystem having components with diverse and changing requirement for system resources
EP0535822B1 (en) Methods and apparatus for locking arbitration on a remote bus
GB2075226A (en) Cpu-to-memory interface unit
US5313591A (en) Computer bus arbitration for N processors requiring only N unidirectional signal leads
US4371924A (en) Computer system apparatus for prefetching data requested by a peripheral device from memory
US5249297A (en) Methods and apparatus for carrying out transactions in a computer system
US4764865A (en) Circuit for allocating memory cycles to two processors that share memory
US5649125A (en) Method and apparatus for address extension across a multiplexed communication bus
US4300194A (en) Data processing system having multiple common buses
CA1143854A (en) Apparatus for interconnecting the units of a data processing system
EP0309330B1 (en) Access priority control system for main storage for computer
JPH0528856B2 (en)
US5206935A (en) Apparatus and method for fast i/o data transfer in an intelligent cell
US5243702A (en) Minimum contention processor and system bus system
GB1595471A (en) Computer system
US4494186A (en) Automatic data steering and data formatting mechanism
EP0118670A2 (en) Priority system for channel subsystem
JPH08212178A (en) Parallel computer
JPH0520183A (en) Memory access control system
JPS6132162A (en) Competition preventing circuit of information transfer
JPH05108476A (en) Main storage controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees