JPS6126104B2 - - Google Patents

Info

Publication number
JPS6126104B2
JPS6126104B2 JP6105282A JP6105282A JPS6126104B2 JP S6126104 B2 JPS6126104 B2 JP S6126104B2 JP 6105282 A JP6105282 A JP 6105282A JP 6105282 A JP6105282 A JP 6105282A JP S6126104 B2 JPS6126104 B2 JP S6126104B2
Authority
JP
Japan
Prior art keywords
bus
memory
main memory
buses
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP6105282A
Other languages
Japanese (ja)
Other versions
JPS58178454A (en
Inventor
Tsutomu Sumimoto
Shuichi Abe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone 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 Hitachi Ltd, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP6105282A priority Critical patent/JPS58178454A/en
Publication of JPS58178454A publication Critical patent/JPS58178454A/en
Publication of JPS6126104B2 publication Critical patent/JPS6126104B2/ja
Granted legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 発明の対象 本発明は、複数のCPU(中央処理装置)およ
び複数のIOP(入出力プロセツサ)を含むマルチ
プロセツサシステムにおいて、各プロセツサから
の主記憶装置アクセスの方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention The present invention relates to a main memory access method from each processor in a multiprocessor system including multiple CPUs (central processing units) and multiple IOPs (input/output processors). It is something.

従来技術 マルチプロセツサシステムは、プロセツサー主
記憶装置間のアドレス情報およびデータの転送路
であるバスの構造の相異からいくつかのタイプに
分類されている(参考文献:たとえばPHILIP H
ENSLOW編“Multiprocessors and Parallel
Processing”)。典型的なタイプの1つはすべての
プロセツサと主記憶装置間を通じて単一のバスを
使用するものであり、他の典型的なタイプとして
各プロセツサー主記憶装置間のバスが独立してい
るマルチバス構造のものがある。上記2つの両極
端の中間的な位置を占めるものとして、CPU−
主記憶装置間のバスとIOP−主記憶装置間のバス
とを分離するタイプが知られている。
Prior Art Multiprocessor systems are classified into several types based on the differences in the structure of the bus, which is a transfer route for address information and data between processor main memory devices (References: For example, PHILIP H
ENSLOW edition “Multiprocessors and Parallel
One typical type uses a single bus between all processors and main memory; another typical type uses an independent bus between each processor and main memory. There are multi-bus structures that occupy a middle position between the above two extremes.
A type is known in which the bus between the main storage devices and the bus between the IOP and the main storage device are separated.

このようにCPU系とIOP系のバスを独立にする
ようなシステムにおいて、主記憶アクセス制御は
通常全プロセツサ共通としアクセス制御の位相
(リクエスト授受およびアドレス、データ位相
等)は共通位相とするよう設計されている。その
結果アクセス制御の位相は最遠プロセツサに合わ
せて決められるので、主記憶装置から近いプロセ
ツサのアクセスの制御位相に無駄時間が発生す
る。すなわち近いプロセツサのみと、主記憶装置
だけからなるシステムでは高速主記憶アクセスが
行えるのに対して、多数プロセツサがバスに接続
されるシステムでは近いプロセツサのアクセスタ
イムが大きくなるという問題点が生じる。
In systems such as this, where the CPU system and IOP system buses are independent, main memory access control is usually common to all processors, and the access control phase (request exchange, address, data phase, etc.) is designed to be in a common phase. has been done. As a result, the access control phase is determined in accordance with the furthest processor, so dead time occurs in the access control phase of the processor closest to the main memory. That is, a system consisting of only nearby processors and only a main memory device allows high-speed main memory access, whereas a system in which many processors are connected to a bus has the problem that the access time of the nearby processors increases.

発明の目的 本発明は上記問題点を解決するものである。purpose of invention The present invention solves the above problems.

発明の総括的説明 本発明は一群のプロセツサと主記憶装置との間
に共通バスを有し、このようなプロセツサ群と共
通バスとの系列を少くとも2系列有するようなマ
ルチプロセツサシステムを前提とする。たとえば
CPU専用のバスとIOP専用のバスとを分離するマ
ルチプロセツサ構成がその例である。このような
システムにおいて、主記憶装置は、各バスの情報
を選択的に入力する入力手段(後述の選択回路2
1、レジスタ22がこれに相当する。)と、各バ
ス対応に設けられ、夫々のプロセツサからの主記
憶アクセス要求を受け夫々の受付処理を行なう主
記憶アクセス要求処理回路(後述の実施例で示す
受付回路40,41がこれに相当する。)を備
え、かつ各主記憶アクセス要求処理回路は、各バ
スから入力手段へ共通位相で情報入力可能なよう
に、対応するバスに接続されたプロセツサからの
アクセス要求を該バス固有の情報転送遅延に従つ
たタイミングで該バスのアクセス要求を制御す
る。メモリ制御方式を本発明の要旨とする。たと
えば上記のようにCPU専用のバスとIOP専用のバ
スとを分離する場合には、2レベルの主記憶アク
セス要求処理回路を備えることになる。
General Description of the Invention The present invention is based on a multiprocessor system having a common bus between a group of processors and a main memory, and having at least two series of such processor groups and the common bus. shall be. for example
An example of this is a multiprocessor configuration that separates a bus dedicated to the CPU and a bus dedicated to the IOP. In such a system, the main memory device includes an input means (a selection circuit 2 described later) for selectively inputting information on each bus.
1 and register 22 correspond to this. ), and a main memory access request processing circuit that is provided for each bus and that receives main memory access requests from each processor and performs reception processing for each (acceptance circuits 40 and 41 shown in the embodiment described later correspond to this). ), and each main memory access request processing circuit transfers access requests from processors connected to the corresponding bus to information specific to that bus so that information can be input from each bus to the input means in a common phase. Access requests to the bus are controlled at timings according to the delay. The gist of the present invention is a memory control method. For example, when separating the CPU-dedicated bus and the IOP-dedicated bus as described above, a two-level main memory access request processing circuit is provided.

