JPH04149653A - Read/comparison system for duplex memory - Google Patents

Read/comparison system for duplex memory

Info

Publication number
JPH04149653A
JPH04149653A JP2271455A JP27145590A JPH04149653A JP H04149653 A JPH04149653 A JP H04149653A JP 2271455 A JP2271455 A JP 2271455A JP 27145590 A JP27145590 A JP 27145590A JP H04149653 A JPH04149653 A JP H04149653A
Authority
JP
Japan
Prior art keywords
data
comparison
memory
buffer
selector
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
JP2271455A
Other languages
Japanese (ja)
Inventor
Hiroyuki Tsujita
辻田 博之
Takeshi Suzuki
健 鈴木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2271455A priority Critical patent/JPH04149653A/en
Publication of JPH04149653A publication Critical patent/JPH04149653A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To reduce the capacity of a buffer by controlling a selector with the output of a preceding data deciding part to store the preceding data in a data buffer and to store the subsequent data in a comparison data register respectively and comparing both data with each other by a comparator. CONSTITUTION:The 1st and 2nd selectors 31 and 32 with the output of a preceding data deciding part 30. Then the preceding data are stored in a data buffer 33 and the subsequent data are stored in a comparison data register 34 respectively. Then the data comparison timing is secured for a comparator 35. In such a constitution, the data buffers that cause the increase of hardware can be decreased down to just a single unit. Then the capacity of the buffer storing the data read out of a duplex memory can also be reduced.

Description

【発明の詳細な説明】 [概要] 処理装置と2個の外部メモリ(二重化メモリ)とか接続
されたシステムにおける二重化メモリの読出し比較シス
テムに関し、 重化メモリから読出したデータを格納するバッファの容
量を削減することを目的とし、二重化メモリを構成する
メモリと、これらメモリの出力を受けてどちらのメモリ
からのデータが先行しているかを判定する先行データ判
定部と、前記二重化メモリのそれぞれの出力を受けてい
すれか一方をセレクトする第1のセレクタと、同じく前
記二重化メモリのそれぞれの出力を受けていずれか一方
をセレクトする第2のセレクタと、前記第1のセレクタ
の出力を格納するデータバッファと、前記第2のセレク
タの出力を受ける比較データレジスタと、これらデータ
バッファ及び比較データレジスタの出力を比較する比較
回路とを具備し、前記先行データ判定線出力により第1
及び第2のセレクタを制御して先行データをデータ・−
ッファに、後行データを比較データレジスタにそれぞれ
格納して、比較回路によりデータ比較する時のタイミン
クをとるように構成する。
[Detailed Description of the Invention] [Summary] Regarding a duplex memory read comparison system in a system in which a processing device and two external memories (duplex memories) are connected, the capacity of a buffer for storing data read from the duplex memory is calculated. For the purpose of reducing the number of data, there are memories forming the duplex memory, a preceding data determination unit that receives the outputs of these memories and determines which memory has the data leading, and the output of each of the duplex memories. a first selector that receives and selects one of the outputs; a second selector that also receives the respective outputs of the duplex memory and selects one of the outputs; and a data buffer that stores the output of the first selector. , a comparison data register that receives the output of the second selector, and a comparison circuit that compares the outputs of these data buffers and the comparison data register;
and controls the second selector to change the preceding data to data -
The buffer is configured to store subsequent data in comparison data registers, and to take timing when data is compared by a comparison circuit.

〔産業上の利用分野コ 本発明は処理装置と2個の外部メモリ(二重化メモリ)
とが接続されたシステムにおける二重化メモリの読出し
比較システムに関する。
[Industrial Application Field] The present invention is a processing device and two external memories (duplex memory).
The present invention relates to a read comparison system for duplex memories in a system in which these are connected.

データ処理用コンピュータシステムでは、高信頼性維持
のために1個の処理装置に2個のメモリ(二重化メモリ
)か接続された構成をと−っている。
A data processing computer system has a configuration in which two memories (duplex memories) are connected to one processing device in order to maintain high reliability.

