JP3895118B2 - Single event upset compensation circuit - Google Patents

Single event upset compensation circuit Download PDF

Info

Publication number
JP3895118B2
JP3895118B2 JP2001049275A JP2001049275A JP3895118B2 JP 3895118 B2 JP3895118 B2 JP 3895118B2 JP 2001049275 A JP2001049275 A JP 2001049275A JP 2001049275 A JP2001049275 A JP 2001049275A JP 3895118 B2 JP3895118 B2 JP 3895118B2
Authority
JP
Japan
Prior art keywords
data
output
flip
data processing
check bit
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.)
Expired - Fee Related
Application number
JP2001049275A
Other languages
Japanese (ja)
Other versions
JP2002251898A (en
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 JP2001049275A priority Critical patent/JP3895118B2/en
Publication of JP2002251898A publication Critical patent/JP2002251898A/en
Application granted granted Critical
Publication of JP3895118B2 publication Critical patent/JP3895118B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、半導体装置内で発生するシングルイベントアップセット(SEU:Single Event Upset)に対する補償回路に係り、特に人工衛星に搭載する半導体装置内においてフリップフロップを組み合せて構成されたレジスタ、カウンタ等に適用するのが好適なシングルイベントアップセット補償回路に関するものである。
【0002】
【従来の技術】
例えば人工衛星に搭載される半導体装置のように宇宙放射線の影響を受ける環境下にある半導体装置内においては、放射線によりフリップフロップやメモリの記憶素子などに記憶された論理値が反転するシングルイベントアップセット現象(ソフトエラーとも呼ばれるビット反転現象)が発生する。このシングルイベントアップセットに係る対策の一つとして、半導体装置内の回路素子に放射線に対する耐性を備えさせることが挙げられる。この方策は半導体製造プロセス技術を用いて可能ではあるが、コストがかかるとともに個々の回路素子に要求される耐性を必ずしも実現することができない等の問題がある。したがって、シングルイベントアップセットが発生することを前提とした回路設計技術によりシングルイベントアップセットに係る問題を解決することが望まれている。すなわち、シングルイベントアップセットが発生してエラーが生じても当該エラーを補償することができるような機能を有する補償回路の開発が要望されている。
【0003】
例えば特開平5−243916号公報に記載された補償回路では、遅延回路と排他的論理和をとるイクスクルーシブ・オアゲート(以下、EX−ORゲートと称する)とを組み合せて構成された補償回路をフリップフロップの出力部に接続して、フリップフロップに自己復元機能を備えさせている。上記補償回路は、フリップフロップが保持する論理値反転に係るエラーを検出して、正しい論理値を保持するようにフリップフロップを元の状態に復帰させる。但し、この方策においては、フリップフロップを有して構成される回路について所望の動作を得るためには、遅延素子に対して要求される遅延特性が、個々の回路毎に異なる。また、遅延素子の遅延特性は半導体製造プロセスに応じて大きく変化するので、所望の遅延特性を実現するためには、半導体製造プロセス毎に遅延素子に係る設計を最適化する必要がある。
【0004】
また、例えば特開平7−73114号公報に記載されたメモリ制御回路では、メモリに誤り訂正回路または誤り検出回路を付加して、メモリからデータを読み出す毎に誤り訂正されたデータをメモリに再書き込みするように構成されているので、シングルイベントアップセットが複数回生じてメモリにエラーが蓄積するのを防止することができる。このような方策は、バイトまたはワード単位でデータの書き込みまたは読み出しを行うメモリ等に適用するのに好適である。
【0005】
また、図6は、冗長構成を採用した従来のシングルイベントアップセット補償回路の例を示す回路図である。図6において、101,102,103はそれぞれ並列に接続されたフリップフロップ(以下、適宜FFと称する)、104はFF101、FF102およびFF103の出力データを入力して入力された3つのデータについて多いほうのデータ(データ“0”またはデータ“1”)を出力する多数決回路、105は入力部、106は出力部である。
【0006】
次に、図6に示されたシングルイベントアップセット補償回路の動作について説明する。FF101、FF102およびFF103は、入力されるクロック信号の立ち上がりまたは立ち下がりをトリガとして入力部105に与えられたデータをラッチして保持する。多数決回路104は、FF101、FF102およびFF103に保持されたデータを入力して、多いほうのデータを出力部106へ出力する。
【0007】
FF101、FF102およびFF103がデータをラッチした後に、放射線等の影響によりいずれか1つのフリップフロップにシングルイベントアップセットが発生して論理値の反転が生じても、他の2つのフリップフロップは正しいデータを保持しているので、多数決回路104は正しいデータを出力部106へ出力するから、シングルイベントアップセットの発生を補償することができる。
【0008】
【発明が解決しようとする課題】
従来のシングルイベントアップセット補償回路は以上のように構成されている。特開平5−243916号公報に記載された補償回路については、形成される各回路毎に遅延素子に対して要求される遅延特性が異なるために、半導体製造プロセス毎に遅延素子に係る設計の最適化が必要となり、設計パラメータが増加することで回路設計の効率性において劣るという課題があった。
【0009】
また、特開平7−73114号公報に記載されたメモリ制御回路については、上述したように、当該制御回路は、バイトまたはワード単位でデータの書き込みまたは読み出しを行う記憶手段に適用するのが好適なものである。半導体装置内において複数のフリップフロップから成るレジスタ、カウンタ等の一般的なデータ処理部は、必ずしもバイトやワード単位でデータを記憶するものではないので、上記メモリ制御回路に係る回路構成をこのようなデータ処理部に係るシングルイベントアップセット補償回路に適用するのは困難であるという課題があった。
【0010】
さらに、図6に示された従来のシングルイベントアップセット補償回路については、多数決回路を設ける構成としたことで、補償回路の冗長性が3重以上となるために、半導体装置上における補償回路の占有面積が大きくなるという課題があった。
【0011】
この発明は上記のような課題を解決するためになされたもので、遅延素子を用いることなく、フリップフロップを組み合せて構成されるレジスタ、カウンタ等の回路に汎用的に適用可能で、占有面積の小さなシングルイベントアップセット補償回路を得ることを目的とする。
【0012】
【課題を解決するための手段】
この発明に係るシングルイベントアップセット補償回路は、複数のフリップフロップと、それぞれのフリップフロップの入力データに対して所定の論理演算を適用して検査ビットを生成する入力データ用検査ビット生成手段と、当該入力データ用検査ビットを入力データとしてフリップフロップと共通のトリガに基づいて入力データ用検査ビットをラッチして保持する検査ビット保持手段と、それぞれのフリップフロップの出力データに対して入力データに適用したのと同じ所定の論理演算を適用して検査ビットを生成する出力データ用検査ビット生成手段と、検査ビット保持手段の出力データと出力データ用検査ビット生成手段の出力データとを比較して異なる場合にアクティブとなるエラー検出信号を出力するエラー検出手段とを有してそれぞれ構成される第1のデータ処理部および第2のデータ処理部と、第1のデータ処理部から出力されるエラー検出信号および第2のデータ処理部から出力されるエラー検出信号を入力してエラーの生じていないデータ処理部からの出力データの取得を指示する選択信号を出力する選択手段と、第1のデータ処理部から出力されるデータおよび第2のデータ処理部から出力されるデータを入力して選択信号に基づいてエラーの生じていないデータ処理部からの出力データを出力する切り換え手段とを備えるようにしたものである。
【0013】
この発明に係るシングルイベントアップセット補償回路は、検査ビット保持手段が、それぞれ並列に接続される3以上の奇数個のフリップフロップと、それぞれのフリップフロップからの出力データを入力して多いほうのデータを出力する多数決回路とを有して構成されるようにしたものである。
【0014】
この発明に係るシングルイベントアップセット補償回路は、複数のフリップフロップと、それぞれのフリップフロップの入力部に接続されてフリップフロップの入力データを対象とする1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部、検査ビット列生成部により生成された検査ビット列をフリップフロップと共通のトリガに基づいてラッチして保持する検査ビット列保持部、およびそれぞれのフリップフロップの出力部およびそれぞれのフリップフロップからの出力データが出力されるべき回路素子に接続されて検査ビット列保持部に保持された検査ビット列に基づいてフリップフロップの出力データに係るエラーを訂正し訂正されたデータを当該出力データが出力されるべき回路素子に出力する誤り訂正・検出部から成るエラー訂正手段とを備えるようにしたものである。
【0015】
この発明に係るシングルイベントアップセット補償回路は、出力部に接続される回路素子が、それぞれ並列に接続される3以上の奇数個のフリップフロップと、それぞれのフリップフロップからの出力データを入力して多いほうのデータを出力する多数決回路とを有して構成されるようにしたものである。
【0016】
この発明に係るシングルイベントアップセット補償回路は、複数のフリップフロップと、それぞれのフリップフロップの入力部に接続されてフリップフロップの入力データについて1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部、検査ビット列生成部により生成された検査ビット列をフリップフロップと共通のトリガに基づいてラッチして保持する検査ビット列保持部、およびそれぞれのフリップフロップの出力部およびそれぞれのフリップフロップからの出力データが出力されるべき回路素子に接続されて検査ビット列保持部に保持された検査ビット列に基づいてフリップフロップの出力データに係るエラーを訂正し訂正されたデータを当該出力データが出力されるべき回路素子に出力するとともに、エラーが2ビット以上である場合にアクティブとなる2ビット誤り検出信号を出力する誤り訂正・検出部から成るエラー訂正手段とを有してそれぞれ構成される第1のデータ処理部および第2のデータ処理部と、第1のデータ処理部から出力される2ビット誤り検出信号および第2のデータ処理部から出力される2ビット誤り検出信号を入力してエラー訂正不能となっていないデータ処理部からの出力データの取得を指示する選択信号を出力する選択手段と、第1のデータ処理部から出力されるデータおよび第2のデータ処理部から出力されるデータを入力して選択信号に基づいてエラー訂正不能となっていないデータ処理部からの出力データを出力する切り換え手段とを備えるようにしたものである。
【0017】
【発明の実施の形態】
以下、この発明の実施の一形態を説明する。
実施の形態1.
図1は、この発明の実施の形態1によるシングルイベントアップセット補償回路の構成を示す回路図である。図1において、1は入力部、2は出力部、3,4,5,6,7,8,9,10はフリップフロップ(以下、適宜FFと称する)、11,12,13,14,15,16,17,18,19,20は2入力のEX−ORゲート、21,22は検査ビット保持用のフリップフロップ(検査ビット保持手段)、23は4ビットのシフトレジスタを構成するフリップフロップ3,4,5,6とパリティビット生成用のEX−ORゲート11,12,13,14,15と検査ビット保持用フリップフロップ21とを有して構成されデータ並びにエラー検出信号を出力する第1のデータ処理部、24は4ビットのシフトレジスタを構成するフリップフロップ7,8,9,10とパリティビット生成用のEX−ORゲート16,17,18,19,20と検査ビット保持用フリップフロップ22とを有して構成されデータ並びにエラー検出信号を出力する第2のデータ処理部、25は第1のデータ処理部23のEX−ORゲート(エラー検出手段)14および第2のデータ処理部24のEX−ORゲート(エラー検出手段)19に接続されてそれぞれのエラー検出信号を入力するとともに第1のデータ処理部23または第2のデータ処理部24のいずれから出力されるデータを出力部2へ出力するかを指示する選択信号を出力する選択回路(選択手段)、26は第1のデータ処理部23のデータ出力部であるFF6、第2のデータ処理部24のデータ出力部であるFF10および選択回路25の出力部に接続されて選択回路25から出力される選択信号に応じて第1のデータ処理部23または第2のデータ処理部24のいずれか一方から出力されるデータを出力部2へ出力する切り換え回路(切り換え手段)である。
【0018】
EX−ORゲート11とEX−ORゲート12とEX−ORゲート15とから、FF3の入力データとFF4の入力データとFF5の入力データとFF6の入力データとについての排他的論理和をとる入力データ用検査ビット生成手段が構成される。同様に、EX−ORゲート16とEX−ORゲート17とEX−ORゲート20とから、FF7の入力データとFF8の入力データとFF9の入力データとFF10の入力データとについての排他的論理和をとる入力データ用検査ビット生成手段が構成される。また、EX−ORゲート11とEX−ORゲート12とEX−ORゲート13とから、FF3の出力データとFF4の出力データとFF5の出力データとFF6の出力データとについての排他的論理和をとる出力データ用検査ビット生成手段が構成される。同様に、EX−ORゲート16とEX−ORゲート17とEX−ORゲート18とから、FF7の出力データとFF8の出力データとFF9の出力データとFF10の出力データとについての排他的論理和をとる出力データ用検査ビット生成手段が構成される。なお、EX−ORゲート11,12,13,14,15,16,17,18,19,20については、入力部と出力部とを識別するために、その出力部を黒丸で示している。また、フリップフロップ3,4,5,6,7,8,9,10,21,22には、共通のクロック信号が与えられるものとする。
【0019】
次に動作について説明する。
検査ビット保持用FF21は、FF3の入力データとFF4の入力データとFF5の入力データとFF6の入力データとについての排他的論理和として与えられる入力データ用検査ビットを入力する。これら論理演算対象の入力データのなかで“1”の数が奇数であれば入力データ用検査ビットとしてデータ“1”がFF21に入力され、“1”の数が偶数であれば入力データ用検査ビットとしてデータ“0”がFF21に入力される。また、EX−ORゲート14の一方の入力部はFF3の出力データとFF4の出力データとFF5の出力データとFF6の出力データとについての排他的論理和として与えられる出力データ用検査ビットを入力し、EX−ORゲート14の他方の入力部はFF21の出力データを入力する。
【0020】
ここで、任意の時刻におけるFF3の入力データをA(“0”または“1”)、FF4の入力データをB、FF5の入力データをC、FF6の入力データをDとする。この際、検査ビット保持用FF21の入力データはAとBとCとDとについての排他的論理和となる。次に、各フリップフロップに共通に入力されるクロック信号に立ち上がりまたは立ち下がりが生じると、これをトリガとして各フリップフロップが入力データをラッチする。FF3はデータAをラッチし、FF4はデータBをラッチし、FF5はデータCをラッチし、FF6はデータDをラッチし、FF21はAとBとCとDとについての排他的論理和をラッチする。これにより、EX−ORゲート14の一方の入力部はAとBとCとDとについての排他的論理和を入力し、また他方の入力部もAとBとCとDとについての排他的論理和を入力するから、EX−ORゲート14の出力部は“0”を出力する。なお、EX−ORゲート14から出力されるエラー検出信号は“1”の際にアクティブとなるものとする。
【0021】
ところで、上記トリガが発生した後にFF3,FF4,FF5,FF6のなかのいずれか1つのフリップフロップにシングルイベントアップセットが生じると、EX−ORゲートの一方の入力部に入力されるデータすなわち出力データ用検査ビットの論理値が反転し、EX−OR回路14の出力部は“1”を出力して、エラー検出信号はアクティブとなる。このように、シフトレジスタを構成するFF3,FF4,FF5,FF6にシングルイベントアップセットが生じない場合にはEX−ORゲート14は“0”を出力し、シングルイベントアップセットが生じた場合にはEX−ORゲート14は“1”を出力するから、EX−ORゲート14は4つのフリップフロップから成るシフトレジスタのエラー検出手段として機能する。なお、第2のデータ処理部24を構成する要素も第1のデータ処理部23内の対応する要素と同様に動作し、EX−ORゲート19はFF7、FF8、FF9、FF10の4つのフリップフロップから成るシフトレジスタのエラー検出手段として機能する。
【0022】
選択回路25は、EX−ORゲート14から出力されるエラー検出信号およびEX−ORゲート19から出力されるエラー検出信号を入力して、第1のデータ処理部23または第2のデータ処理部24のいずれかにシングルイベントアップセットに起因するエラーが生じている場合には、エラーの生じていないデータ処理部からの出力データの取得を指示する選択信号を出力する。切り換え回路26は、当該選択信号を入力して、エラーの生じていないデータ処理部から出力されるデータを出力部2へ伝達する。
【0023】
以上のように、この実施の形態1によれば、EX−ORゲート11,12,15(16,17,20)から構成されフリップフロップFF3,FF4,FF5,FF6(FF7,FF8,FF9,FF10)の入力データについての排他的論理和をとる入力データ用検査ビット生成手段と、入力データ用検査ビットを入力データとする検査ビット保持用FF21(FF22)と、EX−ORゲート11,12,13(16,17,18)から構成されフリップフロップFF3,FF4,FF5,FF6(FF7,FF8,FF9,FF10)の出力データについての排他的論理和をとる出力データ用検査ビット生成手段と、検査ビット保持用FF21(FF22)の出力データと出力データ用検査ビット生成手段の出力部に該当するEX−ORゲート13(EX−ORゲート18)の出力データとを比較して異なる場合にはエラーの発生を示すデータ“1”を出力するEX−ORゲート14(EX−ORゲート19)と、EX−ORゲート14からのエラー検出信号およびEX−ORゲート19からのエラー検出信号を入力して選択信号を出力する選択回路25と、選択信号に基づいてエラーの生じていないデータ処理部からの出力データを出力する切り換え回路26とを備えるように構成したので、フリップフロップのいずれか1つにシングルイベントアップセットが発生すると、当該シングルイベントアップセットの発生したフリップフロップが含まれるデータ処理部から出力されるエラー検出信号がアクティブとなって、エラーの生じていないデータ処理部からの出力データが出力部2へ出力されるから、シングルイベントアップセットの発生を補償できるという効果を奏する。また、シングルイベントアップセットを補償するために、データ処理等を実施するデータ処理部を2つ設けているのみで、冗長性のレベルを3重から2重へと下げることで、シングルイベントアップセット補償回路の半導体装置上における占有面積を低減することができるという効果を奏する。さらに、上記シングルイベントアップセット補償回路については、データ処理を実施するデータ処理部内に設けられるフリップフリップに係る接続形態について何ら制約がないので、種々の回路に汎用的に適用することができて、設計の効率化に寄与するという効果を奏する。
【0024】
なお、この発明の実施の形態1では4ビットのシフトレジスタに係るシングルイベントアップセット補償回路を例にして発明を開示しているが、データ処理部内におけるフリップフロップの組み合せはこのような形態に限定されるものではなく、所望のデータ処理を実現する任意の回路構成を実現するフリップフロップの種々の接続形態に対して本願発明を適用することが可能であり、以降の実施の形態においても同様であることに留意されたい。
【0025】
実施の形態2.
図2は、この発明の実施の形態2によるシングルイベントアップセット補償回路の構成を示す回路図である。図2において、図1と同一符号は同一または相当部分を示すのでその説明を省略する。31,32,33,34,35,36は検査ビット保持用のフリップフロップ、37はFF31、FF32およびFF33から出力されるデータを入力して多いほうのデータ(“0”または“1”)を出力する多数決回路、38はFF34、FF35およびFF36から出力されるデータを入力して多いほうのデータを出力する多数決回路である。
【0026】
次に動作について説明する。なお、FF3、FF4、FF5、FF6、FF7、FF8、FF9、FF10のなかのいずれか1つのフリップフロップにシングルイベントアップセットが発生した場合の基本的な補償動作については、既に実施の形態1において説明済みであるので、その説明を省略する。
【0027】
FF31、FF32およびFF33は、入力されるクロック信号の立ち上がりまたは立ち下がりをトリガとして、FF3、FF4、FF5およびFF6の入力データについての排他的論理和として与えられる入力データ用検査ビットをラッチして保持する。多数決回路37は、FF31、FF32およびFF33の出力データをそれぞれ入力して、多いほうのデータを出力する。
【0028】
FF31、FF32およびFF33が入力データ用検査ビットをラッチした後に、放射線等の影響によりFF31、FF32およびFF33のなかのいずれか1つのフリップフロップにシングルイベントアップセットが発生して論理値の反転が生じても、他の2つのフリップフロップは正しいデータを保持しているので、多数決回路37は正しいデータを出力するから、検査ビット保持用フリップフロップに発生するシングルイベントアップセットを補償することができる。なお、第2のデータ処理部24に設けられたFF34、FF35、FF36および多数決回路38も上記と同様に動作する。
【0029】
以上のように、この実施の形態2によれば、入力データ用検査ビットをラッチして保持するための検査ビット保持手段を3つのフリップフロップFF31、FF32およびFF33(FF34、FF35およびFF36)と多数決回路37(多数決回路38)とを有して構成するようにしたので、検査ビット保持用フリップフロップにシングルイベントアップセットが発生しても当該シングルイベントアップセットを補償することができるから、回路の信頼性をより向上することができるという効果を奏する。
【0030】
実施の形態3.
図3は、この発明の実施の形態3によるシングルイベントアップセット補償回路の構成を示す回路図である。図3において、41は入力部、42は出力部、43,44,45,46は共通のクロック信号に基づいて入力データをラッチして出力するフリップフロップ、47は1ビット誤り訂正・2ビット誤り検出を実施するエラー訂正回路(エラー訂正手段)、48は2ビット誤り検出信号出力部である。FF43、FF44、FF45およびFF46は4ビットのシフトレジスタを構成するように配置されている。また、エラー訂正回路47は、メモリ制御回路内のECC回路と類似の構成を有しており、各フリップフロップの入力部に接続されFF43の入力データ、FF44の入力データ、FF45の入力データおよびFF46の入力データから例えば拡大ハミングコードのような1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部と、当該検査ビット列生成部により生成された検査ビット列をFF43等と共通のトリガに基づいてラッチして保持する検査ビット列保持部と、各フリップフロップの出力部、および回路構成上当該出力部からの出力データが出力されるべき回路素子(次段のフリップフロップの入力部または出力部42)に接続され、検査ビット列保持部に保持された検査ビット列に基づいてFF43の出力データ、FF44の出力データ、FF45の出力データおよびFF46の出力データについて1ビット誤り訂正・2ビット誤り検出を実施して、それぞれFF44の入力データ、FF45の入力データ、FF46の入力データ、出力部42への出力データとして出力するとともに、エラーが2ビット以上の場合には2ビット誤り検出信号出力部48から出力される2ビット誤り検出信号をアクティブにする誤り訂正・検出部とを有して構成されている。
【0031】
次に動作について説明する。
任意の時刻におけるFF43の入力データをA(“0”または“1”)、FF44の入力データをB、FF45の入力データをC、FF46の入力データをDとする。この際、エラー訂正回路47の検査ビット列生成部は、データA,B,C,Dについて1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する。次に、各フリップフロップに共通に入力されるクロック信号に立ち上がりまたは立ち下がりが生じると、これをトリガとして、FF43はデータAをラッチし、FF44はデータBをラッチし、FF45はデータCをラッチし、FF46はデータDをラッチするとともに、エラー訂正回路47の検査ビット列保持部は上記検査ビット列生成部により生成された検査ビット列をラッチして保持する。エラー訂正回路47の誤り訂正・検出部は、FF43の出力データ、FF44の出力データ、FF45の出力データおよびFF46の出力データを入力して、データA,B,C,Dについて生成された検査ビット列を基にして1ビット誤り訂正・2ビット誤り検出を実施し、それぞれFF44の入力データ、FF45の入力データ、FF46の入力データおよび出力部42への出力データとして出力する。エラー訂正回路47の上記のような動作により、FF43、FF44、FF45およびFF46は4ビットのシフトレジスタとして機能する。
【0032】
上記トリガが発生した後に、FF43、FF44、FF45、FF46のなかのいずれか1つのフリップフロップにシングルイベントアップセットが発生すると、シングルイベントアップセットが生じたフリップフロップの出力データの論理値は反転するが、エラー訂正回路47の誤り訂正・検出部が検査ビット列に基づいて当該フリップフロップの出力データに係るエラーを訂正して、即座に訂正された正しいデータを当該出力データが出力されるべき次段のフリップフロップの入力部または出力部42へ出力するので、シングルイベントアップセットの発生を補償することができる。なお、時間的に隣接する任意の2つのトリガ(クロック信号の立ち上がりまたは立ち下がり)間において、2つのフリップフロップにシングルイベントアップセットが発生すると、エラー訂正不能となり、2ビット誤り検出信号がアクティブとなる。
【0033】
以上のように、この実施の形態3によれば、FF43、FF44、FF45、FF46の入力部に接続されてこれらのフリップフロップの入力データに係る1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部と、検査ビット列生成部により生成された検査ビット列をFF43等と共通のトリガに基づいてラッチして保持する検査ビット列保持部と、FF43、FF44、FF45、FF46の出力部およびこれらフリップフロップからの出力データが出力されるべきそれぞれの回路素子に接続されて、検査ビット列に基づいてフリップフロップの出力データに係るエラーを訂正して正しいデータを対応する回路素子に出力する誤り訂正・検出部とを有して構成されるエラー訂正回路47を備えるように構成したので、フリップフロップのいずれか1つにシングルイベントアップセットが発生しても、誤り訂正・検出部が検査ビット列に基づいてシングルイベントアップセットが発生したフリップフロップの出力データを即座に訂正して正しいデータを当該出力データが出力されるべき回路素子へ出力するので、シングルイベントアップセットの発生を補償できるという効果を奏する。また、シングルイベントアップセットを補償するために、同一のデータ処理機能を実現するデータ処理部を2つ以上設けるような冗長的構成を採用してはいないので、シングルイベントアップセット補償回路の半導体装置上における占有面積を低減することができるという効果を奏する。さらに、上記シングルイベントアップセット補償回路については、所定のデータ処理を実施するデータ処理部内に設けられるフリップフロップに係る接続形態について何ら制約がないので、種々の回路に汎用的に適用することができて、設計の効率化に寄与するという効果を奏する。
【0034】
実施の形態4.
図4は、この発明の実施の形態4によるシングルイベントアップセット補償回路の構成を示す回路図である。図4において、図3と同一符号は同一または相当部分を示すのでその説明を省略する。51,52,53はそれぞれ並列に接続されたフリップフロップ、54はFF51、FF52およびFF53の出力データを入力して入力された3つのデータについて多いほうのデータ(データ“0”またはデータ“1”)を出力する多数決回路である。
【0035】
次に、この実施の形態4によるシングルイベントアップセット補償回路の特徴を明確にするために、実施の形態3によるシングルイベントアップセット補償回路との差異について説明する。図3に示されるシングルイベントアップセット補償回路において、出力データを出力部42へ出力すべきFF46にシングルイベントアップセットが発生すると、エラー訂正回路47によりエラー訂正が実施されて正しいデータが出力部42へ出力される。然るに、エラー訂正に係る遅延時間に起因して、出力部42に与えられるデータにパルス状のノイズが生じる現象すなわちデータハザードが発生する。出力部42が半導体装置の外部端子に相当するような場合には、通常このようなデータハザードを許容することはできない。したがって、このようなデータハザードを防止するために、この実施の形態4では出力部に接続されるフリップフロップについて3重の冗長化がなされている。
【0036】
次に動作について説明する。なお、FF43、FF44、FF45およびエラー訂正回路47などに係る動作は実施の形態3で説明済みであるので、ここでは実施の形態4によるシングルイベントアップセット補償回路に特有の動作について説明する。FF51、FF52およびFF53がデータをラッチして保持した後に、放射線等の影響によりいずれか1つのフリップフロップにシングルイベントアップセットが発生して論理値の反転が生じても、他の2つのフリップフロップは正しいデータを保持しているので、多数決回路54は正しいデータを常時出力部42へ出力するから、シングルイベントアップセットの発生を補償できるとともに、出力部42におけるデータハザードの発生を防止できる。
【0037】
以上のように、この実施の形態4によれば、出力部42に接続されるデータ保持手段をそれぞれ並列に接続される3つのフリップフロップFF51、FF52およびFF53と多数決回路54とを有して構成されるようにしたので、FF51、FF52およびFF53のなかのいずれか1つのフリップフロップにシングルイベントアップセットが発生しても当該シングルイベントアップセットを補償できるとともに、多数決回路54は正しいデータを常時出力部42へ出力するから、出力部42におけるデータハザードを防止することができるという効果を奏する。
【0038】
実施の形態5.
図5は、この発明の実施の形態5によるシングルイベントアップセット補償回路の構成を示す回路図である。図5において、61は入力部、62は出力部、63は第1のデータ処理部、64は第2のデータ処理部である。第1のデータ処理部63はFF43a、FF44a、FF45a、FF46a、エラー訂正回路(エラー訂正手段)47aおよび2ビット誤り検出信号出力部48aを有して構成され、第2のデータ処理部64はFF43b、FF44b、FF45b、FF46b、エラー訂正回路(エラー訂正手段)47bおよび2ビット誤り検出信号出力部48bを有して構成されている。第1のデータ処理部63および第2のデータ処理部64は共に図3に示された回路と同一の回路構成および機能を有するものであり、第1のデータ処理部63に係る構成要素および第2のデータ処理部64に係る構成要素も図3に示される回路内の対応する構成要素と同一または相当するものとして与えられるものである。また、65は第1のデータ処理部63からの2ビット誤り検出信号および第2のデータ処理部64からの2ビット誤り検出信号を入力して第1のデータ処理部63または第2のデータ処理部64のいずれから出力されるデータを出力部62へ出力するかを指示する選択信号を出力する選択回路(選択手段)、66は選択回路65から出力される選択信号に応じて第1のデータ処理部63または第2のデータ処理部64のいずれか一方から出力されるデータを出力部62へ出力する切り換え回路(切り換え手段)である。
【0039】
次に動作について説明する。なお、第1のデータ処理部63および第2のデータ処理部64に係る動作は実施の形態3で説明済みであるので、ここでは実施の形態5によるシングルイベントアップセット補償回路に特有の動作について説明する。
【0040】
時間的に隣接する任意の2つのトリガ間において、FF43a、FF44a、FF45a、FF46aのなかで2つのフリップフロップにシングルイベントアップセットが発生すると、エラー訂正回路47aによるエラー訂正が不能となって2ビット誤り検出信号出力部48aから出力される2ビット誤り検出信号がアクティブとなる。また、時間的に隣接する任意の2つのトリガ間において、FF43b、FF44b、FF45b、FF46bのなかで2つのフリップフロップにシングルイベントアップセットが発生すると、エラー訂正回路47bによるエラー訂正が不能となって2ビット誤り検出信号出力部48bから出力される2ビット誤り検出信号がアクティブとなる。選択回路65は、2ビット誤り検出信号出力部48aから出力される2ビット誤り検出信号および2ビット誤り検出信号出力部48bから出力される2ビット誤り検出信号を入力して、第1のデータ処理部63または第2のデータ処理部64のいずれかにシングルイベントアップセットに起因して訂正不能なエラーが生じている場合には、エラー訂正不能となっていないデータ処理部からの出力データの取得を指示する選択信号を出力する。切り換え回路66は、当該選択信号を入力して、エラー訂正不能となっていないデータ処理部から出力されるデータを出力部62へ伝達する。
【0041】
以上のように、この実施の形態5によれば、FF43a、FF44a、FF45a、FF46a、エラー訂正回路47aおよび2ビット誤り検出信号出力部48aを有して構成される第1のデータ処理部63と、FF43b、FF44b、FF45b、FF46b、エラー訂正回路47bおよび2ビット誤り検出信号出力部48bを有して構成される第2のデータ処理部64と、第1のデータ処理部63からの2ビット誤り検出信号および第2のデータ処理部64からの2ビット誤り検出信号を入力して選択信号を出力する選択回路65と、選択信号に基づいてエラー訂正不能となっていないデータ処理部からの出力データを出力する切り換え回路66とを備えるように構成したので、データ処理部63またはデータ処理部64において同時に2つのフリップフロップにシングルイベントアップセットが発生すると、これによりエラー訂正不能となったデータ処理部から出力される2ビット誤り検出信号がアクティブとなって、エラー訂正不能となっていないデータ処理部からの出力データが出力部62へ出力されるから、同時に2つのフリップフロップに発生するシングルイベントアップセットを補償することができて、シングルイベントアップセットに対する耐性をより向上することができるという効果を奏する。また、シングルイベントアップセットを補償するために、データ処理等を実施するデータ処理部を2つ設けているのみで、冗長性のレベルを3重から2重へと下げることで、シングルイベントアップセット補償回路の半導体装置上における占有面積を低減することができるという効果を奏する。さらに、上記シングルイベントアップセット補償回路については、所定のデータ処理を実施するデータ処理部内に設けられるフリップフロップに係る接続形態について何ら制約がないので、種々の回路に汎用的に適用することができて、設計の効率化に寄与するという効果を奏する。
【0042】
【発明の効果】
以上のように、この発明によれば、複数のフリップフロップと、それぞれのフリップフロップの入力データに対して所定の論理演算を適用して検査ビットを生成する入力データ用検査ビット生成手段と、当該入力データ用検査ビットを入力データとして上記フリップフロップと共通のトリガに基づいて入力データ用検査ビットをラッチして保持する検査ビット保持手段と、それぞれのフリップフロップの出力データに対して入力データに適用したのと同じ所定の論理演算を適用して検査ビットを生成する出力データ用検査ビット生成手段と、検査ビット保持手段の出力データと出力データ用検査ビット生成手段の出力データとを比較して異なる場合にアクティブとなるエラー検出信号を出力するエラー検出手段とを有してそれぞれ構成される第1のデータ処理部および第2のデータ処理部と、第1のデータ処理部から出力されるエラー検出信号および第2のデータ処理部から出力されるエラー検出信号を入力してエラーの生じていないデータ処理部からの出力データの取得を指示する選択信号を出力する選択手段と、第1のデータ処理部から出力されるデータおよび第2のデータ処理部から出力されるデータを入力して選択信号に基づいてエラーの生じていないデータ処理部からの出力データを出力する切り換え手段とを備えるように構成したので、エラー検出手段において検査ビット保持手段の出力データと出力データ用検査ビットとを比較することでデータ処理部内のいずれか1つのフリップフロップに発生したシングルイベントアップセットを検出することができ、選択手段および切り換え手段を用いてエラーの生じていないデータ処理部からの出力データを出力することができるから、シングルイベントアップセットの発生を補償することができるという効果を奏する。また、シングルイベントアップセットを補償するために、データ処理等を実施するデータ処理部を2つ設けているのみであるから、冗長性のレベルを3重から2重へと下げることで、シングルイベントアップセット補償回路の半導体装置上における占有面積を低減することができるという効果を奏する。さらに、上記シングルイベントアップセット補償回路については、データ処理を実施するデータ処理部内に設けられるフリップフロップに係る接続形態について何ら制約がないので、種々の回路に汎用的に適用することができて、設計の効率化に寄与することができるという効果を奏する。
【0043】
この発明によれば、検査ビット保持手段がそれぞれ並列に接続される3以上の奇数個のフリップフロップと、それぞれのフリップフロップからの出力データを入力して多いほうのデータを出力する多数決回路とを有して構成されるようにしたので、検査ビット保持手段を構成する少なくとも1つのフリップフロップにシングルイベントアップセットが発生して論理値の反転が生じても、他のより多数のフリップフロップは正しいデータを保持しているので、多数決回路からは正しいデータが出力されてシングルイベントアップセットを補償することができるから、回路の信頼性をより向上することができるという効果を奏する。
【0044】
この発明によれば、それぞれのフリップフロップの入力部に接続されてフリップフロップの入力データを対象とする1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部と、検査ビット列生成部により生成された検査ビット列をフリップフロップと共通のトリガに基づいてラッチして保持する検査ビット列保持部と、それぞれのフリップフロップの出力部およびそれぞれのフリップフロップからの出力データが出力されるべき回路素子に接続されて、検査ビット列保持部に保持された検査ビット列に基づいてフリップフロップの出力データに係るエラーを訂正して訂正されたデータを当該出力データが出力されるべき回路素子に出力する誤り訂正・検出部とを有して構成されるエラー訂正手段を備えるように構成したので、フリップフロップのいずれか1つにシングルイベントアップセットが発生しても、誤り訂正・検出部が検査ビット列に基づいてシングルイベントアップセットが発生したフリップフロップの出力データを即座に訂正して正しいデータを当該出力データが出力されるべき回路素子へ出力するので、シングルイベントアップセットの発生を補償することができるという効果を奏する。また、シングルイベントアップセットを補償するために、同一のデータ処理機能を有するデータ処理部を2つ以上設けるような冗長的構成を採用してはいないので、シングルイベントアップセット補償回路の半導体装置上における占有面積を低減することができるという効果を奏する。さらに、上記シングルイベントアップセット補償回路については、データ処理を実施するデータ処理部内に設けられるフリップフロップに係る接続形態について何ら制約がないので、種々の回路に汎用的に適用することができて、設計の効率化に寄与することができるという効果を奏する。
【0045】
この発明によれば、出力部に接続される回路素子が、それぞれ並列に接続される3以上の奇数個のフリップフロップと、それぞれのフリップフロップからの出力データを入力して多いほうのデータを出力する多数決回路とを有して構成されているので、少なくとも1つのフリップフロップにシングルイベントアップセットが発生して論理値の反転が生じても、他のより多数のフリップフロップは正しいデータを保持しているので、多数決回路からは常時正しいデータが出力されるから、シングルイベントアップセットの発生を補償できるとともに出力部におけるデータハザードの発生を防止できるという効果を奏する。
【0046】
この発明によれば、複数のフリップフロップと、フリップフロップの入力データについて1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部、検査ビット列をフリップフロップと共通のトリガに基づいてラッチして保持する検査ビット列保持部、検査ビット列保持部に保持された検査ビット列に基づいてフリップフロップの出力データに係るエラーを訂正して訂正されたデータを当該出力データが出力されるべき回路素子に出力するとともにエラーが2ビット以上である場合にアクティブとなる2ビット誤り検出信号を出力する誤り訂正・検出部から成るエラー訂正手段とを有してそれぞれ構成される第1のデータ処理部および第2のデータ処理部と、第1のデータ処理部から出力される2ビット誤り検出信号および第2のデータ処理部から出力される2ビット誤り検出信号を入力してエラー訂正不能となっていないデータ処理部からの出力データの取得を指示する選択信号を出力する選択手段と、第1のデータ処理部から出力されるデータおよび第2のデータ処理部から出力されるデータを入力して選択信号に基づいてエラー訂正不能となっていないデータ処理部からの出力データを出力する切り換え手段とを備えるように構成したので、第1のデータ処理部または第2のデータ処理部において同時に2つのフリップフロップにシングルイベントアップセットが発生すると、これによりエラー訂正不能となったデータ処理部から出力される2ビット誤り検出信号がアクティブとなって、エラー訂正不能となっていないデータ処理部からの出力データが選択的に出力されるから、同時に2つのフリップフロップに発生するシングルイベントアップセットを補償することができて、シングルイベントアップセットに対する耐性をより向上することができるという効果を奏する。また、シングルイベントアップセットを補償するために、データ処理等を実施するデータ処理部を2つ設けているのみであるから、冗長性のレベルを3重から2重へと下げることで、シングルイベントアップセット補償回路の半導体装置上における占有面積を低減することができるという効果を奏する。さらに、上記シングルイベントアップセット補償回路については、データ処理を実施するデータ処理部内に設けられるフリップフロップに係る接続形態について何ら制約がないので、種々の回路に汎用的に適用することができて、設計の効率化に寄与することができるという効果を奏する。
【図面の簡単な説明】
【図1】 この発明の実施の形態1によるシングルイベントアップセット補償回路の構成を示す回路図である。
【図2】 この発明の実施の形態2によるシングルイベントアップセット補償回路の構成を示す回路図である。
【図3】 この発明の実施の形態3によるシングルイベントアップセット補償回路の構成を示す回路図である。
【図4】 この発明の実施の形態4によるシングルイベントアップセット補償回路の構成を示す回路図である。
【図5】 この発明の実施の形態5によるシングルイベントアップセット補償回路の構成を示す回路図である。
【図6】 冗長構成を採用した従来のシングルイベントアップセット補償回路の例を示す回路図である。
【符号の説明】
1,41,61 入力部、2,42,62 出力部、3,4,5,6,7,8,9,10,31,32,33,34,35,36,43,43a,43b,44,44a,44b,45,45a,45b,46,46a,46b,51,52,53 フリップフロップ、11,12,13,15,16,17,18,20 EX−ORゲート、14,19 EX−ORゲート(エラー検出手段)、21,22 フリップフロップ(検査ビット保持手段)、23,63 第1のデータ処理部、24,64 第2のデータ処理部、25,65 選択回路(選択手段)、26,66 切り換え回路(切り換え手段)、37,38,54 多数決回路、47,47a,47b エラー訂正回路(エラー訂正手段)、48,48a,48b 2ビット誤り検出信号出力部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a compensation circuit for a single event upset (SEU) generated in a semiconductor device, and more particularly to a register, a counter, and the like configured by combining flip-flops in a semiconductor device mounted on an artificial satellite. The present invention relates to a single event upset compensation circuit that is preferably applied.
[0002]
[Prior art]
For example, in a semiconductor device under the influence of cosmic radiation such as a semiconductor device mounted on an artificial satellite, a single event up in which the logic value stored in a flip-flop or a memory storage element is inverted by radiation. A set phenomenon (a bit inversion phenomenon called a soft error) occurs. One of the countermeasures related to this single event upset is to provide circuit elements in the semiconductor device with radiation resistance. Although this measure is possible using semiconductor manufacturing process technology, there are problems such as high costs and the inability to necessarily achieve the durability required for individual circuit elements. Therefore, it is desired to solve the problem related to the single event upset by the circuit design technique on the assumption that the single event upset occurs. That is, there is a demand for the development of a compensation circuit having a function that can compensate for an error even if a single event upset occurs.
[0003]
For example, in the compensation circuit described in Japanese Patent Application Laid-Open No. 5-243916, a compensation circuit configured by combining a delay circuit and an exclusive OR gate (hereinafter referred to as an EX-OR gate) that takes an exclusive OR is used. The flip-flop is provided with a self-restoring function by being connected to the output portion of the flip-flop. The compensation circuit detects an error related to the inversion of the logic value held by the flip-flop, and returns the flip-flop to the original state so as to hold the correct logic value. However, in this measure, in order to obtain a desired operation for a circuit configured with flip-flops, the delay characteristics required for the delay elements are different for each circuit. In addition, since the delay characteristics of the delay elements vary greatly depending on the semiconductor manufacturing process, it is necessary to optimize the design related to the delay elements for each semiconductor manufacturing process in order to realize the desired delay characteristics.
[0004]
For example, in the memory control circuit described in Japanese Patent Application Laid-Open No. 7-73114, an error correction circuit or an error detection circuit is added to the memory, and the error-corrected data is rewritten to the memory every time data is read from the memory. Therefore, it is possible to prevent a single event upset from occurring multiple times and an error from being accumulated in the memory. Such a measure is suitable for application to a memory or the like in which data is written or read in units of bytes or words.
[0005]
FIG. 6 is a circuit diagram showing an example of a conventional single event upset compensation circuit employing a redundant configuration. In FIG. 6, 101, 102, and 103 are flip-flops connected to each other in parallel (hereinafter referred to as FFs as appropriate), and 104 is the greater of the three data that are input by inputting the output data of FF101, FF102, and FF103. The majority circuit that outputs the data (data “0” or data “1”), 105 is an input unit, and 106 is an output unit.
[0006]
Next, the operation of the single event upset compensation circuit shown in FIG. 6 will be described. The FF101, FF102, and FF103 latch and hold the data supplied to the input unit 105 with the rising or falling edge of the input clock signal as a trigger. The majority circuit 104 receives the data held in the FF 101, FF 102, and FF 103 and outputs the larger data to the output unit 106.
[0007]
After the FF101, FF102, and FF103 latch the data, even if a single event upset occurs in one of the flip-flops due to the influence of radiation or the like, the other two flip-flops have the correct data. Since the majority decision circuit 104 outputs correct data to the output unit 106, it is possible to compensate for the occurrence of a single event upset.
[0008]
[Problems to be solved by the invention]
The conventional single event upset compensation circuit is configured as described above. Regarding the compensation circuit described in Japanese Patent Laid-Open No. 5-243916, the delay characteristics required for the delay element are different for each formed circuit. There is a problem that the efficiency of circuit design is inferior due to an increase in design parameters.
[0009]
As described above, the memory control circuit described in Japanese Patent Application Laid-Open No. 7-73114 is preferably applied to a storage unit that writes or reads data in units of bytes or words. Is. A general data processing unit such as a register or a counter composed of a plurality of flip-flops in a semiconductor device does not necessarily store data in units of bytes or words. Therefore, the circuit configuration related to the memory control circuit is configured as described above. There is a problem that it is difficult to apply to a single event upset compensation circuit according to a data processing unit.
[0010]
Further, the conventional single event upset compensation circuit shown in FIG. 6 has a configuration in which a majority circuit is provided, so that the redundancy of the compensation circuit is triple or more. There was a problem that the occupied area became large.
[0011]
The present invention has been made to solve the above-described problems, and can be applied universally to circuits such as registers and counters configured by combining flip-flops without using delay elements. The purpose is to obtain a small single event upset compensation circuit.
[0012]
[Means for Solving the Problems]
The single event upset compensation circuit according to the present invention is , Double A plurality of flip-flops, input data check bit generation means for generating check bits by applying a predetermined logical operation to the input data of each flip-flop, and flip-flops using the input data check bits as input data And a check bit holding means for latching and holding a check bit for input data based on a common trigger, and applying the same predetermined logical operation applied to the input data for the output data of each flip-flop An error that outputs an error detection signal that becomes active when the test bit generation means for output data that generates check bits and the output data of the check bit holding means and the output data of the check bits for output data are different from each other. A first data processor and a second data processor each comprising a detection means And an error detection signal output from the first data processing unit and an error detection signal output from the second data processing unit to instruct acquisition of output data from the data processing unit in which no error has occurred A selection means for outputting a selection signal to be input, and a data processing section in which data output from the first data processing section and data output from the second data processing section are input and no error occurs based on the selection signal And switching means for outputting the output data from.
[0013]
In the single event upset compensation circuit according to the present invention, the check bit holding means inputs an odd number of three or more odd-numbered flip-flops connected in parallel and the output data from each flip-flop, and the larger data And a majority voting circuit that outputs the signal.
[0014]
The single event upset compensation circuit according to the present invention is , Double A number of flip-flops, and a check bit string generation unit that generates a check bit string that is connected to the input unit of each flip-flop and performs 1-bit error correction and 2-bit error detection on the input data of the flip-flops, A check bit string holding unit that latches and holds the check bit string generated by the check bit string generation unit based on a trigger common to the flip-flop, and an output unit of each flip-flop and output data from each flip-flop are output. An error related to output data of the flip-flop is corrected based on the test bit string connected to the circuit element to be tested and held in the test bit string holding unit, and the corrected data is output to the circuit element to which the output data is to be output. Error correction means comprising an error correction / detection unit Those were Unishi.
[0015]
In the single event upset compensation circuit according to the present invention, the circuit element connected to the output unit inputs three or more odd-numbered flip-flops connected in parallel and the output data from each flip-flop. It is configured to have a majority circuit that outputs a larger amount of data.
[0016]
The single event upset compensation circuit according to the present invention is , Double A plurality of flip-flops, a check bit string generation unit that generates a check bit string that is connected to the input unit of each flip-flop and generates 1-bit error correction and 2-bit error detection for the input data of the flip-flop, A check bit string holding unit that latches and holds the check bit string generated by the unit based on a trigger common to the flip-flop, and a circuit to which output data from each flip-flop and output data from each flip-flop should be output The error associated with the output data of the flip-flop is corrected based on the test bit string connected to the element and held in the test bit string holding unit, and the corrected data is output to the circuit element to which the output data is to be output. Active when is more than 2 bits A first data processing unit, a second data processing unit, and an error correction unit including an error correction / detection unit that outputs a 2-bit error detection signal, and a first data processing unit. A selection signal instructing acquisition of output data from a data processing unit that is not error-correctable by inputting the output 2-bit error detection signal and the 2-bit error detection signal output from the second data processing unit The selection means for outputting, the data output from the first data processing unit and the data output from the second data processing unit are input, and from the data processing unit that is not error-corrected based on the selection signal And switching means for outputting output data.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described below.
Embodiment 1 FIG.
1 is a circuit diagram showing a configuration of a single event upset compensation circuit according to a first embodiment of the present invention. In FIG. 1, 1 is an input unit, 2 is an output unit, 3, 4, 5, 6, 7, 8, 9, and 10 are flip-flops (hereinafter referred to as FFs as appropriate), 11, 12, 13, 14, 15 16, 16, 17, 18, 19 and 20 are 2-input EX-OR gates, 21 and 22 are flip-flops for holding check bits (check bit holding means), and 23 is a flip-flop 3 constituting a 4-bit shift register. , 4, 5, 6 and EX-OR gates 11, 12, 13, 14, 15 for generating parity bits, and a check bit holding flip-flop 21, and outputs data and an error detection signal. The data processing unit 24 includes flip-flops 7, 8, 9, and 10 constituting a 4-bit shift register and EX-OR gates 16, 17, 18, 19, and 20 for generating parity bits. A second data processing unit configured to output data and an error detection signal; and 25, an EX-OR gate (error detection means) 14 of the first data processing unit 23 and a second data processing unit. 2 is connected to an EX-OR gate (error detection means) 19 of the data processing unit 24 to input each error detection signal and output from either the first data processing unit 23 or the second data processing unit 24. A selection circuit (selection means) for outputting a selection signal for instructing whether to output the data to be output to the output unit 2, 26 is an FF 6 that is a data output unit of the first data processing unit 23, and a second data processing unit 24 The first data processing section 23 or the second data processing section 23 is connected to the data output section FF 10 and the output section of the selection circuit 25 and output from the selection circuit 25 according to the selection signal A switching circuit for outputting data outputted from one of the data processing unit 24 to the output unit 2 (switching means).
[0018]
Input data from the EX-OR gate 11, EX-OR gate 12, and EX-OR gate 15 that takes an exclusive OR of the input data of FF 3, the input data of FF 4, the input data of FF 5, and the input data of FF 6 Inspection bit generation means is configured. Similarly, from the EX-OR gate 16, the EX-OR gate 17, and the EX-OR gate 20, the exclusive OR of the input data of FF7, the input data of FF8, the input data of FF9, and the input data of FF10 is calculated. The input data check bit generating means is configured. Further, from the EX-OR gate 11, the EX-OR gate 12, and the EX-OR gate 13, exclusive OR is performed on the output data of FF3, the output data of FF4, the output data of FF5, and the output data of FF6. Output data check bit generation means is configured. Similarly, the exclusive OR of the output data of FF7, the output data of FF8, the output data of FF9, and the output data of FF10 is obtained from the EX-OR gate 16, the EX-OR gate 17, and the EX-OR gate 18. Output data check bit generation means is configured. The EX-OR gates 11, 12, 13, 14, 15, 16, 17, 18, 19, and 20 are indicated by black circles in order to distinguish the input portion from the output portion. In addition, a common clock signal is given to the flip-flops 3, 4, 5, 6, 7, 8, 9, 10, 21, and 22.
[0019]
Next, the operation will be described.
The check bit holding FF 21 inputs an input data check bit given as an exclusive OR of the input data of the FF 3, the input data of the FF 4, the input data of the FF 5, and the input data of the FF 6. If the number of “1” s in the logical operation target is odd, the data “1” is input to the FF 21 as the input data check bit. If the number of “1” is even, the input data check is performed. Data “0” is input to the FF 21 as a bit. Also, one input section of the EX-OR gate 14 receives an output data check bit given as an exclusive OR of the output data of FF3, the output data of FF4, the output data of FF5, and the output data of FF6. The other input part of the EX-OR gate 14 inputs the output data of the FF 21.
[0020]
Here, FF3 input data at an arbitrary time is A (“0” or “1”), FF4 input data is B, FF5 input data is C, and FF6 input data is D. At this time, the input data of the check bit holding FF 21 is an exclusive OR of A, B, C, and D. Next, when a rising or falling edge occurs in the clock signal input in common to each flip-flop, each flip-flop latches input data using this as a trigger. FF3 latches data A, FF4 latches data B, FF5 latches data C, FF6 latches data D, and FF21 latches an exclusive OR of A, B, C, and D To do. As a result, one input part of the EX-OR gate 14 inputs an exclusive OR for A, B, C, and D, and the other input part also exclusives A, B, C, and D. Since a logical sum is input, the output section of the EX-OR gate 14 outputs “0”. It is assumed that the error detection signal output from the EX-OR gate 14 becomes active when “1”.
[0021]
By the way, when a single event upset occurs in any one of the flip-flops FF3, FF4, FF5 and FF6 after the occurrence of the trigger, data input to one input portion of the EX-OR gate, that is, output data The logical value of the check bit for the output is inverted, the output section of the EX-OR circuit 14 outputs “1”, and the error detection signal becomes active. Thus, when no single event upset occurs in FF3, FF4, FF5, and FF6 that constitute the shift register, the EX-OR gate 14 outputs "0", and when a single event upset occurs. Since the EX-OR gate 14 outputs “1”, the EX-OR gate 14 functions as an error detection means of a shift register composed of four flip-flops. The elements constituting the second data processing unit 24 operate in the same manner as the corresponding elements in the first data processing unit 23, and the EX-OR gate 19 includes four flip-flops FF7, FF8, FF9, and FF10. It functions as an error detection means of the shift register consisting of
[0022]
The selection circuit 25 receives the error detection signal output from the EX-OR gate 14 and the error detection signal output from the EX-OR gate 19, and receives the first data processing unit 23 or the second data processing unit 24. If an error due to a single event upset has occurred in any of the above, a selection signal instructing acquisition of output data from a data processing unit in which no error has occurred is output. The switching circuit 26 receives the selection signal and transmits data output from the data processing unit in which no error has occurred to the output unit 2.
[0023]
As described above, according to the first embodiment, the flip-flops FF3, FF4, FF5, and FF6 (FF7, FF8, FF9, and FF10) are configured by the EX-OR gates 11, 12, and 15 (16, 17, and 20). ) Input data check bit generating means for taking the exclusive OR of the input data, check bit holding FF21 (FF22) using the input data check bit as input data, and EX-OR gates 11, 12, 13 (16, 17, 18), output data check bit generating means for obtaining an exclusive OR of the output data of the flip-flops FF3, FF4, FF5, FF6 (FF7, FF8, FF9, FF10), and check bits EX-O corresponding to output data of holding FF21 (FF22) and output data check bit generation means If the output data of the gate 13 (EX-OR gate 18) is different from the output data, the EX-OR gate 14 (EX-OR gate 19) that outputs data "1" indicating the occurrence of an error, and the EX-OR A selection circuit 25 that inputs an error detection signal from the gate 14 and an error detection signal from the EX-OR gate 19 and outputs a selection signal, and outputs data from a data processing unit in which no error has occurred based on the selection signal. When the single event upset is generated in any one of the flip-flops, the data processing unit including the flip-flop in which the single event upset is generated is output. Output data from the data processor where the error detection signal is active and no error has occurred Since the output to the output unit 2, an effect that can be compensated for occurrence of single event upset. In addition, in order to compensate for single event upset, only two data processing units that perform data processing etc. are provided, and by reducing the level of redundancy from triple to double, single event upset There is an effect that the area occupied by the compensation circuit on the semiconductor device can be reduced. Furthermore, the single event upset compensation circuit has no restrictions on the connection form related to flip-flip provided in the data processing unit for performing data processing, and can be applied to various circuits in general. There is an effect that it contributes to the efficiency improvement of the design.
[0024]
In the first embodiment of the present invention, the invention is disclosed by taking a single event upset compensation circuit related to a 4-bit shift register as an example, but the combination of flip-flops in the data processing unit is limited to such a form. The present invention can be applied to various connection forms of flip-flops that realize an arbitrary circuit configuration that realizes desired data processing, and the same applies to the following embodiments. Note that there are.
[0025]
Embodiment 2. FIG.
FIG. 2 is a circuit diagram showing a configuration of a single event upset compensation circuit according to the second embodiment of the present invention. In FIG. 2, the same reference numerals as those in FIG. 31, 32, 33, 34, 35, 36 are flip-flops for holding check bits, 37 is the data output from FF 31, FF 32, and FF 33 and receives the larger data (“0” or “1”). The majority circuit 38 for outputting is a majority circuit for inputting the data output from the FF 34, FF 35 and FF 36 and outputting the larger data.
[0026]
Next, the operation will be described. Note that the basic compensation operation when a single event upset occurs in any one flip-flop among FF3, FF4, FF5, FF6, FF7, FF8, FF9, and FF10 has already been described in the first embodiment. Since it has already been explained, its explanation is omitted.
[0027]
FF31, FF32, and FF33 latch and hold an input data check bit given as an exclusive OR of the input data of FF3, FF4, FF5, and FF6, triggered by the rising or falling edge of the input clock signal To do. The majority decision circuit 37 inputs the output data of the FF 31, FF 32 and FF 33, respectively, and outputs the larger data.
[0028]
After the FF31, FF32, and FF33 latch the input data inspection bit, a single event upset occurs in any one of the FF31, FF32, and FF33 due to the influence of radiation or the like, resulting in inversion of the logical value. However, since the other two flip-flops hold the correct data, the majority circuit 37 outputs the correct data, so that the single event upset generated in the check bit holding flip-flop can be compensated. Note that the FF 34, FF 35, FF 36 and the majority circuit 38 provided in the second data processing unit 24 also operate in the same manner as described above.
[0029]
As described above, according to the second embodiment, the check bit holding means for latching and holding the input data check bits is majority determined with the three flip-flops FF31, FF32 and FF33 (FF34, FF35 and FF36). Since the circuit 37 (majority decision circuit 38) is included, even if a single event upset occurs in the check bit holding flip-flop, the single event upset can be compensated. There is an effect that the reliability can be further improved.
[0030]
Embodiment 3 FIG.
FIG. 3 is a circuit diagram showing a configuration of a single event upset compensation circuit according to Embodiment 3 of the present invention. In FIG. 3, 41 is an input unit, 42 is an output unit, 43, 44, 45, and 46 are flip-flops that latch and output input data based on a common clock signal, and 47 is a 1-bit error correction and 2-bit error. An error correction circuit (error correction means) for performing detection, 48 is a 2-bit error detection signal output unit. FF43, FF44, FF45, and FF46 are arranged to constitute a 4-bit shift register. Further, the error correction circuit 47 has a configuration similar to that of the ECC circuit in the memory control circuit, and is connected to the input unit of each flip-flop, and the input data of the FF 43, the input data of the FF 44, the input data of the FF 45, and the FF 46 For example, a check bit string generation unit that generates a check bit string for performing 1-bit error correction and 2-bit error detection such as an extended Hamming code, and the check bit string generated by the check bit string generation unit such as FF43 And a test bit string holding unit that latches and holds based on a common trigger, an output unit of each flip-flop, and a circuit element (output of the flip-flop of the next stage) to which output data from the output unit is to be output due to the circuit configuration Connected to the input unit or output unit 42) and based on the check bit string held in the check bit string holding unit. FF43 output data, FF44 output data, FF45 output data and FF46 output data are subjected to 1-bit error correction and 2-bit error detection, respectively. FF44 input data, FF45 input data, FF46 input data An error correction / detection unit that activates the 2-bit error detection signal output from the 2-bit error detection signal output unit 48 when the error is 2 bits or more. It is configured.
[0031]
Next, the operation will be described.
The input data of the FF 43 at an arbitrary time is A (“0” or “1”), the input data of the FF 44 is B, the input data of the FF 45 is C, and the input data of the FF 46 is D. At this time, the check bit string generation unit of the error correction circuit 47 generates a check bit string for performing 1-bit error correction and 2-bit error detection for the data A, B, C, and D. Next, when a clock signal commonly input to each flip-flop rises or falls, using this as a trigger, FF 43 latches data A, FF 44 latches data B, and FF 45 latches data C. The FF 46 latches the data D, and the check bit string holding unit of the error correction circuit 47 latches and holds the check bit string generated by the check bit string generation unit. The error correction / detection unit of the error correction circuit 47 receives the output data of the FF 43, the output data of the FF 44, the output data of the FF 45, and the output data of the FF 46, and generates a check bit string generated for the data A, B, C, D 1-bit error correction and 2-bit error detection are performed based on the above, and output as input data of the FF 44, input data of the FF 45, input data of the FF 46, and output data to the output unit 42, respectively. By the operation of the error correction circuit 47 as described above, the FF 43, FF 44, FF 45, and FF 46 function as a 4-bit shift register.
[0032]
If a single event upset occurs in any one of the flip-flops FF43, FF44, FF45, and FF46 after the trigger is generated, the logical value of the output data of the flip-flop in which the single event upset has occurred is inverted. However, the error correction / detection unit of the error correction circuit 47 corrects the error related to the output data of the flip-flop based on the check bit string, and immediately corrects the correct data to the output stage where the output data is to be output. Therefore, the occurrence of a single event upset can be compensated for. If a single event upset occurs between two flip-flops between any two triggers (clock signal rise or fall) that are adjacent in time, error correction becomes impossible and the 2-bit error detection signal is active. Become.
[0033]
As described above, according to the third embodiment, the 1-bit error correction and 2-bit error detection related to the input data of these flip-flops connected to the input sections of FF43, FF44, FF45, and FF46 are performed. A check bit string generation unit that generates a check bit string, a check bit string holding unit that latches and holds the check bit string generated by the check bit string generation unit based on a trigger common to the FF 43 and the like, and FF43, FF44, FF45, and FF46 And the output data from these flip-flops are connected to the respective circuit elements to be output, and errors related to the output data of the flip-flops are corrected based on the check bit string, and correct data is transferred to the corresponding circuit elements. An error correction circuit 47 having an error correction / detection unit for output Even if a single event upset occurs in any one of the flip-flops, the error correction / detection unit immediately outputs the output data of the flip-flop in which the single event upset has occurred based on the check bit string. Correcting and outputting correct data to the circuit element to which the output data is to be output has the effect of compensating for the occurrence of a single event upset. In addition, in order to compensate for a single event upset, a redundant configuration in which two or more data processing units that realize the same data processing function are provided is not employed. There is an effect that the occupied area can be reduced. Further, the single event upset compensation circuit has no restrictions on the connection form related to the flip-flop provided in the data processing unit for performing predetermined data processing, and can be applied to various circuits in general. This contributes to the efficiency of design.
[0034]
Embodiment 4 FIG.
FIG. 4 is a circuit diagram showing a configuration of a single event upset compensation circuit according to Embodiment 4 of the present invention. In FIG. 4, the same reference numerals as those in FIG. Reference numerals 51, 52 and 53 are flip-flops connected in parallel, respectively, and 54 is the data (data “0” or data “1”) of the three data inputted by inputting the output data of FF51, FF52 and FF53. ).
[0035]
Next, in order to clarify the characteristics of the single event upset compensation circuit according to the fourth embodiment, differences from the single event upset compensation circuit according to the third embodiment will be described. In the single event upset compensation circuit shown in FIG. 3, when a single event upset occurs in the FF 46 to output the output data to the output unit 42, error correction is performed by the error correction circuit 47, and correct data is output to the output unit 42. Is output. However, due to the delay time related to error correction, a phenomenon in which pulsed noise occurs in the data given to the output unit 42, that is, a data hazard occurs. In the case where the output unit 42 corresponds to an external terminal of a semiconductor device, such a data hazard cannot normally be allowed. Therefore, in order to prevent such a data hazard, in the fourth embodiment, triple redundancy is provided for the flip-flop connected to the output unit.
[0036]
Next, the operation will be described. Since operations related to FF43, FF44, FF45, error correction circuit 47, and the like have been described in the third embodiment, operations specific to the single event upset compensation circuit according to the fourth embodiment will be described here. Even if FF51, FF52, and FF53 latch and hold data and then a single event upset occurs in one of the flip-flops due to the influence of radiation or the like, the other two flip-flops Holds the correct data, the majority circuit 54 always outputs the correct data to the output unit 42, so that it is possible to compensate for the occurrence of a single event upset and to prevent the occurrence of a data hazard in the output unit 42.
[0037]
As described above, according to the fourth embodiment, the data holding means connected to the output unit 42 includes the three flip-flops FF51, FF52 and FF53 and the majority circuit 54 connected in parallel. Therefore, even if a single event upset occurs in any one of the flip-flops FF51, FF52 and FF53, the single event upset can be compensated, and the majority circuit 54 always outputs correct data. Since it outputs to the part 42, there exists an effect that the data hazard in the output part 42 can be prevented.
[0038]
Embodiment 5 FIG.
5 is a circuit diagram showing a configuration of a single event upset compensation circuit according to Embodiment 5 of the present invention. In FIG. 5, 61 is an input unit, 62 is an output unit, 63 is a first data processing unit, and 64 is a second data processing unit. The first data processing unit 63 includes an FF 43a, FF 44a, FF 45a, FF 46a, an error correction circuit (error correction means) 47a, and a 2-bit error detection signal output unit 48a, and the second data processing unit 64 is an FF 43b. , FF44b, FF45b, FF46b, an error correction circuit (error correction means) 47b, and a 2-bit error detection signal output unit 48b. Both the first data processing unit 63 and the second data processing unit 64 have the same circuit configuration and function as the circuit shown in FIG. The components related to the second data processing unit 64 are also given as the same or corresponding components as the corresponding components in the circuit shown in FIG. Also, 65 receives the 2-bit error detection signal from the first data processing unit 63 and the 2-bit error detection signal from the second data processing unit 64 to input the first data processing unit 63 or the second data processing unit. A selection circuit (selection means) that outputs a selection signal instructing which data output from the unit 64 is to be output to the output unit 62, 66 is a first data in accordance with the selection signal output from the selection circuit 65 A switching circuit (switching means) that outputs data output from either the processing unit 63 or the second data processing unit 64 to the output unit 62.
[0039]
Next, the operation will be described. Since the operations related to the first data processing unit 63 and the second data processing unit 64 have been described in the third embodiment, the operations specific to the single event upset compensation circuit according to the fifth embodiment will be described here. explain.
[0040]
If a single event upset occurs in two flip-flops among FF43a, FF44a, FF45a, and FF46a between any two triggers that are adjacent in time, error correction by the error correction circuit 47a becomes impossible and 2 bits The 2-bit error detection signal output from the error detection signal output unit 48a becomes active. If a single event upset occurs in two flip-flops among FF43b, FF44b, FF45b, and FF46b between any two triggers that are adjacent in time, error correction by the error correction circuit 47b becomes impossible. The 2-bit error detection signal output from the 2-bit error detection signal output unit 48b becomes active. The selection circuit 65 receives the 2-bit error detection signal output from the 2-bit error detection signal output unit 48a and the 2-bit error detection signal output from the 2-bit error detection signal output unit 48b, and performs first data processing. When an uncorrectable error occurs due to a single event upset in either the unit 63 or the second data processing unit 64, acquisition of output data from a data processing unit that is not error-correctable A selection signal for instructing is output. The switching circuit 66 receives the selection signal and transmits data output from the data processing unit that is not error-correctable to the output unit 62.
[0041]
As described above, according to the fifth embodiment, the first data processing unit 63 configured to include the FF 43a, FF 44a, FF 45a, FF 46a, the error correction circuit 47a, and the 2-bit error detection signal output unit 48a; , FF43b, FF44b, FF45b, FF46b, error correction circuit 47b, and 2-bit error detection signal output unit 48b, the second data processing unit 64, and the 2-bit error from the first data processing unit 63 A selection circuit 65 that inputs a detection signal and a 2-bit error detection signal from the second data processing unit 64 and outputs a selection signal, and output data from a data processing unit that is not error-correctable based on the selection signal Since the data processing unit 63 or the data processing unit 64 uses the switching circuit 66 for outputting the When a single event upset occurs in two flip-flops, a 2-bit error detection signal output from the data processing unit that has become uncorrectable due to this becomes active, and from a data processing unit that has not been able to correct the error. Since the output data is output to the output unit 62, it is possible to compensate for a single event upset occurring in two flip-flops at the same time, and to improve the resistance to the single event upset. . In addition, in order to compensate for single event upset, only two data processing units that perform data processing etc. are provided, and by reducing the level of redundancy from triple to double, single event upset There is an effect that the area occupied by the compensation circuit on the semiconductor device can be reduced. Further, the single event upset compensation circuit has no restrictions on the connection form related to the flip-flop provided in the data processing unit for performing predetermined data processing, and can be applied to various circuits in general. This contributes to the efficiency of design.
[0042]
【The invention's effect】
As described above, according to the present invention, , Double A plurality of flip-flops, input data check bit generation means for generating check bits by applying a predetermined logical operation to input data of each flip-flop, and the flip-flops using the input data check bits as input data The check bit holding means for latching and holding the input data check bit based on a common trigger and the same predetermined logical operation as that applied to the input data is applied to the output data of each flip-flop. The test bit generation means for output data for generating check bits and the output data of the check bit holding means and the output data of the check bit generation means for output data are compared and output an error detection signal which becomes active And a first data processing unit and a second data respectively configured with error detection means. An error detection signal output from the processing unit and the first data processing unit and an error detection signal output from the second data processing unit are input to obtain output data from the data processing unit in which no error has occurred. Data processing in which an error is not generated based on the selection signal by inputting selection means for outputting a selection signal to be instructed, data output from the first data processing unit and data output from the second data processing unit And switching means for outputting the output data from the unit, so that the error detection unit compares the output data of the check bit holding unit with the check bit for output data in the error detection unit, and A single event upset generated in the flip-flop can be detected, and the error is detected using the selection means and switching means. Since it is possible to output the output data from the data processing unit is not Flip an effect that it is possible to compensate for the occurrence of single event upset. In addition, to compensate for single event upset, only two data processing units are provided to perform data processing etc., so by reducing the redundancy level from triple to double, single event There is an effect that the area occupied by the upset compensation circuit on the semiconductor device can be reduced. Furthermore, the single event upset compensation circuit has no restrictions on the connection form related to the flip-flop provided in the data processing unit for performing data processing, and can be applied to various circuits in general. There is an effect that it can contribute to the efficiency improvement of the design.
[0043]
According to the present invention, there are provided an odd number of three or more flip-flops in which check bit holding means are connected in parallel, and a majority circuit that inputs the output data from each flip-flop and outputs the larger data. Therefore, even if a single event upset occurs in at least one flip-flop constituting the check bit holding means and logical inversion occurs, the other more flip-flops are correct. Since the data is held, correct data is output from the majority circuit and single event upset can be compensated, so that the reliability of the circuit can be further improved.
[0044]
According to the present invention, a check bit string generation unit that is connected to the input part of each flip-flop and generates a check bit string for performing 1-bit error correction and 2-bit error detection on the input data of the flip-flop. A check bit string holding unit that latches and holds the check bit string generated by the check bit string generation unit based on a trigger common to the flip-flop, and an output unit of each flip-flop and output data from each flip-flop is output A circuit element that is connected to a circuit element to be processed, corrects an error related to the output data of the flip-flop based on the check bit string held in the check bit string holding unit, and outputs the corrected data to the output data. Error correction means configured to have an error correction / detection unit that outputs to Even if a single event upset occurs in any one of the flip-flops, the error correction / detection unit immediately outputs the output data of the flip-flop in which the single event upset occurred based on the check bit string. Since the correct data is output to the circuit element to which the output data is to be output, it is possible to compensate for the occurrence of a single event upset. In addition, in order to compensate for a single event upset, a redundant configuration in which two or more data processing units having the same data processing function are provided is not employed. The occupied area can be reduced. Furthermore, the single event upset compensation circuit has no restrictions on the connection form related to the flip-flop provided in the data processing unit for performing data processing, and can be applied to various circuits in general. There is an effect that it can contribute to the efficiency improvement of the design.
[0045]
According to the present invention, the circuit elements connected to the output unit output odd data of three or more flip-flops connected in parallel and the output data from the respective flip-flops to output the larger data. Therefore, even if a single event upset occurs in at least one flip-flop and the logic value is inverted, the other flip-flop holds the correct data. Therefore, since the correct data is always output from the majority circuit, it is possible to compensate for the occurrence of a single event upset and to prevent the occurrence of a data hazard in the output unit.
[0046]
According to this invention , Double A plurality of flip-flops and a check bit string generation unit that generates a check bit string for performing 1-bit error correction and 2-bit error detection on the input data of the flip-flops, and latches the check bit string based on a trigger common to the flip-flops A check bit string holding unit that holds the corrected data, and corrects an error related to the output data of the flip-flop based on the check bit string held in the check bit string holding unit and outputs the corrected data to the circuit element to which the output data is to be output And a first data processing unit and a second data processing unit each having an error correction unit including an error correction / detection unit that outputs a 2-bit error detection signal that becomes active when the error is 2 bits or more. And a 2-bit error detection signal output from the first data processing unit and Selection means for inputting a 2-bit error detection signal output from the second data processing unit and outputting a selection signal for instructing acquisition of output data from the data processing unit that is not error-correctable; Switching means for inputting data output from the data processing unit and data output from the second data processing unit and outputting output data from the data processing unit that is not error-correctable based on the selection signal; If a single event upset occurs in two flip-flops at the same time in the first data processing unit or the second data processing unit, the data processing unit that has become uncorrectable due to this is output. Output data from the data processing unit that is not error-corrected because the 2-bit error detection signal is active is selected. Since manner is output, to be able to compensate for the single event upset that occurs two flip-flops simultaneously, an effect that it is possible to further improve the resistance to single event upset. In addition, to compensate for single event upset, only two data processing units are provided to perform data processing, etc., so by reducing the redundancy level from triple to double, single event There is an effect that the area occupied by the upset compensation circuit on the semiconductor device can be reduced. Furthermore, the single event upset compensation circuit has no restrictions on the connection form related to the flip-flop provided in the data processing unit for performing data processing, and can be applied to various circuits in general. There is an effect that it can contribute to the efficiency improvement of the design.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing a configuration of a single event upset compensation circuit according to a first embodiment of the present invention.
FIG. 2 is a circuit diagram showing a configuration of a single event upset compensation circuit according to a second embodiment of the present invention.
FIG. 3 is a circuit diagram showing a configuration of a single event upset compensation circuit according to a third embodiment of the present invention.
FIG. 4 is a circuit diagram showing a configuration of a single event upset compensation circuit according to a fourth embodiment of the present invention.
FIG. 5 is a circuit diagram showing a configuration of a single event upset compensation circuit according to a fifth embodiment of the present invention.
FIG. 6 is a circuit diagram showing an example of a conventional single event upset compensation circuit adopting a redundant configuration.
[Explanation of symbols]
1, 41, 61 input unit, 2, 42, 62 output unit, 3, 4, 5, 6, 7, 8, 9, 10, 31, 32, 33, 34, 35, 36, 43, 43a, 43b, 44, 44a, 44b, 45, 45a, 45b, 46, 46a, 46b, 51, 52, 53 Flip-flop, 11, 12, 13, 15, 16, 17, 18, 20 EX-OR gate, 14, 19 EX -OR gate (error detection means), 21, 22 flip-flop (check bit holding means), 23, 63 first data processing section, 24, 64 second data processing section, 25, 65 selection circuit (selection means) , 26, 66 switching circuit (switching means), 37, 38, 54 majority decision circuit, 47, 47a, 47b error correction circuit (error correction means), 48, 48a, 48b 2-bit error detection signal output unit.