以上本発明の効果として、バス長の短いプロセ
ツサ群の主記憶アクセスタイムが高速化される。
As described above, as an effect of the present invention, the main memory access time of a group of processors having a short bus length is increased.

なお本発明の実施に当つては、次のような点を
考慮するのがよい。
Note that when implementing the present invention, the following points should be taken into consideration.

(a) 前記主記憶アクセス要求処理回路は、共通バ
スと主記憶装置との間の情報授受については全
バス共通位相でタイミング制御すると制御が単
純になる。
(a) The control of the main memory access request processing circuit is simplified when timing control is performed using a common phase for all buses for information exchange between the common bus and the main memory device.

(b) プロセツサ間に生じる主記憶アクセス要求の
コンテンシヨンの処理。例として、主記憶アク
セス要求処理回路ごとにそのアクセス要求の受
付け開始タイミング位相を違えるように設計す
るとともに1つの処理回路がそのアクセス要求
を受付け処理中は、他の処理回路のアクセス要
求受付けを抑止する機能を備える。さらに受付
け開始タイミング位相間、すなわち上記主記憶
アクセス要求処理回路間に優先順位を設け、受
付け保留中の要求はこの優先順位に従つて受付
け制御をする。たとえばCPUに関する受付け
回路とIOPに関する受付け回路との間において
は、後者の優先順位を高くしておき、CPUか
らの要求とIOPからの要求とが同時に受付け保
留になつているときには、IOPに関する受付け
回路はIOPからの要求を優先するとともにCPU
に関する受付け回路に対して受付けを抑止す
る。
(b) Handling contention of main memory access requests that occur between processors. For example, each main memory access request processing circuit is designed to have a different start timing phase for accepting the access request, and while one processing circuit is accepting and processing the access request, other processing circuits are inhibited from accepting access requests. It has the function to Furthermore, a priority is set between the reception start timing phases, that is, between the main memory access request processing circuits, and reception of pending requests is controlled in accordance with this priority. For example, between the CPU-related reception circuit and the IOP-related reception circuit, the latter is given a high priority, and when a request from the CPU and a request from the IOP are pending at the same time, the reception circuit related to the IOP prioritizes requests from the IOP and
Suppresses acceptance for the related acceptance circuit.

(c) 上記(a)項の変形として、主記憶アクセス要求
回路は、主記憶装置から情報を読出し共通バス
にのせるときにはハミングチエツクを伴うの
で、少くとも1系列の共通バスについては、ハ
ミング訂正前の情報を一早くのせるようにタイ
ミング制御し、それ以外の場合には(a)項の原則
に従つて全バス共通位相でタイミング制御をす
ることができる。
(c) As a modification of item (a) above, since the main memory access request circuit performs a Hamming check when reading information from the main memory and places it on the common bus, Hamming correction is performed for at least one series of the common bus. The timing can be controlled so that the previous information is loaded earlier, and in other cases, the timing can be controlled using a common phase for all buses according to the principle in section (a).

発明の実施例 以下本発明の一実施例を説明する。第1図はプ
ロセツサー主記憶装置間のバス構造を示す図、第
2図はプロセツサから主記憶装置へのリクエスト
に関する制御系統を示す図である。第1図および
第2図で1,2,3,4はIOP、5,6はCPU、
100は主記憶装置(以下、単にメモリと略す)
を示す。10はIOPとメモリ間を接続するバスで
11はCPUとメモリ間のバスである。両バスと
もアドレス、データ(読出し、書込みデータで共
用)及び制御情報(部分書込みフラグ等)の各々
に分かれた構造を持つ。信号線31,32,3
3,34は各々IOP1,2,3,4からのメモリ
アクセス要求信号線、同じく35,36は各々
CPU5,6からの同要求信号線である。プロセ
ツサからメモリ100へのバス情報は、選択回路
21でバス10,11のどちらかが受付け回路4
0,41からの指示により選ばれてレジスタ22
に取込される。一方メモリからの読出しデータ
は、データレジスタ23からバス10または11
に乗せられる。
Embodiment of the Invention An embodiment of the present invention will be described below. FIG. 1 is a diagram showing a bus structure between processors and main memory devices, and FIG. 2 is a diagram showing a control system regarding requests from the processor to the main memory device. In Figures 1 and 2, 1, 2, 3, 4 are IOPs, 5, 6 are CPUs,
100 is a main storage device (hereinafter simply referred to as memory)
shows. 10 is a bus that connects the IOP and memory, and 11 is a bus that connects the CPU and memory. Both buses have a structure divided into addresses, data (shared for read and write data), and control information (partial write flag, etc.). Signal lines 31, 32, 3
3 and 34 are memory access request signal lines from IOP1, 2, 3, and 4, respectively, and 35 and 36 are respectively
This is the same request signal line from CPUs 5 and 6. The bus information from the processor to the memory 100 is determined by the selection circuit 21, which selects either bus 10 or 11 from the reception circuit 4.
Register 22 selected by instructions from 0 and 41
will be incorporated into. On the other hand, data read from the memory is transferred from the data register 23 to the bus 10 or 11.
be carried on.

