[go: up one dir, main page]

JPH0217551A - Memory access processing device - Google Patents

Memory access processing device

Info

Publication number
JPH0217551A
JPH0217551A JP63169810A JP16981088A JPH0217551A JP H0217551 A JPH0217551 A JP H0217551A JP 63169810 A JP63169810 A JP 63169810A JP 16981088 A JP16981088 A JP 16981088A JP H0217551 A JPH0217551 A JP H0217551A
Authority
JP
Japan
Prior art keywords
processing device
cache
memory access
arithmetic processing
processing
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
JP63169810A
Other languages
Japanese (ja)
Inventor
Tadashi Hara
忠 原
Ichiro Hara
一郎 原
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP63169810A priority Critical patent/JPH0217551A/en
Publication of JPH0217551A publication Critical patent/JPH0217551A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To initialize the cache memory of an arithmetic unit with a small amount of hardware by providing a memory access processing device with an initialization request generating means. CONSTITUTION:An initializing signal and an address to the cache memory of an arithmetic processing device 201 are generated in an initializing request generating means 35 repeatedly in accordance with a required number of blocks and are selected by selecting circuits 36 and 37 and pass a bus 38 of cache coincidence processing request and are inputted to the arithmetic processing device 201. They are selected by a selecting circuit 221 in the arithmetic processing device 201 and are sent to an address array 241 to perform initialization by the same operation as cache coincidence processing. The initializing request signal is sent repeatedly until all of effective bits of the address array which hold address information and effective states of a corresponding data array are invalidated, thus initializing the cache memory.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、を記憶装置の一部の写しを保持するデータア
レイと該対応するデータアレイの主記憶装置上でのアド
レス情報および有効状態を保持するアドレスアレイを持
ったキャッシュメモリを有する演算処理装置と入出力処
理装置および主記憶装置とに接続され、前記演算処理装
置と前記入出力処理装置からのメモリアクセス要求に対
するメモリアクセス処理を行ない、前記演算処理装置の
キャッシュ一致処理を行f、iうだめのキャッシュ致処
理丁段を有するメモリアクセス処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data array that holds a copy of a portion of a storage device, and the address information and valid state of the corresponding data array on the main storage device. connected to an arithmetic processing device having a cache memory having an address array to hold, an input/output processing device, and a main storage device, and performs memory access processing in response to memory access requests from the arithmetic processing device and the input/output processing device; The present invention relates to a memory access processing device having a cache matching processing stage for rows f and i for the cache matching processing of the arithmetic processing device.

[従来の技術] キャッシュメモリはアドレスアレイとデータアレイの対
により構成され、アドレスアレイとデータアレイはRA
Mで構成されているため、初期化を行なう必要がある。
[Prior Art] A cache memory is composed of a pair of address array and data array, and the address array and data array are connected to RA.
Since it is composed of M, it is necessary to initialize it.

この初期化は対応するデータアレイのアドレス情報およ
び有効状態を保持するアドレスアレイの有効ビットをす
べて無効化すればよい。
This initialization can be done by invalidating all the address information of the corresponding data array and the valid bits of the address array that hold the valid state.

従来、このキャッシュメモリの初期化は、各演算装置に
1台づつ配置された初期化要求発生手段で発生した初期
化信号により行なわれていた。
Conventionally, this cache memory has been initialized by an initialization signal generated by initialization request generation means arranged one in each arithmetic unit.

第2図は演算処理装置とメモリアクセス処理装置と主記
憶装置と入出力処理装置とからなる情報処理システムの
従来例のブロック図である。
FIG. 2 is a block diagram of a conventional example of an information processing system including an arithmetic processing unit, a memory access processing unit, a main storage device, and an input/output processing unit.

この情報処理システムは、入出力処理装置10、.10
2と、演算処理装置50..50□と、メモリアクセス
処理装置60と、主記憶装置40とで構成されている。
This information processing system includes input/output processing devices 10, . 10
2, and an arithmetic processing device 50. .. 50□, a memory access processing device 60, and a main storage device 40.