Claims (5)

数のフリップフロップと、それぞれのフリップフロップの入力データに対して所定の論理演算を適用して検査ビットを生成する入力データ用検査ビット生成手段と、当該入力データ用検査ビットを入力データとして前記フリップフロップと共通のトリガに基づいて入力データ用検査ビットをラッチして保持する検査ビット保持手段と、それぞれのフリップフロップの出力データに対して入力データに適用したのと同じ所定の論理演算を適用して検査ビットを生成する出力データ用検査ビット生成手段と、前記検査ビット保持手段の出力データと前記出力データ用検査ビット生成手段の出力データとを比較して異なる場合にアクティブとなるエラー検出信号を出力するエラー検出手段とを有してそれぞれ構成される第1のデータ処理部および第2のデータ処理部と、前記第1のデータ処理部から出力されるエラー検出信号および前記第2のデータ処理部から出力されるエラー検出信号を入力してエラーの生じていないデータ処理部からの出力データの取得を指示する選択信号を出力する選択手段と、前記第1のデータ処理部から出力されるデータおよび前記第2のデータ処理部から出力されるデータを入力して前記選択信号に基づいてエラーの生じていないデータ処理部からの出力データを出力する切り換え手段とを備えることを特徴とするシングルイベントアップセット補償回路。A flip-flop number of double, and the input data check bits generation unit for generating a check bit and applying a predetermined logic operation on the input data of each flip-flop, the check bits for the input data as input data A check bit holding means that latches and holds a check bit for input data based on a trigger common to the flip-flop, and the same predetermined logical operation as that applied to the input data is applied to the output data of each flip-flop. Output data check bit generating means for generating check bits, and an error detection signal that is active when the output data of the check bit holding means and the output data of the output data check bit generating means are different from each other A first data processing unit each having an error detection means for outputting 2 data processing units, an error detection signal output from the first data processing unit, and an error detection signal output from the second data processing unit, and from the data processing unit in which no error has occurred. Based on the selection signal by inputting selection means for outputting a selection signal instructing acquisition of output data, data output from the first data processing unit and data output from the second data processing unit And a switching means for outputting the output data from the data processing unit in which no error has occurred. 検査ビット保持手段が、それぞれ並列に接続される3以上の奇数個のフリップフロップと、それぞれの前記フリップフロップからの出力データを入力して多いほうのデータを出力する多数決回路とを有して構成されることを特徴とする請求項1記載のシングルイベントアップセット補償回路。The check bit holding means includes three or more odd-numbered flip-flops connected in parallel and a majority circuit that inputs the output data from each of the flip-flops and outputs the larger data. The single event upset compensation circuit according to claim 1, wherein: 数のフリップフロップと、それぞれの前記フリップフロップの入力部に接続されて前記フリップフロップの入力データを対象とする1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部、該検査ビット列生成部により生成された検査ビット列を前記フリップフロップと共通のトリガに基づいてラッチして保持する検査ビット列保持部、およびそれぞれの前記フリップフロップの出力部およびそれぞれの前記フリップフロップからの出力データが出力されるべき回路素子に接続されて前記検査ビット列保持部に保持された検査ビット列に基づいて前記フリップフロップの出力データに係るエラーを訂正し訂正されたデータを当該出力データが出力されるべき前記回路素子に出力する誤り訂正・検出部から成るエラー訂正手段とを備えることを特徴とするシングルイベントアップセット補償回路。Check bit sequence for generating a check bit sequence for implementing the multiple flip-flops, a 1 bit error correction and two bit error detection directed to the input data of each of the flip-flop the flip-flop is connected to the input of Generating unit, check bit string holding unit that latches and holds the check bit string generated by the check bit string generation unit based on a trigger common to the flip-flop, and the output unit of each flip-flop and each flip-flop The output data from the flip-flop is corrected based on the check bit string held in the check bit string holding unit connected to the circuit element to which the output data from the output data is to be corrected. Error correction / detection output to the circuit element to be output Single event upset compensating circuit characterized by comprising an error correcting means consisting of parts. 出力部に接続される回路素子が、それぞれ並列に接続される3以上の奇数個のフリップフロップと、それぞれの前記フリップフロップからの出力データを入力して多いほうのデータを出力する多数決回路とを有して構成されることを特徴とする請求項3記載のシングルイベントアップセット補償回路。A circuit element connected to the output unit includes an odd number of three or more flip-flops connected in parallel, and a majority circuit that inputs the output data from each of the flip-flops and outputs the larger data. 4. The single event upset compensation circuit according to claim 3, wherein the single event upset compensation circuit is provided. 数のフリップフロップと、それぞれの前記フリップフロップの入力部に接続されて前記フリップフロップの入力データについて1ビット誤り訂正・2ビット誤り検出を実施するための検査ビット列を生成する検査ビット列生成部、該検査ビット列生成部により生成された検査ビット列を前記フリップフロップと共通のトリガに基づいてラッチして保持する検査ビット列保持部、およびそれぞれの前記フリップフロップの出力部およびそれぞれの前記フリップフロップからの出力データが出力されるべき回路素子に接続されて前記検査ビット列保持部に保持された検査ビット列に基づいて前記フリップフロップの出力データに係るエラーを訂正し訂正されたデータを当該出力データが出力されるべき前記回路素子に出力するとともに、エラーが2ビット以上である場合にアクティブとなる2ビット誤り検出信号を出力する誤り訂正・検出部から成るエラー訂正手段とを有してそれぞれ構成される第1のデータ処理部および第2のデータ処理部と、前記第1のデータ処理部から出力される2ビット誤り検出信号および前記第2のデータ処理部から出力される2ビット誤り検出信号を入力してエラー訂正不能となっていないデータ処理部からの出力データの取得を指示する選択信号を出力する選択手段と、前記第1のデータ処理部から出力されるデータおよび前記第2のデータ処理部から出力されるデータを入力して前記選択信号に基づいてエラー訂正不能となっていないデータ処理部からの出力データを出力する切り換え手段とを備えることを特徴とするシングルイベントアップセット補償回路。And multiple flip flops, each of said check bit stream generation unit that generates a check bit sequence for carrying out the 1-bit error correction and two bit error detection for the input data of the connected the flip-flop to the input of the flip-flop, A check bit string holding unit that latches and holds the check bit string generated by the check bit string generation unit based on a trigger common to the flip-flop, and an output unit of each flip-flop and an output from each flip-flop An error relating to the output data of the flip-flop is corrected based on the check bit string connected to the circuit element to which data is to be output and held in the check bit string holding unit, and the output data is output as corrected data Output to the circuit element and the error A first data processing unit and a second data processing unit each including an error correction unit including an error correction / detection unit that outputs a 2-bit error detection signal that is active when the bit is 2 bits or more And a 2-bit error detection signal output from the first data processing unit and a 2-bit error detection signal output from the second data processing unit to input a data processing unit that is not error-correctable. A selection means for outputting a selection signal for instructing acquisition of the output data; data output from the first data processing unit and data output from the second data processing unit are input to the selection signal; Switching means for outputting output data from a data processing unit that is not error-correctable based on the single event upset. Compensation circuit.
JP2001049275A 2001-02-23 2001-02-23 Single event upset compensation circuit Expired - Fee Related JP3895118B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001049275A JP3895118B2 (en) 2001-02-23 2001-02-23 Single event upset compensation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001049275A JP3895118B2 (en) 2001-02-23 2001-02-23 Single event upset compensation circuit