40はIOPのメモリアクセス要求の受付け制御
回路、41はCPUからメモリアクセス要求の受
付け制御回路である。51,52,53,54,
55,56はそれぞれプロセツサ1,2,3,
4,5,6からのアクセス要求に対する受付け信
号であり、これはフリツプフロツプ(以下FFと
略す)61,62,63,64,65,66に反
映される。
40 is a control circuit for accepting memory access requests from the IOP, and 41 is a control circuit for accepting memory access requests from the CPU. 51, 52, 53, 54,
55 and 56 are processors 1, 2, 3, and
This is an acceptance signal in response to an access request from 4, 5, and 6, and this is reflected on flip-flops (hereinafter abbreviated as FF) 61, 62, 63, 64, 65, and 66.

次に動作の詳細説明に入る。 Next, a detailed explanation of the operation will be given.

まずCPUからの読出し要求について説明す
る。第2図でCPU5からのアクセス要求は信号
線35によりメモリ100に送付され、受付け回
路41に入る。ここで受付けられれば、受付け信
号線55により受付けFF65が“1”にセツト
される。この様子を第3図のタイムチヤートに示
す。1マシン・サイクルは4クロツクT0,T1
T2,T3からなる。FF65の出力信号はCPU5に
送付され、CPU5はこの信号によりバス11に
メモリアドレスおよび制御情報を乗せる。
First, a read request from the CPU will be explained. In FIG. 2, an access request from the CPU 5 is sent to the memory 100 via the signal line 35 and enters the reception circuit 41. If it is accepted here, the acceptance FF 65 is set to "1" by the acceptance signal line 55. This situation is shown in the time chart of FIG. One machine cycle consists of 4 clocks T 0 , T 1 ,
Consists of T 2 and T 3 . The output signal of the FF 65 is sent to the CPU 5, and the CPU 5 uses this signal to load the memory address and control information onto the bus 11.

第3図はこのバスをメモリ100側でみた位相
を示す。このバス上の情報は選択回路21で選ば
れて、クロツクT1にてレジスタ22に取込まれ
る。メモリ100内で読出されたデータはT3で
データレジスタ23に取込まれ、即時にバス11
のデータ線に乗せられてCPU5に送られる。
CPU5はこのデータを取込んでアクセスが終了
する。以上の一連の処理は公知技術につき、回路
の詳細説明は省略する。
FIG. 3 shows the phase of this bus as seen from the memory 100 side. The information on this bus is selected by the selection circuit 21 and taken into the register 22 by the clock T1. The data read in the memory 100 is taken into the data register 23 at T3 and immediately transferred to the bus 11.
It is put on the data line and sent to CPU5.
The CPU 5 takes in this data and the access ends. The above series of processing is a known technique, and detailed explanation of the circuit will be omitted.

次にCPUの書込みアクセス要求の処理を説明
する。CPU5からの書込み要求は信号線35で
メモリ100に送られ、これが受付けられてFF
65が“1”にセツトされ、同出力がCPU5ま
で送られのは位相も含め読出し要求とまつたく同
じである。この信号を受付けたCPU5は、バス
11に書込みアドレス、書込みデータ、制御情報
を乗せてメモリ100に送り出す。メモリ100
はこれをレジスタ22にT1クロツクで取込み、
メモリ書込み動作を行なう。この一連の制御の位
相は、読出しアクセス処理と同じである。但し読
出しと異なり、読出しデータのCPU送付がない
だけである。
Next, processing of a write access request by the CPU will be explained. A write request from the CPU 5 is sent to the memory 100 via the signal line 35, and when it is accepted, the FF
65 is set to "1" and the same output is sent to the CPU 5, which is exactly the same as the read request including the phase. Upon receiving this signal, the CPU 5 sends the write address, write data, and control information onto the bus 11 to the memory 100. memory 100
takes this into register 22 using the T1 clock,
Perform memory write operation. The phase of this series of controls is the same as the read access process. However, unlike reading, the read data is not sent to the CPU.

CPU6からのメモリアクセス要求もCPU5と
同様に行なわれる。
Memory access requests from the CPU 6 are also made in the same way as the CPU 5.

