JP3895118B2 - Single event upset compensation circuit - Google Patents
Single event upset compensation circuit Download PDFInfo
- 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
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
[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
[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.
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-
[0018]
Input data from the
[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
[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
[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
[0022]
The selection circuit 25 receives the error detection signal output from the
[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
[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]
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
[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
[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
[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]
FIG. 3 is a circuit diagram showing a configuration of a single event upset compensation circuit according to
[0031]
Next, the operation will be described.
The input data of the
[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
[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
[0034]
FIG. 4 is a circuit diagram showing a configuration of a single event upset compensation circuit according to
[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
[0036]
Next, the operation will be described. Since operations related to FF43, FF44, FF45,
[0037]
As described above, according to the fourth embodiment, the data holding means connected to the
[0038]
5 is a circuit diagram showing a configuration of a single event upset compensation circuit according to
[0039]
Next, the operation will be described. Since the operations related to the first
[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
[0041]
As described above, according to the fifth embodiment, the first
[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)
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)
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)
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 |
-
2001
- 2001-02-23 JP JP2001049275A patent/JP3895118B2/en not_active Expired - Fee Related
Cited By (1)
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 |