Publications (2)

Publication Number Publication Date
JP2002251898A JP2002251898A (en) 2002-09-06
JP3895118B2 true JP3895118B2 (en) 2007-03-22

Family

ID=18910402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001049275A Expired - Fee Related JP3895118B2 (en) 2001-02-23 2001-02-23 Single event upset compensation circuit

Country Status (1)

Country Link
JP (1) JP3895118B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9092621B2 (en) 2012-07-12 2015-07-28 Samsung Electronics Co., Ltd. Method of detecting fault attack

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7434123B2 (en) * 2005-08-25 2008-10-07 Honeywell International Inc. Single event functional interrupt detection system
JP4899556B2 (en) * 2006-03-17 2012-03-21 富士通セミコンダクター株式会社 Semiconductor integrated circuit
JP5455249B2 (en) * 2011-06-06 2014-03-26 Necエンジニアリング株式会社 Semiconductor integrated circuit using majority circuit and majority method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9092621B2 (en) 2012-07-12 2015-07-28 Samsung Electronics Co., Ltd. Method of detecting fault attack

Also Published As

Publication number Publication date
JP2002251898A (en) 2002-09-06

Similar Documents

Publication Publication Date Title
Chen et al. Error-correcting codes for semiconductor memory applications: A state-of-the-art review
JP4899556B2 (en) Semiconductor integrated circuit
US7328377B1 (en) Error correction for programmable logic integrated circuits
US7398449B1 (en) Encoding 64-bit data nibble error correct and cyclic-redundancy code (CRC) address error detect for use on a 76-bit memory module
US9336078B1 (en) Memory error detection circuitry
Reviriego et al. A method to construct low delay single error correction codes for protecting data bits only
KR102267860B1 (en) Error correction hardware with fault detection
JP3039455B2 (en) Semiconductor memory device test method and semiconductor memory device
US10725841B1 (en) Method and apparatus for error detection and correction
US7656322B2 (en) Semiconductor memory device having error correction function
US8972833B1 (en) Encoding and decoding of information using a block code matrix
Dutta et al. Reliable network-on-chip using a low cost unequal error protection code
JP2010045610A (en) Semiconductor integrated circuit
Suma et al. Simulation and synthesis of efficient majority logic fault detector using EG-LDPC codes to reduce access time for memory applications
US8918706B1 (en) Methods and circuitry for performing parallel error checking
US7117420B1 (en) Construction of an optimized SEC-DED code and logic for soft errors in semiconductor memories
JP3895118B2 (en) Single event upset compensation circuit
JP2003316599A (en) Integrated circuit
US11288120B2 (en) Circuit and method for soft-error protection in operation of ECC and register
US20030191999A1 (en) Integrated circuit that is robust against circuit errors
Gadireddi et al. IMPLEMENTATION OF MULTI BIT ERROR DETECTION AND CORRECTION USING SYNDROME CHECKING
Petrov et al. Optimization of Hsiao Decoders by Circuit-Level Minimization
Sannakki et al. Fault tolerance in network-on-chip by using single error correction and double error detection
JP3600562B2 (en) Semiconductor storage device
JP2555336B2 (en) Device and method for detecting and correcting error in IC chip with automatic self-diagnosis of chip operation

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060815

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061006

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061213

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees