JPH0644132A - Memory system and computer system - Google Patents

Memory system and computer system

Info

Publication number
JPH0644132A
JPH0644132A JP19553592A JP19553592A JPH0644132A JP H0644132 A JPH0644132 A JP H0644132A JP 19553592 A JP19553592 A JP 19553592A JP 19553592 A JP19553592 A JP 19553592A JP H0644132 A JPH0644132 A JP H0644132A
Authority
JP
Japan
Prior art keywords
data
memory
address
main memory
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.)
Withdrawn
Application number
JP19553592A
Other languages
Japanese (ja)
Inventor
Mitsuo Sawada
充雄 沢田
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
Sord Computer Corp
Original Assignee
Toshiba Corp
Sord Computer 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 Toshiba Corp, Sord Computer Corp filed Critical Toshiba Corp
Priority to JP19553592A priority Critical patent/JPH0644132A/en
Publication of JPH0644132A publication Critical patent/JPH0644132A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To incorporate a CPU module into a system and to access to a main memory at high speed without extending the bus width of a system bus when the bus width of a CPU bus is extended. CONSTITUTION:A bus interface 1c compares the address of an access object with an address stored in an address memory 1b at the time of read access, reads data corresponding to the address by which the compared result coincides from a data memory 1a and reads data corresponding to the address which coincides with the address of the access object, which is stored in an address memory 2b, when the compared result does not coincide. At the time of write access, 1c updates data stored in the data memory 1a into write data, and transfers data from the data memory 2a to the data memory 1a and updates transferred data into write data when the compared result does not coincide.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メインメモリの分散方
式を採用したメモリシステムおよびコンピュータシステ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory system and a computer system adopting a distributed main memory system.

【0002】[0002]

【従来の技術】従来、コンピュータシステムのプロセッ
サ(CPU)は、システムバスのバスタイミングと比較
して高速化し、システムバスの使用頻度が増大化してい
る。CPUは、システムバスを経由してメインメモリを
アクセスする。このため、CPUの高速化に応じて、メ
インメモリのアクセス速度を高速化することは、従来の
システムでは困難である。
2. Description of the Related Art Conventionally, the processor (CPU) of a computer system has become faster than the bus timing of the system bus, and the frequency of use of the system bus has increased. The CPU accesses the main memory via the system bus. Therefore, it is difficult for the conventional system to increase the access speed of the main memory according to the increase in the speed of the CPU.

【0003】一方、高速化と共に、大容量のメインメモ
リが要求されている。このような高速化および大容量化
の要求を満たすために、メインメモリを分割して分散配
置する分散方式が考えられている。分散方式では、メイ
ンメモリをシステムバスに接続されるメインメモリとC
PUバスに接続されるメインメモリとに分散配置され
る。
On the other hand, with the increase in speed, a large-capacity main memory is required. In order to meet such demands for high speed and large capacity, a distribution system in which the main memory is divided and distributed is considered. In the distributed method, the main memory and the main memory connected to the system bus are connected to the main memory.
It is distributed and arranged in the main memory connected to the PU bus.

【0004】このような方式を採用すると、CPUはC
PUバスに接続されたメインメモリをアクセスすること
により、システムバスの使用頻度を低下できるため、高
速アクセスを実現することができる。また、メインメモ
リをシステムバスに接続されたメモリモジュール(具体
的にはメモリカード等)として分散配置できるため、メ
インメモリ全体として大容量化を図ることができる。こ
の場合、CPUとメインメモリとはプロセッサモジュー
ル(CPUモジュール)として構成されている。
When such a system is adopted, the CPU is C
By accessing the main memory connected to the PU bus, the frequency of use of the system bus can be reduced, so that high speed access can be realized. Further, since the main memory can be distributed and arranged as memory modules (specifically, a memory card or the like) connected to the system bus, it is possible to increase the capacity of the main memory as a whole. In this case, the CPU and the main memory are configured as a processor module (CPU module).

【0005】ところで、CPUモジュールにおいて、メ
インメモリのアクセスの高速化を図るために、CPUバ
スのバス幅を拡張した新規のCPUモジュールを開発し
た場合に、この新規のCPUモジュールをそのまま従来
のシステムには使用できない。
By the way, in the case of developing a new CPU module in which the bus width of the CPU bus is expanded in order to speed up the access to the main memory in the CPU module, the new CPU module is used as it is in the conventional system. Cannot be used.