この種のシステムでは2個のメモリに同一のデータを書
込み、読出す時にも同一7トレスのデータを読出し、両
ノjのデータか−・致し、た時のみ、そのデータをデー
タ処理用のデータとして採用するシステムが採用されて
いる。二の場合、こわら−重化メモリはそれぞれか独立
して動作し7うる記憶装置であるこ4とや、独自のクロ
ックをもっていることや、す7レツンユのタイミングか
異なる等の理由により、両系のデータか処理装置に届く
時間はずれてしまう。このずれを吸収するために、それ
ぞれのメモリの・−ノツチを設けているか、このハソフ
ァの容量は可能な限り小さいことか回路設置I1望まし
い。
In this type of system, the same data is written in two memories, and when reading it, the same 7 traces of data are read out, and only when the data in both nodes are matched, is that data used as data for data processing. A system has been adopted as follows. In the case of 2, the two systems may be connected to each other due to reasons such as the fact that the redundant memory is a storage device that can operate independently, has its own clock, or has different retrieval timing. The time it takes for the data to reach the processing device is delayed. In order to absorb this deviation, it is desirable to provide a notch for each memory, or to make the capacity of this notch as small as possible.

[従来の技術] 第5図は従来システムの構成例を示すブロック図である
。二重化メモリ1,2から読出されたブタは転送制御部
10に入る。転送制御部〕(−)には、それぞれの7二
重化メモリ1,2から読出I−5たデータか格納される
データいノツチ11,1:2.1−これらデータバッフ
ァ11.1..2の出力データを比較する比較部1′う
が含まれている。それぞれの二重化メモリ1.2から読
出されたデータは、それぞれのデータバッファ11.1
2に順次格納されていく。そして、同一のアドレスに格
納されていたデータか同時に読出され、比較部13で比
較される。
[Prior Art] FIG. 5 is a block diagram showing an example of the configuration of a conventional system. The data read from the duplex memories 1 and 2 enters the transfer control unit 10. Transfer control unit] (-) has data notches 11,1:2.1-these data buffers 11.1. .. A comparing section 1' for comparing the output data of the two is included. The data read from each duplex memory 1.2 is transferred to each data buffer 11.1.
2 are sequentially stored. Then, the data stored at the same address are simultaneously read out and compared by the comparator 13.

