JPH0556544B2 - - Google Patents

Info

Publication number
JPH0556544B2
JPH0556544B2 JP61295314A JP29531486A JPH0556544B2 JP H0556544 B2 JPH0556544 B2 JP H0556544B2 JP 61295314 A JP61295314 A JP 61295314A JP 29531486 A JP29531486 A JP 29531486A JP H0556544 B2 JPH0556544 B2 JP H0556544B2
Authority
JP
Japan
Prior art keywords
address
buffer memory
boundary
processor
register
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
JP61295314A
Other languages
Japanese (ja)
Other versions
JPS63147248A (en
Inventor
Kazuhiko Maekawa
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.)
NEC Corp
Original Assignee
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP61295314A priority Critical patent/JPS63147248A/en
Publication of JPS63147248A publication Critical patent/JPS63147248A/en
Publication of JPH0556544B2 publication Critical patent/JPH0556544B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマルチプロセツサシステムのバツフア
メモリ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a buffer memory control method for a multiprocessor system.

〔従来の技術〕[Conventional technology]

従来のマルチプロセツサシステムは、性能およ
び機能が同じプロセツサから構成され、他のプロ
セツサのストア動作時、ストアアドレスを受取
り、自プロセツサ内のバツフアメモリに前記アド
レスが登録されているか否か調べ、登録されてい
る時には、該アドレスに対応するバツフアメモリ
のエントリーを無効化することによりマルチプロ
セツサシステムにおけるデータの一意性を保証し
ていた(例えば特開昭50−116145号)。
A conventional multiprocessor system consists of processors with the same performance and functionality, and when another processor performs a store operation, it receives a store address, checks whether the address is registered in the buffer memory of its own processor, and checks if the address is registered. When a multiprocessor system is in use, the uniqueness of data in a multiprocessor system is guaranteed by invalidating the buffer memory entry corresponding to the address (for example, Japanese Patent Laid-Open No. 116145/1983).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のマルチプロセツサシステムは、
性能が同じなので、おたがいにストアアドレスを
やりとりし、バツフアメモリを無効化できたが、
性能が異なるプロセツサから構成されるマルチプ
ロセツサシステムでは、たとえば性能が高いプロ
セツサが行なうストア動作に対するストアアドレ
スを性能が低いプロセツサが全て受取り、バツフ
アメモリを無効化することができないという問題
がある。それは性能が高いプロセツサからのスト
アアドレスをバツフアリングしたとしても、数分
の1のスピードでしかバツフアメモリを無効化す
ることができず、ストアアドレスのバツフアはオ
ーバーフローしまたオーバーフローする可能性が
発生した時に、性能の高いプロセツサのストア動
作を停止させてストアアドレスのバツフアがオー
バーフローすることを防ぐと、性能の高いプロセ
ツサの本来の性能が発揮できなくなるからであ
る。
The conventional multiprocessor system mentioned above is
Since the performance was the same, we were able to exchange store addresses and invalidate the buffer memory, but
In a multiprocessor system composed of processors with different performance, there is a problem that, for example, a processor with low performance receives all store addresses for a store operation performed by a processor with high performance, making it impossible to invalidate the buffer memory. Even if you buffer the store address from a high-performance processor, you can only invalidate the buffer memory at a fraction of the speed, and when the store address buffer overflows and there is a possibility that it will overflow again, This is because if the store operation of a high-performance processor is stopped to prevent the store address buffer from overflowing, the high-performance processor will not be able to demonstrate its original performance.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のバツフアメモリを有する情報処理装置
は、境界アドレスを保持する境界アドレス保持手
段と、バツフアメモリヘアドレスを与えるバツフ
アメモリアドレス手段と、該バツフアアドレス手
段の内容を順次更新するバツフアメモリアドレス
更新手段と、前記バツフアメモリアドレス手段に
より指示されたバツフアメモリのアドレスアレイ
から読出されたアドレスと、前記境界アドレス保
持手段の内容とを比較するアドレス比較手段と、
アドレスアレイから読出されたアドレスが境界ア
ドレスを越えていることを示す該アドレス比較手
段の出力によりバツフアメモリを無効化する手段
とを有している。
An information processing apparatus having a buffer memory according to the present invention includes a boundary address holding means for holding a boundary address, a buffer memory address means for giving a buffer memory address, and a buffer memory for sequentially updating the contents of the buffer address means. address comparing means for comparing the address read from the address array of the buffer memory designated by the address update means and the buffer memory address means with the contents of the boundary address holding means;
and means for invalidating the buffer memory by the output of the address comparison means indicating that the address read from the address array exceeds the boundary address.