【0006】使用するためには、新規のCPUバスのバ
ス幅がシステムバスのバス幅のN倍である場合には、例
えば外付け回路等によりCPUバスのバス幅を1/Nに
して、システムに組み込む必要がある。あるいは、新規
のCPUモジュールに合わせて、システムを新規に開発
する必要がある。
For use, if the bus width of the new CPU bus is N times the bus width of the system bus, the bus width of the CPU bus is reduced to 1 / N by, for example, an external circuit or the like. Need to be incorporated into. Alternatively, it is necessary to newly develop the system according to the new CPU module.

【0007】[0007]

【発明が解決しようとする課題】メインメモリの分散方
式により、メインメモリ全体の大容量化を実現すること
ができる。しかし、CPUバスのバス幅を拡張した新規
のCPUモジュールを開発しても、従来のシステムに組
み込むためには、CPUバスのバス幅をシステムバスに
合わせて縮小する必要がある。また、新規のCPUモジ
ュールに合わせて、システムを新規に開発することも考
えられるが、開発コスト等の面から実際的ではない。し
たがって、単にメインメモリの分散方式を採用しても、
CPUによるメインメモリのアクセスの高速化の実現は
困難である。
The distributed system of the main memory makes it possible to increase the capacity of the entire main memory. However, even if a new CPU module in which the bus width of the CPU bus is expanded is developed, it is necessary to reduce the bus width of the CPU bus according to the system bus in order to incorporate it into the conventional system. Further, it is conceivable to newly develop the system in accordance with the new CPU module, but this is not practical in terms of development cost and the like. Therefore, even if the distribution method of main memory is simply adopted,
It is difficult to realize high-speed access to the main memory by the CPU.

【0008】本発明の目的は、メインメモリの分散方式
を採用したシステムにおいて、CPUモジュールのCP
Uバスのバス幅を拡張した場合に、システムバスのバス
幅を拡張することなく、CPUモジュールをシステムに
組み込み、メインメモリの高速アクセスの実現を図るこ
とができるメモリシステムおよびコンピュータシステム
を提供することにある。
An object of the present invention is to provide a CP for a CPU module in a system adopting a distributed system of main memory.
To provide a memory system and a computer system in which, when the bus width of the U bus is expanded, the CPU module can be incorporated into the system without expanding the bus width of the system bus to realize high-speed access of the main memory. It is in.

【0009】[0009]

【課題を解決するための手段】本発明は、メインメモリ
の分散方式を採用したメモリシステムにおいて、CPU
のリードアクセス時にアクセス対象のデータをCPUバ
スに接続された第1のメインメモリまたはシステムバス
に接続された第2のメインメモリからリードするように
制御するリード制御手段およびCPUのライトアクセス
時にアクセス対象のデータをライトデータに更新するラ
イト制御手段を備えたメモリシステムである。
SUMMARY OF THE INVENTION The present invention provides a CPU in a memory system employing a main memory distribution system.
Read control means for controlling the data to be accessed from the first main memory connected to the CPU bus or the second main memory connected to the system bus at the time of read access of 2 is a memory system including a write control unit that updates the data of (1) to write data.

【0010】また、本発明は、メインメモリの分散方式
を採用したコンピュータシステムにおいて、第1のメイ
ンメモリと第1のアドレス用メモリを有するプロセッサ
モジュール、第2のメインメモリと第2のアドレス用メ
モリを有するメモリモジュール、CPUのリードアクセ
ス時にアクセス対象のデータをCPUバスに接続された
第1のメインメモリまたはシステムバスに接続された第
2のメインメモリからリードするように制御するリード
制御手段およびCPUのライトアクセス時にアクセス対
象のデータをライトデータに更新するライト制御手段を
備えたコンピュータシステムである。
Further, according to the present invention, in a computer system adopting a distributed system of main memory, a processor module having a first main memory and a first address memory, a second main memory and a second address memory. A memory module having a CPU, read control means for controlling data to be accessed at the time of read access of the CPU to be read from the first main memory connected to the CPU bus or the second main memory connected to the system bus, and the CPU Is a computer system including write control means for updating access target data to write data at the time of write access.

【0011】[0011]

