JPS5916064A - Shared memory device - Google Patents

Shared memory device

Info

Publication number
JPS5916064A
JPS5916064A JP12534882A JP12534882A JPS5916064A JP S5916064 A JPS5916064 A JP S5916064A JP 12534882 A JP12534882 A JP 12534882A JP 12534882 A JP12534882 A JP 12534882A JP S5916064 A JPS5916064 A JP S5916064A
Authority
JP
Japan
Prior art keywords
memory
address information
shared
tag
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP12534882A
Other languages
Japanese (ja)
Inventor
Akira Maeda
明 前田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP12534882A priority Critical patent/JPS5916064A/en
Publication of JPS5916064A publication Critical patent/JPS5916064A/en
Pending 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

Landscapes

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

Abstract

PURPOSE:To access data shared among computers in an unused area in a memory area effectively, by receiving tap information added to address information from each computer system and performing access control over the 1st and 2nd memories. CONSTITUTION:A memory 13 is stored with data to be shared among plural computer systems and a memory 14 is stored with indirect address information for accessing the memory 13 indirectly. Then, a multiplexer 23 discriminates tag information added to direct address information outputted by each computer system to control access to the memories 13 and 14. When tag signals on signal lines 17 and 18 are both ''0'', the memory 13 is accessed directly and when the tag signal on the signal line 17 is ''1'', only the memory 14 is accessed directly. When the tag signal on the signal line 18 is ''1'', the memory 13 is accessed indirectly by the address information read out of the memory 14.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は複数の計算機システムに共有される簡易で実用
性の高い共有メモリ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a simple and highly practical shared memory device shared by a plurality of computer systems.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

情報処理の多様化と分散処理技術の発展に伴い、複数の
計算機システムに共通するデータを共有メモリ装置に格
納し、この共有メモリ装置を用いて上記複数の計算機シ
ステムを結合した計算機複合システムが考えられている
。この種のシステムでは、一般に上記各計算機システム
および共有メモリ装置tよ物理的に離れた位置に設けら
れていること、また各システムによる共有メモリ装置の
アクセスが複雑化すること等に原因して、通常絶対番地
音用いてそのアクセスがなされるように構成されている
。この為、各計算機システムが、上記絶対番地の情報を
その実行プログラム内に保持していることが多くあり、
上記実行プログラムによってアクセスされる共有メモリ
装置におけるアドレス位置の変更は、上記プログラム自
体の変更を余儀なくされ、極めて困難であった。しかも
共有メモリ装置内の一部が故障等によって使用不可能と
なった場合には、この共有メモリ装置を共有した複数の
計算機システム全体の機能に障害が発生することもある
等の不具合があった。
With the diversification of information processing and the development of distributed processing technology, a computer complex system has been developed in which data common to multiple computer systems is stored in a shared memory device, and the multiple computer systems are connected using this shared memory device. It is being This type of system is generally located at a physically distant location from the computer systems and shared memory device t, and access to the shared memory device by each system becomes complicated. Usually, the access is made using the absolute address tone. For this reason, each computer system often retains the above absolute address information within its execution program.
Changing the address location in the shared memory device accessed by the execution program requires changing the program itself, which is extremely difficult. Moreover, if a part of the shared memory device becomes unusable due to a failure, etc., there is a problem that the entire function of multiple computer systems that share this shared memory device may be impaired. .

また複数の計算機システム間で共有されるデータは、必
ずしも常時共有メモリ装置内に準備しておく必要性はな
い。即ち、共有されるデータは複数の計算機システム間
で必要とされるときにだけ共有メモリ装置内に存在すれ
ばよく、その必要時点で共有メモリ装置内の未使用領域
を割当て、その領域を用いてデータを共用すれば、その
目的が十分に達せられる。そして、このような制御を施
せば、共有メモリ装置を有効に利用し、またその容量の
低減を図9、装置コストを安価に抑え得る等の効果が朗
待できる。
Furthermore, data shared among multiple computer systems does not necessarily need to be always prepared in a shared memory device. In other words, data to be shared need only exist in the shared memory device when it is needed among multiple computer systems, and at that point, an unused area in the shared memory device is allocated and that area is used. Sharing data is sufficient to achieve that goal. If such control is performed, the shared memory device can be used effectively, its capacity can be reduced, and the cost of the device can be kept low.