〔作用〕[Effect]

低速のプロセツサ(情報処理装置)は境界アド
レスを越えるアドレスのエントリのみバツフアメ
モリを無効化するため、高速のプロセツサの機能
を阻害することがない。
Since the low-speed processor (information processing device) invalidates the buffer memory only for the entry of the address exceeding the boundary address, the functions of the high-speed processor are not inhibited.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のバツフアメモリを有する情報
処理装置の一実施例の要部のブロツク図である。
FIG. 1 is a block diagram of essential parts of an embodiment of an information processing apparatus having a buffer memory according to the present invention.

バツフアメモリはアドレスアレイ1とデータア
レイ2から構成されている。アドレスアレイ1、
データアレイ2へのアドレスを保持するアドレス
レジスタ12の他に、境界アドレスを保持する境
界アドレスレジスタ3が設けられている。バツフ
アメモリアドレスアレイ1とバツフアメモリデー
タアレイ2に対してアドレスレジスタ4、アドレ
スレジスタ4のアドレスを更新するアドレス更新
回路5、アドレスレジスタ12の下位とアドレス
更新回路5を選択してアドレスレジスタ4にアド
レスを出力するアドレス選択回路9が設けられ、
アドレスアレイ1に対してアドレスデータレジス
タ10、アドレスレジスタ12の上位と境界アド
レスレジスタ3を選択してアドレスデータレジス
タ10に出力するアドレスデータ選択回路11が
設けられている。アドレス比較回路6はバツフア
メモリメモリアドレスアレイ1から読出されたア
ドレスとアドレスデータレジスタ10のアドレス
を比較する。データレジスタ8はアドレス比較回
路6からの一致信号により、データアレイ2から
読出されたデータを保持し、一致信号が出力され
ないときは主記憶から読出されたデータを保持す
る。バツフアメモリ無効化回路7は、アドレスア
レイ1から読出されたアドレスがアドレスデータ
レジスタ10のアドレスより大きいことを示す信
号がアドレス比較回路6から出力されると、アド
レスアレイ1の前記アドレスのエントリーを無効
化する。
The buffer memory is composed of an address array 1 and a data array 2. address array 1,
In addition to the address register 12 that holds addresses to the data array 2, a boundary address register 3 that holds boundary addresses is provided. Address register 4 for buffer memory address array 1 and buffer memory data array 2; An address selection circuit 9 for outputting an address is provided,
An address data selection circuit 11 is provided for selecting the address data register 10, the upper part of the address register 12, and the boundary address register 3 for the address array 1, and outputting the selected data to the address data register 10. Address comparison circuit 6 compares the address read from buffer memory address array 1 with the address of address data register 10. Data register 8 holds data read from data array 2 in response to a match signal from address comparison circuit 6, and holds data read from main memory when no match signal is output. When a signal indicating that the address read from the address array 1 is larger than the address in the address data register 10 is output from the address comparison circuit 6, the buffer memory invalidation circuit 7 invalidates the entry of the address in the address array 1. do.

次に、本実施例の動作を説明する。 Next, the operation of this embodiment will be explained.

アドレスレジスタ12の内容で通常のリード・
リクエストが発行されると、アドレスは上位、下
位に分けられそれぞれアドレスデータ選択回路1
1、アドレス選択回路9で選択され、アドレスデ
ータレジスタ10、アドレスレジスタ4にセツト
される。バツフアメモリのアドレスアレイ1とデ
ータアレイ2は、それぞれアドレスレジスタ4の
内容によつて読出される。アドレスアレイ1から
読出されたデータは、アドレスデータレジスタ1
0の内容とアドレス比較回路6により比較され
る。比較の結果一致していれば、データアレイ2
から読出されたデータはデータレジスタ8にセツ
トされる。もし一致していなければ要求データは
バツフアメモリにないことになり、主記憶から読
出される。主記憶から読出されたデータはデータ
レジスタ8にセツトされるとともにデータアレイ
2にも書込まれる。その時、アドレスアレイ1に
もアドレスデータレジスタ10の内容が書込まれ
る。
Normal read/write based on the contents of address register 12.
When a request is issued, the address is divided into upper and lower parts, and each address data selection circuit 1
1. Selected by address selection circuit 9 and set in address data register 10 and address register 4. Address array 1 and data array 2 of the buffer memory are read out according to the contents of address register 4, respectively. The data read from address array 1 is stored in address data register 1.
It is compared with the contents of 0 by the address comparison circuit 6. If the comparison results match, data array 2
The data read from is set in data register 8. If they do not match, the requested data is not in the buffer memory and is read from the main memory. The data read from the main memory is set in the data register 8 and also written to the data array 2. At that time, the contents of the address data register 10 are also written to the address array 1.