CPU5とCPU6で同時にメモリアクセス要求
が発生したときは、受付け回路41では常に
CPU5を優先して受付ける。またCPU5または
6からのメモリアクセス要求がメモリ100に来
たとき、メモリ100が先行アクセス要求処理中
でビジーのときは、受付け回路41は先行メモリ
アクセスが終了した後にこのアクセス要求を受付
ける。
When memory access requests occur simultaneously in CPU5 and CPU6, the reception circuit 41 always
Accepts CPU5 with priority. Further, when a memory access request from the CPU 5 or 6 comes to the memory 100, if the memory 100 is busy processing the advance access request, the acceptance circuit 41 accepts this access request after the advance memory access is completed.

次に、IOPのメモリ読出し要求について説明す
る。IOP1からの読出しアクセス要求は信号線3
1で受付け回路40に送られ、ここで受付けられ
ると、信号線51でFF61が“1”にセツトさ
れる。このFF61の出力信号は、図示はしてい
ないがIOP1に送付され、IOP1はこれを受けて
アドレス、制御情報をバス10に乗せる。この様
子を第4図に示す。ところで実装上CPU5,6
はメモリ100の近くに設置され、IOPは遠い方
に配置される。このためメモリアクセス要求信号
線及びその受付け報告信号線はCPUよりIOPの方
が長くなるし、またバス10はバス11よりも長
い。したがつて第4図に示すように、IOP1から
のメモリ読出し要求の処理の位相関係は、CPU
の読出し要求処理メモリとのやりとりの位相に較
べて時間が延びている。即ちIOP1のアクセス要
求はクロツクT1で送出されるが、受付け回路4
0で受付けられた信号を受付けFF61に“1”
にセツトできるのはT0になる。このFF61の出
力はすぐにIOP1に送られ、IOP1はバス10に
アドレス、制御情報を乗せる制御を行なうが、こ
れがメモリ100に届くにはバスが長いため時間
がかかり、第4図の位相でメモリ側で確定し、メ
モリ100はこれをCPUアクセスと同じクロツ
クT1でレジスタ22に取込む。これ以後のメモ
リ100内の動作は、CPUの読出しアクセス要
求処理と同じであり、読出しデータはクロツクT
3でデータレジスタ23にセツトされる。このデ
ータはすぐにバス10に乗せられ、IOP1に送ら
れる。IOP1は、これが届いた時点でIOP1内に
取込む。このようにIOPの読出しアクセス要求処
理は、受付け制御がCPUの場合と違い物理的な
距離の差だけ時間が延びた制御となるが、メモリ
100内にアドレスを取込んだ後はCPUと全く
同じ処理がメモリ100内で行なわれる。そして
読出しデータの送出位相もCPUのアクセスの場
合と同位相である。読出しデータのIOP1内への
取込み位相は、CPUの場合よりもバス長の長い
分だけ遅くなる。
Next, the IOP memory read request will be explained. Read access request from IOP1 is signal line 3
1 is sent to the acceptance circuit 40, and when accepted there, FF61 is set to ``1'' on the signal line 51. Although not shown, the output signal of the FF 61 is sent to the IOP 1, and the IOP 1 receives the signal and puts the address and control information on the bus 10. This situation is shown in FIG. By the way, CPU 5 or 6 is implemented.
is placed near the memory 100, and the IOP is placed far away. Therefore, the memory access request signal line and its acceptance report signal line are longer in the IOP than in the CPU, and the bus 10 is longer than the bus 11. Therefore, as shown in FIG. 4, the phase relationship of processing the memory read request from IOP1 is
The time required for processing a read request is longer than the phase of communication with the memory. That is, the access request for IOP1 is sent by clock T1, but the access request from reception circuit 4
Accepts the signal accepted with 0 and sets it to FF61 as “1”
The only value that can be set is T0 . The output of this FF61 is immediately sent to IOP1, and IOP1 performs control to transfer address and control information to bus 10, but it takes time for this to reach memory 100 because the bus is long, and the phase shown in Figure 4 is shown in Figure 4. The memory 100 takes this into the register 22 at the same clock T1 as the CPU access. The subsequent operation within the memory 100 is the same as the read access request processing by the CPU, and the read data is clocked by the clock T.
3, it is set in the data register 23. This data is immediately put on bus 10 and sent to IOP1. IOP1 takes this into IOP1 when it arrives. In this way, the IOP read access request processing is different from the case where the acceptance control is the CPU, and the time is extended due to the difference in physical distance, but after the address is read into the memory 100, it is exactly the same as the CPU. Processing occurs within memory 100. The sending phase of read data is also the same as that of the CPU access. The phase of taking in read data into IOP1 is delayed by the longer bus length than in the case of the CPU.

次に、IOP1からのメモリ書込み要求処理につ
いて説明する。IOP1からメモリ100へ書込み
アクセス要求が送られ、これが受付け回路40で
受付けられて、この受付けFF61の出力がIOP
1に送付され、IOP1はこれを受付けてバス10
にアドレス、書込みデータ、制御情報を乗せる。
このバス10の内容は、クロツクT1でレジスタ
22に取込まれる。この一連の処理の位相関係
は、IOP1の読出しアクセス要求の処理を示す第
4図と同じである。レジスタ22に取込んだ情報
をもとに、メモリ100はメモリ書込み動作を行
なうが、このメモリ内部処理はCPUの書込み要
求処理と同じ位相の同じ処理が行なわれる。
Next, memory write request processing from IOP1 will be explained. A write access request is sent from IOP1 to memory 100, this is accepted by acceptance circuit 40, and the output of this acceptance FF61 is sent to IOP1.
1, IOP1 accepts it and sends it to bus 10.
Place the address, write data, and control information on the .
The contents of this bus 10 are loaded into register 22 at clock T1. The phase relationship of this series of processing is the same as in FIG. 4, which shows the processing of a read access request of IOP1. The memory 100 performs a memory write operation based on the information taken into the register 22, but this memory internal processing is performed in the same phase and in the same manner as the CPU's write request processing.

