Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5811655B2 - Buffer storage device address control method - Google Patents
[go: Go Back, main page]

JPS5811655B2 - Buffer storage device address control method - Google Patents

Buffer storage device address control method

Info

Publication number
JPS5811655B2
JPS5811655B2 JP51053262A JP5326276A JPS5811655B2 JP S5811655 B2 JPS5811655 B2 JP S5811655B2 JP 51053262 A JP51053262 A JP 51053262A JP 5326276 A JP5326276 A JP 5326276A JP S5811655 B2 JPS5811655 B2 JP S5811655B2
Authority
JP
Japan
Prior art keywords
address
prefix
storage device
buffer storage
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
Application number
JP51053262A
Other languages
Japanese (ja)
Other versions
JPS52137219A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP51053262A priority Critical patent/JPS5811655B2/en
Publication of JPS52137219A publication Critical patent/JPS52137219A/en
Publication of JPS5811655B2 publication Critical patent/JPS5811655B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 本発明は、バッファ記憶装置を有する複数個の中央処理
装置と、1つの主記憶装置とから成るマルチ・プロセッ
サ・システムにおけるバッファ記憶装置のアドレス制御
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an address control method for a buffer storage device in a multi-processor system consisting of a plurality of central processing units each having a buffer storage device and one main storage device.

複数個の中央処理装置(CPU)で1つの主記憶装置を
共有するマルチ・プロセッサ・システムにおいては、各
CPUに個有の領域(プリフィックス・エリア)が重複
しないように、各CPUでプリフィックス変換を行なっ
ている。
In a multi-processor system where multiple central processing units (CPUs) share one main memory, prefix conversion is performed on each CPU so that the area (prefix area) unique to each CPU does not overlap. I am doing it.

プリフィックス・エリアはプログラムからみて各CPU
とも同一の固定アドレスを与えられるが、内容は各CP
U固有の情報であるので、物理的?こは相異る主記憶ア
ドレスに割りあてる必要がある。
The prefix area is for each CPU from the program's perspective.
Both are given the same fixed address, but the contents are different for each CP.
Since it is U-specific information, is it physical? These must be allocated to different main memory addresses.

したがって各CPUはプリフィックス・エリアを独自の
主記憶アドレスに写像し・、プリフィックス・エリアと
写像されたエリアとの間でアドレスのすりかえを行う。
Therefore, each CPU maps the prefix area to its own main memory address and swaps addresses between the prefix area and the mapped area.

これをプリフィックス変換という。より詳細にこのプリ
フィックス変換について第3図を参照して説明する。
This is called prefix conversion. This prefix conversion will be explained in more detail with reference to FIG.

これについては例えば昭和50年10月日立製作所発行
のrHITACM−180/170/160 II処理
装置」(第3版)の38−1〜38−4頁にも開示され
ている。
This is also disclosed, for example, on pages 38-1 to 38-4 of "rHITACM-180/170/160 II Processing Apparatus" (3rd edition) published by Hitachi, Ltd. in October 1975.

第3図を参照すると、CPU0およびCPU1のプログ
ラムは独自の実アドレスを持っており、これをプリフィ
ックス変換?こより絶対アドレス1こ変換して主配憶装
置をアクセスする。
Referring to Figure 3, the programs on CPU0 and CPU1 have their own real addresses, which are converted into prefixes? From this, the absolute address is converted by one and the main storage device is accessed.

各CPUのプリフィックスエリアは0〜4095番地で
あり、CPU0の実アドレスでのエリアAは絶対アドレ
スでエリアA′に、CPU1の実アドレスでのエリアC
は絶対アドレスでエリアC′にアドレス付けされる。
The prefix area of each CPU is address 0 to 4095, and area A at the real address of CPU0 is area A' at the absolute address, and area C at the real address of CPU1.
is addressed to area C' with an absolute address.

