JPH0772892B2 - Memory address allocation management method - Google Patents

Memory address allocation management method

Info

Publication number
JPH0772892B2
JPH0772892B2 JP19581386A JP19581386A JPH0772892B2 JP H0772892 B2 JPH0772892 B2 JP H0772892B2 JP 19581386 A JP19581386 A JP 19581386A JP 19581386 A JP19581386 A JP 19581386A JP H0772892 B2 JPH0772892 B2 JP H0772892B2
Authority
JP
Japan
Prior art keywords
address
common bus
main memory
processor
area
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 - Lifetime
Application number
JP19581386A
Other languages
Japanese (ja)
Other versions
JPS6352261A (en
Inventor
実 小山
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP19581386A priority Critical patent/JPH0772892B2/en
Publication of JPS6352261A publication Critical patent/JPS6352261A/en
Publication of JPH0772892B2 publication Critical patent/JPH0772892B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、メモリアドレス割付け管理方式に係り、特に
プロセッサと主メモリとからなるプロセッサユニット
と、その他の装置モジュールとが共通バスを介してそれ
ぞれ複数台接続可能なマルチプロセッサシステムにおい
て、共通バス側からみた場合の、各プロセッサユニット
内の主メモリに対するメモリアドレス割付け管理方式に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory address allocation management system, and in particular, a processor unit including a processor and a main memory and other device modules are respectively connected via a common bus. The present invention relates to a memory address allocation management system for a main memory in each processor unit when viewed from the common bus side in a multiprocessor system capable of connecting a plurality of units.

〔従来の技術〕[Conventional technology]

上述のようなマルチプロセッサシステムにおいては、各
プロセッサユニット内のプロセッサは、自ユニット内の
主メモリをアクセスできることは勿論であるが、それ以
外に共通バスに接続される他プロセッサユニットやその
他の装置モジュールに対しても、自ユニット内の主メモ
リに対してアクセスするのと全く同様の手順で、即ちプ
ロセッサの一つの機械語命令でアクセスすることがで
き、またプロセッサユニット内の主メモリは、それが属
するプロセッサからアクセスできるだけでなく、共通バ
スに接続される他プロセッサユニットや、他の装置モジ
ュールからも何らかの形でアクセス可能であることを要
求される場合がある。
In the multiprocessor system as described above, the processor in each processor unit can, of course, access the main memory in its own unit, but other processor units or other device modules connected to the common bus Can be accessed in exactly the same procedure as accessing the main memory in its own unit, that is, by one machine language instruction of the processor, and the main memory in the processor unit In some cases, not only can it be accessed by the processor to which it belongs, but it must also be accessible by some other processor unit or other device module connected to the common bus.

このような要求に応えることができる方式として、従来
技術では、各プロセッサユニット内のプロセッサの持つ
アドレス空間のうち、それぞれ共通なあるアドレス空間
範囲を固定的に各プロセッサユニット内の主メモリ用に
割当て、プロセッサのアドレス空間のそれ以外の残りの
部分を、各プロセッサに対して共通に共通バスアドレス
空間用として割当て、その共通バスアドレス空間上に各
種装置モジュールが占有するアドレス領域と、各プロセ
ッサユニットが持つ主メモリ用のアドレス領域を、その
実装分のメモリ容量に応じて、重複することがないよう
に割付ける方式が行われている。
As a method capable of responding to such a request, in the conventional technology, a certain common address space range among the address spaces of the processors in each processor unit is fixedly allocated for the main memory in each processor unit. , The remaining part of the address space of the processor is commonly assigned to each processor for the common bus address space, and the address area occupied by various device modules on the common bus address space and each processor unit The main memory address area is allocated so that it does not overlap depending on the memory capacity of the mounted memory.

第4図はプロセッサユニット3台からなるシステムを例
にとつて、そのアドレス割付け方法を示したものであ
る。本図は各プロセッサユニットのプロセッサの持つア
ドレス空間(0番地〜C番地)のうち、主メモリ用の内
部アドレス空間としてA番地未満の空間(0番地〜(A
−1)番地)を割当て、A番地以上C番地までを共通バ
スアドレス空間(A番地〜C番地)として割り当てた例
を示している。
FIG. 4 shows an address allocation method for a system including three processor units as an example. In this figure, of the address spaces (addresses 0 to C) of the processor of each processor unit, the space (addresses 0 to (A
-1) address), and addresses A through C are assigned as a common bus address space (addresses A to C).

プロセッサユニットaに実装されている主メモリの容量
分(M1バイト)の領域を、共通バスアドレス空間のA番
地〜(A+M1−1)番地の領域(a′)に、プロセッ
サユニットbに実装されている主メモリの容量分(M2
イト)の領域を共通バスアドレス空間の(A+M1)番地
〜(A+M1+M2−1)番地の領域(b′)に、プロセ
ッサユニットCに実装されている主メモリの容量分(M3
バイト)の領域を共通バスアドレス空間の(A+M1
M2)番地〜(A+M1+M2+M3−1)番地の領域
(C′)にそれぞれ割付けている。また、プロセッサ
ユニット以外の各種装置モジュール占有分は、共通バス
アドレス空間のB番地〜C番地の領域(n)に割付けて
いる。
An area corresponding to the capacity of the main memory mounted in the processor unit a (M 1 byte) is allocated to the area (a ′ M ) of addresses A to (A + M 1 −1) of the common bus address space, and to the processor unit b. The area of the installed main memory capacity (M 2 bytes) is allocated to the area (b ' M ) of addresses (A + M 1 ) to (A + M 1 + M 2 -1) of the common bus address space, and to the processor unit C. The amount of installed main memory (M 3
The byte area is (A + M 1 +) of the common bus address space.
M 2) Address ~ (A + M 1 + M 2 + M 3 -1) are assigned respectively to the address of the area (C 'M). The occupancy of various device modules other than the processor unit is allocated to the area (n) of addresses B to C of the common bus address space.

以上のようなアドレス割付けは、各プロセッサユニット
内のプロセッサからみれば、自ユニット内の主メモリは
勿論、他プロセッサユニット内に実装された全ての主メ
モリおよびその他装置モジュールの分の領域が、自プロ
セツサが直接的にアクセスできるアドレス空間内に配置
されたことを意味する。これによって、各プロセッサユ
ニットのプロセッサは、他プロセッサユニット内に実装
されている主メモリに対して、自ユニット内の主メモリ
に対してアクセスするのと全く同様にしてアクセスする
ことができ、また共通バスマスタ機能を持つその他の装
置モジュールも、共通バスアドレス空間内に割付けられ
た領域へのアクセスによって、各プロセッサユニット内
の主メモリに対してアクセスすることができるようにし
ている。
From the viewpoint of the processor in each processor unit, the address allocation as described above is not limited to the main memory in its own unit, and the area for all main memories mounted in other processor units and other device modules. It means that the processor is placed in the address space that can be directly accessed. As a result, the processor of each processor unit can access the main memory mounted in another processor unit in exactly the same way as it accesses the main memory in its own unit. Other device modules having a bus master function can also access the main memory in each processor unit by accessing the area allocated in the common bus address space.

第5図は、以上の方式を実現するためのシステムの構成
例である。プロセッサユニット1a〜1cは共通バス2にそ
れぞれ接続され、各プロセッサユニット内のプロセッサ
4a〜4cと主メモリ6a〜6cおよび共通バス2とはバススイ
ッチ5a〜5cを介して接続され、バススイッチ5a〜5cによ
っていずれか一対の結合が選択されるように構成されて
いる。内部アドレス比較回路7a〜7cは、プロセッサ4a〜
4cから出力されるアドレス値が予めハードウェア的に決
められているある値(第4図における“A"という値)よ
り小さい場合には、プロセッサ4a〜4cと主メモリ6a〜6c
とを結合させるようにバススイッチ5a〜5cを制御し、そ
うでない場合にはプロセッサ4a〜4cと共通バス2とを結
合するようにバススイッチ5a〜5cを制御する回路であ
る。
FIG. 5 is a configuration example of a system for realizing the above method. The processor units 1a to 1c are respectively connected to the common bus 2 and the processors in the respective processor units are connected.
4a to 4c are connected to the main memories 6a to 6c and the common bus 2 via bus switches 5a to 5c, and any one of a pair of couplings is selected by the bus switches 5a to 5c. The internal address comparison circuits 7a to 7c are the processors 4a to
If the address value output from 4c is smaller than a predetermined value (value "A" in FIG. 4) determined by hardware in advance, the processors 4a to 4c and the main memories 6a to 6c.
Is a circuit that controls the bus switches 5a to 5c so as to connect with each other, and otherwise controls the bus switches 5a to 5c so as to connect between the processors 4a to 4c and the common bus 2.

レジスタ9a〜9cは、プロセッサユニット1a〜1cのそれぞ
れが持つ主メモリ6a〜6cが、各プロセッサの持つアドレ
ス空間のうち、共通バスアドレス空間として扱われるア
ドレス空間内に割付けられた領域の先頭アドレス(第4
図に示すように、レジスタ9aには“A",レジスタ9bには
“A+M1",レジスタ9cには“A+M1+M2"がそれぞれ割
付けられている)を記憶しているレジスタであり、レジ
スタ8a〜8cは上記領域の最終アドレス(第4図に示すよ
うに、レジスタ8aには“A+M1+1",レジスタ8bには
“A+M1+M2−1",レジスタ8cには“A+M1+M2+M3
1"がそれぞれ割付けられている)を記憶しているレジス
タである。なおここでレジスタ9a〜9c,8a〜8cはともに
スイッチであってもよい。
The registers 9a to 9c are the start addresses (of the areas allocated in the address space where the main memories 6a to 6c of the processor units 1a to 1c are treated as the common bus address space among the address spaces of the processors ( Fourth
As shown in the figure, "A" is assigned to register 9a, "A + M 1 " is assigned to register 9b, and "A + M 1 + M 2 " is assigned to register 9c). 8a~8c, as shown in the last address (Fig. 4 of the area, the register 8a "a + M 1 +1" , "a + M 1 + M 2 -1" in the register 8b, the register 8c "a + M 1 + M 2 + M 3
1 "is assigned to each of them). Here, the registers 9a to 9c and 8a to 8c may both be switches.

共通バスアドレス比較回路10a〜10cは、共通バス2から
与えられたアドレス値とレジスタ9a〜9cおよびレジスタ
8a〜8cの内容とを比較し、共通バス2から与えられたア
ドレス値がレジスタ9a〜9cの内容とレジスタ8a〜8cの内
容で指定される領域の範囲内にあれば、共通バスと主メ
モリ6a〜6cとを結合させるようにバススイッチ5a〜5cを
制御し、この領域の範囲内になければ上記制御を行なわ
ないという機能を持つ。(第4図に基づいて、共通バス
アドレス比較回路10aに関して言えば、共通バスアドレ
ス値が“A〜(A+M1−1)”の範囲内にあれば、バス
スイッチ5aに共通バス2と主メモリ6aとを結合させるよ
うに指令を与える。) アドレス減算回路11a〜11cは、共通バス2から与えられ
たアドレス値からレジスタ9a〜9cの内容を減算し、主メ
モリ6a〜6cに与えるべき0から始まる相対アドレスに変
換する回路である。変換後の値は、バススイッチ5a〜5c
による共通バス2と主メモリ6a〜6cとの結合時に共通バ
スアドレスに置き替えられて、主メモリ6a〜6cに与えら
れる。
The common bus address comparison circuits 10a to 10c are provided with the address value given from the common bus 2 and the registers 9a to 9c and the registers.
8a to 8c are compared, and if the address value given from the common bus 2 is within the area specified by the contents of registers 9a to 9c and the contents of registers 8a to 8c, the common bus and main memory It has a function of controlling the bus switches 5a to 5c so as to be coupled with 6a to 6c, and not performing the above control unless it is within the range of this area. (Concerning the common bus address comparison circuit 10a based on FIG. 4, if the common bus address value is within the range of "A to (A + M 1 -1)", the bus switch 5a includes the common bus 2 and the main memory. The address subtraction circuits 11a to 11c subtract the contents of the registers 9a to 9c from the address value given from the common bus 2 and 0 to be given to the main memories 6a to 6c. It is a circuit that converts to a relative address that starts. The converted values are the bus switches 5a to 5c.
When the common bus 2 and the main memories 6a to 6c are coupled by the above, the common bus address is replaced and the data is given to the main memories 6a to 6c.

いま、プロセッサユニット1aにおけるプロセッサ4aが、
何らかのアクセスをしようとしてアドレスを出力する
と、そのアドレス値が内部アドレス比較回路7aにおい
て、ハードウェア固定値(第4図に示された“A"という
値)と比較され、アドレス値がこの固定値より小であれ
ば、バススイッチ5aは比較回路7aの指令に基づいてプロ
セッサ4aと主メモリ6aとを結合し、プロセッサ4aが出力
したアドレスを主メモリ6aに与えるので、プロセッサ4a
は主メモリ6aの所定のアドレスに対してアクセスできる
ことになる。
Now, the processor 4a in the processor unit 1a is
When an address is output while trying to access something, the address value is compared with the fixed value of hardware (the value "A" shown in FIG. 4) in the internal address comparison circuit 7a, and the address value is determined from this fixed value. If it is small, the bus switch 5a connects the processor 4a and the main memory 6a based on the instruction of the comparison circuit 7a, and gives the address output by the processor 4a to the main memory 6a.
Can access a predetermined address in the main memory 6a.

一方、比較回路7aにおける比較の結果、アドレス値がこ
の固定値以上であった場合には、比較回路7aはバススイ
ッチ5aに対してプロセッサ4aと共通バスと2の結合を指
令し、プロセッサ4aが出力したアドレスが共通バス2に
出力されることになる。プロセッサユニット1bおよび1c
はその共通バスのアドレスを受けて、共通バスアドレス
比較回路10b,10cにおいて、その値がそれぞれレジスタ9
b,9cの内容とレジスタ8b,8cの内容とによつて指定され
る領域の範囲内にあるかどうかを判定する。
On the other hand, as a result of the comparison in the comparison circuit 7a, when the address value is equal to or larger than this fixed value, the comparison circuit 7a instructs the bus switch 5a to connect the processor 4a and the common bus 2 and the processor 4a The output address is output to the common bus 2. Processor units 1b and 1c
Receives the address of the common bus, and in the common bus address comparison circuits 10b and 10c, the value is registered in the register 9 respectively.
Whether or not it is within the range specified by the contents of b and 9c and the contents of registers 8b and 8c is determined.

いま、共通バスアドレス比較回路10bで共通バスアドレ
ス値がレジスタ9b,8bにより定まる範囲内であると判定
されたとすると、プロセッサユニット1bのバススイッチ
5bは、共通バスアドレス比較回路10bの指令に基づいて
共通バス2と主メモリ6bとを結合し、これによつてアド
レス減算回路11bによって変換されたアドレスが、主メ
モリ用アドレスとして主メモリ6bに与えられるので、プ
ロセッサユニット1aのプロセッサ4aは、バススイッチ5
a,共通バス2,およびバススイッチ5bを介して主メモリ6b
の所定のアドレスに対してアクセスすることができる。
Now, assuming that the common bus address comparison circuit 10b determines that the common bus address value is within the range determined by the registers 9b and 8b, the bus switch of the processor unit 1b.
5b couples the common bus 2 and the main memory 6b based on the command from the common bus address comparison circuit 10b, and the address converted by the address subtraction circuit 11b by this is stored in the main memory 6b as the main memory address. Therefore, the processor 4a of the processor unit 1a is connected to the bus switch 5
main memory 6b via a, common bus 2, and bus switch 5b
Can be accessed to a predetermined address.

一方、プロセッサユニット1cの共通バスアドレス比較回
路10cでは、当然、共通バスアドレス値がレジスタ9c,8c
により定まる範囲内にないと判定され、従つてバススイ
ッチ5cはバス切換え指令を受けず、何ら被アクセス動作
は行なわれない。プロセッサユニット1a〜1c以外の各種
装置モジュール3a,3bも共通バスアドレスを受け、それ
により選択されたものがプロセッサ4a〜4cによりアクセ
スされることになる。ここで、各プロセッサユニット1a
〜1cのレジスタ9a〜9cおよびレジスタ8a〜8cの内容によ
り定まる範囲の共通バスアドレス空間上の領域,さらに
他の装置モジュールが共通バスアドレス空間上で占める
領域が重複してはならないということが、前提としてあ
ることに注意すべきである。
On the other hand, in the common bus address comparison circuit 10c of the processor unit 1c, naturally, the common bus address value is set in the registers 9c and 8c.
Therefore, the bus switch 5c does not receive the bus switching command, and no accessed operation is performed. The various device modules 3a and 3b other than the processor units 1a to 1c also receive the common bus address, and the ones selected thereby are accessed by the processors 4a to 4c. Here, each processor unit 1a
The area on the common bus address space defined by the contents of the registers 9a to 9c and the registers 8a to 8c of ~ 1c, and the area occupied by other device modules on the common bus address space must not overlap. It should be noted that this is a prerequisite.

以上に説明したアドレス割付け方式では、各プロセッサ
ユニットに実装された主メモリの容量分の領域を、各プ
ロセッサユニット内のプロセッサの有するアドレス空間
のうち、それぞれ共通な共通バスアドレス空間内にすべ
て割付けるようにしているので、各プロセッサユニット
に実装可能な主メモリの総容量は、共通バスアドレス空
間の大きさによつて制限されることになる。
In the address allocation method described above, the area for the capacity of the main memory mounted in each processor unit is allocated to the common common bus address space among the address spaces of the processors in each processor unit. As a result, the total capacity of the main memory that can be mounted on each processor unit is limited by the size of the common bus address space.

例えば第4図においては、各プロセッサユニットの主メ
モリの総容量は、次式のように制限される。
For example, in FIG. 4, the total capacity of the main memory of each processor unit is limited by the following equation.

M1+M2+M3≦B−A このことは、プロセッサが自ユニット内の主メモリを共
通バスを介さず直接アクセスするための主メモリ用内部
アドレス空間の大きさや、各プロセッサユニットに実装
する主メモリの容量や、マルチプロセッサシステムを構
成するプロセッサユニットの台数に大きな制約を与える
ことになり、システムを構築する上での問題点となって
いる。
M 1 + M 2 + M 3 ≦ B−A This means the size of the internal address space for the main memory for the processor to directly access the main memory in its own unit without passing through the common bus, and the main memory installed in each processor unit. This imposes great restrictions on the capacity of the system and the number of processor units that make up the multiprocessor system, which is a problem in constructing the system.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

本発明の目的は、マルチプロセッサシステム構築の際に
おける、各プロセッサユニットのプロセッサが自ユニッ
ト内の主メモリに直接アクセスするための、主メモリ用
内部アドレス空間の大きさ(各プロセッサユニットに共
通の大きさ)や、各プロセッサユニットに実装可能な主
メモリの容量およびプロセッサユニットの接続台数に関
する制約が極めて小さくなるような、各プロセッサユニ
ットのプロセッサの持つアドレス空間の一部である共通
バスアドレス空間に対する、各プロセッサユニットの主
メモリのメモリアドレス割付け管理方式を提供すること
にある。
An object of the present invention is to set the size of the internal address space for the main memory (the size common to each processor unit) for the processor of each processor unit to directly access the main memory in its own unit when constructing a multiprocessor system. ) Or a common bus address space that is a part of the address space of the processor of each processor unit such that the restrictions on the capacity of main memory that can be mounted on each processor unit and the number of connected processor units are extremely small. It is to provide a memory address allocation management system for the main memory of the processor unit.

〔課題を解決するための手段〕[Means for Solving the Problems]

プロセッサと主メモリとを有する複数台のプロセッサユ
ニットを他の装置モジュールとともに共通バスに接続
し、各プロセッサユニットにおけるプロセッサが自プロ
セッサユニット内の主メモリをアクセスするのと同様の
手順で共通バス側をアクセスできるように構成されたマ
ルチプロセッサシステムにおいて、各プロセッサユニッ
トの主メモリと共通バスインターフェース部との間にア
ドレス変換メモリを設け、共通バスアドレス情報を、各
プロセッサユニットを重複なく指定可能な第1のビット
領域、アドレス変換メモリアクセス用の第2のビット領
域および主メモリのページ内アドレスを指定する第3の
ビット領域の3領域で構成し、アドレス変換メモリは、
自プロセッサユニット内の主メモリアドレス空間の大き
さをカバー可能なビット幅を有し、自プロセッサによっ
て情報の設定,変更が可能なメモリ領域からなり、主メ
モリの各領域のページアドレス情報が共通バスアドレス
情報の第2の領域の情報をアドレスとして格納されてお
り、共通バスアドレス情報の第2の領域の情報でアクセ
スされて該第2の領域の情報を自プロセッサユニット内
の主メモリの所定の領域のページアドレス情報に変換し
て主メモリに出力する構成とし、各プロセッサユニット
は、共通バス上に出力された第1の領域の情報が自プロ
セッサユニット用として共通バス上に設定されたアドレ
スの範囲内に含まれるときは、共通バス上に出力された
第2の領域の情報によりアドレス変換メモリをアクセス
してページアドレス情報として主メモリに与えるととも
に、共通バス上に出力された第3の領域の情報をページ
内アドレスとして主メモリに与えることにより、プロセ
ッサユニット内の主メモリが共通バスアドレス情報を出
力したプロセッサユニットあるいは他の装置モジュール
からも共通バスを介してアクセスできるようにする。
A plurality of processor units having a processor and a main memory are connected to a common bus together with other device modules, and the common bus side is connected in the same procedure as the processor in each processor unit accesses the main memory in its own processor unit. In a multiprocessor system configured to be accessible, an address translation memory is provided between a main memory of each processor unit and a common bus interface unit, and common bus address information can be designated for each processor unit without duplication. Of the address translation memory, a second bit area for address translation memory access, and a third bit area for designating an in-page address of the main memory.
It has a bit width that can cover the size of the main memory address space in its own processor unit, and consists of a memory area in which information can be set and changed by the own processor. The information of the second area of the address information is stored as an address, and the information of the second area of the common bus address information is accessed and the information of the second area is stored in a predetermined area of the main memory in the own processor unit. The processor unit is configured to output the page address information of the area and output it to the main memory. Each processor unit outputs the information of the first area output on the common bus to the address set on the common bus for its own processor unit. If it is included in the range, the address translation memory is accessed by the information of the second area output on the common bus to access the page address. By giving information to the main memory as information and the information of the third area output on the common bus as the in-page address to the main memory, the main memory in the processor unit outputs the common bus address information to the processor unit or It is also accessible from other device modules via the common bus.

〔作 用〕[Work]

本発明によれば、各プロセッサユニットにアドレス変換
メモリを設けることにより、与えられた共通バスアドレ
スをユニット内の任意の主メモリアドレスに変換するこ
とができるので、各プロセッサユニットの持つ主メモリ
の容量に相当する領域を、共通バスからのプロセッサユ
ニット内主メモリアクセス用として共通バスアドレス空
間内に割付ける必要がなく、それぞれの主メモリの容量
とは無関係に、より小さい領域を割付けるだけで済む。
従って、プロセッサユニットに実装する主メモリの容量
や共通バスに接続するプロセッサユニットの台数などに
関する制限が極めて緩く、自由度の大きいマルチプロセ
ッサシステムを構築することができるようになる。
According to the present invention, by providing an address translation memory in each processor unit, it is possible to translate a given common bus address into an arbitrary main memory address in the unit, so the capacity of the main memory of each processor unit Need not be allocated in the common bus address space for accessing the main memory in the processor unit from the common bus, and only a smaller area needs to be allocated regardless of the capacity of each main memory. .
Therefore, it is possible to construct a multiprocessor system having a large degree of freedom, because restrictions on the capacity of the main memory mounted on the processor unit and the number of processor units connected to the common bus are extremely loose.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す、プロセッサユニット
4台からなるマルチプロセッサシステムに適用した場合
の、本発明による各プロセッサユニットの主メモリのア
ドレス割付け方法を例示したものである。本図は、各プ
ロセッサユニットのプロセッサの持つアドレス空間を16
メガバイト(0番地〜J番地)として、そのうち主メモ
リ用の内部アドレス空間として0番地〜(D−1)番地
の8メガバイトを割付け、残りの8メガバイト(D番地
〜J番地)を共通バスアドレス空間として割付けた例を
示している。
FIG. 1 shows an embodiment of the present invention, and illustrates an address allocation method of a main memory of each processor unit according to the present invention when applied to a multiprocessor system including four processor units. This figure shows the address space of the processor of each processor unit is 16
8 megabytes of addresses 0 to (D-1) are allocated as the internal address space for the main memory as megabytes (addresses 0 to J), and the remaining 8 megabytes (addresses D to J) are shared bus address space. The example is assigned as.

プロセッサユニットaは領域aMの容量M11バイトの、プ
ロセッサユニットbは領域bMの容量M12バイトの、プロ
セッサユニットcは領域cMの容量M13バイトの、プロセ
ッサユニットdは領域dMの容量M14バイトの主メモリを
それぞれ実装しており、各プロセッサユニットのプロセ
ッサは各々自ユニット内の主メモリを、D番地未満の主
メモリ用内部アドレス空間に対するアクセスで、直接的
にアクセスすることができる。各プロセッサがD番地以
上のアドレスでアクセスした場合は、それは共通バスア
ドレス空間に対するアクセスとなる。
The processor unit a has a capacity M of 11 bytes in the area a M , the processor unit b has a capacity of M 12 bytes in the area b M , the processor unit c has a capacity M of 13 bytes in the area c M , and the processor unit d has a capacity of M d in the area d M. The main memory with a capacity of M 14 bytes is mounted, and the processor of each processor unit can directly access the main memory in its own unit by accessing the internal address space for main memory below address D. it can. When each processor accesses at address D or higher, it becomes an access to the common bus address space.

共通バスアドレス空間上には、各プロセッサユニットご
とにある一定の領域を重複することなく割付け、それを
各プロセッサユニット内の主メモリを共通バス側からア
クセスするための領域とする。以後、これをウインド領
域と称することとし、プロセッサユニットa用ウインド
領域をaM″,プロセッサユニットb用ウインド領域を
bM″,プロセッサユニットc用ウインド領域をcM″,プ
ロセッサユニットd用ウインド領域をdM″とする。第1
図においては、各プロセッサユニットごとに設けられた
ウインド領域は、それぞれ1メガバイトの領域を共通バ
スアドレス空間内に占有している。また、プロセッサユ
ニット以外の各種装置モジュール占有分は、共通バスア
ドレス空間の領域nのI番地〜J番地に割付けられてい
る。
On the common bus address space, a certain area is allocated for each processor unit without duplication, and this area is used as an area for accessing the main memory in each processor unit from the common bus side. Hereinafter, this will be referred to as a window area, the window area for the processor unit a is a M ″, and the window area for the processor unit b is
Let b M ″, the window area for processor unit c be c M ″, and the window area for processor unit d be d M ″.
In the figure, the window area provided for each processor unit occupies an area of 1 megabyte in the common bus address space. The occupancy of various device modules other than the processor unit is allocated to addresses I to J of the area n of the common bus address space.

いま、あるプロセッサユニットのプロセッサが、他のプ
ロセッサユニット内の主メモリに対してアクセスしよう
とする場合には、共通バスアドレス空間内の所望のプロ
セツサユニツト用のウインド領域に対してアクセスする
こととし、また他の装置モジュールからも同様にウイン
ド領域に対するアクセスにより、所望のプロセッサユニ
ット内の主メモリをアクセスできるものとする。
Now, when a processor of a processor unit tries to access the main memory in another processor unit, it is supposed to access a window area for a desired processor unit in the common bus address space. Similarly, the main memory in the desired processor unit can be accessed by accessing the window area from other device modules as well.

第2図は、以上に説明したアドレス割付けを可能にす
る、本発明によるシステム構成の実施例であり,特にプ
ロセッサユニット内のアドレスバス系統を主体に表わし
たものである。なお第2図では、プロセッサユニット1b
および1cの図示は省略している。
FIG. 2 shows an embodiment of the system configuration according to the present invention which enables the address allocation described above, and particularly shows mainly the address bus system in the processor unit. In FIG. 2, the processor unit 1b
Illustrations of 1 and 1c are omitted.

プロセッサユニット1a〜1dは共通バス2にそれぞれ接続
され、プロセッサユニット内のプロセッサ4a〜4dはバッ
ファゲート21a〜21cを介して主メモリ6a〜6bと接続さ
れ、バッファゲート22a〜22dを介して共通バス2と接続
される。また、主メモリ6a〜6dはアドレス変換メモリ27
a〜27d,バッファゲート23a〜23dを介して共通バス2に
も接続される。バッファゲート21a〜21d,バッファゲー
ト22a〜22d,バッファゲート23a〜23dにおけるゲートの
イネーブル/ディセーブルは、バス切換制御回路20a〜2
0dによつてコントロールされる。
The processor units 1a to 1d are respectively connected to the common bus 2, the processors 4a to 4d in the processor unit are connected to the main memories 6a to 6b via the buffer gates 21a to 21c, and the common buses via the buffer gates 22a to 22d. Connected with 2. Further, the main memories 6a to 6d are the address translation memories 27
It is also connected to the common bus 2 via a to 27d and buffer gates 23a to 23d. The gates of the buffer gates 21a to 21d, the buffer gates 22a to 22d, and the buffer gates 23a to 23d are enabled / disabled by the bus switching control circuits 20a to 2
Controlled by 0d.

内部アドレス比較回路7a〜7dは、プロセッサ4a〜4dから
出力されるアドレスの値と、予めハードウェア的に決め
られている固定値(第1図における“D"という値)とを
比較し、その結果をバス切換制御回路20a〜20dに与え
る。プロセッサ出力のアドレス値がこの固定値より小さ
い場合、バス切換制御回路20a〜20dはバッファゲート21
a〜21dをイネーブルとして、プロセッサ4a〜4dと主メモ
リ6a〜6dとを結合させる。また、そうでない場合には、
バス切換制御回路20a〜20dはバッファゲート22a〜22dを
イネーブルとして、プロセッサ4a〜4dと共通バス2とを
結合させる。(なおプロセッサ4a〜4dからの自ユニット
内の主メモリ6a〜6dおよび共通バス2に対するアクセス
に関しては、基本的に従来技術と変わりはない。) レジスタ25a〜25dは、各プロセッサユニットごとに共通
バスアドレス空間内に設けられたウインド領域のうち、
自プロセッサユニット用のウインド領域を示す共通バス
アドレス情報の上位数ビット分(ウインド領域の大きさ
によつてビツト数が異なる)の値を記憶しているレジス
タである。(なおレジスタ25a〜25dはスイッチであつて
もよい。) 共通バスアドレス比較回路24a〜24dは、共通バス2から
与えられたアドレス値とレジスタ25a〜25dの内容とを比
較し、両者が一致した場合にはバス切換制御回路20a〜2
0dに、バッファゲート23a〜23dをイネーブルとして、主
メモリ6a〜6dとアドレス変換メモリ27a〜27dとを結合さ
せるように指令する。アドレス変換メモリ27a〜27dは、
セレクタ26a〜26dを介して共通バス2およびプロセッサ
4a〜4dと接続される。アドレス変換メモリ27a〜27dは、
プロセッサの持つアドレス空間のうちの主メモリ用内部
アドレス空間内の予め定められた領域に割付けられてお
り、プロセッサ4a〜4dが、アドレス変換メモリ27a〜27d
内の内容を設定,変更するためにこの領域にアクセスす
ると、信号SELによりセレクタ26a〜26dは、プロセッサ4
a〜4dとアドレス変換メモリ27a〜27dとを結合させるよ
うに切換えられて、プロセッサ出力のアドレスをアドレ
ス変換メモリ側に与える。これによりプロセッサ4a〜4d
は、アドレス変換メモリ27a〜27dをアクセスできるよう
になる。
The internal address comparison circuits 7a to 7d compare the value of the address output from the processors 4a to 4d with a fixed value (a value "D" in FIG. 1) determined in advance by hardware, and The result is given to the bus switching control circuits 20a to 20d. When the address value of the processor output is smaller than this fixed value, the bus switching control circuits 20a to 20d have the buffer gate 21
By enabling a to 21d, the processors 4a to 4d and the main memories 6a to 6d are coupled. Also, if not,
The bus switching control circuits 20a-20d enable the buffer gates 22a-22d to couple the processors 4a-4d with the common bus 2. (Note that the access from the processors 4a to 4d to the main memories 6a to 6d and the common bus 2 in the own unit is basically the same as the conventional technique.) The registers 25a to 25d are common buses for each processor unit. Of the window area provided in the address space,
This is a register that stores the values of several high-order bits of the common bus address information indicating the window area for its own processor unit (the number of bits differs depending on the size of the window area). (Note that the registers 25a to 25d may be switches.) The common bus address comparison circuits 24a to 24d compare the address value given from the common bus 2 with the contents of the registers 25a to 25d, and both match. In case of bus switching control circuit 20a-2
Command 0d to enable buffer gates 23a-23d to couple main memories 6a-6d and address translation memories 27a-27d. The address translation memories 27a to 27d are
Common bus 2 and processor via selectors 26a-26d
Connected with 4a-4d. The address translation memories 27a to 27d are
It is allocated to a predetermined area in the main memory internal address space of the address space of the processor, and the processors 4a to 4d are assigned to the address translation memories 27a to 27d.
When this area is accessed to set or change the contents within, the selectors 26a-26d cause the processor 4
The addresses a to 4d and the address translation memories 27a to 27d are switched so as to be coupled, and the address of the processor output is given to the address translation memory side. This allows processors 4a-4d
Can access the address translation memories 27a to 27d.

プロセッサ4a〜4dがアドレス変換メモリ27a〜27dをアク
セスする場合以外は信号SELは無効であり、セレクタ26a
〜26dは共通バス2とアドレス変換メモリ27a〜27dとを
結合させるように動作し、共通バスアドレスをアドレス
変換メモリに供給する。アドレス変換メモリ27a〜27d
は、主メモリ用内部アドレス空間の大きさに応じて予め
定められた容量を持ち、そのメモリ内にはプロセッサ4a
〜4dにより変換アドレス値が格納されていて、アドレス
変換メモリに与えられるアドレスに応じたメモリセルか
らの出力値が、バッファゲート23a〜23dを介して主メモ
リ6a〜6dに与えられるようになっている。
The signal SEL is invalid except when the processors 4a to 4d access the address translation memories 27a to 27d, and the selector 26a
.About.26d operate to connect the common bus 2 and the address translation memories 27a to 27d, and supply the common bus address to the address translation memory. Address translation memory 27a-27d
Has a predetermined capacity in accordance with the size of the main memory internal address space.
~ 4d stores the conversion address value, and the output value from the memory cell corresponding to the address given to the address conversion memory is supplied to the main memories 6a to 6d via the buffer gates 23a to 23d. There is.

第3図はアドレス変換の過程を説明するものであつて、
同図は第1図に示されたアドレス割付けに対応してい
る。まず、プロセッサユニット内の主メモリ用内部アド
レス空間(8メガバイト)を、1ページ4キロバイトを
単位としてページング管理するものとする。24ビットか
らなる共通バスアドレスのうち上位4ビット(ビット23
〜ビット20)は、自ユニット内主メモリアクセス用のウ
インド領域が選択されたか否かを判定するために使用さ
れ、ビット19〜ビット12の全8ビットはアドレス変換メ
モリに与えるアドレス、即ちアドレス変換テーブルのイ
ンデックスポインタとなり、ビット11〜ビット0の全12
ビットはページ内オフセットとしてそのまま主メモリに
与えられる。アドレス変換テーブル(メモリ)は、11ビ
ットからなるページ情報(ページナンバ)が256個まで
格納される。そしてインデックスポインタにより指定さ
れたテーブルに格納されていたページ情報が、主メモリ
アドレスのビット22〜ビット12として主メモリに与えら
れる。主メモリアドレスの最上位ビット(ビット23)
は、“0"として主メモリに与えるようにする。このよう
にして、与えられた共通バスアドレスから主メモリに与
えるべき主メモリアドレスが形成される。
FIG. 3 explains the process of address translation.
This figure corresponds to the address allocation shown in FIG. First, it is assumed that the main memory internal address space (8 megabytes) in the processor unit is subjected to paging management in units of 4 kilobytes per page. The upper 4 bits (bit 23
~ Bit 20) is used to determine whether or not the window area for accessing the main memory in the own unit is selected, and all 8 bits of bit 19 to bit 12 are addresses given to the address translation memory, that is, address translation. It becomes the index pointer of the table, and all 12 from bit 11 to bit 0
The bits are directly provided to the main memory as an in-page offset. The address translation table (memory) stores up to 256 pieces of 11-bit page information (page number). Then, the page information stored in the table designated by the index pointer is given to the main memory as bits 22 to 12 of the main memory address. Most significant bit of main memory address (bit 23)
Is given to the main memory as "0". In this way, the main memory address to be given to the main memory is formed from the given common bus address.

いま、プロセッサユニット1aのプロセッサ4aが、プロセ
ッサユニット1d内の主メモリをアクセスしようとする場
合を考えるものとする。プロセッサ4aはバッファゲート
22aがイネーブルになることによつて共通バス2と結合
され、プロセッサユニット1dの主メモリアクセス用のウ
インド領域dM″(第1図)を指すアドレスを共通バス2
上に出力する。プロセッサユニット1b〜1dは、その共通
バスアドレスを受けて共通バスアドレス比較回路24b〜2
4dにおいて、共通バスアドレスの上位4ビット(ビット
23〜ビット20)とレジスタ25b〜25dの内容(4ビット)
とを比較するが、その結果一致と判定するのはプロセッ
サ1dの共通バスアドレス比較回路24dのみであり他は反
応しない。同時に、プロセッサユニット1dが受けた共通
バスアドレスのうちビット19〜ビット12の全8ビット
が、セレクタ26dを介してアドレス変換メモリ27dに与え
られ、アドレス変換メモリ27dはそれにより選択される
メモリから全11ビットからなるページ情報を出力する。
そして共通バスアドレス比較回路24dからの一致判定の
通知によって、バス切換制御回路20dがバッファゲート2
3dをイネーブルにし、このページ情報とページ内オフセ
ットとしての共通バスアドレスのビット11〜ビット0の
全12ビットとを、主メモリ6dに与える。この際、アドレ
スビット23も値“0"としてバッファゲート23dを介して
主メモリ6dに与えられるものとする。(第2図では図示
省略)。
It is now assumed that the processor 4a of the processor unit 1a tries to access the main memory in the processor unit 1d. Processor 4a is a buffer gate
22a is coupled to the common bus 2 by being enabled, and the address pointing to the window area d M ″ (FIG. 1) for the main memory access of the processor unit 1 d is set to the common bus 2
Print on top. The processor units 1b-1d receive the common bus address and receive the common bus address comparison circuits 24b-2.
In 4d, the upper 4 bits (bit
23 to bit 20) and contents of registers 25b to 25d (4 bits)
However, it is only the common bus address comparison circuit 24d of the processor 1d that determines that they coincide with each other, and the others do not react. At the same time, all 8 bits from bit 19 to bit 12 of the common bus address received by the processor unit 1d are given to the address translation memory 27d via the selector 26d, and the address translation memory 27d receives all the bits from the memory selected by it. Outputs 11-bit page information.
Then, in response to the notification of the match determination from the common bus address comparison circuit 24d, the bus switching control circuit 20d causes the buffer gate 2
3d is enabled, and this page information and all 12 bits from bit 11 to bit 0 of the common bus address as an in-page offset are given to the main memory 6d. At this time, the address bit 23 is also given a value "0" to the main memory 6d via the buffer gate 23d. (Not shown in FIG. 2).

このようにしてプロセッサユニット1aのプロセッサ4a
は、プロセッサユニット1d内の主メモリの所定のアドレ
スに対してアクセスすることができる。プロセッサユニ
ット以外の各種装置モジュール3a,3bからの、プロセッ
サユニット内主メモリに対するアクセスも全く同様に処
理される。
In this way, the processor 4a of the processor unit 1a
Can access a predetermined address of the main memory in the processor unit 1d. Access to the main memory in the processor unit from various device modules 3a, 3b other than the processor unit is processed in exactly the same manner.

ここで、共通バスアドレスと内部主メモリアドレスとの
変換の内容は、アクセスを受ける側のプロセッサユニッ
ト内のプロセッサが管理するのが原則である。従って、
通常プロセッサユニット内プロセッサおよび他の装置モ
ジュールは、あるプロセッサユニット内の主メモリをア
クセスしようとして、それに対応するウインド領域を指
す共通バスアドレスを出力するが、それがどのような内
部の主メモリアドレスに変換され、主メモリのどこにア
クセスを行なっているのかは直接的にはわからない。し
かしながらこの種のマルチプロセッサシステムでは、プ
ロセッサユニットが各種装置モジュール(入出力制御装
置,通信用制御装置)とデータのやりとりを行う場合、
プロセッサユニットは装置モジュールに対してコマンド
とともに、データ受け渡し対象となる自ユニット内主メ
モリに関するアドレス情報を与えるのが一般的であり、
コマンドを発するプロセッサユニットが全て管理してい
る以上、装置モジュールはプロセッサユニットにより与
えられたアドレス情報をもとにアクセスすれば良く、実
際に主メモリのどこをアクセスするのかを特に知る必要
はない。またあるプロセッサユニットが他のプロセッサ
ユニットの主メモリに対してアクセスするのは、所謂プ
ロセッサ間通信として扱われる場合が普通であり、その
場合、アクセスの対象となる主メモリの領域は、プロセ
ッサ間通信の役割に応じて限定できる。従って、プロセ
ッサ間通信専用として、アドレス変換メモリの固定のメ
モリに固定の変換値を格納しておき、それを全プロセッ
サユニットが承知しているようにすれば問題はない。
Here, in principle, the contents of the conversion between the common bus address and the internal main memory address are managed by the processor in the processor unit on the side of access. Therefore,
Normally, the processor and other device modules in the processor unit try to access the main memory in a processor unit, and output a common bus address pointing to the corresponding window area. It is not directly known where in the main memory it is converted and accessing. However, in this type of multiprocessor system, when the processor unit exchanges data with various device modules (input / output control device, communication control device),
Generally, the processor unit gives the device module, together with the command, address information about the main memory in its own unit to which data is transferred,
As long as the processor unit that issues the command manages all of them, the device module only needs to access based on the address information given by the processor unit, and does not need to particularly know where to access in the main memory. In addition, it is common for one processor unit to access the main memory of another processor unit as so-called inter-processor communication. In that case, the area of the main memory to be accessed is the inter-processor communication. It can be limited according to the role of. Therefore, there is no problem if a fixed conversion value is stored in a fixed memory of the address conversion memory so that it is known to all processor units only for inter-processor communication.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、プロセッサと主メ
モリを有するプロセッサが複数台、他の装置モジュール
とともに共通バスに接続され、その共通バスのアドレス
空間は各プロセッサユニットのプロセッサの持つアドレ
ス空間内に共通に割付けられ、プロセッサは自プロセッ
サユニット内の主メモリアクセスと全く同様の手順で、
即ちプロセッサの一つの機械語命令で共通バス側をアク
セスできるようなマルチプロセッサシステムにおいて、
各プロセッサユニットの主メモリと共通バスインターフ
ェース部との間にアドレス変換メモリを設け、共通バス
アドレス情報を、各プロセッサユニットを重複なく指定
可能な第1のビット領域、アドレス変換メモリアクセス
用の第2のビット領域および主メモリのページ内アドレ
スを指定する第3のビット領域の3領域で構成し、アド
レス変換メモリは、自プロセッサユニット内の主メモリ
アドレス空間の大きさをカバー可能なビット幅を有し、
自プロセッサによって情報の設定,変更が可能なメモリ
領域からなり、主メモリの各領域のページアドレス情報
が共通バスアドレス情報の第2の領域の情報をアドレス
として格納されており、共通バスアドレス情報の第2の
領域の情報でアクセスされて該第2の領域の情報を自プ
ロセッサユニット内の主メモリの所定の領域のページア
ドレス情報に変換して主メモリに出力する構成とし、各
プロセッサユニットは、共通バス上に出力された第1の
領域の情報が自プロセッサユニット用として共通バス上
に設定されたアドレスの範囲内に含まれるときは、共通
バス上に出力された第2の領域の情報によりアドレス変
換メモリをアクセスしてページアドレス情報として主メ
モリに与えるとともに、共通バス上に出力された第3の
領域の情報をページ内アドレスとして主メモリに与える
ようにしたので、各プロセッサユニットは、与えられた
共通バスアドレスをユニット内の任意の主メモリアドレ
スに変換することができるため、共通バスアドレス空間
上に設ける各プロセッサユニットの主メモリアクセス用
の領域は、各プロセッサユニットの持つ主メモリの容量
とは無関係に、ごく小さい領域を割付けるだけで済み、
共通バスアドレス空間の大きさが限定されているとこと
に起因する、プロセッサユニットに実装できる主メモリ
の容量や共通バスに接続できるプロセッサユニットの台
数に関する制限が極めて緩くなり、大容量の主メモリを
もったプロセッサユニット多数からなるマルチプロセッ
サシステムを構築できるようになるという効果が得られ
る。
As described above, according to the present invention, a plurality of processors having a processor and a main memory are connected to a common bus together with other device modules, and the address space of the common bus is within the address space of the processor of each processor unit. Is allocated in common, and the processor uses the same procedure as the main memory access in its own processor unit.
That is, in a multiprocessor system that can access the common bus side with one machine language instruction of the processor,
An address translation memory is provided between the main memory of each processor unit and the common bus interface section, and a common bit address information can be designated for each processor unit without overlapping a first bit area and a second address translation memory access second area. The address translation memory has a bit width capable of covering the size of the main memory address space in its own processor unit. Then
It consists of a memory area where information can be set and changed by its own processor, and the page address information of each area of the main memory is stored using the information of the second area of the common bus address information as an address. The processor unit is configured to be accessed by the information of the second area, convert the information of the second area into page address information of a predetermined area of the main memory in the own processor unit, and output the page address information to the main memory. When the information of the first area output on the common bus is included in the range of the address set on the common bus for its own processor unit, the information of the second area output on the common bus is used. The address translation memory is accessed and given to the main memory as page address information, and the information of the third area output on the common bus is paged. Since the internal address is given to the main memory, each processor unit can convert the given common bus address into an arbitrary main memory address within the unit. Therefore, each processor unit provided in the common bus address space For the main memory access area of, regardless of the capacity of the main memory of each processor unit, only a very small area needs to be allocated.
Due to the limited size of the common bus address space, the restrictions on the amount of main memory that can be installed in the processor unit and the number of processor units that can be connected to the common bus are extremely relaxed, and a large amount of main memory can be saved. The effect that it becomes possible to construct a multiprocessor system composed of a large number of processor units is provided.

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

第1図は本発明によるメモリアドレス割付けの実施例を
示す図、 第2図は本発明によるマルチプロセッサシステムの実施
例の構成図、 第3図は本発明によるメモリアドレス割付けおよびシス
テム実施例に基づくアドレス変換過程の説明図、 第4図は従来方式によるメモリアドレス割付けの概念を
示す図、 第5図は従来方式によるマルチプロセツサシステムの構
成例を示す図である。 1a〜1d……プロセッサユニット 2……共通バス 3a,3b……各種装置モジュール 4a〜4d……プロセッサ 6a〜6d……主メモリ 7a〜7d……内部アドレス比較回路 20a〜20d……バス切換制御回路 21a〜21d,22a〜22d,23a〜23d……バッファゲート 24a〜24d……共通バスアドレス比較回路 25a〜25d……レジスタ 26a〜26d……セレクタ 27a〜27d……アドレス変換メモリ
FIG. 1 is a diagram showing an embodiment of memory address allocation according to the present invention, FIG. 2 is a configuration diagram of an embodiment of a multiprocessor system according to the present invention, and FIG. 3 is based on the memory address allocation and system embodiment according to the present invention. FIG. 4 is an explanatory diagram of an address conversion process, FIG. 4 is a diagram showing a concept of memory address allocation according to the conventional method, and FIG. 5 is a diagram showing an example of a configuration of a conventional multiprocessor system. 1a to 1d ... Processor unit 2 ... Common bus 3a, 3b ... Various device modules 4a to 4d ... Processor 6a to 6d ... Main memory 7a to 7d ... Internal address comparison circuit 20a to 20d ... Bus switching control Circuits 21a to 21d, 22a to 22d, 23a to 23d ...... Buffer gates 24a to 24d ...... Common bus address comparison circuits 25a to 25d ...... Registers 26a to 26d ...... Selectors 27a to 27d ...... Address translation memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プロセッサと主メモリとを有する複数台の
プロセッサユニットを他の装置モジュールとともに共通
バスに接続し、各プロセッサユニットにおけるプロセッ
サが自プロセッサユニット内の主メモリをアクセスする
のと同様の手順で共通バス側をアクセスできるように構
成されたマルチプロセッサシステムにおいて、 各プロセッサユニットの主メモリと共通バスインタフェ
ース部との間にアドレス変換メモリを設け、 共通バスアドレス情報を、各プロセッサユニットを重複
なく指定可能な第1のビット領域、アドレス変換メモリ
アクセス用の第2のビット領域および主メモリのページ
内アドレスを指定する第3のビット領域の3領域で構成
し、 アドレス変換メモリは、自プロセッサユニット内の主メ
モリアドレス空間の大きさをカバー可能なビット幅を有
し、自プロセッサによって情報と設定,変更が可能なメ
モリ領域からなり、主メモリの各領域のページアドレス
情報が共通バスアドレス情報の第2の領域の情報をアド
レスとして格納されており、共通バスアドレス情報の第
2の領域の情報でアクセスされて該第2の領域の情報を
自プロセッサユニット内の主メモリの所定の領域のペー
ジアドレス情報に変換して主メモリに出力する構成と
し、 各プロセッサユニットは、共通バス上に出力された第1
の領域の情報が自プロセッサユニット用として共通バス
上に設定されたアドレスの範囲内に含まれるときは、共
通バス上に出力された第2の領域の情報によりアドレス
変換メモリをアクセスしてページアドレス情報として主
メモリに与えるとともに、共通バス上に出力された第3
の領域の情報をページ内アドレスとして主にメモリに与
える ことを特徴とするメモリアドレス割付け管理方式。
1. A procedure similar to that in which a plurality of processor units having a processor and a main memory are connected to a common bus together with other device modules, and the processor in each processor unit accesses the main memory in its own processor unit. In a multiprocessor system configured to access the common bus side with, an address translation memory is provided between the main memory of each processor unit and the common bus interface section, and common bus address information is shared between the processor units without duplication. The address translation memory is composed of a first bit area that can be designated, a second bit area for accessing the address translation memory, and a third bit area that designates an in-page address of the main memory. The size of the main memory address space in It has a bit width that can be set and can be set and changed by the processor itself, and the page address information of each area of the main memory stores the information of the second area of the common bus address information as an address. The information of the second area of the common bus address information is accessed, the information of the second area is converted into page address information of a predetermined area of the main memory in the own processor unit, and output to the main memory. And each processor unit has a first output on the common bus.
When the information of the area of is included in the range of the address set on the common bus for its own processor unit, the address translation memory is accessed by the information of the second area output on the common bus to access the page address. The third information output to the common bus while being given to the main memory as information
A memory address allocation management method characterized in that the information in the area is mainly given to the memory as in-page addresses.
JP19581386A 1986-08-21 1986-08-21 Memory address allocation management method Expired - Lifetime JPH0772892B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19581386A JPH0772892B2 (en) 1986-08-21 1986-08-21 Memory address allocation management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19581386A JPH0772892B2 (en) 1986-08-21 1986-08-21 Memory address allocation management method

Publications (2)

Publication Number Publication Date
JPS6352261A JPS6352261A (en) 1988-03-05
JPH0772892B2 true JPH0772892B2 (en) 1995-08-02

Family

ID=16347413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19581386A Expired - Lifetime JPH0772892B2 (en) 1986-08-21 1986-08-21 Memory address allocation management method

Country Status (1)

Country Link
JP (1) JPH0772892B2 (en)

Also Published As

Publication number Publication date
JPS6352261A (en) 1988-03-05

Similar Documents

Publication Publication Date Title
US5214775A (en) Hierarchy structured memory system contained in a multiprocessor system
US4386402A (en) Computer with dual vat buffers for accessing a common memory shared by a cache and a processor interrupt stack
EP0497600B1 (en) Memory access method and apparatus
KR900002894B1 (en) Data Processing System Using Address Translation
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
JP2930071B2 (en) Information processing device and processor
GB2386441A (en) Bus interface selection by page table attributes
JPH01298457A (en) Computer system
JPH0772892B2 (en) Memory address allocation management method
GB2221066A (en) Address translation for I/O controller
GB2233480A (en) Multiprocessor data processing system
US5410662A (en) Programmable control of EMS page register addresses
JP2953584B2 (en) Memory protection method for each memory board in a multiprocessor system
JP2687679B2 (en) Program development equipment
JPH04432Y2 (en)
JPS61147352A (en) computer equipment
GB2099619A (en) Data processing arrangements
JPS63245743A (en) Memory access system
JP2612715B2 (en) Address bus controller
JPS63245545A (en) Dma system
JPS58179977A (en) Memory controller
JPS60159954A (en) Memory controlling system
JPH08123719A (en) Information processor
JPH04237348A (en) Memory accessing device
JP2001337909A (en) Pci bridge