JPS5975498A - Memory redundant system - Google Patents
Memory redundant systemInfo
- Publication number
- JPS5975498A JPS5975498A JP57184676A JP18467682A JPS5975498A JP S5975498 A JPS5975498 A JP S5975498A JP 57184676 A JP57184676 A JP 57184676A JP 18467682 A JP18467682 A JP 18467682A JP S5975498 A JPS5975498 A JP S5975498A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- data
- write
- readout
- 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
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/70—Masking faults in memories by using spares or by reconfiguring
- G11C29/74—Masking faults in memories by using spares or by reconfiguring using duplex memories, i.e. using dual copies
Abstract
Description
【発明の詳細な説明】
この発明は、主メモリに対するバックアップ用メモリ(
待機メモリ)を有するメモリ冗長システム、特にこのよ
うなシステムに用いて好適なメモリユニットに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a backup memory (
The present invention relates to a memory redundancy system having a standby memory (standby memory), and particularly to a memory unit suitable for use in such a system.
一般に、この種のメモリ冗長システムにおいては、主メ
モリがダウンして待機メモリに切替えられるとぎに、デ
ータの連続性を保って切替えられるように待機メそす中
のデータは常に主メモリ中のデータと一致していること
が望ましい。Generally, in this type of memory redundancy system, when the main memory goes down and is switched to standby memory, the data in the standby memory is always the same as the data in the main memory so that the switch can maintain data continuity. It is desirable that they match.
従来、かかる場合に、主メモリおよび待機メモリにそれ
ぞれ異なるアドレスを割り当て、主メモリのデータ更新
後にソフトウェアによって待機メモリのデータ更新を行
なう方法が知られているが、この場合Fi同様の操作を
2回行なうことになってソフトウェアの負荷が増大する
ため、中央処理装置の演算スピードが遅くなる等、その
性能が低下するという欠点がある。Conventionally, in such cases, a method has been known in which different addresses are assigned to the main memory and the standby memory, and the data in the standby memory is updated by software after the data in the main memory is updated, but in this case, the same operation as Fi is performed twice. This increases the load on the software, which has the disadvantage of reducing the performance of the central processing unit, such as slowing down the calculation speed of the central processing unit.
一方、主メモリおよび待機メモリにそれぞれ同じアドレ
スを割シ当で、これら2つのメモリのデータ更新を同時
に行な5方法も考えられるが、このようにすると、デー
タの読出し時には2つのメモリユニットから同じデータ
が読み出されて、いわゆるデータの混触が生じるという
欠点がある。On the other hand, it is also possible to allocate the same address to the main memory and standby memory and update data in these two memories at the same time. There is a drawback that data is read out and so-called data tampering occurs.
この発明はこのような事情のもとになされたもので、中
央処理装置の性能を低下させることなく、かつデータの
混触が生じることのないメモリ冗長化システム、および
かかるシステムに使用して好適なメモリユニットを提供
すること全目的とずろ。The present invention was made under these circumstances, and provides a memory redundancy system that does not reduce the performance of a central processing unit and does not cause data tampering, and that is suitable for use in such a system. The entire purpose is to provide a memory unit.
その特徴は、メモリユニットにおいてその書込みアドレ
スと読出しアドレスとを個別に設定できるように構成し
た点、さら忙このメモリユニットを用いて冗長化システ
ムを構成するときは、両ユニットの書込みアドレスは互
いに一致させ、読出しアドレスは互いに異なるように設
定することにより、読出し時におけるデータの混触を防
止し、一方のユニットから他方のユニットへの切替え時
におけるデータの連続性を確保するようKした点にある
。Its feature is that the write address and read address of the memory unit can be set individually, and when a redundant system is configured using this memory unit, the write addresses of both units must match each other. By setting the read addresses to be different from each other, it is possible to prevent data from collapsing during reading and to ensure data continuity when switching from one unit to the other unit.
以下、この発明の実施例を図面を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.
第1図はこの発明の実施例である冗長化用メモリユニッ
トを示す構成図である。同図において、1はメモリバン
ク、2fiメモリバンク胱出し先頭アドレス設定器、3
#iメモリバンク書込み先頭アドレス設定器、4および
5は比較器、6はオアゲート、100はアドレス線、1
01は院出し信号線、102は書込み信号線、103t
まデータ線、Slは読出しアドレス一致信号、S2は書
込みアドレス一致信号、83)まパンク内アドレス信号
、S4はメモリ選択許可信号である。FIG. 1 is a block diagram showing a redundant memory unit according to an embodiment of the present invention. In the figure, 1 is a memory bank, 2 is a memory bank top address setting device, and 3 is a memory bank.
#i Memory bank write start address setter, 4 and 5 are comparators, 6 is an OR gate, 100 is an address line, 1
01 is the hospital output signal line, 102 is the write signal line, 103t
A data line, Sl is a read address match signal, S2 is a write address match signal, 83) is an address signal within a puncture, and S4 is a memory selection permission signal.
すなわち、設定器2,3はそれぞれ叱較器4゜5に接続
され、アドレス線100も同様に比較器4.5に接続さ
れている。ざらに、比較器4,5にはそれぞれ読出し信
号線101 t ”t=8込み信号線102が接続され
ている。ここで、メモリバンク1にデータを書込む場合
は、信号線102に信号が出されて比較器5が選択され
る。該比!2器5はアドレスl/M100を介して与え
られるアドレスが設定器3に設定されている設定書込み
アドレスと一致すると、74込みアドレス一致信号S2
を出すので、この信号S2はオアゲート6を経てメモリ
選択許可信号S4となυ、これによυメモリバンク1の
使用が許可され、アドレス線100からのアドレス信号
によってアクセス可能となる。つまり、メモリバンク1
の先頭アドレスが例えば“1000 ”で、アドレスI
X/J1100を介して与えられるアドレス指定信号が
’1500”とすると、設定器3には”1000’が予
め設定される。比較器5は指定アドレスと設定アドレス
の最上位桁(またはビット)を互いに比較し、この場合
は双方ともt1nであるので、アドレス一致信号S2お
よびメモリ選択許可信号S4が出されてメモリ1の選択
が許可される。That is, the setters 2 and 3 are each connected to a comparator 4.5, and the address line 100 is likewise connected to a comparator 4.5. Roughly speaking, a read signal line 101 t "t=8 included signal line 102 is connected to each of the comparators 4 and 5. Here, when writing data to the memory bank 1, a signal is input to the signal line 102. When the address given via the address l/M100 matches the setting write address set in the setting device 3, the ratio!2 device 5 outputs a 74 write address match signal S2.
This signal S2 passes through the OR gate 6 and becomes the memory selection permission signal S4. This allows the use of the memory bank 1 and makes it accessible by the address signal from the address line 100. In other words, memory bank 1
For example, the first address of “1000” is address I
If the address designation signal applied via the X/J1100 is '1500', the setter 3 is preset to '1000'. Comparator 5 compares the most significant digits (or bits) of the specified address and the set address, and in this case, since both are t1n, address match signal S2 and memory selection permission signal S4 are output, and memory 1 is selected. is allowed.
これによって、アドレス指定信号” 1500”のうち
”500’″だけがメモリバンク1のバンク内アドレス
信号S3として与えられて所望のアドレス選択が行なわ
れ、データ線103を介して所定のデータが書込まれる
0なお、比較器5は最上位桁またはビットのみを比較す
るだけであるから図に#′i1個しか示されていないが
、次の桁またはビットの比較が必要な場合は、それに応
じた数だけの比較器が設(すられること1まもちろんで
ある。また、このメモリユニット1からブータラ読出す
場合も、上記と同様にしてアドレス線10(l介して与
えられる読出し指定アドレスが設定器2に予め設定され
でいる読出し設定アドレスと一致したときのみメモリバ
ンク1が選択され、データがデータ線103上にLfj
力されることに斤る。As a result, only "500'" of the address designation signal "1500" is applied as the in-bank address signal S3 of memory bank 1, a desired address is selected, and predetermined data is written via the data line 103. Comparator 5 only compares the most significant digit or bit, so only one #'i is shown in the figure, but if the next digit or bit needs to be compared, it will be compared accordingly. Of course, as many comparators as the number of comparators are provided (1).Also, when reading out a booter from this memory unit 1, the read designation address given via the address line 10 (1) is set to Memory bank 1 is selected only when the address matches the read setting address set in advance in Lfj
I love being pushed.
第2図は、このよう外メモリユニットヲ用いてメモリ冗
長化システムを構成した場合を示すシステム構成図であ
;!、1゜
すなわち、上述の如きメモリユニットが主メモリユニッ
ト8および待機メモリユニット9として、バス信号線1
0を介して中央処理装置7に並列に接続されている。こ
のような溝底においで、主メモリユニット8および待機
メモリユニット9の書込みアドレスをそれぞれ同一に設
定し、読出しアドレスをそれぞれ別アドレスに設定して
おくものとすると、中央処理装置7からの糾込みデータ
1、主メモリ8と待機メモリ9に対してあたかも1つの
メモリの如(アドレス選択が行なわれ、同じアドレスに
同じデータが記憶される。一方、中央処理装置7がメモ
リ8または9からデータを読出す場合は、互いにその読
出しアドレスが異なっているため、バス信号線10には
いずれか一方のメモリからのデータのみが出力されるた
め、前述の如きデータの混触は生じない。このため、中
央処理装置7は、常時は主メモリ8をアクセスするだけ
で自動的に待機メモリ9のデータ更新が行なわれ、また
主メモリ8が故障等によシダランしたときは、中央処理
装置7においてデータ読出し用のベースアドレスを主メ
モリB用から待機メモリ9用に変えるだけで、データの
連続性を保ちつ一1容易にメモリユニットの切替えが行
なわれるものである。FIG. 2 is a system configuration diagram showing a case where a memory redundancy system is configured using such an external memory unit; , 1° That is, the memory units as described above serve as the main memory unit 8 and the standby memory unit 9, and the bus signal line 1
0 in parallel to the central processing unit 7. At the bottom of such a groove, if the write addresses of the main memory unit 8 and the standby memory unit 9 are set to the same address, and the read addresses are set to different addresses, then the Data 1, main memory 8 and standby memory 9 are treated as if they were one memory (address selection is performed and the same data is stored at the same address. On the other hand, central processing unit 7 stores data from memory 8 or 9). When reading, since the read addresses are different from each other, only data from one of the memories is outputted to the bus signal line 10, so the above-mentioned data collision does not occur. The processing unit 7 normally updates the data in the standby memory 9 automatically by simply accessing the main memory 8, and when the main memory 8 dies due to a failure etc., the central processing unit 7 updates the data for reading data. By simply changing the base address of the main memory B from the standby memory 9, memory units can be easily switched while maintaining data continuity.
以上のように、この発明によれば、メモリユニットに対
して読出しアドレスと書込みアドレスとを別々に設定す
ることができるので、このようなメモリユニットを用い
てメモリ冗長化システムを構成する場合にも、書込み時
における主メモリと待機メモリのデータの一致を容易に
実現できるので、その切替えが全く連続的に行なわれる
一方、読出し時におけるデータの混触を防止することが
できるという効果をもたらすものである。As described above, according to the present invention, the read address and write address can be set separately for the memory unit, so even when configuring a memory redundancy system using such a memory unit. Since the data in the main memory and the standby memory can be easily matched during writing, the switching can be performed completely continuously, while also preventing data from collapsing during reading. .
なお、この発明は上述の如きメモリの冗長化ばかシでな
く、一般にデータの書込み、読出しを必要とする入出力
装置一般を冗長化する場合にも適用することができる。It should be noted that the present invention can be applied not only to the above-described memory redundancy but also to the case of making general input/output devices that generally require writing and reading of data redundant.
第1図はこの発明の実施例である冗長化用メモリユニッ
トを示す構成図、第2図はこの発明のメモリユニットヲ
用いたメモリ冗長化システムを示すシステム構成図であ
る。
符号説明FIG. 1 is a block diagram showing a redundant memory unit according to an embodiment of the present invention, and FIG. 2 is a system block diagram showing a memory redundancy system using the memory unit of the present invention. Code explanation
Claims (1)
うるメモリユニットを少なくとも2組設けて構成される
メモリ冗長化システムであって、少なくとも両ユニット
の書込みアドレスは互いに一致させ、読出しアドレスは
互いに異ならせることによシ、読出し時におけるデータ
の混触を防止するとともに1一方から使方のユニットへ
の切替えの際におけるデータの連続性を維持することを
特徴とするメモリ冗長化システム。 2、特許請求の範囲第1項に記載のメモリ冗長化システ
ムにおいて、[jO記メモリユニットの各々が書込みア
ドレス設定手段と、読出しアドレス設定手段と、書込み
指定アドレスまたをま読出し指定アドレス全それぞれの
設定アドレスと比較し一致したときメモリへのアクセス
を許可するアドレスチェック手段とを備えてなることを
特徴とするメモリ冗長化システム。[Scope of Claims] 1) A memory redundancy system comprising at least two sets of memory units in which write addresses and read addresses can be individually set, wherein at least the write addresses of both units are made to match each other, A memory redundancy system characterized in that reading addresses are made different from each other to prevent data from being mixed up during reading and to maintain data continuity when switching from one unit to the other unit being used. . 2. In the memory redundancy system according to claim 1, each of the memory units has a write address setting means, a read address setting means, and a writing designated address or read designated address, respectively. A memory redundancy system comprising an address check means for comparing the address with a set address and permitting access to the memory when the address matches.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57184676A JPS5975498A (en) | 1982-10-22 | 1982-10-22 | Memory redundant system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57184676A JPS5975498A (en) | 1982-10-22 | 1982-10-22 | Memory redundant system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5975498A true JPS5975498A (en) | 1984-04-28 |
Family
ID=16157406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57184676A Pending JPS5975498A (en) | 1982-10-22 | 1982-10-22 | Memory redundant system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5975498A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0744669A (en) * | 1993-08-03 | 1995-02-14 | Toshiba Emi Ltd | Data recording/reproducing device |
-
1982
- 1982-10-22 JP JP57184676A patent/JPS5975498A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0744669A (en) * | 1993-08-03 | 1995-02-14 | Toshiba Emi Ltd | Data recording/reproducing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5975498A (en) | Memory redundant system | |
JPS621047A (en) | Semiconductor device containing memory circuit | |
JPH04167039A (en) | Data write system | |
KR100259073B1 (en) | Error handling device of a flash memory | |
JPH01159729A (en) | Symbol string collation memory and its cascade connection system | |
JPS59116992A (en) | Associative memory | |
JP2758768B2 (en) | Redundant storage device | |
JPS58179979A (en) | Switching method of memory bank | |
JP2666419B2 (en) | Information processing device | |
JPH0368046A (en) | Memory access system | |
JPS62256145A (en) | Control method for memory space | |
JP2573679B2 (en) | Semiconductor storage device | |
JPS63204342A (en) | Memory device | |
JPS60117353A (en) | Substitute memory control method of memory | |
JPH0619867A (en) | Memory check system | |
JPS60215272A (en) | Multi-processor system | |
JPS61221847A (en) | Control system for main memory | |
JPS6043759A (en) | Memory device | |
JPS584466A (en) | Control system for storage constitution | |
JPS5921062B2 (en) | Memory contention control method | |
JPH04168545A (en) | Interface circuit | |
JPS6367707B2 (en) | ||
JPS58197536A (en) | Device selecting system | |
JPS6218696A (en) | Memory write system | |
JPH0677239B2 (en) | Memory access controller |