【作用】本発明のメモリシステムでは、リード制御手段
は、第1のメインメモリにアクセス対象のデータの有無
を判定し、データが存在すれば第1のメインメモリから
データをリードし、データが不存在の場合には第2のメ
インメモリに記憶されたデータを第1のメインメモリに
転送し、第1のメインメモリからアクセス対象の前記デ
ータをリードする。ライト制御手段は、第1のメインメ
モリにアクセス対象のアドレスのデータの有無を判定
し、データが存在すれば第1のメインメモリのデータを
ライトデータに更新し、データが不存在の場合には第2
のメインメモリに記憶されたデータを第1のメインメモ
リに転送し、第1のメインメモリのアクセス対象の前記
データをライトデータに更新する。
In the memory system of the present invention, the read control means determines whether or not there is data to be accessed in the first main memory, and if there is data, the data is read from the first main memory and the data is not written. If it exists, the data stored in the second main memory is transferred to the first main memory, and the data to be accessed is read from the first main memory. The write control means determines whether or not there is data at the address to be accessed in the first main memory, updates the data in the first main memory to write data if there is data, and if there is no data, Second
The data stored in the main memory is transferred to the first main memory, and the data to be accessed in the first main memory is updated to write data.

【0012】本発明のコンピュータシステムでは、リー
ド制御手段は、アクセス対象のアドレスと第1のアドレ
ス用メモリに記憶されたアドレスとを比較し、この比較
結果が一致したアドレスに対応するデータを第1のメイ
ンメモリからリードし、比較結果が不一致の場合には第
2のアドレス用メモリに記憶されたアクセス対象のアド
レスと一致するアドレスに対応するデータを第2のメイ
ンメモリからリードする。ライト制御手段は、アクセス
対象のアドレスと第1のアドレス用メモリに記憶された
アドレスとを比較し、第1のメインメモリに記憶されて
比較結果が一致したアドレスに対応するデータをライト
データに更新し、比較結果が不一致の場合には第2のア
ドレス用メモリに記憶されたアクセス対象のアドレスと
一致するアドレスに対応するデータを第1のメインメモ
リに転送し、この転送されたデータをライトデータに更
新する。
In the computer system of the present invention, the read control means compares the address to be accessed with the address stored in the memory for the first address, and the data corresponding to the address where the comparison result is the first is compared. Read from the main memory, and if the comparison result does not match, the data corresponding to the address that matches the access target address stored in the second address memory is read from the second main memory. The write control means compares the address to be accessed with the address stored in the first address memory, and updates the data corresponding to the address stored in the first main memory and the comparison result matches to the write data. If the comparison result does not match, the data corresponding to the address that matches the access target address stored in the second address memory is transferred to the first main memory, and this transferred data is written as write data. To update.

【0013】[0013]

【実施例】以下図面を参照して本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は同実施例に係わるコンピュータシス
テムの構成を示すブロック図、図2乃至図4は同実施例
の動作を説明するための概念図、図5および図6は同実
施例の動作を説明するためのフローチャートである。
FIG. 1 is a block diagram showing the configuration of a computer system according to the embodiment, FIGS. 2 to 4 are conceptual diagrams for explaining the operation of the embodiment, and FIGS. 5 and 6 are operations of the embodiment. 4 is a flowchart for explaining

【0015】本システムは、システムバス4に接続され
たプロセッサ(CPU)モジュール1、複数のメモリモ
ジュール2,3、I/Oモジュール5およびアドレス・
イニシャライザ6を有する。
This system includes a processor (CPU) module 1 connected to a system bus 4, a plurality of memory modules 2 and 3, an I / O module 5 and an address module.
It has an initializer 6.

【0016】CPUモジュール1は、データ用メモリ1
a、アドレス用メモリ1b、バスインターフェース1c
およびCPU1dを有する。データ用メモリ1aとアド
レス用メモリ1bは、システムのメインメモリの一部を
構成するメモリである。データ用メモリ1aはデータを
格納し、アドレス用メモリ1bはアドレスを格納する。
The CPU module 1 is a data memory 1
a, address memory 1b, bus interface 1c
And a CPU 1d. The data memory 1a and the address memory 1b are memories that form part of the main memory of the system. The data memory 1a stores data, and the address memory 1b stores addresses.

【0017】バスインターフェース1cは、CPUバス
1eを通じてCPU1dに接続されており、かつシステ
ムバス4に接続されている。バスインターフェース1c
は、CPU1dのリード/ライトアクセスの要求に応じ
て、メインメモリに対するリード制御およびライト制御
を実行するリード/ライト制御回路を構成する。
The bus interface 1c is connected to the CPU 1d through the CPU bus 1e and is also connected to the system bus 4. Bus interface 1c
Configures a read / write control circuit that executes read control and write control for the main memory in response to a read / write access request from the CPU 1d.

