JPS5812188A - Information processor - Google Patents

Information processor

Info

Publication number
JPS5812188A
JPS5812188A JP56109758A JP10975881A JPS5812188A JP S5812188 A JPS5812188 A JP S5812188A JP 56109758 A JP56109758 A JP 56109758A JP 10975881 A JP10975881 A JP 10975881A JP S5812188 A JPS5812188 A JP S5812188A
Authority
JP
Japan
Prior art keywords
main memory
memory
address
data
cash
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
JP56109758A
Other languages
Japanese (ja)
Inventor
Toru Akai
徹 赤井
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56109758A priority Critical patent/JPS5812188A/en
Publication of JPS5812188A publication Critical patent/JPS5812188A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04CROTARY-PISTON, OR OSCILLATING-PISTON, POSITIVE-DISPLACEMENT MACHINES FOR LIQUIDS; ROTARY-PISTON, OR OSCILLATING-PISTON, POSITIVE-DISPLACEMENT PUMPS
    • F04C11/00Combinations of two or more machines or pumps, each being of rotary-piston or oscillating-piston type; Pumping installations
    • F04C11/001Combinations of two or more machines or pumps, each being of rotary-piston or oscillating-piston type; Pumping installations of similar working principle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To perform the reading or write of a data through a main memory, by receiving the write address of the main memory of another processor and conductive a coincidence of data between a cash memory and the main memory. CONSTITUTION:To cash control parts 1 and 1' having the same constitution and stored in different processors contain the cash memories 10 and 10'. A memory access control part 2 decides the priority for the request soruces, the designation of the main memories 3 and 3' and the using condition of the main memory to an access request given to the memories 3 and 3' from each cash control part. Then a selecting circuit 20 selects an access request given from a request source. For a processor at the side of the control paat 1, an address line 11 is selected to give an access to the main memory. At the same time, the address is applied to an address line 23 for process of the cash coincidence by the selection of the address request source and via a switch circuit that selects the signal lines 22 and 22'.

Description

【発明の詳細な説明】 本発明はキャツシエメモリを有し、他の処理装置の主メ
モリ書込アドレスを受信し、キャツシエメモリと主メモ
リ間のデータ一致を行なう装置であって、必要とするデ
ータの今ヤツシエメモリ上での有無和かかわりなく主メ
篭りよりデータの続出しまたは書込みを行なう情報処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a device having a cashier memory, receiving a main memory write address of another processing device, and performing data matching between the cashier memory and the main memory. The present invention relates to an information processing apparatus that continuously outputs or writes data from a main memory regardless of whether or not the data is currently present in a memory.

主メ49とキャツシエメ篭り間のデータ一致をハードウ
ェアで保証しているシステムK)いても主メモリ上のデ
ータの書替えがキャッシュメ毫啼に反映される壜でには
時間差がある。この時間差が問題となるデータをアクセ
スする場合、ソフトウェアはテストアンドセット(T8
)命令0IlikI!#殊な命令を用い直接主メモリか
ら読出し書込む方法を取っている。
Even if there is a system K) in which data consistency between the main memory 49 and the cache memory is guaranteed by hardware, there is a time lag in the time when rewriting data on the main memory is reflected in the cache memory. When accessing data where this time difference is a problem, the software is tested and set (T8
) Instruction 0IlikI! # A method is used to read and write directly from the main memory using special instructions.

しかし、このデータがすでにキャッシ二メモリに存在す
る場合、従来装置ではその場所を記憶しておき主メ毫η
から読み出して来九新たなデータで塗)替えるかまたは
キャッシェ制御部でそのデータを無効にするため複雑で
多くの金物を必要としていた。さらに回路の遅延時間の
厳しいiヤツシエメモリにこの制御を1人、れることは
装置のマシンすイタルを延ばし性能低下をもたらしてい
た。
However, if this data already exists in the cache memory, the conventional device remembers its location and displays the main message.
It is complicated and requires a lot of hardware to read out the data and replace it with new data or invalidate the data in the cache control section. Furthermore, having one person perform this control on the i-controller memory, which has a severe circuit delay time, lengthened the equipment's machine time and resulted in a drop in performance.

本発明の目的は直接主メモリから読出し、書込みを行な
う場合の主メモリとキャツシエメ篭り間のデータ一致保
証をキャッシュ制御部の金物量の増大、制御の複雑化、
および装置の性能の低下をまねくことなく、そのアドレ
スに対応するデータをキャッシュ上から無効とするとと
によって行なうようにしたi報処理装置を提供すること
にある。
The purpose of the present invention is to guarantee data consistency between the main memory and cache memory when directly reading from and writing to the main memory, thereby reducing the amount of hardware in the cache control unit and the complexity of control.
Another object of the present invention is to provide an i-information processing device which can invalidate data corresponding to an address from a cache without deteriorating the performance of the device.