IOP2,3,4,からのメモリ読出し、書込み
要求処理は、IOP1の場合と同じである。
Memory read and write request processing from IOP2, 3, and 4 is the same as for IOP1.

IOP1,2,3,4の間で、複数個のアクセス
要求が同時に発生したときは、受付け回路40で
はIOP1,2,3,4の順に優先順位が行なわれ
る。例えばIOP1と2の両方が同時にメモリアク
セス要求(読出し、書込みの種類を問わずに)を
出したとすると、メモリの受付け回路40では、
先にIOP1の要求を受付けてこれを処理し、IOP
2のアクセス要求はIOP1のアクセス処理が終了
するまで待たされる。またIOPからのアクセス要
求が発生したとき既にメモリ100には先行アク
セス要求が入つてこれの処理中であれば、この新
たなIOPのアクセス要求の受付けは先行アクセス
要求の処理の終了まで待たされる。
When a plurality of access requests occur simultaneously among IOPs 1, 2, 3, and 4, the reception circuit 40 prioritizes IOPs 1, 2, 3, and 4 in this order. For example, if both IOPs 1 and 2 issue memory access requests (regardless of the type of read or write) at the same time, the memory acceptance circuit 40 will:
First, accept the request for IOP1, process it, and then
The access request No. 2 is made to wait until the access processing of IOP1 is completed. Furthermore, if an advance access request has already entered the memory 100 and is being processed when an access request from an IOP occurs, acceptance of this new IOP access request is delayed until the end of processing of the advance access request.

次に、IOPとCPUとの間で同時にメモリアクセ
ス要求が発生した場合を第5図によつて説明す
る。いまIOP3とCPU5が同時にメモリ読出し要
求を発生した場合を考える。この時受付け回路4
0では先行アクセス要求がなく、他のIOPからの
アクセス要求もないとすると、ただちにIOP3の
読出し要求は受付けられ、受付けFF63が
“1”にセツトされる。そしてこのFF63の出力
信号はすぐにIOP3に送られる。IOP3ではこれ
を受付けて、バス10にアドレス、制御情報を乗
せてメモリ100に送る。メモリ100ではこれ
をレジスタ22に取込み、読出しアクセス処理を
行なう。第5図にこれらの位相関係を示す。読出
しデータはクロツクT3でデータレジスタ23に
セツトし、バス10に乗せてIOP3に送出する。
これでメモリ100は、IOP3からの読出しアク
セス要求の処理を終り、第5図に示すように待た
せたいたCPU5の読出しアクセス要求を受付け
回路41で受付けて、このアクセス処理が開始さ
れる。このようにIOPのアクセス要求とCPUのア
クセス要求が同時にメモリ100に来たときは、
受付け回路40でIOPのアクセス要求を受付けて
その処理に入るが、同時に信号線50で受付け制
御回路41のCPUメモリアクセス要求受付けを
抑止する。次にこのIOPアクセス要求の処理に入
り、CPUアクセス要求が待たされている間に他
のIOPからのメモリアクセス要求が来れば、先行
IOPのアクセス要求処理が終了した時点で後続
IOPのメモリアクセス要求が先に受付けられ、
CPUのメモリアクセス要求はそれが終了するま
で待たされる。この処理は、メモリアクセス要求
の読出し、書込みの種類を問わず、任意のIOPと
任意のCPU間のメモリアクセス要求同士で同様
の制御が行われる。
Next, a case where memory access requests occur simultaneously between the IOP and the CPU will be explained with reference to FIG. Now consider a case where IOP3 and CPU5 simultaneously issue memory read requests. At this time, reception circuit 4
If it is 0, there is no advance access request and there are no access requests from other IOPs, the read request for IOP3 is immediately accepted and the acceptance FF 63 is set to "1". The output signal of this FF63 is immediately sent to the IOP3. The IOP 3 accepts this, carries the address and control information on the bus 10, and sends it to the memory 100. The memory 100 takes this into the register 22 and performs read access processing. FIG. 5 shows these phase relationships. The read data is set in the data register 23 by the clock T3, transferred to the bus 10, and sent to the IOP3.
The memory 100 has now finished processing the read access request from the IOP 3, and as shown in FIG. 5, the receiving circuit 41 accepts the read access request from the CPU 5, which has been kept waiting, and this access processing is started. When an IOP access request and a CPU access request come to memory 100 at the same time like this,
The acceptance circuit 40 accepts the IOP access request and begins its processing, but at the same time, the signal line 50 inhibits the acceptance control circuit 41 from accepting the CPU memory access request. Next, processing of this IOP access request begins, and if a memory access request from another IOP comes while the CPU access request is waiting, it will be processed in advance.
When the IOP access request processing is completed, the subsequent
IOP memory access requests are accepted first,
CPU memory access requests are made to wait until they are completed. In this process, the same control is performed for memory access requests between any IOP and any CPU, regardless of the type of memory access request, read or write.