【0018】メモリモジュール2,3はメインメモリの
一部を構成し、それぞれデータ用メモリ2a,3aとア
ドレス用メモリ2b,3bを有する。メモリモジュール
2,3は、それぞれのバスインターフェース2c,3c
によりシステムバス4に接続されている。バスインター
フェース2c,3cは、それぞれデータ用メモリ2a,
3aとアドレス用メモリ2b,3bに対するリード制御
およびライト制御を実行する。
The memory modules 2 and 3 form a part of the main memory and have data memories 2a and 3a and address memories 2b and 3b, respectively. The memory modules 2 and 3 have respective bus interfaces 2c and 3c.
Is connected to the system bus 4. The bus interfaces 2c and 3c respectively include the data memories 2a and 2a.
Read control and write control for the memory 3a and the address memories 2b and 3b are executed.

【0019】I/Oモジュール5は、各種入出力装置の
インターフェースを構成する回路である。アドレス・イ
ニシャライザ6は、システムの電源投入時にメインメモ
リのアドレスをイニシャライズする回路である。次に、
同実施例の動作を説明する。
The I / O module 5 is a circuit which constitutes an interface of various input / output devices. The address initializer 6 is a circuit that initializes the address of the main memory when the power of the system is turned on. next,
The operation of the embodiment will be described.

【0020】まず、図5のステップS1に示すように、
CPU1dがメインメモリの指定アドレスに対してアク
セス要求を行なうと、バスインターフェース1cはメイ
ンメモリのリード制御またはライト制御を行なう。CP
U1dは、アクセス要求時に、図2(A)に示すような
アドレスを出力する。アドレスは、I/Oやメモリの選
択(チップセレクト等)に使用する部分X、アドレス用
メモリ1bに格納されるアドレス部分Yおよびデータ用
メモリ1a,アドレス用メモリ1bの入力用アドレス部
分Zからなる。
First, as shown in step S1 of FIG.
When the CPU 1d makes an access request to a designated address in the main memory, the bus interface 1c performs read control or write control of the main memory. CP
U1d outputs an address as shown in FIG. 2A at the time of access request. The address is composed of a portion X used for I / O and memory selection (chip select, etc.), an address portion Y stored in the address memory 1b, and an input address portion Z of the data memory 1a and the address memory 1b. .

【0021】バスインターフェース1cは、CPU1d
から受信したアドレスにより、アドレス用メモリ1bお
よびデータ用メモリ1aをアクセスし、CPU1dのア
クセス要求のアドレスとデータが記憶されているか否か
を判定する。具体的には、図2(B)に示すように、バ
スインターフェース1cは、CPU1dからのアドレス
部分Zの値Mにより、アドレス用メモリ1bおよびデー
タ用メモリ1aをアクセスする。アドレス用メモリ1b
には、データNに対応するアドレスLが記憶されてい
る。バスインターフェース1cは、CPU1dからのア
ドレス部分Yの値とアドレスLとを比較する(ステップ
S2)。
The bus interface 1c is a CPU 1d.
The address memory 1b and the data memory 1a are accessed by the address received from the CPU 1d, and it is determined whether the address and data of the access request of the CPU 1d are stored. Specifically, as shown in FIG. 2B, the bus interface 1c accesses the address memory 1b and the data memory 1a by the value M of the address portion Z from the CPU 1d. Address memory 1b
The address L corresponding to the data N is stored in. The bus interface 1c compares the value of the address portion Y from the CPU 1d with the address L (step S2).

【0022】比較結果が一致していれば(ステップS3
のYES)、バスインターフェース1cは、CPU1d
のアクセス要求のデータNがデータ用メモリ1aに記憶
されていると判定する。このとき、アクセス要求がリー
ドアクセスであれば(ステップS4のYES)、バスイ
ンターフェース1cは、データ用メモリ1aからデータ
Nをリードし、CPUバス1eを通じてCPU1dに転
送する(ステップS5)。
If the comparison results match (step S3)
YES), the bus interface 1c is the CPU 1d
It is determined that the access request data N is stored in the data memory 1a. At this time, if the access request is a read access (YES in step S4), the bus interface 1c reads the data N from the data memory 1a and transfers it to the CPU 1d through the CPU bus 1e (step S5).

【0023】アクセス要求がライトアクセスであれば
(ステップS4のNO)、バスインターフェース1cは
データ用メモリ1aの指定アドレスMにライトデータを
ライトする。即ち、指定アドレスLに対応するデータ用
メモリ1aのデータNを、ライトデータに更新する(ス
テップS6)。
If the access request is a write access (NO in step S4), the bus interface 1c writes the write data to the designated address M of the data memory 1a. That is, the data N of the data memory 1a corresponding to the designated address L is updated to the write data (step S6).