比較部1′うによる比較の結果、両方のデータが一致し
たら、当該データは正常であると判定し、処理装′fj
t2 (1内の主記憶装置(MSU)21に書込まれる
。処理装![20内のCPtJ22は、2.9 MSU
21から読出したデータを基に所定の演算処理等を行い
、処理結果に基つくデータをチャネルコシトローラ(C
HC)23を好て入出力装置(1/”0)に出力する。
As a result of the comparison by the comparison unit 1', if both data match, it is determined that the data is normal, and the processing unit 'fj
t2 (Written to main storage unit (MSU) 21 in 1. Processing unit! [CPtJ22 in 20 is 2.9 MSU
Based on the data read from 21, predetermined arithmetic processing, etc.
HC) 23 and outputs it to the input/output device (1/"0).

このように構成されたシステムにおいて、従来の二重化
システムでは、両系の同一性を確認するために、同時に
2個の二重化メモリ1.2から読出し、を行い、データ
バッファ11.12に格納する。ここで、データバッフ
ァ11.12を設けているのは、この種の二重化メモリ
ーCは、それそわか独立(、で動作しろる記憶装置であ
るため、独自のクロックをもっている二とや、リー7レ
ン/、のタイミンクか異なる等の理由により両系の読出
(5データの届くタイミンクが異なっていることに基づ
いている。即ち、二のタイミンク差を吸収するため、2
個のデータバッフ−11,12をそれぞれの二重化メモ
リに対応して設け、同一アトレスの両系のデータか揃っ
た時へて比較を行うようになっている。
In a system configured as described above, in a conventional duplex system, data is simultaneously read from two duplex memories 1.2 and stored in data buffers 11.12 in order to confirm the identity of both systems. The reason why the data buffers 11 and 12 are provided here is because this type of duplex memory C is a storage device that can operate independently. This is based on the fact that the timings at which the data arrives are different for both systems due to reasons such as differences in the timings of the two systems.In other words, in order to absorb the timing difference between the two systems,
Data buffers 11 and 12 are provided corresponding to each duplex memory, and a comparison is made when the data of both systems of the same address are complete.

そして、比較部13で比較された結果、両系のデータか
一致した・′O)、データTの11常性か確保されたも
のと判定してNI S L、i 21に書込むようにな
っている。比較部1−3による比較の結果、両系のブタ
か一致しなか−2だ場合、転送制御部10は所定の異見
処理をイjう。
Then, as a result of the comparison in the comparison unit 13, the data of both systems matched ('O), and it was determined that the 11 normality of the data T was secured, and it was written to the NI S L,i 21. ing. As a result of the comparison by the comparison unit 1-3, if the pigs of both systems do not match (-2), the transfer control unit 10 performs a predetermined discrepancy process.

第6図は従来の比較方式の概1合図”である。矢印−は
各メモリからのデータの格納アドレスを示している。そ
し、て、図の例ではメモリ1か先行し7、データバッフ
ァ11にデータが順次格納されている場合を示している
。メモリ1から斜線部のデータか届いた時に、データ・
為ラフ712の斜線部のデータと比較される。この場合
、1個のデータバッファの容量分たけ先行することか許
される。
FIG. 6 is a general diagram of the conventional comparison method. Arrows - indicate the storage addresses of data from each memory. This shows the case where data is stored sequentially in memory 1.When the data in the shaded area arrives from memory 1, the data is stored sequentially.
Therefore, the data is compared with the data in the shaded area of the rough 712. In this case, it is allowed to advance by the capacity of one data buffer.

[Je明か解決しよう上する課題] 従宋システムは、前述したように両系のデータの時間差
を吸収するために、2個のデータバッファ11.12を
もっている。この場合、読出しデクの届く時間差の許容
範囲は1個分のデータ・・ソーファの容量り内までであ
る。それ以上に時間差か拡大する場合には、先行するメ
モリの読出しを一時停止する必要かあった。このことは
システムの性能低ドの原因、となり、ハードウェア(特
にデクベノツァ)の効率か良くないという問題かあ一つ
 だ。
[Problems to be solved by Je Ming] As mentioned above, the Congregation system has two data buffers 11 and 12 in order to absorb the time difference between the data of the two systems. In this case, the permissible range of the time difference in the arrival of the read deck is up to the capacity of one data sofa. If the time difference increases beyond that, it is necessary to temporarily stop reading the preceding memory. This can be a cause of low system performance, and it is one of the problems that the hardware (especially the dekubenotsa) is not efficient enough.

本発明はこのような課題に鑑みてなされたものであって
、二重化メモリから読出したデータを格納するバッファ
の容量を削減することかできる二重化メモ11の読出し
比較システムを提供する二吉を目的としている。
The present invention has been made in view of the above-mentioned problems, and has as its object the provision of a read comparison system for duplexed memory 11 that can reduce the capacity of a buffer for storing data read from duplexed memory. There is.

[課題を解決するだめのf段] 第1図は本発明の原理ブロック図である。第5図と同一
のものは、同一の符号を付して示す。1゜2はそれぞれ
二重化メモリを構成するメモリ、3()はこれらメモリ
1.2の出力を受けてどちらのメモリからのデータか先
行し、でいるかを判定する先行データ判定部、31は前
記二重化メモリ12のそれぞれの出力を受けていずれか
一方をセレクトする第1のセレクタ、32は同じく前記
二重化メモ++x、2のそれぞれの出力を受けていずれ
か一方をセレクタする第2のセレクタ、33は前記第1
のセレクタ31の出力を格納するデータバッファ、34
は前記第2のセレクタ32の出力を受ける比較データレ
、゛スタ34.35はこれらデクバノ7733及び比較
データレジスタ34の出力を比較する比較回路である。
[F stage that does not solve the problem] FIG. 1 is a block diagram of the principle of the present invention. Components that are the same as those in FIG. 5 are designated by the same reference numerals. Reference numerals 1 and 2 refer to memories constituting the duplexed memories, 3 ( ) receives the outputs of these memories 1 and 2 and determines which memory the data comes from in advance, and 31 refers to the duplexed memory. A first selector receives each output of the memory 12 and selects one of them; 32 is a second selector that receives each output of the duplex memory ++x and 2 and selects one of the two; 33 is a second selector that selects one of the two 1st
a data buffer 34 for storing the output of the selector 31;
is a comparison data register that receives the output of the second selector 32, and the registers 34 and 35 are comparison circuits that compare the outputs of the decoder 7733 and the comparison data register 34.

Ef’) 用フ 11i記先行データ判定部3))出力により第1及び第
20セし・りp31.32を制御(、て先行データをデ
ー ケ・・)1ア3゛づに、後付データを比較デク[,
5スフ34にそれぞれ格納し、て、比較回路35により
データ比較する時のタイミンクをとるように構成する。
Ef') Control the 1st and 20th cycle p31.32 by the output of the preceding data determination unit 3)) Compare data
The data are stored in five blocks 34, respectively, and the comparison circuit 35 is configured to take the timing when comparing the data.

このような構成とすることにより、イードウェア増IJ
旧り原因となるデータ・\ソファか1個ですみ、二重化
メモリから読出したデータを格納する・・、!ファの容
;を削減することかできる。
With this configuration, the e-ware increase IJ
Data that causes outdated data \ Only one sofa is required, and data read from the duplex memory is stored...! It is possible to reduce the file size.

[実施例] 以[パ、図面をた明して本Q明の実施例を詳細に説明す
る。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は本発明の一実施例を示す構成ブロック図である
。第1図と[ti−のものは、同一の符号をイー1(て
示す。図において、1,2は二重化メモリである(以降
、二重化メモリ1をメモリ0.二重化メモリ2をメモリ
1と略す)。41はメモリ0から読出したデータを一時
保持するデータボート()(以ト」1にデータポート0
と略す)、42はメモリ]から読出したデータを一時保
持するデータポート1 (以ド弔にデータボート1と略
す)である。43はメモリ0から読出されたバリットビ
ソ[・を保持する・1ツフア、44はメモリ1から読出
されたハリノトビノトを保持するメくソファである。
FIG. 2 is a block diagram showing an embodiment of the present invention. Figure 1 and [ti- are indicated by the same reference numerals as E1 (.In the figure, 1 and 2 are duplex memories (hereinafter, duplex memory 1 will be abbreviated as memory 0 and duplex memory 2 will be abbreviated as memory 1). ).41 is a data port () that temporarily holds data read from memory 0.
42 is a data port 1 (hereinafter abbreviated as data port 1) which temporarily holds data read from the memory. Reference numeral 43 denotes a buffer that holds the baritbiso[* read out from memory 0;

130は・\ノツァ43.44に保持されているバ+1
 !トビノドによりメモリ0 メモリ〕から読出さ矛ま
たデータのうちとちらのデータか先行で読出されたかを
判定する先行データ判定部、31はデータボート0. 
データボート1からのメモリ読出しデータを受けて先行
データ判定部“30からの制御信号により先行したメモ
リ側のデータをセレクトする第1のセレクタ(上、プF
甲にセレクタ0と略オ)、32はデータポート0.デー
タポート1かC1のメモ+1読出しデータを受けて先行
データ判定部−30からの制御信号により後から読出l
、たメモ!側のデータをセレクトする第2のセし・フタ
(以下単にセレクタ1と略す)である。
130 is \B+1 held in Notsa 43.44
! A preceding data determining unit 31 determines which of the data read out from memory 0 by Tobinodo was read out first.
A first selector (above, PF) receives memory read data from the data boat 1 and selects preceding data on the memory side in response to a control signal from the preceding data determination unit 30.
Selector 0 (abbreviated as 0) is on the instep, and 32 is the data port 0. After receiving the memo + 1 read data from data port 1 or C1, the control signal from the preceding data determination unit-30 causes the data to be read later.
, memo! This is a second selector/lid (hereinafter simply referred to as selector 1) that selects data on the side.

33はセレクタ0からの出力を順次格納するデータバノ
−77,34はセレクタ1からの出力を保持する比較デ
ータレジスタである。45はデータ昌ツフ733から読
出したデータをフェッチするフェッチデータレジスタ、
35は該フェッチブタレジスタ45からの出力(データ
バッファ33からの読出し、デー−夕)と比較データレ
ジスタ34からの読出しデータとを比較する比較回路で
ある。
33 is a data register 77 which sequentially stores the output from selector 0, and 34 is a comparison data register which holds the output from selector 1. 45 is a fetch data register for fetching data read from the data register 733;
A comparison circuit 35 compares the output from the fetch register 45 (read data from the data buffer 33) with the data read from the comparison data register 34.

フェッチデータレジスタ45の出力と、比較回路35の
出力は、要求元(例えば第5図の処理装置20)へ送ら
れる。
The output of the fetch data register 45 and the output of the comparison circuit 35 are sent to the request source (for example, the processing device 20 in FIG. 5).

46はメモリ〔1,1からのデータを要求元に転送する
時の転送制御を行う転送制御部、47はデータバッファ
33のアドレス制御を行うデータパ・ノツァアトレス制
御部、48はデータポート[]iアドレスを保持するレ
ジスタ、49は該しらλり48の値をまたけ更新する+
1回路、50はデータポート1のアドレスを保持するレ
ジスタ、51は該レジスタ50の値をまたけ更新する+
1回路である。これらアドレスの更新制御は、前述した
データバッファアドレス制御部47か行う。
46 is a transfer control unit that performs transfer control when transferring data from memory [1, 1 to a request source; 47 is a data address control unit that controls the address of the data buffer 33; and 48 is a data port []i address. The register 49 that holds λ is updated across the value of λ 48 +
1 circuit, 50 is a register that holds the address of data port 1, 51 is a register that updates the value of the register 50 +
It is one circuit. Update control of these addresses is performed by the data buffer address control section 47 described above.

52はデータバッファアドレス制御部47からの制御信
号によりレジスタ48.5CFの出力のうちいずれか一
方をデータバッファアドレスとしてデータバッファ33
に′lえるセレクタである。53は二重化メモリ0エラ
ーと二重化メモリ1エラー信号を受けてエラー判定を行
い、要求元に送るエラー判定部である。ここでのメモリ
エラーは、メモリ〕、2内でデータ読出し時にFCCチ
エツク等により読出しエラーか発生し、た時に各メモリ
1.2から出力されるエラーのことである。このように
構成された回路の動作を説明すれば、以ドのとおりであ
る。
Reference numeral 52 designates one of the outputs of the register 48.5CF as a data buffer address according to a control signal from the data buffer address control unit 47, and the data buffer 33
This is a selector that can be used to Reference numeral 53 denotes an error determination unit which receives the duplex memory 0 error and duplex memory 1 error signals, performs error determination, and sends the results to the request source. The memory error here refers to an error that is output from each memory 1.2 when a read error occurs due to an FCC check or the like when reading data in the memories 1.2. The operation of the circuit configured in this way will be explained as follows.

先ず、本発明の概念を示すと第3図に示すようなちとな
る。第6図に示す従来方式と同じく、メモリ0か先行し
、ている例であり、メモリ1からデータか届いた時点で
、比較すべきデータはデータバッファアドレス1か示し
ているので、その内容と比較データレ/メタ34の内容
とを比較する。
First, the concept of the present invention is illustrated in FIG. 3. Like the conventional method shown in Figure 6, this is an example in which memory 0 takes the lead, and when data arrives from memory 1, the data to be compared indicates data buffer address 1, so its contents are The contents of the comparison data file/meta 34 are compared.

lス下、第2図について説明する。処理装置(要求元)
からのデータ転送要求を受けると、メモリ0.1からの
データ転送が開始され、それぞれのデータポート(〕、
1に読出されたデータか保持され、バッフ743.44
にそれぞれのメモリのバリッドビットか保持される。こ
こで、データポート(〕のデータかデータポート1のデ
〜りよりも先に応答かあったものとする。先行データ判
定部3(−)は、!くリットビットをそれぞれのバッフ
ァ43゜44から受けてデータポート1]に先にデータ
か届いたと判定し、その旨をデータバッファアドレス制
御部47に通知する。更に、セレクタ31にセレクト信
号を与えて、データポート0のデータを出力してデータ
バッファ33に与える。
Below, FIG. 2 will be explained. Processing device (request source)
When a data transfer request is received from memory 0.1, data transfer from memory 0.1 is started, and each data port (),
The data read to 1 is retained and the buffer 743.44
The valid bits of each memory are maintained. Here, it is assumed that there is a response before the data of data port () or the data of data port 1. data port 1], and notifies the data buffer address control unit 47 of this fact.Furthermore, a select signal is given to the selector 31 to output the data of data port 0. It is applied to the data buffer 33.

先行データ判定部30からの信号を受けると、データバ
ッファアドレス制御部47は、セレクタ52にセレクト
信号を出力し、レジスタ48のデータポートOのアドレ
スをセレクトしてデータバッファ33に′j、える。こ
の結果、データバッファ33には、セレクタ31から与
えられているデータがセレクタ52から与えられるアド
レスに書込まれる。二のデータ書込みと同時に、データ
バッファアトし・ス制御部47は+1加算器4つを動作
させて、データバッファ33のデータポートアドレスを
+1する。
Upon receiving the signal from the preceding data determining section 30, the data buffer address control section 47 outputs a select signal to the selector 52, selects the address of data port O of the register 48, and stores 'j' in the data buffer 33. As a result, the data given from the selector 31 is written into the data buffer 33 at the address given from the selector 52. Simultaneously with the second data write, the data buffer address control section 47 operates four +1 adders to increment the data port address of the data buffer 33 by one.

次に、遅れてデータポー1・1とバッファ44にメモリ
1から読出したデータとノ\リットビットか送られてく
る。先行データ判定部30は、バリッドビットをそれぞ
れのバッファ43.44から受けてデータポート1に遅
れたデータか届いたと判定し、その旨をデータバッファ
アドレス制御部47に通知する。更に、セレクタ1にセ
レクト信号を′jえて、データポート1のデータを出力
して比較データレジスタ34に与える。
Next, the data read from the memory 1 and the no \lit bit are sent to the data port 1.1 and the buffer 44 with a delay. The preceding data determining unit 30 receives the valid bits from the respective buffers 43 and 44, determines that delayed data has arrived at the data port 1, and notifies the data buffer address control unit 47 of this fact. Further, a select signal is sent to the selector 1, and the data of the data port 1 is output and applied to the comparison data register 34.

この時、比較データレジスタ34の内容と比較するデー
タのアドレスはし2スタ50のデータポートアドレス1
から与えられる。そこで、データバッファアドレス制御
部47は、セレクタ52にセレクト信号を与えて、レジ
スタ5(−)の内容であるデータポート1アドレスを出
力してデータバ・ファ33に与える。
At this time, the address of the data to be compared with the contents of the comparison data register 34 is the data port address 1 of the second star 50.
given from. Therefore, the data buffer address control section 47 supplies a select signal to the selector 52 to output the data port 1 address, which is the content of the register 5(-), and supplies it to the data buffer 33.

次に、転送制御部46はデータバッファ33から読出し
たデータを7エノチデータレジスタ45にセットする。
Next, the transfer control unit 46 sets the data read from the data buffer 33 into the 7-enochi data register 45.

比較回路35はフェッチデータレジスタ45に保持され
ている先行データと、比較データレジスタ′34に保持
されている後行データとを比較する。比較の結果は、7
エソチデータレジスタ45の内容と共に、要求元に送ら
れる。つまり、比較回路35の比較の結果、双方のデー
タか一致したらフェッチデータレジスタ45の内容はd
二しいこと1こなるので、そのデータがメモリから読出
されたデータとして要求元のMSU(図示せず)に格納
される。
The comparison circuit 35 compares the preceding data held in the fetch data register 45 and the succeeding data held in the comparison data register '34. The result of the comparison is 7
It is sent to the request source together with the contents of the Esochi data register 45. In other words, if both data match as a result of the comparison by the comparison circuit 35, the contents of the fetch data register 45 will be d.
Two things happen: the data is stored in the requesting MSU (not shown) as data read from memory.

一方、データ転送か終了し、転送制御部46か終rをエ
ラー判定部5′3に通知すると、該エラー判定部53は
データ転送中に読出しエラーが発生したら、その旨を要
求元に通知する。
On the other hand, when the data transfer is completed and the transfer control unit 46 notifies the error determination unit 5'3 of the end, the error determination unit 53 notifies the request source of this if a read error occurs during the data transfer. .

以ト、メモリ0からのデータが先行した場合を例にとっ
て説明したか、メモリ1からのデータか先行する二とも
ある。その場合には、セレクタ1の出力かデータバッフ
ァ33に与えられ、セレクタ(−〕の出力は比較データ
レジスタ34にセットされる。この時のデータへソファ
33のデータ書込みアドレスはデータポー1・1アドレ
スを保持するレジスタ50から与えられる。そして、デ
ータ11ツフア33から読出したデータと比較データレ
ジスタ34の内容とか比較回路35て比較されることに
なる。
Hereinafter, the case where the data from memory 0 precedes is explained as an example, or the data from memory 1 may precede. In that case, the output of the selector 1 is given to the data buffer 33, and the output of the selector (-) is set to the comparison data register 34.The data writing address of the sofa 33 to the data at this time is data port 1. The address is given from the register 50 that holds the address.Then, the data read from the data 11 buffer 33 and the contents of the comparison data register 34 are compared by the comparison circuit 35.

第4図は本発明の動作を示すタイムチャートである。図
中、Wはデータバッファ書込みステート、Rはデータハ
ソファ読出しステート、Cは比較ステートである。先ず
、データポート0に先にデータが入ってくる(■)。こ
のデータはデータ11ツフ73′うに書込まれると同時
にフェッチデータレジスタ45にセントされる。
FIG. 4 is a time chart showing the operation of the present invention. In the figure, W is a data buffer write state, R is a data buffer read state, and C is a comparison state. First, data enters data port 0 first (■). This data is written to the data 11 buffer 73' and sent to the fetch data register 45 at the same time.

次に、データポート1にデータか入ってくる(■)。こ
のデータは比較データレジスタ34にセントされる(■
)。この状態で、データバッファ′33から読出された
データ(フェッチデータレジスタ45の出力)と比較デ
ータレジスタ34の出力とが比較回路35て比較される
(■)。以下、同様である。
Next, data comes into data port 1 (■). This data is sent to the comparison data register 34 (■
). In this state, the data read from the data buffer '33 (output of the fetch data register 45) and the output of the comparison data register 34 are compared by the comparison circuit 35 (■). The same applies hereafter.

[発明の効果] 以上、詳細に説明したように、本発明によれば先管Iデ
ータをデータバッファに、後行データを比較データしシ
スタにセットすることにより二重化メモリから読出した
データを順にタイミンクよく比較することができ、二重
化メモリから読出したデータを格納する・1ソフアの容
量を削減することができる。
[Effects of the Invention] As described above in detail, according to the present invention, the data read from the duplex memory can be sequentially timed by setting the leading I data in the data buffer and the trailing data as comparison data and setting it in the sister. It can be compared well, and the capacity of one software for storing data read from the duplex memory can be reduced.

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

第1図は本発明の原理ブロク図、 第2図は本発明の一実施例を示す構成ブロック図、 第゛3図は本発明による比較方式の概念図、第4図は本
発明の動作を示すタイムチャート、第5図は従来システ
ムの構成例を示すブロフク図、 第6図は従来の比較方式の概念図である。 第1図において、 1.2は二重化メモリ、 30は先行データ判定部、 31、 32はセレクタ、 33はデータバッファ、 34は比較データレンスタ、 35は比較回路である。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a configuration block diagram showing an embodiment of the present invention, Fig. 3 is a conceptual diagram of a comparison method according to the present invention, and Fig. 4 shows the operation of the present invention. 5 is a diagram showing a configuration example of a conventional system, and FIG. 6 is a conceptual diagram of a conventional comparison method. In FIG. 1, 1.2 is a duplex memory, 30 is a preceding data determination section, 31 and 32 are selectors, 33 is a data buffer, 34 is a comparison data register, and 35 is a comparison circuit.

Claims (1)

【特許請求の範囲】 二重化メモリを構成するメモリ(1)、(2)と、 これらメモリ(1)、(2)の出力を受けてどちらのメ
モリからのデータが先行しているかを判定する先行デー
タ判定部(30)と、 前記二重化メモリ(1)、(2)のそれぞれの出力を受
けていずれか一方をセレクトする第1のセレクタ(31
)と、 同じく前記二重化メモリ(1)、(2)のそれぞれの出
力を受けていずれか一方をセレクトする第2のセレクタ
(32)と、 前記第1のセレクタ(31)の出力を格納するデータバ
ッファ(33)と、 前記第2のセレクタ(32)の出力を受ける比較データ
レジスタ(34)と、 これらデータバッファ(33)及び比較データレジスタ
(34)の出力を比較する比較回路(35)とを具備し
、 前記先行データ判定部(30)出力により第1及び第2
のセレクタ(31)、(32)を制御して先行データを
データバッファ(33)に、後行データを比較データレ
ジスタ(34)にそれぞれ格納して、比較回路(35)
によりデータ比較する時のタイミングをとるように構成
したことを特徴とする二重化メモリの読出し比較システ
ム。
[Claims] Memories (1) and (2) that constitute the duplex memory, and a preceding device that receives the outputs of these memories (1) and (2) and determines which memory has the preceding data. a data determination section (30); and a first selector (31) that receives the respective outputs of the duplex memories (1) and (2) and selects one of them.
), a second selector (32) that similarly receives the respective outputs of the duplex memories (1) and (2) and selects one of them, and data that stores the output of the first selector (31). a buffer (33); a comparison data register (34) that receives the output of the second selector (32); and a comparison circuit (35) that compares the outputs of the data buffer (33) and the comparison data register (34). The first and second
The selectors (31) and (32) are controlled to store the preceding data in the data buffer (33) and the succeeding data in the comparison data register (34), respectively, and then the comparison circuit (35)
What is claimed is: 1. A read comparison system for dual memory, characterized in that the system is configured to take timing when comparing data.
JP2271455A 1990-10-09 1990-10-09 Read/comparison system for duplex memory Pending JPH04149653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2271455A JPH04149653A (en) 1990-10-09 1990-10-09 Read/comparison system for duplex memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2271455A JPH04149653A (en) 1990-10-09 1990-10-09 Read/comparison system for duplex memory

Publications (1)

Publication Number Publication Date
JPH04149653A true JPH04149653A (en) 1992-05-22

Family

ID=17500273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2271455A Pending JPH04149653A (en) 1990-10-09 1990-10-09 Read/comparison system for duplex memory

Country Status (1)

Country Link
JP (1) JPH04149653A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1703400A2 (en) 2005-03-17 2006-09-20 Fujitsu Limited Dual storage apparatus and control method for the dual storage apparatus
WO2010109537A1 (en) * 2009-03-27 2010-09-30 富士通株式会社 Information processing apparatus, memory control method, and memory control apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1703400A2 (en) 2005-03-17 2006-09-20 Fujitsu Limited Dual storage apparatus and control method for the dual storage apparatus
US7467261B2 (en) 2005-03-17 2008-12-16 Fujitsu Limited Dual storage apparatus and control method for the dual storage apparatus
WO2010109537A1 (en) * 2009-03-27 2010-09-30 富士通株式会社 Information processing apparatus, memory control method, and memory control apparatus
US8762673B2 (en) 2009-03-27 2014-06-24 Fujitsu Limited Interleaving data across corresponding storage groups

Similar Documents

Publication Publication Date Title
US4507728A (en) Data processing system for parallel processing of different instructions
US4965793A (en) Method and apparatus for interfacing a system control unit for a multi-processor
US6341318B1 (en) DMA data streaming
US6772268B1 (en) Centralized look up engine architecture and interface
US8555011B1 (en) Apparatus and method for a synchronous multi-port memory
JPH05282203A (en) Cache controller
US7155540B2 (en) Data communication method in shared memory multiprocessor system
JPH06131244A (en) Asynchronous access system for shared memory
JPH04149653A (en) Read/comparison system for duplex memory
EP1211603B1 (en) Interface for multi-processor
EP0700005B1 (en) Vector data bypass mechanism for vector computer
JP2598441B2 (en) Vector data processing device
US5704056A (en) Cache-data transfer system
JP2000040057A (en) Computer system, buffer controller and transferring method
JPS6126104B2 (en)
US6839820B1 (en) Method and system for controlling data access between at least two memory arrangements
JPH06231032A (en) Access controller
JP2616116B2 (en) Data processing device
JPS60142450A (en) Storage system
KR100454652B1 (en) Main storage of highly pipelined bus system on multiprocessor system using shared memory
JP2719227B2 (en) Processing equipment
US20020147935A1 (en) Timer circuit
JPH06274405A (en) Memory write control circuit
JPS63284673A (en) Information processor
JPS61288261A (en) Multiprocessor system