なお上記実施例は1マシン・サイクルが4相か
らなる場合であるが、一般にn相からなる場合で
も同様である。またメモリ100におけるメモリ
読出し時間は2 1/2マシン・サイクルかかる場
合の例であるが、これはメモリ100の性能に依
存する。
In the above embodiment, one machine cycle consists of four phases, but the same applies to a case where one machine cycle consists of n phases. Further, the memory read time in the memory 100 is an example in which it takes 2 1/2 machine cycles, but this depends on the performance of the memory 100.

次に上記実施例ではCPU、IOPの両メモリ読出
し要求とも読出しデータのCPU,IOP両メモリバ
スへの送出は同じ位相としたが、ハミング訂正の
前のデータおよび訂正後のデータを選択してバス
に乗せる手段を設け、読出しデータはまずハミン
グ処理前のデータをバスに乗せて送出した後1ビ
ツトエラーを検出したとき訂正後のデータを改め
てバスに乗せて送り直すようにしてもよい。第6
図にハミング訂正回路とバスとの関係を示す。図
で200はメモリから読出したままでハミング訂
正前のデータを保持するデータレジスタ、201
はハミング訂正回路を示し、ハミングのチエツク
と1ビツトエラー時の訂正処理を行なう。202
は、ハミング訂正処理を受けた後のデータをセツ
トするデータレジスタである。CPU,IOPの両メ
モリ読出し要求とも読出しデータはデータレジス
タ200に入つた後にハミング訂正回路201に
入り、1ビツトエラーならば訂正処理を行なつた
後正常ならばそのままデータレジスタ202にセ
ツトされる。
Next, in the above embodiment, for both CPU and IOP memory read requests, the read data is sent to both the CPU and IOP memory buses in the same phase, but the data before Hamming correction and the data after correction are selected and transferred to the bus. It is also possible to provide a means for putting the read data on the bus, and then, when a 1-bit error is detected, after the read data is sent out on the bus, the corrected data is put on the bus again and sent again. 6th
The figure shows the relationship between the Hamming correction circuit and the bus. In the figure, 200 is a data register that holds the data read from the memory but before Hamming correction; 201;
1 shows a Hamming correction circuit, which performs Hamming check and correction processing when a 1-bit error occurs. 202
is a data register in which data after being subjected to Hamming correction processing is set. For both CPU and IOP memory read requests, the read data enters the data register 200 and then enters the Hamming correction circuit 201, and if it is a 1-bit error, correction processing is performed, and if it is normal, it is set in the data register 202 as it is.

CPUのメモリ読出し要求は、まずハミング訂
正前のレジスタ200の内容が第6図のセレクタ
203で選ばれて、CPUバス11にデータが乗
せられる。これと並行してハミング訂正回路20
1でハミングチエツクが行なわれ、正常ならば第
7図に示すようにCPUバス11には新たにデー
タに乗せない。ハミング1ビツトエラー時は第8
図に示すようにエラービツト訂正を行なつたデー
タをレジスタ202からセレクタ203を経由し
て改めてバス11に乗せてCPUに送出する。
In response to a memory read request from the CPU, the contents of the register 200 before Hamming correction are first selected by the selector 203 in FIG. 6, and the data is loaded onto the CPU bus 11. In parallel with this, the Hamming correction circuit 20
A humming check is performed at step 1, and if normal, no new data is loaded onto the CPU bus 11, as shown in FIG. If there is a Hamming 1-bit error, the 8th
As shown in the figure, the data on which error bits have been corrected is transferred from the register 202 via the selector 203 to the bus 11 and sent to the CPU.

IOPのメモリ読出し要求の場合も同様に処理さ
れ、セレクタ204からIOP用バス10にデータ
が乗せられる。
An IOP memory read request is processed in the same way, and data is transferred from the selector 204 to the IOP bus 10.

またCPUの読出し要求に対しては、ハミング
訂正前のデータを送り、訂正時は改めて訂正後の
データをバスに送出するが、IOPのメモリ読出し
要求に対しては常に訂正後のレジスタからのみデ
ータをバスに送出するようにして、制御を容易に
する方式にしてもよい。
In addition, in response to a CPU read request, the data before Hamming correction is sent, and when correction is made, the corrected data is sent to the bus again, but in response to an IOP memory read request, data is always sent only from the corrected register. It is also possible to use a system that facilitates control by sending the data to the bus.

本実施例では、IOP台数は4台、CPU台数は2
台としたが、任意の台数でよい。またバスはIOP
系とCPU系の2つとしたが、3つ以上設けても
よい。またIOP系とCPU系という明確なグループ
化にしなくて、必要に応じてグループ化したプロ
セツサにバスを設けても、本発明が適用できるこ
とは明白である。
In this example, the number of IOPs is 4 and the number of CPUs is 2.
However, any number may be used. Also, the bus is IOP
Although there are two, one for the system and one for the CPU, three or more may be provided. Furthermore, it is clear that the present invention can be applied even if the processors are not clearly grouped into the IOP system and the CPU system, but a bus is provided for the grouped processors as necessary.