【0024】一方、比較結果が不一致の場合には(ステ
ップS3のNO)、バスインターフェース1cは図6に
示すような処理を実行する。ここで、CPU1dはアク
セス要求のアドレスとして、アドレス(X=0,Y=R
1,Z=55)を出力する。また、CPUモジュール1
のアドレス用メモリ1bおよびデータ用メモリ1aに
は、図3(A)に示すように、アドレス55のエリアに
それぞれアドレスR2,データD2が記憶されている。
また、メモリモジュール2のアドレス用メモリ2bおよ
びデータ用メモリ2aには、図3(B)に示すように、
アドレス55のエリアにそれぞれアドレスR1,データ
D1が記憶されている。
On the other hand, if the comparison results do not match (NO in step S3), the bus interface 1c executes the processing shown in FIG. Here, the CPU 1d uses the address (X = 0, Y = R as the address of the access request.
1, Z = 55) is output. In addition, the CPU module 1
In the address memory 1b and the data memory 1a, as shown in FIG. 3A, the address R2 and the data D2 are stored in the area of the address 55, respectively.
In the address memory 2b and the data memory 2a of the memory module 2, as shown in FIG.
Address R1 and data D1 are stored in the area of address 55, respectively.

【0025】アクセス要求がリードアクセスであれば
(ステップS7のYES)、バスインターフェース1c
は、システムバス4を通じてアドレス(X=0,Y=R
1,Z=55)を出力し、メモリモジュール2に対して
リード要求を行なう。メモリモジュール2では、バスイ
ンターフェース2cは、アドレス用メモリ2bおよびデ
ータ用メモリ2aからアドレスR1,データD1をリー
ドする。このアドレスR1,データD1を、バスインタ
ーフェース2cは、システムバス4を通じてバスインタ
ーフェース1cに転送する。
If the access request is a read access (YES in step S7), the bus interface 1c
Is an address (X = 0, Y = R through the system bus 4
1, Z = 55) is output and a read request is issued to the memory module 2. In the memory module 2, the bus interface 2c reads the address R1 and the data D1 from the address memory 2b and the data memory 2a. The bus interface 2c transfers the address R1 and the data D1 to the bus interface 1c through the system bus 4.

【0026】一方、バスインターフェース1cは、アド
レス用メモリ1bおよびデータ用メモリ1aからアドレ
スR2,データD2をリードし、メモリモジュール2の
バスインターフェース2cに転送する。これにより、バ
スインターフェース1cは、図3(C),(D)に示す
ように、CPUモジュール1のアドレス用メモリ1bに
記憶されたアドレスR2とメモリモジュール2のアドレ
ス用メモリ2bのアドレスR1とを交換する(ステップ
S8)。また、バスインターフェース1cは、図3
(C),(D)に示すように、CPUモジュール1のデ
ータ用メモリ1aに記憶されたデータD2とメモリモジ
ュール2のデータ用メモリ2aのデータD1とを交換す
る(ステップS9)。
On the other hand, the bus interface 1c reads the addresses R2 and D2 from the address memory 1b and the data memory 1a and transfers them to the bus interface 2c of the memory module 2. As a result, the bus interface 1c stores the address R2 stored in the address memory 1b of the CPU module 1 and the address R1 of the address memory 2b of the memory module 2 as shown in FIGS. Replace (step S8). The bus interface 1c is shown in FIG.
As shown in (C) and (D), the data D2 stored in the data memory 1a of the CPU module 1 and the data D1 of the data memory 2a of the memory module 2 are exchanged (step S9).

【0027】バスインターフェース1cは、図3(C)
に示すように、データ用メモリ1aに交換により記憶さ
れたアクセス対象のデータD1をリードし、CPU1d
に転送する(ステップS10)。
The bus interface 1c is shown in FIG.
As shown in FIG. 2, the data D1 to be accessed, which is stored by exchange in the data memory 1a, is read, and the CPU 1d
(Step S10).

【0028】一方、アクセス要求がライトアクセスであ
れば(ステップS7のNO)、バスインターフェース1
cは、システムバス4を通じてアドレス(X=0,Y=
R1,Z=55)を出力し、メモリモジュール2に対し
てリード要求を行なう。
On the other hand, if the access request is a write access (NO in step S7), the bus interface 1
c is an address (X = 0, Y =
R1, Z = 55) is output and a read request is issued to the memory module 2.

