JPH0523254U - Memory circuit - Google Patents

Memory circuit

Info

Publication number
JPH0523254U
JPH0523254U JP7038591U JP7038591U JPH0523254U JP H0523254 U JPH0523254 U JP H0523254U JP 7038591 U JP7038591 U JP 7038591U JP 7038591 U JP7038591 U JP 7038591U JP H0523254 U JPH0523254 U JP H0523254U
Authority
JP
Japan
Prior art keywords
parity
information
cpu
storage memory
data
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
JP7038591U
Other languages
Japanese (ja)
Inventor
信雄 中川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7038591U priority Critical patent/JPH0523254U/en
Publication of JPH0523254U publication Critical patent/JPH0523254U/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)

Abstract

(57)【要約】 【目的】 計算機のデータ格納メモリに誤りが発生した
場合でも、該当番地だけを他系のデータ格納メモリに切
り換え、計算機の処理を継続できる記憶回路を得る。 【構成】 データ情報を格納する主系と従系のデータ格
納メモリ3a、3b及びパリティ格納メモリ6を配置す
る。読み出し要求が発生した時に主系のデータ格納メモ
リ3aとパリティ格納メモリ6の情報に基づいて情報の
正誤を識別するパリティチェッカ12を配置する。識別
結果が正常な時は主系の情報を、異常な時は従系の情報
をCPU1に転送するセレクタ14を配置する。 【効果】 主系のデータ格納メモリ3aに異常が発生し
たとしても、CPU1の処理を継続できる。
(57) [Abstract] [Purpose] Even if an error occurs in the data storage memory of the computer, only the corresponding address is switched to the data storage memory of another system, and a storage circuit that can continue the processing of the computer is obtained. [Arrangement] A main system and a sub system data storage memories 3a and 3b for storing data information and a parity storage memory 6 are arranged. A parity checker 12 for arranging the correctness of information based on the information in the main system data storage memory 3a and the parity storage memory 6 when a read request is issued is arranged. A selector 14 is arranged to transfer main system information when the identification result is normal and subordinate information to the CPU 1 when the identification result is abnormal. [Effect] Even if an abnormality occurs in the main system data storage memory 3a, the processing of the CPU 1 can be continued.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

この考案は、格納データの信頼性が強く要求され、メモリ格納中に一時エラー 及び永久故障が発生した場合においても処理の継続性が要求される記憶回路に関 するものである。 The present invention relates to a memory circuit that strongly requires the reliability of stored data and that requires continuity of processing even when a temporary error or a permanent failure occurs during memory storage.

【0002】[0002]

【従来の技術】[Prior Art]

図3は、従来のパリティチェック方式による記憶回路の論理反転エラー検出方 法を示す図である。図において、1は演算を実行するCPU、2は演算結果など のデータ情報を出力する情報出力バス,3aは情報出力バス2のデータ情報を格 納するデータ格納メモリ、4は情報出力バス2のデータ情報に基づいてパリティ データを生成するパリティジェネレータ、5はパリティジェネレータ4から出力 されるパリティ情報である。なお、パリティジェネレータ4を奇数あるいは偶数 パリティにするかはシステムによってあらかじめ設定しておく。6はパリティ情 報5を格納するパリティ格納メモリ、7はデータ格納メモリ3a及びパリティ格 納メモリ6の何番地に情報を格納するのかを決定するアドレスバス、8はCPU 1からのライト信号、9はCPU1からのリード信号、10aはリード信号9が 発生した時にデータ格納メモリ3aよりCPU1にデータ情報を入力する情報入 力バス、11はリード信号9が発生した時にパリティ格納メモリ6より出力され るパリティ情報、12は情報入力バス10a及びパリティ情報11に基づいてデ ータ情報が正常か異常かを識別するパリティチェッカ、13はパリティチェッカ 12の結果によってCPU1に異常を知らせるエラー信号である。 FIG. 3 is a diagram showing a method of detecting a logic inversion error in a memory circuit according to a conventional parity check method. In the figure, 1 is a CPU for executing an operation, 2 is an information output bus for outputting data information such as an operation result, 3a is a data storage memory for storing the data information of the information output bus 2, and 4 is an information output bus 2. A parity generator 5 for generating parity data based on the data information is parity information output from the parity generator 4. Whether the parity generator 4 is odd or even parity is set in advance by the system. Reference numeral 6 is a parity storage memory for storing the parity information 5, 7 is an address bus for determining at which address of the data storage memory 3a and the parity storage memory 6 the information is stored, 8 is a write signal from the CPU 1, and 9 is a write signal. Is a read signal from the CPU 1, 10a is an information input bus for inputting data information from the data storage memory 3a to the CPU 1 when the read signal 9 is generated, and 11 is output from the parity storage memory 6 when the read signal 9 is generated. Parity information, 12 is a parity checker for identifying whether the data information is normal or abnormal based on the information input bus 10a and the parity information 11, and 13 is an error signal for notifying the CPU 1 of the abnormality according to the result of the parity checker 12.