またバスはアドレス線、データ線および制御線
と分けなくて、1本のバス上にアドレスとデータ
を時間で分けて転するようにしても、本発明の趣
旨は変わらないことも明白である。
It is also clear that the gist of the present invention does not change even if the bus is not divided into address lines, data lines, and control lines, and addresses and data are transferred on one bus at different times.

またメモリ内容を複数バンクに分けて受付けを
もつときめ細かくするような制御方式でも、本発
明は適用できる。
The present invention can also be applied to a control system in which the memory contents are divided into a plurality of banks and the reception is made fine-grained.

またメモリアクセス要求の受付けは、実施例で
挙げたようにCPU5は常にCPU6より優先する
としなくて、直前受付けと逆のCPUを優先する
というように、同時要求のとき交代CPUを選択
してもよい。
In addition, when accepting memory access requests, instead of always giving priority to CPU 5 over CPU 6 as mentioned in the example, you can also choose a replacement CPU when there are simultaneous requests, such as giving priority to the CPU opposite to the previous reception. good.

発明の効果 以上述べたように、一群のプロセツサ系と他の
一群のプロセツサ系、たとえばIOP系とCPU系で
バスを別々に張り、IOP系のメモリ受付け回路と
CPU系のメモリ受付け回路とを別々に設け、か
つこの2つの受付け回路の動作位相を違えて、位
相的にIOP系とCPU系受付けの2レベル受付けを
行なうようにしたので、CPUのメモリアクセス
処理はIOPのバスの長さとは無関係になり、CPU
のメモリアクセスが高速化できる効果がある。
Effects of the Invention As described above, separate buses are established between one group of processor systems and another group of processor systems, for example, the IOP system and the CPU system, and the IOP system's memory reception circuit and
The CPU system memory reception circuit is provided separately, and the operating phases of these two reception circuits are different, so that the two-level reception of IOP system and CPU system reception is performed in terms of phase, so the CPU memory access processing is independent of the IOP's bus length, and the CPU
This has the effect of speeding up memory access.

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

第1図は本発明の実施例においてプロセツサー
主記憶装置間のバス構造を示す図、第2図はプロ
セツサからの主記憶装置へのリクエストに関する
制御系統を示す図、第3図はCPUの読出しアク
セス要求の処理のタイムチヤート、第4図はIOP
の読出しアクセス要求の処理のタイムチヤート、
第5図はCPU読出しとIOP読出しの両要求の同時
発生のタイムチヤート、第6図はハミング訂正回
路とバスとの関係を示す図、第7図はハミングチ
エツクの結果正常でバスには新たにデータを乗せ
ないことを示すタイムチヤート、第8図はハミン
グチエツクの結果異常でバスに新たにデータを乗
せる場合を示すタイムチヤートである。 1〜4……IOP1〜4、5〜6……CPU5〜
6、10……IOPバス、11……CPUバス、22
……レジスタ、23……データレジスタ、40…
…受付け回路、41……受付け回路。
FIG. 1 is a diagram showing the bus structure between the processor main memory devices in an embodiment of the present invention, FIG. 2 is a diagram showing the control system regarding requests from the processor to the main memory device, and FIG. 3 is a diagram showing the CPU read access. Request processing time chart, Figure 4 is IOP
Time chart for processing read access requests,
Figure 5 is a time chart of simultaneous occurrence of both CPU read and IOP read requests, Figure 6 is a diagram showing the relationship between the Hamming correction circuit and the bus, and Figure 7 is a diagram showing the relationship between the Hamming correction circuit and the bus. FIG. 8 is a time chart showing that data is not loaded on the bus, and FIG. 8 is a time chart showing a case where new data is loaded on the bus due to an abnormal humming check result. 1~4...IOP1~4, 5~6...CPU5~
6, 10...IOP bus, 11...CPU bus, 22
...Register, 23...Data register, 40...
...Reception circuit, 41...Reception circuit.

Claims (1)