【0029】ここで、CPU1dは、アドレスR1に対
応するデータD1を更新するためのデータD3をライト
データとして出力する。また、CPUモジュール1のア
ドレス用メモリ1bおよびデータ用メモリ1aには、図
4(A)に示すように、アドレス55のエリアにそれぞ
れアドレスR2,データD2が記憶されている。また、
メモリモジュール2のアドレス用メモリ2bおよびデー
タ用メモリ2aには、図4(B)に示すように、アドレ
ス55のエリアにそれぞれアドレスR1,データD1が
記憶されている。
Here, the CPU 1d outputs the data D3 for updating the data D1 corresponding to the address R1 as write data. Further, in the address memory 1b and the data memory 1a of the CPU module 1, as shown in FIG. 4A, the address R2 and the data D2 are stored in the area of the address 55, respectively. Also,
In the address memory 2b and the data memory 2a of the memory module 2, as shown in FIG. 4B, the address R1 and the data D1 are stored in the area of the address 55, respectively.

【0030】メモリモジュール2では、バスインターフ
ェース2cは、アドレス用メモリ2bおよびデータ用メ
モリ2aからアドレスR1,データD1をリードする。
このアドレスR1,データD1を、バスインターフェー
ス2cは、システムバス4を通じてバスインターフェー
ス1cに転送する。
In the memory module 2, the bus interface 2c reads the address R1 and the data D1 from the address memory 2b and the data memory 2a.
The bus interface 2c transfers the address R1 and the data D1 to the bus interface 1c through the system bus 4.

【0031】一方、バスインターフェース1cは、アド
レス用メモリ1bおよびデータ用メモリ1aからアドレ
スR2,データD2をリードし、メモリモジュール2の
バスインターフェース2cに転送する。これにより、バ
スインターフェース1cは、図4(D)に示すように、
CPUモジュール1のアドレス用メモリ1bに記憶され
たアドレスR2とメモリモジュール2のアドレス用メモ
リ2bのアドレスR1とを交換する(ステップS1
1)。
On the other hand, the bus interface 1c reads the addresses R2 and D2 from the address memory 1b and the data memory 1a and transfers them to the bus interface 2c of the memory module 2. As a result, the bus interface 1c, as shown in FIG.
The address R2 stored in the address memory 1b of the CPU module 1 and the address R1 of the address memory 2b of the memory module 2 are exchanged (step S1).
1).

【0032】また、バスインターフェース1cは、図4
(D)に示すように、CPUモジュール1のデータ用メ
モリ1aに記憶されたデータD2とメモリモジュール2
のデータ用メモリ2aのデータD1とを交換する(ステ
ップS12)。
The bus interface 1c is shown in FIG.
As shown in (D), the data D2 and the memory module 2 stored in the data memory 1a of the CPU module 1
And the data D1 in the data memory 2a is exchanged (step S12).

【0033】バスインターフェース1cは、図4(C)
に示すように、データ用メモリ1aに交換により記憶さ
れたアクセス対象のデータD1をCPU1dからのライ
トデータD3に更新する(ステップS13)。
The bus interface 1c is shown in FIG.
As shown in, the access target data D1 stored by exchange in the data memory 1a is updated to the write data D3 from the CPU 1d (step S13).

【0034】このようにして、メインメモリをCPUモ
ジュール1およびメモリモジュール2,3に分散配置し
た分散方式において、CPU1dがアクセス要求したデ
ータがCPUモジュール1のメインメモリ(データ用メ
モリ1a)に存在すれば、CPUバス1eを通じてリー
ド/ライト動作を実行する。
In this way, in the distributed system in which the main memory is distributed in the CPU module 1 and the memory modules 2 and 3, the data requested by the CPU 1d exists in the main memory (data memory 1a) of the CPU module 1. For example, the read / write operation is executed through the CPU bus 1e.

【0035】また、不存在であれば、バスインターフェ
ース1cは、メモリモジュール2,3をアクセスし、メ
モリモジュール2,3のメインメモリに格納されたアク
セス要求のデータ(アドレスも含む)を、CPUモジュ
ール1のメインメモリに格納する。そして、CPUバス
1eを通じて、CPUモジュール1のメインメモリに対
するアクセス要求のリード/ライト動作を実行すること
になる。
If the bus interface 1c does not exist, the bus interface 1c accesses the memory modules 2 and 3 and transfers the access request data (including the address) stored in the main memory of the memory modules 2 and 3 to the CPU module. 1 in the main memory. Then, the read / write operation of the access request to the main memory of the CPU module 1 is executed through the CPU bus 1e.