【0003】 次に動作について説明する。図4は、CPU1からデータ格納メモリ3aへの データ情報書き込みタイミングを示したものである。図5は、データ格納メモリ 3aからの情報読み出しタイミングを示したものである。Next, the operation will be described. FIG. 4 shows the timing of writing data information from the CPU 1 to the data storage memory 3a. FIG. 5 shows the timing of reading information from the data storage memory 3a.

【0004】 先づ、データ情報書き込み方法について図4を用いて説明する。CPU1は、 演算を実行すると演算結果をデータ格納メモリ3aに格納するためにアドレスバ ス7に該当アドレス情報をt1のタイミングで出力する。t1からt4が1書き 込み周期である。t2でライト信号8が出力され、同時に情報出力バス2にデー タ情報が出力される。この情報は、パリティジェネレータ4にも入力されパリテ ィ情報5が生成される。情報出力バス2のデータ情報とパリティ情報5はそれぞ れライト信号8の後端t3でデータ格納メモリ3aとパリティ格納メモリ6に格 納される。First, a data information writing method will be described with reference to FIG. When the CPU 1 executes the calculation, the CPU 1 outputs the corresponding address information to the address bus 7 at the timing of t1 in order to store the calculation result in the data storage memory 3a. One write cycle is from t1 to t4. At t2, the write signal 8 is output, and at the same time, the data information is output to the information output bus 2. This information is also input to the parity generator 4 to generate the parity information 5. The data information of the information output bus 2 and the parity information 5 are stored in the data storage memory 3a and the parity storage memory 6 at the trailing end t3 of the write signal 8, respectively.

【0005】 次にデータ情報読み出し方法について図5を用いて説明する。CPU1は、演 算の実行に先だってデータ格納メモリ3aよりデータ情報を読み出す。t5でア ドレスバス7にデータ格納メモリ3aの該当アドレスを出力する。t5からt8 が1読み出し周期である。t6でリード信号9が出力されると、アドレスバス7 によって指定されたデータ格納メモリ3a及びパリティ格納メモリ6により、該 当するデータ情報が情報入力バス10a及びパリティ情報11として出力される 。この2つの情報はパリティチェッカ12に入力され、正常あるいは異常の識別 が実施される。この識別はt7で実行される。エラー信号13がHレベル、すな わち正常の時はCPU1の処理は継続される。もし、エラー信号13がLレベル 、すなわち異常の時はCPU1に異常情報が転送されCPU1の処理は中止され る。Next, a data information reading method will be described with reference to FIG. The CPU 1 reads data information from the data storage memory 3a prior to executing the operation. At t5, the corresponding address of the data storage memory 3a is output to the address bus 7. One read cycle is from t5 to t8. When the read signal 9 is output at t6, the data storage memory 3a and the parity storage memory 6 designated by the address bus 7 output the corresponding data information as the information input bus 10a and the parity information 11. These two pieces of information are input to the parity checker 12 to discriminate between normal and abnormal. This identification is performed at t7. When the error signal 13 is at H level, that is, normal, the processing of the CPU 1 is continued. If the error signal 13 is L level, that is, if there is an abnormality, the abnormality information is transferred to the CPU 1 and the processing of the CPU 1 is stopped.

【0006】[0006]

【考案が解決しようとする課題】[Problems to be solved by the device]

上記のようなパリティチェック方式によるエラー検出方法では、データ情報の 読み出し時にエラーが発生した場合、CPU1の処理を継続できず、停止しなけ ればならないという課題があった。 The error detection method using the parity check method as described above has a problem in that when an error occurs during reading of data information, the processing of the CPU 1 cannot be continued and must be stopped.

【0007】 この考案は、かかる課題を解決するためになされたものであり、データ格納メ モリ3a内にエラーが発生し、データ読み出し時にパリティ異常を識別した場合 においても処理を継続できることを目的としている。The present invention has been made to solve such a problem, and an object thereof is to be able to continue processing even when an error occurs in the data storage memory 3a and a parity abnormality is identified at the time of data reading. There is.

【0008】[0008]

【課題を解決するための手段】[Means for Solving the Problems]