【特許請求の範囲】 1 第一のバスで第一のプロセツサと主記憶装置
とが接続され、第二のバスで第二のプロセツサと
該主記憶装置とが接続されたマルチプロセツサシ
ステムにおいて、前記主記憶装置は、前記各バス
の情報を選択的に入力する入力手段と、前記バス
対応に設けられ、該バスに接続されたプロセツサ
からの主記憶アクセス要求を受け夫々の受付処理
を行なうサービス回路を備え、かつ各々のサービ
ス回路は、各バスから前記入力手段へ共通の位相
で情報入力可能なように、対応するバスに接続さ
れたプロセツサからのアクセス要求に対する受付
処理を該バス固有の情報伝送遅延に従つて互いに
異なつてタイミングによつて制御することを特徴
とするメモリ制御方式。 2 前記第一、第二バスは前記第一、第一のプロ
セツサ以外に他のプロセツサをも共通に接続する
バスであり、前記サービス回路は対応するバスに
接続されたプロセツサのアクセス要求を夫々入力
し、受付処理する回路であることを特徴とする特
許請求の範囲第1項記載のメモリ制御方式。 3 前記サービス回路は、前記アクセス要求につ
いてそれぞれ異なる受付開始時点をもつタイミン
グ・サイクルによつて制御するとともに該サービ
ス回路間に前記アクセス要求に対する受付優先順
位を設けることを特徴とする特許請求の範囲第1
項記載のメモリ制御方式。 4 前記サービス回路は、前記各プロセツサと前
記主記憶装置との間の情報転送については回主記
憶装置のメモリーサイクルに従つて全バス共通の
タイミング・サイクルで制御することを特徴とす
る特許請求の範囲第1項記載のメモリ制御方式。 5 前記サービス回路は、前記主記憶装置からの
情報読出しに際しては、少なくとも1つの前記バ
スについてはハミング訂正前の情報をのせ、他の
系列の前記バスについてハミング訂正後の情報を
のせるようにタイミング制御し、かつ前記各プロ
セツサから前記主記憶装置への情報転送に際して
は全バス共通のタイミング・サイクルで制御する
ことを特徴とする特許請求の範囲第1項記載のメ
モリ制御方式。
[Scope of Claims] 1. In a multiprocessor system in which a first processor and a main memory are connected by a first bus, and a second processor and the main memory are connected by a second bus, The main memory device includes input means for selectively inputting information on each bus, and a service provided corresponding to the bus to receive main memory access requests from processors connected to the buses and perform reception processing for each. Each service circuit includes information unique to the bus, and each service circuit performs reception processing in response to an access request from a processor connected to the corresponding bus, so that information can be input from each bus to the input means in a common phase. A memory control method characterized in that control is performed by different timings according to transmission delay. 2. The first and second buses are buses that commonly connect other processors in addition to the first and first processors, and the service circuit inputs access requests from the processors connected to the corresponding buses. 2. The memory control system according to claim 1, wherein the memory control system is a circuit that performs reception processing. 3. The service circuit is controlled by a timing cycle having a different reception start time for each of the access requests, and a reception priority order for the access requests is provided between the service circuits. 1
Memory control method described in section. 4. The service circuit controls information transfer between each of the processors and the main memory using a common timing cycle for all buses in accordance with the memory cycle of the main memory. The memory control method described in scope 1. 5. When reading information from the main memory, the service circuit sets the timing so that information before Hamming correction is loaded on at least one of the buses, and information after Hamming correction is loaded on the buses of other series. 2. The memory control system according to claim 1, wherein information transfer from each of said processors to said main memory is controlled using a timing cycle common to all buses.
JP6105282A 1982-04-14 1982-04-14 Memory controlling system Granted JPS58178454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6105282A JPS58178454A (en) 1982-04-14 1982-04-14 Memory controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6105282A JPS58178454A (en) 1982-04-14 1982-04-14 Memory controlling system

Publications (2)

Publication Number Publication Date
JPS58178454A JPS58178454A (en) 1983-10-19
JPS6126104B2 true JPS6126104B2 (en) 1986-06-19

Family

ID=13160055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6105282A Granted JPS58178454A (en) 1982-04-14 1982-04-14 Memory controlling system

Country Status (1)

Country Link
JP (1) JPS58178454A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0527378Y2 (en) * 1986-02-25 1993-07-13

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4612542A (en) * 1984-12-20 1986-09-16 Honeywell Inc. Apparatus for arbitrating between a plurality of requestor elements
NO173304C (en) * 1984-12-20 1993-11-24 Honeywell Inc Double bus system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0527378Y2 (en) * 1986-02-25 1993-07-13

Also Published As

Publication number Publication date
JPS58178454A (en) 1983-10-19

Similar Documents

Publication Publication Date Title
AU620318B2 (en) Arbitration technique for a split transaction bus in a multiprocessor computer system
US4591977A (en) Plurality of processors where access to the common memory requires only a single clock interval
US4669079A (en) Method and apparatus for bus arbitration in a data processing system
US4181974A (en) System providing multiple outstanding information requests
US6651148B2 (en) High-speed memory controller for pipelining memory read transactions
US4236203A (en) System providing multiple fetch bus cycle operation
US4245299A (en) System providing adaptive response in information requesting unit
JPS6043546B2 (en) Data transfer error handling method
JPS6126104B2 (en)
JPH07319829A (en) Method for transferring data
JP2713204B2 (en) Information processing system
US20010005870A1 (en) External bus control system
JPS6125178B2 (en)
JPH0562384B2 (en)
JPS6153753B2 (en)
JP2699873B2 (en) Bus control circuit
JPS60134956A (en) Information processing system
JPS61248153A (en) Memory access controlling system in multiprocessor system
JP2856709B2 (en) Bus coupling system
JPH0113575B2 (en)
JPS5825299B2 (en) Memory control method
JPH0248749A (en) Buffer storage control device
JPH09507939A (en) Performing I / O operations in multiprocessor systems
JPH05265932A (en) Bus control system
JPS62120566A (en) Access control system for high-speed main storage in multi-processor system