【0036】したがって、結果的に、CPU1dはCP
Uモジュール1のCPUバス1eを通じて、メインメモ
リをアクセスすることができる。これにより、CPUバ
ス1eのバス幅を拡張した新規なCPUモジュール1を
開発した場合に、システムのシステムバス4のバス幅等
の変更を行なうことなく、新規なCPUモジュール1を
システムに組み込むことが可能となる。言い換えれば、
高速化を図った新規なCPUモジュール1をそのまま、
従来のシステムに組み込むことができる。
Therefore, as a result, the CPU 1d
The main memory can be accessed through the CPU bus 1e of the U module 1. As a result, when a new CPU module 1 in which the bus width of the CPU bus 1e is expanded is developed, the new CPU module 1 can be incorporated into the system without changing the bus width of the system bus 4 of the system. It will be possible. In other words,
The new CPU module 1 for high speed
Can be incorporated into conventional systems.

【0037】[0037]

【発明の効果】以上詳述したように本発明によれば、メ
インメモリの分散方式を採用したシステムにおいて、C
PUバスのバス幅を拡張して高速化を図った新規のCP
Uモジュールを、従来のシステムの変更を伴わずに、組
み込むことができる。したがって、分散方式によるメイ
ンメモリ全体の大容量化と共に、高速化のCPUモジュ
ールの組み込みを可能とするため、結果的にメインメモ
リの高速アクセスの実現を図ることができる。
As described above in detail, according to the present invention, in the system adopting the distributed system of the main memory, C
New CP with increased bus width of PU bus for higher speed
The U-module can be incorporated without modification of conventional systems. Therefore, it is possible to increase the capacity of the entire main memory by the distributed system and to incorporate a high-speed CPU module, and as a result, it is possible to achieve high-speed access to the main memory.

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

【図1】本発明の実施例に係わるコンピュータシステム
の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a computer system according to an embodiment of the present invention.

【図2】同実施例の動作を説明するための概念図。FIG. 2 is a conceptual diagram for explaining the operation of the embodiment.

【図3】同実施例の動作を説明するための概念図。FIG. 3 is a conceptual diagram for explaining the operation of the embodiment.

【図4】同実施例の動作を説明するための概念図。FIG. 4 is a conceptual diagram for explaining the operation of the embodiment.

【図5】同実施例の動作を説明するためのフローチャー
ト。
FIG. 5 is a flowchart for explaining the operation of the embodiment.

【図6】同実施例の動作を説明するためのフローチャー
ト。
FIG. 6 is a flowchart for explaining the operation of the embodiment.

【符号の説明】[Explanation of symbols]