前記目的を達成するために本発明による情報処理装置は
キャッシュメモリを有し、他の処理装置の主メモリ書込
アドレスを受信しキャッシュメ嬌りと主メモリ間のデー
タ一致を行なう装置であって、必要とするデータのキャ
ッシュメモリ上での有無にかかわ)1k<主メモリより
データの貌出しまたは書込みを行なうように機能する情
報部Im装置において、自処理装置に対して一致処理を
必要とする読出しまたは書込みであるのか否かに対応す
る信号を発生する一致処理要求発生回路を有し、自処理
装置に対して一致処理を必要とする読出しまたは書込み
であるとき、その続出しまたは書込みのアドレスを1致
保証用アドレスとし、自処理装置に対して送出し、主メ
モリとキャッシュメモリ間のデータ一致の保証をするよ
うに構成しである。
In order to achieve the above object, an information processing device according to the present invention has a cache memory, receives a main memory write address of another processing device, and performs cache matching and data matching between the main memories. , regardless of whether or not the required data is on the cache memory) 1k< In the information unit Im device that functions to extract or write data from the main memory, matching processing is required for the own processing device. It has a matching processing request generating circuit that generates a signal corresponding to whether it is reading or writing, and when the reading or writing requires matching processing for the own processing device, the address of the subsequent reading or writing. is used as a match guarantee address, and is sent to the own processing device to ensure data match between the main memory and the cache memory.

すなわち本発明はテスFアンドセット命令等キャツシエ
を無視する特殊な動作が指示されると今ヤツシエ制御部
はキャッシュメモリにそのアドレスのデータの有無にか
かわりなく無条件に無しとし、特殊な主メモリアクセス
であることを示し、メモリアクセス制御部を経由して主
メモリアクセスを起動する。そしてメモリアクセス制御
部が主メモリへ起動待特殊な主メモリアクセスであるこ
とを検出し自0PUK対してそのアドレスを送)、主メ
モリとキャッシュメモリ間の一致保証を行なうよう指示
することにより、キャッシュ制御部が他処理装置からの
それと全く同じに処理するようKしである。
In other words, in the present invention, when a special operation that ignores the cashier, such as a test F AND set command, is instructed, the cashier control unit unconditionally clears the data at that address in the cache memory, regardless of whether there is data at that address, and performs a special main memory access. , and activates main memory access via the memory access control unit. Then, the memory access control unit detects that the main memory is a special main memory access waiting for startup, and sends the address to its own 0PUK), and instructs the cache memory to ensure consistency between the main memory and the cache memory. The control unit is designed to process the data exactly the same as that from other processing devices.

前記構成によれば本発明の目的は完全に達成される。According to the above configuration, the object of the present invention is completely achieved.

以下、図面を#照し本発明をさらに詳しく説明する。。Hereinafter, the present invention will be explained in more detail with reference to the drawings. .

第1図は本発明の一実施例で、主メモリへのアクセスに
おける主メモリとキャッジニー!保証要求(以下単にキ
ャッシュ一致処理)の関係をアドレスの流れに着目して
示した概略図である。
FIG. 1 shows an embodiment of the present invention, in which the main memory and cache knee are accessed to the main memory. FIG. 2 is a schematic diagram showing the relationship between guarantee requests (hereinafter simply referred to as cache matching processing), focusing on the flow of addresses;

1.1′はそれぞれ異なる処理装置に収容されている同
構成のキャッシュ制御部で、それぞれキャッシュメモリ
10.10’を含んでいる。2はメモリアクセス制御部
で咎キャッシュ制御部からの主メモリ3.3′へのアク
セス要求に対し要求源の優先順位、主メモリ3.’3’
の指定および主メモリの使用状況を判定し一つの要求源
からのアクセス要求を選択回路20で選択し、例えば、
キャッシュ制御部1偶の装置であるならば、アドレス線
11を選択し主メモリにアクセスを行なうと同時にその
アドレスを切替回路21を経由し中ヤツシエ一致処理用
アドレス1s!SK送出する。
1.1' are cache control units of the same configuration housed in different processing devices, each including a cache memory 10.10'. Reference numeral 2 is a memory access control unit which determines the priority of the request source and the main memory 3.3' in response to an access request from the cache control unit to the main memory 3.3'. '3'
The selection circuit 20 selects an access request from one request source by determining the specification and the usage status of the main memory, for example,
If the device has a cache control unit 1, the address line 11 is selected and the main memory is accessed, and at the same time, the address is transferred via the switching circuit 21 to the middle address 1s for match processing! Send SK.