この考案に係わる記憶回路においては、CPU1からのデータ情報を保存する データ格納メモリを主系及び従系として2台配置し、CPU1からのライト信号 8による書き込み要求時には、同時に同一データ情報を主系及び従系のデータ格 納メモリに書き込むと共に、このデータ情報をパリティジェネレータ4に入力し てパリティ情報5を生成し、これをパリティ格納メモリ6に書き込むようにし、 CPU1からのリード信号9による読み出し要求時には、主系と従系のデータ格 納メモリ及びパリティ格納メモリ6から同時に該当するアドレスのデータ情報及 びパリティ情報11を読み出し、主系のデータ情報とパリティ情報11をパリテ ィチェッカ12に入力して正常あるいは異常の識別を行い、もし正常の時は主系 のデータ情報をそのままCPU1に転送し、異常の時はこのデータリード周期の みデータ情報にセレクタで切り換えてCPU1に転送できるようにしたものであ る。 In the storage circuit according to the present invention, two data storage memories for storing data information from the CPU 1 are arranged as a master system and a slave system, and when the write request by the write signal 8 from the CPU 1 requests the same data information at the same time. And a slave data storage memory, and at the same time, this data information is input to the parity generator 4 to generate the parity information 5, which is then written to the parity storage memory 6, and the read request by the read signal 9 from the CPU 1 At times, the data information and parity information 11 at the corresponding address are simultaneously read from the master and slave data storage memories and the parity storage memory 6, and the master data information and parity information 11 are input to the parity checker 12. Identifies normal or abnormal, and if normal, data information of main system Remains transferred to CPU1, when abnormalities Ru der those to be forwarded to CPU1 is switched by the selector data only information in the data read cycle.

【0009】[0009]

【作用】[Action]

上記のようにデータ情報を格納するデータ格納メモリを主系及び従系として2 台構成し、CPU1からのデータ情報の読み出し時に主系の異常状態をパリティ チェッカ12によって識別し、異常が発生していた時は、そのリード周期の中で 従系のデータ格納メモリから出力されたデータ情報に切り換えるようにしたこと で、処理を中断することなく継続できるように作用する。 As described above, two data storage memories for storing data information are configured as a master system and a slave system, and when the data information is read from the CPU 1, an abnormal state of the master system is identified by the parity checker 12, and an abnormality has occurred. In this case, by switching to the data information output from the slave data storage memory during the read cycle, the operation can be continued without interruption.

【0010】[0010]

【実施例】【Example】

実施例1. 図1は、この考案の一実施例であり、1から13は上記従来回路と全く同一の ものである。データ格納メモリ3aは主系として機能する。3bは従系のデータ 格納メモリ、10bはデータ格納メモリ3bからCPU1へのデータ情報を入力 する情報入力バス、14は情報入力バス10aもしくは10bを選択するセレク タ、10cはセレクタ14によって選択された情報入力バス10aもしくは10 bをCPU1に転送する情報入力バスである。 Example 1. FIG. 1 shows an embodiment of the present invention, and 1 to 13 are exactly the same as the above-mentioned conventional circuit. The data storage memory 3a functions as a main system. 3b is a subordinate data storage memory, 10b is an information input bus for inputting data information from the data storage memory 3b to the CPU 1, 14 is a selector for selecting the information input bus 10a or 10b, and 10c is selected by the selector 14. It is an information input bus for transferring the information input bus 10a or 10b to the CPU 1.

【0011】 次に動作について説明する。CPU1からのデータ格納メモリ3a及び3bへ のデータ情報書き込みタイミングは、基本的に従来例の図4と同様である。相違 点は、情報出力バス2がデータ格納メモリ3a及び3bに接続されており、ライ ト信号8によって同時に同一データ情報が書き込める点である。図2は、この考 案のデータ格納メモリ3a及び3bからのデータ情報読み出しタイミングを示し たものである。Next, the operation will be described. The timing of writing the data information from the CPU 1 to the data storage memories 3a and 3b is basically the same as in FIG. 4 of the conventional example. The difference is that the information output bus 2 is connected to the data storage memories 3a and 3b, and the same data information can be written simultaneously by the write signal 8. FIG. 2 shows the timing of reading data information from the data storage memories 3a and 3b according to this idea.

【0012】 データ情報読み出し方法について図1と図2を用いて説明する。図においてセ レクタ14は通常時、情報入力バス10aを選択している。A data information reading method will be described with reference to FIGS. 1 and 2. In the figure, the selector 14 normally selects the information input bus 10a.