1…プロセッサモジュール、1a,2a,3a…データ
用メモリ、1b,2b,3b…アドレス用メモリ、1
c,2c,3c…バスインターフェース。
1 ... Processor module, 1a, 2a, 3a ... Data memory, 1b, 2b, 3b ... Address memory, 1
c, 2c, 3c ... Bus interface.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUのアクセスによりデータの記憶/
再生を行なうメインメモリを複数に分割し、CPUバス
に接続された第1のメインメモリとシステムバスに接続
された第2のメインメモリから構成される分散メモリ手
段と、 前記CPUのリードアクセス時に、前記第1のメインメ
モリにアクセス対象のデータの有無を判定し、前記デー
タが存在すれば前記第1のメインメモリから前記データ
をリードし、前記データが不存在の場合には前記第2の
メインメモリに記憶された前記データを前記第1のメイ
ンメモリに転送し、前記第1のメインメモリからアクセ
ス対象の前記データをリードするリード制御手段と、 前記CPUのライトアクセス時に、前記第1のメインメ
モリにアクセス対象のアドレスのデータの有無を判定
し、前記データが存在すれば前記第1のメインメモリの
前記データをライトデータに更新し、前記データが不存
在の場合には前記第2のメインメモリに記憶された前記
データを前記第1のメインメモリに転送し、前記第1の
メインメモリのアクセス対象の前記データをライトデー
タに更新するライト制御手段とを具備したことを特徴と
するメモリシステム。
1. Data storage / access by CPU
A main memory for reproduction is divided into a plurality of parts, and a distributed memory means composed of a first main memory connected to a CPU bus and a second main memory connected to a system bus; and a read access of the CPU, The presence or absence of data to be accessed in the first main memory is determined, if the data exists, the data is read from the first main memory, and if the data does not exist, the second main memory is read. Read control means for transferring the data stored in the memory to the first main memory and reading the data to be accessed from the first main memory; and the first main during the write access of the CPU. The presence or absence of data at the address to be accessed in the memory is determined, and if the data exists, the data in the first main memory is Update to the first data, and when the data does not exist, the data stored in the second main memory is transferred to the first main memory, and the data to be accessed in the first main memory is updated. A memory system comprising a write control means for updating to write data.
【請求項2】 メインメモリを複数に分割し、CPUバ
スに接続された第1のメインメモリとシステムバスに接
続された第2のメインメモリから構成される分散メモリ
手段と、 前記第1のメインメモリ,前記CPUおよび前記第1の
メインメモリに記憶されたデータに対応するアドレスを
記憶し、前記CPUバスに接続された第1のアドレス用
メモリのそれぞれを有するプロセッサモジュールと、 第2のメインメモリおよび前記第2のメインメモリに記
憶されたデータに対応するアドレスを記憶する第2のア
ドレス用メモリのそれぞれを有するメモリモジュール
と、 前記CPUのリードアクセス時に、アクセス対象のアド
レスと第1のアドレス用メモリに記憶されたアドレスと
を比較し、この比較結果が一致したアドレスに対応する
データを前記第1のメインメモリからリードし、前記比
較結果が不一致の場合には前記第2のアドレス用メモリ
に記憶された前記アクセス対象のアドレスと一致するア
ドレスに対応するデータを前記第2のメインメモリから
リードするリード制御手段と、 前記CPUのライトアクセス時に、アクセス対象のアド
レスと第1のアドレス用メモリに記憶されたアドレスと
を比較し、前記第1のメインメモリに記憶されて前記比
較結果が一致したアドレスに対応するデータをライトデ
ータに更新し、前記比較結果が不一致の場合には前記第
2のアドレス用メモリに記憶された前記アクセス対象の
アドレスと一致するアドレスに対応するデータを前記第
1のメインメモリに転送し、この転送されたデータをラ
イトデータに更新するライト制御手段とを具備したこと
を特徴とするコンピュータシステム。
2. A distributed memory means that divides a main memory into a plurality of parts and is composed of a first main memory connected to a CPU bus and a second main memory connected to a system bus, and the first main memory. A processor module having a memory, an address corresponding to the data stored in the CPU and the first main memory, and a memory for the first address connected to the CPU bus; and a second main memory And a memory module having a second address memory for storing an address corresponding to the data stored in the second main memory, and an address to be accessed and a first address for a read access of the CPU. The address stored in the memory is compared, and the data corresponding to the address where this comparison result matches When data is read from the first main memory and the comparison result does not match, the data corresponding to the address that matches the access target address stored in the second address memory is stored in the second main memory. From the read control means and the address to be accessed at the time of the write access of the CPU are compared with the address stored in the first address memory, and the comparison result is stored in the first main memory. The data corresponding to the matched address is updated to the write data, and when the comparison result does not match, the data corresponding to the address matching the address of the access target stored in the second address memory is updated to the first data. And a write control means for updating the transferred data to write data. A computer system characterized by the above.
JP19553592A 1992-07-22 1992-07-22 Memory system and computer system Withdrawn JPH0644132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19553592A JPH0644132A (en) 1992-07-22 1992-07-22 Memory system and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19553592A JPH0644132A (en) 1992-07-22 1992-07-22 Memory system and computer system

Publications (1)

Publication Number Publication Date
JPH0644132A true JPH0644132A (en) 1994-02-18

Family

ID=16342712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19553592A Withdrawn JPH0644132A (en) 1992-07-22 1992-07-22 Memory system and computer system

Country Status (1)

Country Link
JP (1) JPH0644132A (en)

Similar Documents

Publication Publication Date Title
JP2784440B2 (en) Data page transfer control method
US7945737B2 (en) Memory hub with internal cache and/or memory access prediction
JP2003122648A (en) Semiconductor memory
JP2005535038A (en) Memory hub with internal row caching and access method.
JPH0719426B2 (en) Disk controller
KR100353448B1 (en) Apparatus and method for controlling shared memory
JPH0644132A (en) Memory system and computer system
US6813647B2 (en) Microcomputer system reading data from secondary storage medium when receiving upper address from outside and writing data to primary storage medium
JPH0652046A (en) Memory system
JP4071930B2 (en) Synchronous DRAM
JPH05225147A (en) Multiprocessor type data processing system
JPS5856277A (en) Method and device for information processing
JP2000099452A (en) Dma control device
JPH0421222B2 (en)
JP2002149593A (en) Hierarchical bus system
JPH08335190A (en) Memory card controller
JPH0619867A (en) Memory check system
JPH05282107A (en) External storage device
JPS5842555B2 (en) How to access the magnetic bubble device
JPH0652056A (en) Cache memory system
JPS61193245A (en) Memory control system
JPS5924427B2 (en) display device
JPH0261749A (en) Data transfer device
JPH0877072A (en) Cache memory device
JPS59231665A (en) Disk controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005