然し乍ら上述したように、そのアクセスが絶対番地によ
って固定されている為に、動的に共有データの位置を変
更することが非常に困難であり、また大容量のメモリと
複雑なアドレス制御装置を必要とする等の問題があった
However, as mentioned above, since access is fixed by absolute addresses, it is extremely difficult to dynamically change the location of shared data, and it also requires a large amount of memory and a complex address control device. There were problems such as.

〔発明の目的〕[Purpose of the invention]

本発明はこのような事情を考慮して々されたもので、そ
の目的とするところは、複数の計算機システム間で共有
されるデータ、ヲ、メモリ領域内の未便用領域に自由に
割当てることのできる簡易で実用曲の高い共有メモリ装
置を提供することにある。
The present invention has been developed in consideration of these circumstances, and its purpose is to freely allocate data shared between multiple computer systems to unused areas within the memory area. The object of the present invention is to provide a shared memory device that is simple and highly practical.

〔発明の概要〕[Summary of the invention]

本発明は、複数の計算機クステム間で共有されるデータ
を格納する第1のメモリ、この第1のメモリを間接的に
アクセスする間接アドレス情報を格納した第2のメモリ
、そして計算機システムよりアドレス情報に付加して与
えられるアクセス形態識別用のタグ情報た従って上記第
1および第2のメモリをアクセスする制御部とにより共
有メモリ装置を構成し、制御部はタグ・情報が第1の状
態のときには第1のメモリを直接アクセスし、第2の状
態のときには第2のメモリを直接アクセスし、史には上
記第1および第2の状態のいずれでもないときには、第
2のメモリをアクセスして読出される間接アドレス情報
を以って第1のメモリを間接的にアクセスするようにし
たものである。
The present invention includes a first memory that stores data shared among a plurality of computer systems, a second memory that stores indirect address information for indirectly accessing the first memory, and address information that is accessed from the computer system. A shared memory device is constituted by a control section that accesses the first and second memories according to the tag information for identifying the access mode given in addition to the tag information, and when the tag/information is in the first state, the control section configures a shared memory device. The first memory is directly accessed, the second memory is directly accessed when in the second state, and the second memory is accessed and read when the history is neither the first nor second state. The first memory is accessed indirectly using indirect address information.

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

従って本発明によれば、データを格納する第1のメモリ
および間接アドレスを格納する第2のメモlそれぞれ直
接アクセスできる上、第2のメモリ金アクセスして読出
される間接アドレスを以って第1のメモリを間接的にア
クセスすることができるので、これによって各計算機シ
ステム内のプログラムを変更することなしに、共有デー
タの格納位置を任意に別付けることが可能となる。しか
も、共有データの必要時点のみに上記共有データを所要
位置に格納することができるので、その容ikヲ有効に
利用・活用し、共有メモリ8鎗の節減を図り得る。また
共有メモリの一部に故障が生じても、その故障領域を避
けてアドレスを割付けることができるので、システム全
体の機能停止を招く等の不具合を招くことがない等の実
用上絶大なる効果が奏せられる。
Therefore, according to the present invention, the first memory for storing data and the second memory for storing indirect addresses can each be directly accessed, and the indirect address read by accessing the second memory can be used to access the first memory. Since the memory of the computer can be accessed indirectly, it is possible to arbitrarily allocate the storage location of the shared data without changing the programs in each computer system. Moreover, since the shared data can be stored in a required location only at the time when the shared data is needed, the capacity of the shared data can be effectively utilized and the amount of shared memory can be saved. In addition, even if a failure occurs in a part of the shared memory, addresses can be allocated avoiding the failure area, which has a great practical effect, such as preventing problems such as the failure of the entire system. is played.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照して本発明の一実施例につき説明する
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は共有メモリ装置1を用いて結合された複数の計
算機システム2m、2b〜2nからなる計算機複合シス
テムの概略構成図である。
FIG. 1 is a schematic configuration diagram of a computer complex system consisting of a plurality of computer systems 2m, 2b to 2n connected using a shared memory device 1. As shown in FIG.

即ち、複数の計算機システム2 m + 2 b〜2n
を、データ線、アドレス線、制御線等からなる信号線3
a 、3b〜3nを介して共有メモリ装置1に接続し、
これによって共有メモリ装置11を各計算機システム2
m 、2b〜2nにて共有して複合システムが構成され
ている。
That is, a plurality of computer systems 2 m + 2 b to 2 n
, signal line 3 consisting of data line, address line, control line, etc.
a, connected to the shared memory device 1 via 3b to 3n;
This allows the shared memory device 11 to be used in each computer system 2.
m, 2b to 2n share the information to form a composite system.