そしてCPU0のプリフィックスエリアがアドレス付け
された絶対アドレスのエリアA′ と重なるCPU0の
エリアBは絶対アドレスの0〜4095番地であるエリ
アB′に、またCPUIのプリフィックスエリアがアド
レス付けされた絶対アドレスのエリアC′と重なるCP
UIのエリアDは絶対アドレスの0〜4095番地であ
るエリアD/(これはエリアB′に等しい)にアドレス
付けされる。
Area B of CPU0, which overlaps area A' of the absolute address addressed by the prefix area of CPU0, is area B', which is the absolute address 0 to 4095, and area B' of the absolute address addressed by the prefix area of CPU0. CP that overlaps with area C'
Area D of the UI is addressed at absolute addresses 0-4095, area D/ (which is equal to area B').

このエリア以外はそのまま実アドレスが絶対アドレスと
される。
For areas other than this area, the real address is treated as an absolute address.

上記CPUに於て、バッファ記憶装置を有する場合、従
来技術に於ては、バッファ記憶装置の参照は、プリフィ
ックス変換後のアドレス(絶対アドレス)を用いている
In the case where the above-mentioned CPU has a buffer storage device, in the conventional technology, the address after prefix conversion (absolute address) is used to refer to the buffer storage device.

第1図は、かかる従来技術の一構成例を示し、図におい
て、1はアドレス演算器、2はアドレス変換器、3はプ
リフィックス変換器、5はインデックスアレイ、6はバ
ッファ記憶装置、7は比較器であり、自己のCPUによ
りバッファ記憶装置6の読み出しを行なう場合、アドレ
ス演算器1により得られた論理アドレスをアドレス変換
器2により実アドレスに変換し、得られた実アドレスを
プリフィックス変換器3でプリフィックス変換し、変換
したアドレスの一部でインデックスアレイ5を参照して
バッファ記憶装置6からの読み出しを行なう。
FIG. 1 shows an example of the configuration of such a conventional technology, in which 1 is an address calculator, 2 is an address converter, 3 is a prefix converter, 5 is an index array, 6 is a buffer storage device, and 7 is a comparison device. When the buffer storage device 6 is read by its own CPU, the logical address obtained by the address calculator 1 is converted to a real address by the address converter 2, and the obtained real address is sent to the prefix converter 3. The prefix is converted by , and reading from the buffer storage device 6 is performed by referring to the index array 5 using a part of the converted address.

主記憶装置へアクセスする場合も、このプリフィックス
変換後のアドレス(絶対アドレスで行なわれる。
When accessing the main storage device, this prefix conversion address (absolute address) is used.

したがって、バッファ記憶装置の読み出しは、プリフィ
ックス変換に要する時間だけ遅れることになり、バッフ
ァ記憶装置の性能の低下をまねいていた。
Therefore, reading from the buffer storage device is delayed by the time required for prefix conversion, leading to a decrease in the performance of the buffer storage device.

本発明の目的は、バッファ記憶装置の読み出しアドレス
をプリフィックス変換前のアドレスを用いることにより
、バッファ記憶装置の読み出しを早めることにある。
An object of the present invention is to speed up reading from a buffer storage device by using an address before prefix conversion as a read address from the buffer storage device.

本発明は、バッファ記憶装置の読み出しアドレスは、プ
リフィックス変換前のアドレスを用いてバッファ記憶装
置の読み出し時間を早めるとともに、他のCPUとのブ
ロックキャンセルインターフェースは、プリフィックス
変換後のアドレスを用い、自己のCPUのバッファ記憶
装置のブロックキャンセルを行なう時は、他のCPUか
ら送られてくるブロックキャンセルアドレスをプリフィ
ックス逆変換したのちに、バッファ記憶装置に与える事
を特徴とする。
In the present invention, the read address of the buffer storage device uses the address before prefix conversion to speed up the read time of the buffer storage device, and the block cancellation interface with other CPUs uses the address after prefix conversion, and the read address of the buffer storage device is When canceling a block in a CPU's buffer storage device, the block cancel address sent from another CPU is prefix-inverse converted and then given to the buffer storage device.

以下、実施例により本発明の内容を詳細に説明する。Hereinafter, the content of the present invention will be explained in detail with reference to Examples.

第2図は、本発明に依るアドレス制御方式の構成例で、
図において、1はアドレス演算器、2はアドレス変換器
、5はインデックスアレイ、6はバッファ記憶装置、γ
は比較器、9は読み出しデータレジスタ、10はプリフ
ィックス変換器である。
FIG. 2 shows an example of the configuration of the address control method according to the present invention.
In the figure, 1 is an address calculator, 2 is an address converter, 5 is an index array, 6 is a buffer storage device, γ
is a comparator, 9 is a read data register, and 10 is a prefix converter.

自己のCPUによるバッファ記憶装置6の読み出しは、
アドレス演算器1より得られた論理アドレスをアドレス
変換器2により実アドレスに変換し、得られた実アドレ
スの一部で直ちにインディラスアレイ5を参照し、読み
出したデータと残りのアドレスとを比較器7で判定し、
一致していれば、バッファ記憶装置6のデータを読み出
しデータレジスタ9にセットする。
Reading of the buffer storage device 6 by its own CPU is as follows:
The logical address obtained from the address calculator 1 is converted into a real address by the address converter 2, and a part of the obtained real address is immediately referred to the Indylus array 5, and the read data is compared with the remaining address. Judgment with instrument 7,
If they match, the data in the buffer storage device 6 is read and set in the data register 9.

一致しなければ、主記憶装置から読み出したデータを主
記憶装置データバス8を通して読み出しデータレジスタ
9にセットする。
If they do not match, the data read from the main memory is set in the read data register 9 through the main memory data bus 8.

これから明らかなごとく、バッファ記憶装置はプリフィ
ックス変換されない各CPUが持つ実アドレスのもとで
アクセスされる。
As is clear from this, the buffer storage device is accessed under the real address of each CPU that is not prefix-converted.

主記憶装置へのアクセスは従来と同様にプリフィックス
変換を行ない、絶対アドレスのもとで行なう。
Access to the main storage device is performed using prefix conversion and absolute addresses as in the prior art.

このプリフィックス変換はプリフィックス変換器3を使
って行なわれ、第3図の例では、CPU0の場合AはA
′に、BはB′に従来と同様変換される。
This prefix conversion is performed using prefix converter 3, and in the example of FIG.
', B is converted to B' in the same way as before.

一方主億装置へ書き込みを行なった時は、アドレス変換
器2より得られた実アドレスをプリフィックス変換器1
0(プリフィックス変換器3と同じ)を通した後、ブロ
ックキャンセルアドレスバス11を介して他のCPUへ
送る。
On the other hand, when writing to the main unit, the real address obtained from address converter 2 is converted to prefix converter 1.
0 (same as prefix converter 3), and then sent to other CPUs via block cancel address bus 11.

第2図をCPUQとすれば、第3図の例で実アドレスエ
リアAは絶対アドレスエリアA′に、実アドレスエリア
Bは絶対アドレスエリアB′にそれぞれ変換してCPU
7に送る。
If Figure 2 is CPUQ, then in the example of Figure 3, real address area A is converted to absolute address area A', real address area B is converted to absolute address area B', and the CPU
Send to 7.

他のCPUからブロックキャンセルの要求を受けた時は
、ブロックキャンセルアドレスバス4から送られてきた
アドレス(絶対アドレス)をプリフィックス変換器10
により変換しバッファ記憶装置に与えて、ブロックキャ
ンセルを行なう。
When a block cancellation request is received from another CPU, the address (absolute address) sent from the block cancellation address bus 4 is converted to a prefix converter 10.
The block is then converted and sent to the buffer storage device to perform block cancellation.

例えば第2図をCPU0とすれば、第3図の例で絶対ア
ドレスエリアB’(=D’)をCPU0の実アドレスエ
リアBに、絶対アドレスエリアA、′をCPU0の実ア
ドレスエリアAにそれぞれ逆変換して、各CPUの実ア
ドレスのもとで管理されているバッファ記憶装置をアク
セスする。
For example, if Figure 2 is CPU0, then in the example of Figure 3, absolute address area B'(=D') is set to CPU0's real address area B, and absolute address areas A,' are set to CPU0's real address area A. The reverse conversion is performed to access the buffer storage managed under each CPU's real address.

逆変換といえども、第3図から明らおなごとく、AとB
′1A′とBは同じアドレス値であるので、AをA′に
変換することと B/をBに逆変換することは全く同じ
操作であり、よってプリフィックス逆変換はプリフィッ
クス変換器3と同じプリフィックス変換器10を用いて
実現できる。
Even though it is an inverse transformation, it is clear from Figure 3 that A and B
'1A' and B have the same address value, so converting A to A' and converting B/ back to B are exactly the same operation, so prefix inversion uses the same prefix as prefix converter 3. This can be realized using the converter 10.

これによって、例えばCPU0がCPU0の実アドレス
エリアBを書き換えた場合、主記憶装置上の絶対アドレ
スではエリアB/(これはD′と同じ)を書き換えてお
り、CPU1にはエリアD′の絶対アドレスを送り、C
PU1ではこれをエリアDに逆変換し、実アドレスのも
とてのエリアDに対応するCPU1のバッファ記憶装置
のブロックをブロックキャンセルすることができる。
As a result, for example, when CPU0 rewrites the real address area B of CPU0, the absolute address on the main memory is rewritten to area B/ (which is the same as D'), and CPU1 has the absolute address of area D' and C
In PU1, this is reversely converted to area D, and the block in the buffer storage device of CPU1 corresponding to area D, which is the source of the real address, can be block-cancelled.

以上のとおり、本発明によれば、バッファ記憶装置の読
み出し時間多こついて、プリフィックス変換に要する時
間だけ減少させることができるので、高速のバッファ記
憶装置を得ることができる。
As described above, according to the present invention, the long reading time of the buffer storage device can be reduced by the time required for prefix conversion, so that a high-speed buffer storage device can be obtained.

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

第1図は、従来技術によるバッファ記憶装置のアドレス
制御方式の一溝成例を示す。 第2図は、本発明によるバッファ記憶装置のアドレス制
御方式の一実施例を示す。 第3図はプリフィックス変換を説明する図である。 1・・・・・・アドレス演算器、2・・・・・・アドレ
ス変換器、3・・・・・・プリフィックス変換器、5・
・・・・・インディツクスアレイ、6・・・・・・バッ
ファ記憶装置、7・・・・・・比較器、9・・・・・・
読み出しデータレジスタ、10・・・・・・プリフィッ
クス変換器。
FIG. 1 shows an example of an address control method for a buffer storage device according to the prior art. FIG. 2 shows an embodiment of an address control scheme for a buffer storage device according to the present invention. FIG. 3 is a diagram explaining prefix conversion. 1... Address calculator, 2... Address converter, 3... Prefix converter, 5...
...Indices array, 6...Buffer storage device, 7...Comparator, 9...
Read data register, 10... Prefix converter.

Claims (1)

【特許請求の範囲】[Claims] 1 バッファ記憶装置を有する複数個の中央処理装置と
、1つの主記憶装置とから成るマルチ・プロセッサ・シ
ステムにおいて、各中央処理装置に、プリフィックス領
域と成る与えられた領域との双方向の変換を行なうプリ
フィックス変換器を設け、自己の中央処理装置によるバ
ッファ記憶装置の読み出しは、プリフィックス変換前の
アドレスを用いて行ない、他の中央処理装置へのブロッ
クキャンセルの要求は、プリフィックス変換後のアドレ
スを用いて行ない、他の中央処理装置からブロックキャ
ンセルの要求があった場合には、他の中央処理装置から
送られてくるアドレスをプリフィックス逆変換し、変換
したアドレスでブロックキャンセルを行なうことを特徴
とするアドレス制御方式。
1. In a multi-processor system consisting of a plurality of central processing units each having a buffer storage device and one main memory device, each central processing unit is required to perform bidirectional conversion to and from a given area, which is a prefix area. A prefix converter is provided to perform the prefix conversion, and the readout of the buffer storage device by its own central processing unit is performed using the address before prefix conversion, and the block cancellation request to another central processing unit is performed using the address after prefix conversion. When a block cancellation request is received from another central processing unit, the prefix inverse conversion is performed on the address sent from the other central processing unit, and block cancellation is performed using the converted address. Address control method.
JP51053262A 1976-05-12 1976-05-12 Buffer storage device address control method Expired JPS5811655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51053262A JPS5811655B2 (en) 1976-05-12 1976-05-12 Buffer storage device address control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51053262A JPS5811655B2 (en) 1976-05-12 1976-05-12 Buffer storage device address control method

Publications (2)

Publication Number Publication Date
JPS52137219A JPS52137219A (en) 1977-11-16
JPS5811655B2 true JPS5811655B2 (en) 1983-03-04

Family

ID=12937850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51053262A Expired JPS5811655B2 (en) 1976-05-12 1976-05-12 Buffer storage device address control method

Country Status (1)

Country Link
JP (1) JPS5811655B2 (en)

Also Published As

Publication number Publication date
JPS52137219A (en) 1977-11-16

Similar Documents

Publication Publication Date Title
JP4562919B2 (en) Method and apparatus for implementing dynamic display memory
US4495575A (en) Information processing apparatus for virtual storage control system
KR940005790B1 (en) Data processing unit with dma function
JPH04308953A (en) Virtual address computer system
JPS5811655B2 (en) Buffer storage device address control method
JPS59173828A (en) Data processing system
JP2501353B2 (en) Prefetch control method
JPH02226447A (en) Computer system and memory access therefor
JPS6356746A (en) Paging by-pass system in virtual computer
JPH0159611B2 (en)
JPS6218065B2 (en)
JPS608971A (en) Central processing unit
JPH0546482A (en) Address conversion system
JPS6360427B2 (en)
JPH04245346A (en) Microcomputer system
JPS6141021B2 (en)
JPS6218064B2 (en)
JPS6037933B2 (en) Computer memory access method
JPS6061851A (en) Input and output processor
JPS61101841A (en) Memory device
JPH03253950A (en) Data processing system
JPS63197252A (en) Electronic computer
JPS6243737A (en) Interrupt control method
JPS58213371A (en) Data processing system
JPH0540726A (en) Gathering control method for weight buffer