一方、バツフアメモリの無効化要求は、プロシ
ージヤコール等によるプロセスの移動を契機に行
われる。この場合、境界アドレスレジスタ3の内
容がアドレスデータ選択回路11により選択さ
れ、アドレスデータレジスタ10にセツトされ、
アドレスレジスタ4がリセツトされる。そしてア
ドレス選択回路9は、アドレス更新回路5を選択
するように制御する。アドレスレジスタ4はアド
レス更新回路5により順次+1づつ更新される。
アドレスアレイ1はアドレスレジスタ4で指示さ
れた内容を出力する。アドレス比較回路6は、該
出力とアドレスデータレジスタ10に格納されて
いる境界アドレスを比較し、境界アドレスより大
きなアドレスを検出すると、バツフアメモリ無効
化回路7により該エントリーを無効化する。アド
レス更新回路5により全エントリーが処理される
と無効化は終了する。境界アドレスより大きなア
ドレスを無効化するのか小さなアドレスを無効化
するのかは無効化リクエストの種類により切換え
る。
On the other hand, a buffer memory invalidation request is made when a process is moved by a procedure call or the like. In this case, the contents of the boundary address register 3 are selected by the address data selection circuit 11 and set in the address data register 10,
Address register 4 is reset. Then, the address selection circuit 9 controls the address update circuit 5 to be selected. The address register 4 is sequentially updated by +1 by the address update circuit 5.
Address array 1 outputs the contents specified by address register 4. The address comparison circuit 6 compares the output with the boundary address stored in the address data register 10, and if an address larger than the boundary address is detected, the buffer memory invalidation circuit 7 invalidates the entry. When all entries are processed by the address update circuit 5, invalidation ends. Whether to invalidate an address larger than the boundary address or an address smaller than the boundary address is switched depending on the type of invalidation request.

なお、本実施例では1コンパートメント構成の
バツフアメモリを示したが、複数コンパートメン
ト構成にしても同様に本発明を適用できる。ま
た、本実施例では境界アドレスレジスタ3を専用
に設けたが、アドレスデータレジスタ10を境界
アドレス保持手段とし、境界アドレスレジスタ3
をなくした構成も可能である。この場合、バツフ
アメモリ無効換処理開始時、マイクロプログラム
などによりアドレスデータレジスタ10に境界ア
ドレスがセツトされる。
Although this embodiment shows a buffer memory having a one-compartment configuration, the present invention can be similarly applied to a multiple-compartment configuration. Further, in this embodiment, the boundary address register 3 is provided exclusively, but the address data register 10 is used as a boundary address holding means, and the boundary address register 3
A configuration without the is also possible. In this case, at the start of the buffer memory invalidation processing, a boundary address is set in the address data register 10 by a microprogram or the like.