しかして、このような複合システムに用いられる本発明
に係る共有メモリ装置1は、例えば第2図に示す如く構
成される。即ち、選択回路11は複数の計算機システム
2th、2b〜2nを選択し、この共有メモリ装置1と
上記計算機システム2a、2b〜2nを結合するもので
ある。この選択回路11を介して後述するメモリに対す
るアドレス情報やデータ等の転送が行われる。この選択
回路11は、マルチプレクサや、ラインバッファ等によ
り構成されるものであり、従来装置と同様にして実現さ
れる。この選択回路11のデータバス12に共有データ
を格納する第1のメモリ13および間接アドレス情報を
格納する第2のメモリ14がそれぞれ接続される。これ
らの第1および第2のメモリ13゜14は、前記選択回
路11を介して計算機システム2m 、2b〜2nより
与えられるアドレス情報に従って選択的にアドレス指定
されてアクセスされる。尚、このアドレス情報は、アド
レス線15.16に介して上位ビット群と、下位ビット
群とに分けて与えられるようになっている。
The shared memory device 1 according to the present invention used in such a complex system is configured as shown in FIG. 2, for example. That is, the selection circuit 11 selects a plurality of computer systems 2th, 2b to 2n, and couples the shared memory device 1 to the computer systems 2a, 2b to 2n. Address information, data, etc. are transferred to a memory, which will be described later, through this selection circuit 11. This selection circuit 11 is composed of a multiplexer, a line buffer, etc., and is realized in the same manner as in the conventional device. A first memory 13 for storing shared data and a second memory 14 for storing indirect address information are connected to the data bus 12 of this selection circuit 11, respectively. These first and second memories 13 and 14 are selectively addressed and accessed in accordance with address information provided by the computer systems 2m, 2b to 2n via the selection circuit 11. Note that this address information is divided into an upper bit group and a lower bit group and given via address lines 15 and 16.

また計算機システム2m、2b〜2nは、上記アドレス
情報にタグ情報を付加して共有メモリ装置1に与えてい
る。こ6タグ端報は例えば信号線17.18によってそ
れぞれ伝達される2ビツトのg号からなり、信号線17
のタグ信号はゲート回路19に与えられ、同時にインバ
ータ回路20を介して反転されたのちゲート回路21に
与えられるようになっている。これによりゲート回路1
9.21が相反的にゲート開成され、信号線22を介し
て与えられるライト信号(アクセス制御信号)が前記第
1のメモリ13あるいは前記第2のメモリ14に与えら
れるようになっている。、また前記信号線18上のタグ
信号はマルチプレクサ23に与えられるようになってい
る。このマルチプレクサ23は、前記アドレス情報の上
位ビット群、或いは第2のメモリ14から読出された間
接アドレス情報を選択し、前記アドレス情報の下位ビッ
ト群と合成して前記第1のメモリ13に与えるものであ
る。このマルチプレクサ23の働きによって、第1のメ
モリ13の直接アクセスと間接アクセスとが制御される
ようになっている。
Further, the computer systems 2m, 2b to 2n add tag information to the address information and provide it to the shared memory device 1. These six tag terminal signals consist of a 2-bit g signal transmitted by signal lines 17 and 18, respectively, and
The tag signal is applied to a gate circuit 19 and simultaneously inverted via an inverter circuit 20 and then applied to a gate circuit 21. As a result, gate circuit 1
9.21 are reciprocally opened so that a write signal (access control signal) applied via the signal line 22 is applied to the first memory 13 or the second memory 14. , and the tag signal on the signal line 18 is applied to a multiplexer 23. This multiplexer 23 selects the upper bit group of the address information or the indirect address information read out from the second memory 14, combines it with the lower bit group of the address information, and supplies it to the first memory 13. It is. Direct access and indirect access to the first memory 13 are controlled by the function of the multiplexer 23.