演算処理装置50.(502)は、命令取出し回路や演
算処理回路(不図示)からのメモリアクセス要求を受は
付ける入力回路211(212)と、初期化要求発生手
段25.(252)と、データアレイ23、(23□)
と、アドレスアレイ241(242)と、入力回路21
.(212)と初期化要求発生手段25、(252)か
らの有効ビット無効化信号と後述するキャッシュ一致処
理回路33 (34)からのキャッシュ一致処理結果を
選択し、アドレスアレイ241(242)に出力する選
択回路221(222)とを打している。メモリアクセ
ス処理装置60は、主記憶装置40へのメモリアクセス
要求を処理するメモリアクセス処理回路32と、演算処
理装置50.のキャッシュメモリ一致処理を行なうため
に演算処理装置501のキャッシュメモリのアドレスア
レイ241のコピーを持つキャッシュメモリ一致処理回
路33と、演算処理装置50□のキャッシュメモリのア
ドレスアレイ242のコピーを持つキャッシュメモリ一
致処理回路34と、入出力処理装置10.,10□と演
算処理装置50..50□からの要求を選択する選択回
路31とからなっている。各演算処理装置501(50
□)のキャッシュメモリの初期化は、各演算処理装置5
0.(50□)にある初期化要求発生手段251(25
2)より発生され、選択回路221(222)を通った
初期化信号でキャッシュメモリのアドレスアレイ24 
+ (242)の有効ビットをすべて無効化することで
行なわれる。また、演算処理装置50 +(502)の
キャッシュメモリ一致処理は、まず、主記憶装置40に
書込みが行なわれると、そのメモリのコピーは最新性を
失うので、メモリアクセス処理装置60のキャッシュ一
致処理回路33 (34)内で演算処理装置501(5
02)のキャッシュメモリに当該アドレスの有無を判断
させ、該当するアドレスがある場合、演算処理装置50
.(50□)のキャッシュメモリへアドレスアレイ24
 + (242)の有効ビットのクリアを行なう信号を
送り、対応するキャシュのブロックをクリアすることに
より行なわれる。
Arithmetic processing unit 50. (502) includes an input circuit 211 (212) that accepts memory access requests from an instruction fetching circuit or an arithmetic processing circuit (not shown), and an initialization request generating means 25. (252) and data array 23, (23□)
, address array 241 (242), and input circuit 21
.. (212), the initialization request generation means 25, the valid bit invalidation signal from (252), and the cache matching processing result from the cache matching processing circuit 33 (34), which will be described later, are selected and output to the address array 241 (242). The selection circuit 221 (222) is entered. The memory access processing device 60 includes a memory access processing circuit 32 that processes memory access requests to the main storage device 40, and an arithmetic processing device 50. A cache memory matching processing circuit 33 having a copy of the address array 241 of the cache memory of the arithmetic processing unit 501 and a cache memory having a copy of the address array 242 of the cache memory of the arithmetic processing unit 50 A coincidence processing circuit 34 and an input/output processing device 10. , 10□ and an arithmetic processing unit 50. .. The selection circuit 31 selects a request from 50□. Each arithmetic processing unit 501 (50
□) Initialization of the cache memory is performed by each arithmetic processing unit 5.
0. Initialization request generation means 251 (25) located at (50□)
2) The address array 24 of the cache memory is generated by the initialization signal which is generated by the select circuit 221 (222)
+ (242) by invalidating all valid bits. In addition, the cache memory matching process of the arithmetic processing unit 50 + (502) first involves the cache matching process of the memory access processing unit 60, since when writing is performed to the main storage device 40, the copy of that memory loses its latestness. In the circuit 33 (34), the arithmetic processing unit 501 (5
02) determines whether or not the address exists in the cache memory, and if the address exists, the arithmetic processing unit 50
.. Address array 24 to cache memory of (50□)
+ (242) by sending a signal to clear the valid bit and clearing the corresponding cache block.

[発明が解決しようとする課2!!] 上述した従来の演算処理装置のキャッシュメモリの初期
化方式は、各演算処理装置内の初期化要求発生手段で発
生した信号により行なうため、演算処理装置数分の初期
化要求発生手段が必要となりハードウェア量が増加し、
コストも増加するという欠点がある。
[Lesson 2 that the invention attempts to solve! ! ] The conventional cache memory initialization method of the arithmetic processing unit described above is performed by a signal generated by the initialization request generation means in each arithmetic processing unit, so initialization request generation means for the number of arithmetic processing units are required. The amount of hardware increases,
The disadvantage is that the cost also increases.

[課題を解決するための手段] 本発明のメモリアクセス処理装置は、演算処理装置内の
キャッシュの初期化を行なうためのアドレス情報および
初期化要求を発生する初期化要求発生手段と、該初期化
要求発生手段からの初期化要求と該キャッシュ一致処理
手段からのキャッシュ一致処理要求のどちらかを選択し
て演算処理装置に送る選択手段とを有している。
[Means for Solving the Problems] A memory access processing device of the present invention includes an initialization request generation unit that generates address information and an initialization request for initializing a cache in an arithmetic processing unit, and It has selection means for selecting either the initialization request from the request generating means or the cache matching processing request from the cache matching processing means and sending the selected one to the arithmetic processing unit.