切替回路鵞1は自メモリアクセス制御部に接続されてい
る要求源が選ばれた場合は信号線22の内容を、他メ4
qアクセス制御部に接I!されている要求源が選ばれた
場合は信号線22′の内容を選別し信号線33に送出す
るための回路である。
When the request source connected to its own memory access control unit is selected, the switching circuit 1 transfers the contents of the signal line 22 to another source 4.
qConnect to the access control unit! This circuit is for selecting the content of the signal line 22' and sending it to the signal line 33 when the requested source is selected.

3′もメモリアクセス制御部でメモリアクセス制御II
2と同様な動作を行なう。なお、メモリアク七ス制御部
2′偶についてはその回路の一部を省略しである。34
41はキャッジニ一致処理要求を行なう処理装置を決定
する一致処理要求発生回路である。第2図にこの一致処
理要求発生回路の詳細図を示す。各一致処理要求発生回
路30.31はそれヤれキャッシュ制御部1を収容する
装置とキャッシュ制御部1′を収容する装置に対応する
40である。キャッシュ制御部i側の処理装置が主メモ
リに対してアクセスを起動する場合、信号線40が、キ
ャツシエ制御部1′偶の処理装置が主メモリに対してア
クセスを起動する場合、信号線41が1となる。さらに
自処@*flK対する一致処理を必要とする主メモリ読
出要求の場合、信号線42が、また書込みの場合、信号
線44が1となる。なお、信号線40.41は伸のメモ
リアクセス制御部に接続され九装置が選ばれたり、選択
されるべき装置が存在しなかった場合Oとなる。信号線
43は一致処理を必要としない主メモリへの書込要求の
場合lとなる。信号線so;sxは第1図に示すように
信号線40.41で示される要求源装置と同じ装置KI
I絖される。
3' is also a memory access control section and memory access control II.
Perform the same operation as 2. Note that a part of the circuit of the memory access controller 2' is omitted. 34
Reference numeral 41 denotes a matching processing request generation circuit that determines a processing device to issue a matching processing request. FIG. 2 shows a detailed diagram of this coincidence processing request generation circuit. Each coincidence processing request generation circuit 30, 31 is 40 corresponding to a device accommodating the cache control section 1 and a device accommodating the cache control section 1', respectively. When the processing device on the cache control unit i side starts accessing the main memory, the signal line 40 is connected to It becomes 1. Furthermore, in the case of a main memory read request that requires matching processing for the current request @*flK, the signal line 42 becomes 1, and in the case of a write, the signal line 44 becomes 1. Note that the signal lines 40 and 41 are connected to the memory access control section of the extension and become O when nine devices are selected or there is no device to be selected. The signal line 43 becomes l in the case of a write request to the main memory that does not require matching processing. The signal line so;sx is connected to the same device KI as the requesting device indicated by the signal line 40.
I will be sewn.

以上のような一致処理要求発生回路からの信号@1 ”
Kよシ自処理装置のキャッシュメモリの一致処理が指示
される。
Signal @1 from the match processing request generation circuit as described above
K instructs matching processing of the cache memory of the own processing device.