【0013】 CPU1は、演算の実行に先だってデータ格納メモリ3a及び3bよりデータ 情報を読み出す。t5でアドレスバス7にデータ格納メモリ3a及び3bの該当 アドレスを出力する。t5からt8が1読み出し周期である。t6でリード信号 9が出力されるとアドレスバス7によって指定されたデータ格納メモリ3aと3 b及びパリティ格納メモリ6により該当するデータ情報が情報入力バス10aと 10b及びパリティ情報11に出力される。情報入力バス10aとパリティ情報 11は、パリティチェッカ12に入力され正常あるいは異常の識別が実施される 。この識別は、t6の直後からt7の間で実行される。図2(a)に示すエラー 信号13がHレベル、すなわち正常の時は情報入力バス10aのデータ情報がセ レクタ14を経由して情報入力バス10cに出力され、CPU1に入力されて処 理は継続される。もし、図2(b)に示すエラー信号13がLレベル、すなわち 情報入力バス10aのデータ情報が異常の時はセレクタ14がエラー信号13に よって切り換えられ、情報入力バス10bが情報入力バス10cとしてCPU1 に入力されることになる。次のリード信号9の周期では、上記と同様な処理が繰 り返され、情報出力バス10aに異常がない時には、情報入力バス10cとして CPU1にデータ情報が転送される。The CPU 1 reads data information from the data storage memories 3a and 3b prior to execution of calculation. At t5, the corresponding addresses of the data storage memories 3a and 3b are output to the address bus 7. One read cycle is from t5 to t8. When the read signal 9 is output at t6, the corresponding data information is output to the information input buses 10a and 10b and the parity information 11 by the data storage memories 3a and 3b designated by the address bus 7 and the parity storage memory 6. The information input bus 10a and the parity information 11 are input to the parity checker 12 to discriminate normality or abnormality. This identification is performed immediately after t6 and until t7. When the error signal 13 shown in FIG. 2A is H level, that is, when the data is normal, the data information of the information input bus 10a is output to the information input bus 10c via the selector 14 and input to the CPU 1 for processing. Will continue. If the error signal 13 shown in FIG. 2B is at L level, that is, if the data information of the information input bus 10a is abnormal, the selector 14 is switched by the error signal 13 and the information input bus 10b becomes the information input bus 10c. It will be input to the CPU 1. In the next cycle of the read signal 9, the same processing as described above is repeated, and when there is no abnormality in the information output bus 10a, the data information is transferred to the CPU 1 as the information input bus 10c.

【0014】 上記のようにデータ格納メモリ3a及び3bを構成することによって、主系の データ格納メモリ3aに異常が発生したとしても、従系のデータ格納メモリ3b をバックアップとして処理を継続することができる。By configuring the data storage memories 3a and 3b as described above, even if an abnormality occurs in the data storage memory 3a of the master system, the data storage memory 3b of the slave system can be used as a backup to continue the processing. it can.

【0015】 上記説明では、この考案を高信頼性が要求される記憶回路に利用する方法につ いて述べたが、同様な信頼性が要求される入出力回路のデータレジスタなどに利 用してもよい。In the above description, a method of using the present invention in a memory circuit that requires high reliability has been described. However, it is applied to a data register of an input / output circuit that requires similar reliability. Good.

【0016】[0016]

【考案の効果】[Effect of the device]

この考案は、以上に説明したように構成されているので、データ格納メモリ3 a及び3bの同一アドレスに同時に異常が発生しない限り、CPU1の処理を中 断せずに継続できる効果を奏する。 Since the present invention is configured as described above, there is an effect that the processing of the CPU 1 can be continued without interruption unless an abnormality occurs at the same address of the data storage memories 3a and 3b at the same time.

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

【図1】この考案の一実施例を示す記憶回路である。FIG. 1 is a memory circuit showing an embodiment of the present invention.

【図2】この考案の一実施例を示す記憶回路の動作タイ
ミングを示す図である。
FIG. 2 is a diagram showing an operation timing of a memory circuit showing an embodiment of the present invention.

【図3】従来の記憶回路を示す図である。FIG. 3 is a diagram showing a conventional memory circuit.

【図4】従来の記憶回路のデータ書き込み時の動作タイ
ミングを示す図である。
FIG. 4 is a diagram showing an operation timing when writing data in a conventional memory circuit.

【図5】従来の記憶回路のデータ読み込み時の動作タイ
ミングを示す図である。
FIG. 5 is a diagram showing an operation timing when reading data from a conventional memory circuit.

【符号の説明】[Explanation of symbols]