[作用] 初期化要求発生手段をメモリアクセス処理装置に持つこ
とにより、ハードウェア量が減少する。
[Operation] By providing the initialization request generation means in the memory access processing device, the amount of hardware is reduced.

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

第1図は本発明のメモリアクセス処理装置の一実施例を
含む情報処理システムのブロック図である。
FIG. 1 is a block diagram of an information processing system including an embodiment of the memory access processing device of the present invention.

この情報処理システムは入出力装置101.10□と、
演算処理装置20..202と、メモリアクセス処理装
置30と、主記憶装置40とで構成されている。
This information processing system has input/output devices 101.10□,
Arithmetic processing unit 20. .. 202, a memory access processing device 30, and a main storage device 40.

演算処理装置20 r (202)は従来の演算処理装
置501(502)から初期化要求発生T段25.(2
52)を除いた構成となっている。メモリアクセス処理
装置30は従来のメモリアクセス処理装置60に、演算
処理装置20+ 、202のキャッシュメモリの初期化
を行うために必要なブロック数分、初期化信号およびア
ドレスを発生する初期化要求発生手段35と、これとキ
ャッシュ一致処理回路33.34よりの信号を選択する
選択回路36.37を付加した構成となっている。
The arithmetic processing unit 20r (202) receives an initialization request from the conventional arithmetic processing unit 501 (502) at the T stage 25. (2
52) is excluded. The memory access processing device 30 includes initialization request generation means for generating initialization signals and addresses for the number of blocks required to initialize the cache memories of the arithmetic processing units 20+ and 202 in the conventional memory access processing device 60. 35, and selection circuits 36 and 37 for selecting signals from cache coincidence processing circuits 33 and 34 are added.

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

演算処理装置20.(202)のキャッシュメモリへの
初期化信号およびアドレスは必要なブロック数分初期化
要求発生手段35内で繰り返し発生し、選択回路36.
37で選択されキャッシュ−致処理要求のパス3B(3
9)を通り、演算処理装置20.(20□)へ入力され
る。そして演算処理装置20 、 (202)内の選択
回路22.1(222)で選択され、アドレスアレイ2
41(242)に送られ、キャッシュ一致処理と同じ動
作で初期化が行なわれる。演算処理装置内でのキャッシ
ュの初期化とキャッシュ一致処理は、01者はすべての
ブロックを無効化するのに対し、後者は最新性を失った
ブロックのみを無効化だけの違いしかなく、ハードウェ
ア的には同じである。初期化要求信号は対応するデータ
アレイのアドレス情報および有効状態を保持するアドレ
スアレイの有効ビットをすべて無効化するまで繰り返し
送られてき、キャッシュメモリの初期化が行なわれる。
Arithmetic processing unit 20. The initialization signal and address to the cache memory (202) are repeatedly generated in the initialization request generation means 35 for the required number of blocks, and the selection circuit 36.
Path 3B (3
9) and the arithmetic processing unit 20. It is input to (20□). Then, it is selected by the selection circuit 22.1 (222) in the arithmetic processing unit 20 (202), and the address array 2
41 (242), and initialization is performed in the same manner as the cache matching process. The difference between cache initialization and cache matching processing within the processing unit is that the 01 method invalidates all blocks, while the latter only invalidates blocks that have lost their currency, and the hardware They are essentially the same. The initialization request signal is repeatedly sent until the address information of the corresponding data array and the valid bits of the address array holding the valid state are all invalidated, and the cache memory is initialized.

[発明の効果] 以上説明したように本発明は、初期化要求発生手段をメ
モリアクセス処理装置に持ち、キャッシュメモリ一致処
理のパスを使用することにより、ハードウェアMtが減
少し、したかってコストが低下する効果がある。
[Effects of the Invention] As explained above, the present invention provides the initialization request generation means in the memory access processing device and uses the cache memory matching processing path, thereby reducing the hardware Mt and thus the cost. It has a decreasing effect.

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