今、例えばキャッシュ制御部lを含む処理装置@に一致
処理を必要とする主メモリ読出要求が発生した場合を想
定すると信号線40.信号線42Fi”1′″となるた
め信号線goが11”となる。これによりキャッシュ制
御部1は他#!&珊装置から主メモリ書込アドレスを受
信した場合と同様信号線23上のアドレスに対応するデ
ータがキャツシエメJFQ上にあるかどうかを調べ、そ
のデータがある場合、データを無効にする動作を行なう
For example, suppose that a main memory read request requiring matching processing occurs in the processing device @ including the cache control unit l, the signal line 40. Since the signal line 42Fi becomes ``1'''', the signal line go becomes 11''.As a result, the cache control unit 1 writes the address on the signal line 23 in the same way as when receiving the main memory write address from the other #! & san device. It is checked whether the data corresponding to the above is present on the cashier JFQ, and if the data is present, an operation is performed to invalidate the data.

以上詳しく説明したように本発明は一致処理要求発生回
路を有し、この回路の指示によりキャッジニ一致処憑用
07<スな使用するような構成であるので他処理装置か
らの主メモリ書込アドレスの場合と同様、キャッシュメ
モリを無視する主メ(リアクセスに対しても効率良く自
処理装置O主メ彎すとキャッシュメモリ間の一致保証で
きる効果がある。
As explained in detail above, the present invention has a matching processing request generation circuit, and is configured to use the cashier matching processing request 07 according to instructions from this circuit. As in the case of , if the main method that ignores the cache memory (re-accesses) is efficiently returned to the main method of the own processing device, it is possible to guarantee consistency between the cache memories.

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

第1図は本発明による情報処理装置の一実施例をアドレ
スの流れに着目して記載し九概略図、第2図は第1図の
一致処理要求発生回路の一実施例を示す回路■である。 1.1′−・中ヤツシエ制御部 意、意′・・・メモリアクセス制御部 3.3′・・・主メモリ 10.10’・・・キャッシュメモリ 2040’ 、21.21’・・・選択回路30.31
−一一致処理要求発生回路 特許出願人  日本電気株式会社 代理人 弁理士 井 ) ロ  壽
FIG. 1 is a schematic diagram illustrating an embodiment of an information processing apparatus according to the present invention, focusing on the flow of addresses, and FIG. 2 is a circuit diagram illustrating an embodiment of the matching processing request generation circuit of FIG. be. 1.1'--Memory access control section 3.3'--Main memory 10.10'--Cache memory 2040', 21.21'--Selection Circuit 30.31
- Match processing request generating circuit patent applicant NEC Corporation Representative Patent attorney Hisashi I) Ro

Claims (1)

【特許請求の範囲】[Claims] キャツシエメモリを有し、他の処理装置の主メモリ書込
アドレスを受信しキャツシエメモリと主メモリ間Oデー
タ一致を行なう装置であって、必要とするデータのキャ
ッシュメモリ上での有無にかかわりなく、主メモリよシ
データの読出しまたは書込みを行なうように機能する情
報処理装置において、自処理装置に対して一致・処理を
必要とする読出しまたは書込みであるのか否かに対応す
る信号を発生する一致処S*求発生回路を有し、自処理
装置に対して一致処理を必要とする読出しまたは書込み
であるとき、その読出しまたは書込みのアドレスを1致
保証用アドレスとして自処理装置に対して送出し、主メ
モリと中ヤツシエメモリ間のデータ一致の保証をするよ
うに構成したことを特徴とする情報処理装置。
A device that has a cashier memory, receives the main memory write address of another processing device, and performs data matching between the cashier memory and the main memory, and is concerned with the presence or absence of required data on the cache memory. In an information processing device that functions to read or write data from/to the main memory, a coincidence that generates a signal corresponding to whether or not the reading or writing requires matching/processing for the own processing device. It has a processing S* request generation circuit, and when reading or writing requires matching processing to the own processing device, the read or write address is sent to the own processing device as a match guarantee address. An information processing device characterized in that it is configured to guarantee data consistency between a main memory and an intermediate memory.
JP56109758A 1981-07-14 1981-07-14 Information processor Pending JPS5812188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56109758A JPS5812188A (en) 1981-07-14 1981-07-14 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56109758A JPS5812188A (en) 1981-07-14 1981-07-14 Information processor

Publications (1)

Publication Number Publication Date
JPS5812188A true JPS5812188A (en) 1983-01-24

Family

ID=14518487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56109758A Pending JPS5812188A (en) 1981-07-14 1981-07-14 Information processor

Country Status (1)

Country Link
JP (1) JPS5812188A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638849A (en) * 1986-06-30 1988-01-14 Fujitsu Ltd Chche memory control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638849A (en) * 1986-06-30 1988-01-14 Fujitsu Ltd Chche memory control system

Similar Documents

Publication Publication Date Title
KR880000299B1 (en) Cash apparatus
JPH03127147A (en) Information processing system
JPH01269142A (en) Buffer memory control system
US6952761B2 (en) Bus interface selection by page table attributes
US11550674B2 (en) Redundant communications for multi-chip systems
JPS5812188A (en) Information processor
JPH01169557A (en) Storage control system for computer
EP0488566A2 (en) Method and apparatus for fast page mode selection
TW448361B (en) Data switching system and method using bandwidth management unit to reduce data traffic
JP2502406B2 (en) Storage control system and data processing device
KR100398731B1 (en) Method For Inter Processor Memory Coherency Verification in Switching System and apparatus therefor
JPH06274415A (en) Shared memory system
JPH0553912A (en) Control method for cache memory
KR100278034B1 (en) Broadcast demap to deallocate memory pages of multiprocessor computer systems
KR950009579B1 (en) Requstor control method with system bus having a improved protocol
JPH02150939A (en) Processing system for page history memory
GB1578205A (en) Communication between units in a multiprocessor system
JPS6041766B2 (en) microprogram controller
JP2805786B2 (en) Information processing device
JPH0322053A (en) Move in buffer control system
JPH04155454A (en) Information processor
JPS6336346A (en) Bank switching circuit
JPS58115680A (en) Information processor
JPS63156263A (en) Maintenance system for adapter
JPS6228852A (en) Clearing method for cache memory