次にこのように構成された装置の動作につき、第3図乃
至第5図を参照して説明する。今、信号線17上のタグ
信号として“θ″が与えられ、ライト信号に“1゛が与
えら11.ると、ゲート回路21のみが開成しているこ
とから第1のメモリ13にのみライト信号が与えられる
。またこのライト時には、信号線18上のタグ信号は“
0″′となっており、この結果マルチプレクサ23は、
アドレス線15−1−の上位ビット群のアドレス情報を
選択している。これによって、第1のメモリ13は計算
機システム2m 、2b〜2nより与えられたアドレス
情報によって直接的にアドレス指定を受け、そのアクセ
スアドレスにデータバス12上のブータラ書込む。
Next, the operation of the apparatus configured as described above will be explained with reference to FIGS. 3 to 5. Now, "θ" is given as the tag signal on the signal line 17, and "1" is given to the write signal 11. Then, since only the gate circuit 21 is open, only the first memory 13 is written. A signal is given. Also, during this write, the tag signal on the signal line 18 is “
0″′, and as a result, the multiplexer 23
Address information of the upper bit group of address line 15-1- is selected. As a result, the first memory 13 is directly addressed by the address information given by the computer systems 2m, 2b to 2n, and the booter on the data bus 12 is written to the access address.

またこのようなライト時において、前記信号線17上の
タグ信号が“1″であると、今度はゲート回路19のみ
が開成され、前記ライト信号は前記第2のメモリ14に
与えられることに々るっこれによって第2のメモリ14
はアドレス情報の上位ビット群によってアドレス指定さ
れ、そのアクセスアドレスにデータバス12上のデータ
を書込むことになる。この場合、データバス12上に乗
せられるデータは、前記第1のメモリ13を間接的にア
クセスする為の間接アドレス情報である。
Further, at the time of such a write, if the tag signal on the signal line 17 is "1", only the gate circuit 19 is opened this time, and the write signal is given to the second memory 14. By this, the second memory 14
is addressed by the upper bit group of the address information, and data on the data bus 12 is written to the access address. In this case, the data carried on the data bus 12 is indirect address information for indirectly accessing the first memory 13.

このようにして信号線18上のタグ信号t“0゛とした
状態で、信号線11上のタグ信号を“θ″として第1の
アクセス形態を示すモードが設定され、また上記信号線
17上のタグ信号を“1″として第2のアクセス形態を
示すモードが設定される。そして、上記第1のアクセス
モードにおいて、笛lのメモリ13がアドレス情報によ
って直接アクセスされ、また第2のアクセスモードにお
いて第2のメモリ14がアドレス情報(上位ビット群)
によって直接アクセスされる。
In this way, with the tag signal t on the signal line 18 set to "0", the tag signal on the signal line 11 is set to "θ", and a mode indicating the first access mode is set; A mode indicating a second access mode is set by setting the tag signal of "1" to "1". Then, in the first access mode, the memory 13 of the whistle I is directly accessed by the address information, and in the second access mode, The second memory 14 is address information (upper bit group)
directly accessed by

また、ライト時において前記信号線18上のタグ信号が
“1“なるとき、マルチプレクサ23は、前記アドレス
情報の上位ビット群データに代えて、第2のメモリ14
から読出される間接アドレス情報を選択している。この
第2のメモリ14は、前記直接的に与えられるアドレス
情報(上位ビット群)によってアクセスされるアドレス
に予め格納した間接アドレス情報を読出すもので、これ
によってアドレス情報の変更が行われている。このアド
レス情報の変更により前記第1のメモリ!3が間接的に
アクセスされるようになっている。
Further, when the tag signal on the signal line 18 becomes "1" during writing, the multiplexer 23 sends the data to the second memory 14 instead of the upper bit group data of the address information.
The indirect address information to be read from is selected. This second memory 14 reads out indirect address information stored in advance at an address accessed by the directly given address information (upper bit group), thereby changing the address information. . By changing this address information, the first memory! 3 is accessed indirectly.