第2図は本発明を実施したマルチプロセツサシ
ステムの構成を示すブロツク図である。第1の主
記憶21は主として第1の演算プロセツサ25に
より使用される。第1の演算プロセツサ25は、
第1図で示した本発明のバツフアメモリ27を有
する低速高機能のプロセツサである。第2の主記
憶22は主として第2の演算プロセツサ26によ
り使用される。第2の演算プロセツサ26は高速
低機能のプロセツサである。第1の演算プロセツ
サ25は主として第1の主記憶21を使用する
が、第1のシステム制御装置23から第2のシス
テム制御装置24を介して他系の主記憶22にも
普通にアクセスすることができる。第1の演算プ
ロセツサ25と第2のプロセツサ26間にはスト
アリクエストにるバツフアメモリ一致処理機構は
ない。それは、第2の演算プロセツサ26のほう
が第1の演算プロセツサ25より数倍処理スピー
ドが速いため第2の演算プロセツサ26からスト
アアドレスを第1の演算プロセツサ25へ送つて
も処理しきれず、結果として第2の演算プロセツ
サ26の高速処理能力が低下してしまうことにな
るからである。第2図の実施例では、第2の演算
プロセツサ26が主記憶にストアしてもバツフア
メモリ無効化要求を第1の演算プロセツサ25に
送らず、プロセスの制御が第2の演算プロセツサ
26から第1の演算プロセツサ25に移つた時バ
ツフアメモリ27の第2の記憶部22に対応する
エントリーのみクリアする。つまり第1図で説明
した境界アドレスが第1の主記憶21と第2の主
記憶22の境界を示すように制御することによ
り、第1の演算プロセツサ25のバツフアメモリ
27の第2の主記憶22に対応するエントリーの
み無効化できる。第2の演算プロセツサ26は第
1の主記憶21をアクセスはしない。第1の演算
プロセツサ25は第1と第2の主記憶21,22
をアクセスする。入出力プロセツサ28と第1の
プロセツサ25間は従来のバツフアメモリ一致処
理が行なわれる。つまり、第1のプロセツサ25
のバツフアメモリ27は、第1図で示した無効化
手段で従来技術の無効化手段を備えている。
FIG. 2 is a block diagram showing the configuration of a multiprocessor system embodying the present invention. The first main memory 21 is mainly used by the first arithmetic processor 25 . The first arithmetic processor 25 is
This is a low-speed, high-performance processor having the buffer memory 27 of the present invention shown in FIG. The second main memory 22 is mainly used by the second arithmetic processor 26. The second arithmetic processor 26 is a high-speed, low-performance processor. The first arithmetic processor 25 mainly uses the first main memory 21, but can also normally access the main memory 22 of another system from the first system control device 23 via the second system control device 24. I can do it. There is no buffer memory matching processing mechanism for store requests between the first arithmetic processor 25 and the second processor 26. This is because the processing speed of the second arithmetic processor 26 is several times faster than that of the first arithmetic processor 25, so even if the store address is sent from the second arithmetic processor 26 to the first arithmetic processor 25, it cannot be processed completely. This is because the high-speed processing capability of the second arithmetic processor 26 will be reduced. In the embodiment shown in FIG. 2, even if the second arithmetic processor 26 stores data in the main memory, a buffer memory invalidation request is not sent to the first arithmetic processor 25, and the process control is transferred from the second arithmetic processor 26 to the first arithmetic processor 25. When moving to the arithmetic processor 25, only the entry corresponding to the second storage section 22 of the buffer memory 27 is cleared. In other words, by controlling the boundary address explained in FIG. 1 to indicate the boundary between the first main memory 21 and the second main memory 22, Only entries corresponding to can be invalidated. The second arithmetic processor 26 does not access the first main memory 21. The first arithmetic processor 25 stores the first and second main memories 21 and 22.
access. Conventional buffer memory matching processing is performed between the input/output processor 28 and the first processor 25. In other words, the first processor 25
The buffer memory 27 is provided with a prior art invalidating means, which is the invalidating means shown in FIG.

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

以上説明したように本発明は、境界アドレスを
保持する境界アドレス保持手段を設け、境界アド
レスを越える特定主記憶に対応するバツフアメモ
リのエントリーのみ無効化することにより、性
能、機能の異なつたプロセツサからなるマルチプ
ロセツサシステムを構築することが可能になり、
マルチプロセツサシステム全体として各プロセツ
サの高速性、高機能を生かしたシステムを提供す
ることが可能となる効果がある。
As explained above, the present invention provides a boundary address holding means for holding a boundary address, and invalidates only the buffer memory entry corresponding to a specific main memory that exceeds the boundary address. It becomes possible to build a multiprocessor system,
This has the effect of making it possible to provide a system that takes advantage of the high speed and high functionality of each processor as a multiprocessor system as a whole.

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