1 CPU 3a データ格納メモリ 3b データ格納メモリ 4 パリティジェネレータ 6 パリティ格納メモリ 7 アドレスバス 8 ライト信号 9 リード信号 12 パリティチェッカ 14 セレクタ 1 CPU 3a Data storage memory 3b Data storage memory 4 Parity generator 6 Parity storage memory 7 Address bus 8 Write signal 9 Read signal 12 Parity checker 14 Selector

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 演算を実行するCPU、CPUからのラ
イト信号に従ってCPUから出力されるデータ情報を同
時に記録する主系及び従系2台のデータ格納メモリ、C
PUからのデータ情報に基づいてパリティ情報を生成す
るパリティジェネレータ、パリティジェネレータから出
力されるパリティ情報を格納するパリティ格納メモリ、
CPUからのリード信号に従って主系のデータ格納メモ
リから出力されるデータ情報及びパリティ格納メモリか
ら出力されるパリティ情報からデータ情報の正誤をチェ
ックするパリティチェッカ、パリティチェックの結果が
正常な時は、主系のデータ情報をCPUに転送し、パリ
ティチェックの結果が異常の時は従系から同時に出力さ
れているデータ情報をCPUに転送するセレクタから構
成され、CPUからリード信号が発生された場合、主系
及び従系のデータ格納メモリに格納されているデータ情
報及びパリティ格納メモリに格納されているパリティ情
報を同時に読み出し、主系のデータ情報とパリティ情報
をパリティチェッカでチェックし、正常であった時は主
系の情報をセレクタによってそのままCPUに出力し、
異常であった時はパリティチェッカから出力されるエラ
ー信号によってセレクタを主系から従系に切り換え、従
系のデータ情報をエラー信号が発生した時のみCPUに
転送することを特徴とする記憶回路。
1. A CPU for executing an operation, two data storage memories for a main system and a sub system for simultaneously recording data information output from the CPU according to a write signal from the CPU, C
A parity generator that generates parity information based on data information from the PU, a parity storage memory that stores parity information output from the parity generator,
A parity checker that checks the correctness of the data information from the data information output from the main system data storage memory and the parity information output from the parity storage memory according to the read signal from the CPU. It is composed of a selector that transfers the data information of the system to the CPU, and transfers the data information that is output from the slave system at the same time to the CPU when the result of the parity check is abnormal. When the data information stored in the primary and secondary data storage memories and the parity information stored in the parity storage memory are read at the same time, and the main system data information and parity information are checked by the parity checker, it is normal. Outputs the main system information to the CPU as it is by the selector,
A storage circuit characterized in that when it is abnormal, the selector is switched from the master system to the slave system by an error signal output from the parity checker, and the slave system data information is transferred to the CPU only when the error signal is generated.
JP7038591U 1991-09-03 1991-09-03 Memory circuit Pending JPH0523254U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7038591U JPH0523254U (en) 1991-09-03 1991-09-03 Memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7038591U JPH0523254U (en) 1991-09-03 1991-09-03 Memory circuit

Publications (1)

Publication Number Publication Date
JPH0523254U true JPH0523254U (en) 1993-03-26

Family

ID=13429928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7038591U Pending JPH0523254U (en) 1991-09-03 1991-09-03 Memory circuit

Country Status (1)

Country Link
JP (1) JPH0523254U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012053778A (en) * 2010-09-02 2012-03-15 Toshinori Sueyoshi Error correction circuit of programmable logic circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012053778A (en) * 2010-09-02 2012-03-15 Toshinori Sueyoshi Error correction circuit of programmable logic circuit

Similar Documents

Publication Publication Date Title
JPH0523254U (en) Memory circuit
US6216189B1 (en) Error master detector
JPH0523257U (en) Memory circuit
JPH0523255U (en) Memory circuit
JPH0523258U (en) Memory circuit
JPH0316655B2 (en)
JPH0530952U (en) Memory circuit
JPH0525535U (en) Memory circuit
JPH0533253U (en) Memory circuit
JPH0523256U (en) Memory circuit
JPH1027115A (en) Fault information sampling circuit for computer system
JP2600376B2 (en) Memory controller
JP2890426B2 (en) Information processing device
JP2735246B2 (en) Test and set method
JP3173648B2 (en) Failure detection method
JP3214551B2 (en) Conflict detection failure diagnosis method, conflict detection failure diagnosis method, bus converter, and recording medium
JP2567986B2 (en) Data processing system
JPH05324487A (en) Memory control system
JPS58219646A (en) Pipeline control system
JP3341738B2 (en) Memory error detection method
JPH0315214B2 (en)
JP3071846B2 (en) Parity error detection method and parity error detection circuit
JPH05165735A (en) Identification system for parity error occured memory element
JPS6373437A (en) Checking system for parity circuit
JPS63223916A (en) Data buffer circuit