また第1および第2のメモリ13.14からのデータ読
出し゛アクセス時には、ライト信号が“O″に設定され
る。このライト信号は、インバータ回路24により反転
され、ゲート回路25゜26に印加されており、さらに
ゲート回路25には信号線17のタグ信号が、ゲート回
路26には該タグ信号金インバータ回路20で反転した
信号がそれぞれ印加されている。その結果ゲート回路2
5は、ライト信号22が“θ″、かつ信号#77上のタ
グ信号が“1“の時その出力が“1″′となり、第2の
メモリ14の読み出しデータをデータバス12に出力せ
しめ、ゲート回路26は、ライト信号22が“0″′、
かつ該タグ信号が“Cの時、その出力が“1″′となり
、第1のメモリ13の読み出しデータ金データノ(ス1
2に出力せしめるように動作し、データ読み出しアクセ
スが行なわれる。そしてこの第1のメモリ13の読み出
しの場合にも、すでに述べた書き込み時と同様に前記信
号線18上のタグ信号によって直接アクセスと間接アク
セスとが制御されるようになっている。
Further, when accessing to read data from the first and second memories 13 and 14, the write signal is set to "O". This write signal is inverted by the inverter circuit 24 and applied to the gate circuits 25 and 26. Furthermore, the gate circuit 25 receives the tag signal on the signal line 17, and the gate circuit 26 receives the tag signal from the inverter circuit 20. Inverted signals are applied to each. As a result, gate circuit 2
5, when the write signal 22 is "θ" and the tag signal on the signal #77 is "1", its output becomes "1"', and outputs the read data of the second memory 14 to the data bus 12, The gate circuit 26 is configured so that the write signal 22 is "0"',
And when the tag signal is "C", its output becomes "1"', and the read data of the first memory 13 is read out.
2, and data read access is performed. In the case of reading from the first memory 13 as well, direct access and indirect access are controlled by the tag signal on the signal line 18, as in the writing described above.

以上述べたように、2つのタグ信号の状態に応じて第1
および第2のメモリx3.14に対するアクセス形態が
制御されるようになっている。つまり、信号線17.1
8上のタグ信号が“0″であるとき、第1のアクセス形
態として第1のメモリ13が直接アクセスされ、上記信
号線17上のタグ信号が“1″なるとき、第2のアクセ
ス形態として第2のメモリ14のみが直接アクセスされ
るようになっている。また信号線18上のタグイき号が
“1″である場合には、第2のメモリ14から続出され
たアドレス情報3以って、第1のメモリ13が間接的に
アクセスされるようになっている。尚、第1のメモリ1
3を直接アクセスできることにより第2のメモリ14に
間接アドレス情報を書込む以前にパル1のメモリ13を
アクセスでき、メモリのテストなどが容易におこなえる
As mentioned above, depending on the state of the two tag signals, the first
And the access form to the second memory x3.14 is controlled. In other words, signal line 17.1
When the tag signal on the signal line 17 is "0", the first memory 13 is directly accessed as the first access mode, and when the tag signal on the signal line 17 is "1", the first memory 13 is directly accessed as the second access mode. Only the second memory 14 is directly accessed. Further, when the tag code on the signal line 18 is "1", the first memory 13 is accessed indirectly using the address information 3 successively output from the second memory 14. ing. Note that the first memory 1
By being able to directly access PAL 1, the memory 13 of PAL 1 can be accessed before writing indirect address information to the second memory 14, making it easy to test the memory.

ところで、このように構成された共有メモリ装置1の計
算機システム2a 、2b〜2nがら見たアドレス空間
は、第3図中空間27に示されるようになる。即ち、例
えば24ビツト、16Mバイトの容量を持ち、4にバイ
トの大きさでブロック化された4096ブロツクのアド
レス空間を持つものである。このようなアドレス空間に
おける1つのブロックを指定するには、24ビツトのア
ドレス情報のうち、上位12ビツトのデータを用いるこ
とによって可能となる。
Incidentally, the address space of the thus configured shared memory device 1 viewed from the computer systems 2a, 2b to 2n is as shown in space 27 in FIG. That is, it has a capacity of, for example, 24 bits and 16 Mbytes, and an address space of 4096 blocks divided into 4 byte size blocks. One block in such an address space can be specified by using the upper 12 bits of the 24-bit address information.

これに対して一般に共有メモリである第1のメモリ13
の容量は小さく、その谷*1r例えば1Mバイトとし、
アドレスを20ビツトで表現するものとすれば、4にバ
イトの大きさのブロックfc256個設定することが可
能となる1、そしてこれらのブロックを、20ビツトの
アドレス情報のうち上位8ビツトで指定することが可能
となる。
In contrast, the first memory 13, which is generally a shared memory
The capacity of
If an address is expressed in 20 bits, it is possible to set 256 byte-sized blocks fc1, and these blocks are specified using the upper 8 bits of the 20-bit address information. becomes possible.

しかして、計算機システム2* + 2b〜2nから見
たアドレス空間に比して実際の第1のメモリ13のアド
レス空間が小さい為、これを効果的に用いる為rCyl
各アクモアクセ2時点とするブロックを、実際の第1の
メモリ13上の各ブロックにそれぞれ対応付けしてやる
ことが必要となる。従って、例えば第3図中矢印で示す
ようにして、その対応付けが施される。この対応関係を
示すテーブルを格納するのが@2のメモリ14であり、
例えば第4図に示すようにアドレス情報の上位8ビツト
のデータをそれぞれ格納して構成される。この第2のメ
モリ14の各アドレス(計算機システムから見たブロッ
ク)と、各アドレスに格納された第1のメモリ13に対
するアドレス情報に↓っで上述した対応関係が示され、
これによって第1のメモリ1.−3が間接的にアドレス
指定されてアクセスされることになる。
However, since the actual address space of the first memory 13 is smaller than the address space seen from the computer system 2*+2b to 2n, rCyl
It is necessary to associate each block at the time point 2 of each Acmo Accessory with each block on the actual first memory 13. Therefore, the correspondence is made, for example, as shown by the arrow in FIG. The memory 14 of @2 stores the table showing this correspondence.
For example, as shown in FIG. 4, it is constructed by storing data of the upper eight bits of address information. The above-mentioned correspondence relationship is shown by ↓ between each address (block seen from the computer system) of this second memory 14 and the address information for the first memory 13 stored at each address,
This causes the first memory 1. -3 will be indirectly addressed and accessed.

即ち今、計算機システム2a 、2b〜2nがブロック
番号を示す上位12ビツトと、そのブロック内における
アドレスを示す下位12ビツトからなる計24ビットの
アドレス情報を共有メモリ装置1に対して与えられるも
のとする。
That is, assume that the computer systems 2a, 2b to 2n are given a total of 24 bits of address information to the shared memory device 1, consisting of the upper 12 bits indicating the block number and the lower 12 bits indicating the address within the block. do.

このようなアドレス情報の上記上位12ビツトのデータ
によって第2のメモリ14がアクセスされ、そのアドレ
スに格納された間接アドレス情報がd出さ7するものと
なる。この間接アドレス情報は第1のメモリ13のアク
セスせんとするブロック番号を示すものであり、これに
よってアドレス情報が変換されることになる。この変換
すれたアドレス情報によって第1のメモリ13のブロッ
クがアクセスされ、そのブロック内のアドレスが下位1
2ビツトのデータによシアクセスされることになる。こ
の概念が第5図に模式的に示される。かくして第3図に
示すように、複数の計算機システム2h、2b〜2n間
で共有されるデータを、任意のアドレスに割当ててこれ
を記憶することが可能となり、また各計算機システム2
m 、2b〜2nではその実行゛プログラムを変更する
ことなしに上記共有データをアクセスすることが可能と
なる。
The second memory 14 is accessed by the data of the upper 12 bits of such address information, and the indirect address information stored at that address is output 7. This indirect address information indicates the block number to be accessed in the first memory 13, and the address information is thereby converted. A block of the first memory 13 is accessed using this converted address information, and the address in the block is
2-bit data will be accessed. This concept is schematically illustrated in FIG. In this way, as shown in FIG. 3, it becomes possible to allocate and store data shared among a plurality of computer systems 2h, 2b to 2n to arbitrary addresses, and each computer system 2
In 2b to 2n, it is possible to access the shared data without changing the execution program.

尚、上記アドレス情報変換の為の第2のメモリ14の客
数は、上述した例にあっては4KX8ビツトで良く、L
SIメモリ1個によってこれを実現することが可能とな
る。またこの第2のメモリ14のデータ書換えは、通常
のメモリの場合と全く同様に行い得、装置全体を簡易に
構成することが可能となる。
In addition, the number of customers in the second memory 14 for the address information conversion may be 4K x 8 bits in the above example, and L
This can be achieved with one SI memory. Furthermore, data rewriting in the second memory 14 can be performed in exactly the same way as in the case of a normal memory, making it possible to easily configure the entire device.

尚、本発明は上記実施例に限定されるものではなく、ア
ドレス情報のビット数やそのデータフォーマットは仕様
に応じて定めればよい。また間接的碌アクセスを、変換
されたアドレス情報の全てを用いて行うようにしてもよ
い。要するに本発明はその要旨を逸脱しない範囲で種々
変形して実施することができる。
Note that the present invention is not limited to the above embodiments, and the number of bits of address information and its data format may be determined according to specifications. Further, indirect access may be performed using all of the converted address information. In short, the present invention can be implemented with various modifications without departing from the gist thereof.

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

第1図は計算機複合システムの概略構成図、第2図は本
発明の一実施例装置の概略構成図、第3図乃至第5図は
アドレス情報変換の形態を説明する為の図である。 1・・・共有メモリ装置、2 a e 2 b〜2n・
・・計算機システム、11・・・選択回路、12・・・
データバス、13・・・第1のメモリ、14・・・第2
のメモリ、15.16−・・アドレス信号馴、17.1
8・・・信号線(タグ情報)、19,21,25゜26
・・・ゲート回路、20.24・・・インバータ回路、
23・・・マルチプレクサ。
FIG. 1 is a schematic configuration diagram of a computer complex system, FIG. 2 is a schematic configuration diagram of an embodiment of the present invention, and FIGS. 3 to 5 are diagrams for explaining the form of address information conversion. 1... Shared memory device, 2 a e 2 b ~ 2n.
...Computer system, 11...Selection circuit, 12...
data bus, 13...first memory, 14...second
memory, 15.16--address signal familiarization, 17.1
8... Signal line (tag information), 19, 21, 25° 26
...gate circuit, 20.24...inverter circuit,
23...Multiplexer.

Claims (1)

【特許請求の範囲】[Claims] 複数の計算機システム間で共有されるデータを格納する
第1のメモリと、この第1のメモリを間接的にアクセス
する為の間接アドレス情報を格納する第2のメモリと、
前記各計算機システムが出力する直接アドレス情報に付
加されたアクセス形態識別の為のタグ情報を判別して前
記第1および第2のメモリのアクセスを制Sするアクセ
ス制御部とを備え、上記アクセス制御部は前記タグ情報
が第1の状態であるときには前記直接アドレス情報にて
前記第1のメモリを直接アクセスし、前記タグ情報が第
2の状態であるときには前記直接アドレス情報にて前記
第2のメモリを直接アクセスし、前記タグ情報が上記第
1および第2のいずれの状態でもないときには前記直接
アドレス情報にて前記第2のメモリをアクセスし、この
第2のメモリから読出される前記間接アドレス情報にて
前記第1のメモリをアクセスしてなることを特徴とする
共有メモリ装置。
a first memory that stores data shared between multiple computer systems; a second memory that stores indirect address information for indirectly accessing the first memory;
an access control unit that controls access to the first and second memories by determining tag information for access type identification added to direct address information output by each of the computer systems; The unit directly accesses the first memory using the direct address information when the tag information is in a first state, and accesses the second memory using the direct address information when the tag information is in a second state. When the tag information is not in either the first or second state, the second memory is accessed using the direct address information, and the indirect address information read from the second memory is accessed. A shared memory device, characterized in that the shared memory device accesses the first memory.
JP12534882A 1982-07-19 1982-07-19 Shared memory device Pending JPS5916064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12534882A JPS5916064A (en) 1982-07-19 1982-07-19 Shared memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12534882A JPS5916064A (en) 1982-07-19 1982-07-19 Shared memory device

Publications (1)

Publication Number Publication Date
JPS5916064A true JPS5916064A (en) 1984-01-27

Family

ID=14907889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12534882A Pending JPS5916064A (en) 1982-07-19 1982-07-19 Shared memory device

Country Status (1)

Country Link
JP (1) JPS5916064A (en)

Similar Documents

Publication Publication Date Title
US5175839A (en) Storage control system in a computer system for double-writing
US4513369A (en) Information processing system
US4188662A (en) Address converter in a data processing apparatus
EP0057096A2 (en) Information processing unit
EP0338089A1 (en) Apparatus for protecting local memory in a multiprocessor system
JPS5916064A (en) Shared memory device
JPH0323026B2 (en)
JPS6113633B2 (en)
JPS60150146A (en) Main memory selector of electronic computer
JPH07334420A (en) Extended memory control circuit
KR920003845B1 (en) Rom region expansion system for users of pc
JPH03204049A (en) Memory controller
KR200419444Y1 (en) External address expansion method using chip selection signal line
JPS59170956A (en) Coupling device of computer
JPH06337847A (en) Multiprocessor device
JP2900872B2 (en) Information processing device
JPH0160864B2 (en)
JPS62290957A (en) Message selection and storage system
JPH04337851A (en) Memory access system
JPH0926780A (en) Display control circuit
JPS58179977A (en) Memory controller
JPH10214489A (en) Associative memory
JPS60142438A (en) External storage device for data log
JPH08235054A (en) Shared memory
JPS6022381B2 (en) Memory address control method