第1図は本発明のメモリアクセス処理装置の一実施例を
含む情報処理システムのブロック図、第2図はメモリア
クセス処理装置の従来例を含む情報処理システムのブロ
ック図である。 10、.10□・・・入出力処理装置、20、.202
・・・演算処理装置、 21、.212・・・入力回路、 22、.222・・・選択回路、 231.232・・・データアレイ、 24I、242・・・アドレスアレイ、30−・・メモ
リアクセス処理装置、 31.36.37・・・選択回路、 32・・・メモリアクセス処理回路、 33.34・・・キャッシュ一致処理回路、35−・・
初期化要求発生手段、 38.39−・・キャッシュ一致処理要求のパス、40
・・・主記憶装置。
FIG. 1 is a block diagram of an information processing system including an embodiment of the memory access processing device of the present invention, and FIG. 2 is a block diagram of an information processing system including a conventional example of the memory access processing device. 10,. 10□...I/O processing device, 20, . 202
...Arithmetic processing device, 21,. 212...input circuit, 22,. 222...Selection circuit, 231.232...Data array, 24I, 242...Address array, 30-...Memory access processing device, 31.36.37...Selection circuit, 32...Memory Access processing circuit, 33.34...Cache matching processing circuit, 35-...
Initialization request generation means, 38.39--path of cache matching processing request, 40
...Main memory.

Claims (1)

【特許請求の範囲】[Claims] 1、主記憶装置の一部の写しを保持するデータアレイと
該対応するデータアレイの主記憶装置上でのアドレス情
報および有効状態を保持するアドレスアレイを持ったキ
ャッシュメモリを有する演算処理装置と入出力処理装置
および主記憶装置とに接続され、前記演算処理装置と前
記入出力処理装置からのメモリアクセス要求に対するメ
モリアクセス処理を行ない、前記演算処理装置のキャッ
シュ一致処理を行なうためのキャッシュ一致処理手段を
有するメモリアクセス処理装置において、前記演算処理
装置内のキャッシュの初期化を行うためのアドレス情報
および初期化要求を発生する初期化要求発生手段と、該
初期化要求発生手段からの初期化要求と該キャッシュ一
致処理手段からのキャッシュ一致処理要求のどちらかを
選択して演算処理装置に送る選択手段とを有することを
特徴とするメモリアクセス処理装置。
1. An arithmetic processing unit having a cache memory having a data array that holds a copy of a part of the main memory and an address array that holds the address information and valid state of the corresponding data array on the main memory. Cache matching processing means connected to the output processing device and the main storage device, for performing memory access processing in response to memory access requests from the processing processing device and the input/output processing device, and for performing cache matching processing for the processing processing device. In a memory access processing device having: an initialization request generation means for generating address information and an initialization request for initializing a cache in the arithmetic processing device; and an initialization request from the initialization request generation means; A memory access processing device characterized by comprising: selection means for selecting one of the cache matching processing requests from the cache matching processing means and sending the selected one to an arithmetic processing unit.
JP63169810A 1988-07-06 1988-07-06 Memory access processing device Pending JPH0217551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63169810A JPH0217551A (en) 1988-07-06 1988-07-06 Memory access processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63169810A JPH0217551A (en) 1988-07-06 1988-07-06 Memory access processing device

Publications (1)

Publication Number Publication Date
JPH0217551A true JPH0217551A (en) 1990-01-22

Family

ID=15893319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63169810A Pending JPH0217551A (en) 1988-07-06 1988-07-06 Memory access processing device

Country Status (1)

Country Link
JP (1) JPH0217551A (en)

Similar Documents

Publication Publication Date Title
KR880000299B1 (en) Cache device
KR100268321B1 (en) Virtual channel memory system
US20040117561A1 (en) Snoop filter bypass
EP0280251A2 (en) Shared memory controller arrangement
US5603046A (en) Method for complex data movement in a multi-processor data processing system
JPH04323747A (en) Central arithmetic processing unit
JPH0217551A (en) Memory access processing device
US5548771A (en) Multi-processor data processing system having multiple ports coupled to multiple interface circuits
JP3039054B2 (en) Image processing device
JP2805786B2 (en) Information processing device
JPS6349257B2 (en)
JP3406410B2 (en) Test equipment for information processing equipment
JP3001545B1 (en) Vector data processing device
JPS61223964A (en) Data transfer device
JPS59144965A (en) Control device of address
JP2606824Y2 (en) Multiport memory device
JP2711536B2 (en) Test method for multiport RAM
JPS62285157A (en) Memory control system
EP0369935A2 (en) Multiple posting cache memory
JPH0343649B2 (en)
JPH03172960A (en) Arithmetic unit
JPH0683786A (en) Parallel processor
JPH02150939A (en) Processing system for page history memory
JPH03250379A (en) High-speed processing method for image processing equipment
JPH0497459A (en) Cache coincidence processing system