第1図は本発明の情報処理装置の一実施例の主
要部分のみを示すブロツク図、第2図は第1図の
バツフアメモリを有するプロセツサを含むマルチ
プロセツサシステムのブロツク図である。 1……バツフアメモリアドレスアレイ、2……
バツフアメモリデータアレイ、3……境界アドレ
スレジスタ、4……アドレスレジスタ、5……ア
ドレス更新回路、6……アドレス比較回路、7…
…バツフアメモリ無効化回路、8……データレジ
スタ、9……アドレス選択回路、10……アドレ
スデータレジスタ、11……アドレスデータ選択
回路、12……アドレスレジスタ、21……第1
の主記憶、22……第2の主記憶、23……第1
のシステム制御装置、24……第2のシステム制
御装置、25……第1の演算プロセツサ、26…
…第2の演算プロセツサ、27……バツフアメモ
リ、28……入出力プロセツサ。
FIG. 1 is a block diagram showing only the main parts of an embodiment of the information processing apparatus of the present invention, and FIG. 2 is a block diagram of a multiprocessor system including a processor having the buffer memory shown in FIG. 1... Buffer memory address array, 2...
Buffer memory data array, 3...Boundary address register, 4...Address register, 5...Address update circuit, 6...Address comparison circuit, 7...
... Buffer memory invalidation circuit, 8 ... Data register, 9 ... Address selection circuit, 10 ... Address data register, 11 ... Address data selection circuit, 12 ... Address register, 21 ... First
main memory, 22... second main memory, 23... first
system control device, 24... second system control device, 25... first arithmetic processor, 26...
. . . second arithmetic processor, 27 . . . buffer memory, 28 . . . input/output processor.

Claims (1)

【特許請求の範囲】 1 マルチプロセツサシステムを構成する、バツ
フアメモリを有するプロセツサ装置において、 境界アドレスを保持する境界アドレス保持手段
と、 バツフアメモリヘアドレスを与えるバツフアメ
モリアドレス手段と、 該バツフアアドレス手段の内容を順次更新する
バツフアメモリアドレス更新手段と、 前記バツフアメモリアドレス手段により指示さ
れたバツフアメモリのアドレスアレイから読出さ
れたアドレスと、前記境界アドレス保持手段の内
容とを比較するアドレス比較手段と、 アドレスアレイから読出されたアドレスが境界
アドレスを越えていることを示す該アドレス比較
手段の出力によりバツフアメモリの全てまたは該
当エントリーのみを無効化する手段とを有するこ
とを特徴とするバツフアメモリを有するプロセツ
サ装置。
[Scope of Claims] 1. A processor device having a buffer memory constituting a multiprocessor system, comprising: boundary address holding means for holding a boundary address; buffer memory address means for providing a buffer memory address; buffer memory address update means for sequentially updating the contents of the address means; and address comparison for comparing the address read from the address array of the buffer memory instructed by the buffer memory address means with the contents of the boundary address holding means. and means for invalidating all or only the corresponding entry in the buffer memory by the output of the address comparing means indicating that the address read from the address array exceeds a boundary address. Processor device.
JP61295314A 1986-12-10 1986-12-10 Information processor containing buffer memory Granted JPS63147248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61295314A JPS63147248A (en) 1986-12-10 1986-12-10 Information processor containing buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61295314A JPS63147248A (en) 1986-12-10 1986-12-10 Information processor containing buffer memory

Publications (2)

Publication Number Publication Date
JPS63147248A JPS63147248A (en) 1988-06-20
JPH0556544B2 true JPH0556544B2 (en) 1993-08-19

Family

ID=17819003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61295314A Granted JPS63147248A (en) 1986-12-10 1986-12-10 Information processor containing buffer memory

Country Status (1)

Country Link
JP (1) JPS63147248A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02156355A (en) * 1988-12-08 1990-06-15 Nec Corp Information processor

Also Published As

Publication number Publication date
JPS63147248A (en) 1988-06-20

Similar Documents

Publication Publication Date Title
JPS643755A (en) Cache memory control system
US5313602A (en) Multiprocessor system and method of control over order of transfer of data between buffer storages
US4658356A (en) Control system for updating a change bit
JPH0556544B2 (en)
JPS6153747B2 (en)
JPH04128956A (en) Multi-processor system
JPH06274415A (en) Shared memory system
JPH0752423B2 (en) Data transfer control method
JPS63155254A (en) Information processor
JPH03269650A (en) Buffer storage
JPH0612363A (en) Memory controller and multiprocessor system
JPH07120339B2 (en) Multiprocessor system
JP3437224B2 (en) Delay invalidation method
JPH02187840A (en) Cache memory control system
JPS63234338A (en) Information processor
JPH057740B2 (en)
JPH02226447A (en) Computer system and memory access therefor
JPH0447344B2 (en)
JPH0322053A (en) Move in buffer control system
JPH04190440A (en) Address conversion control system
JPH03127146A (en) Information processor
JPH02217944A (en) Bus monitoring device in cache memory
JPS63217460A (en) Buffer control circuit
JPH04313134A (en) Computer system
JPH01284941A (en) Information processor