JP3139738B2 - Logic circuit - Google Patents

Logic circuit

Info

Publication number
JP3139738B2
JP3139738B2 JP08257760A JP25776096A JP3139738B2 JP 3139738 B2 JP3139738 B2 JP 3139738B2 JP 08257760 A JP08257760 A JP 08257760A JP 25776096 A JP25776096 A JP 25776096A JP 3139738 B2 JP3139738 B2 JP 3139738B2
Authority
JP
Japan
Prior art keywords
logic cell
logic
failure
circuit
fault
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
JP08257760A
Other languages
Japanese (ja)
Other versions
JPH1084275A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP08257760A priority Critical patent/JP3139738B2/en
Publication of JPH1084275A publication Critical patent/JPH1084275A/en
Application granted granted Critical
Publication of JP3139738B2 publication Critical patent/JP3139738B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Logic Circuits (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、フォールトトレラ
ント性を有する論理回路に関し、特にプログラマブル論
理回路による、論理回路の信頼性向上技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic circuit having fault tolerance, and more particularly to a technique for improving the reliability of a logic circuit by a programmable logic circuit.

【0002】[0002]

【従来の技術】近年のコンピュータ技術の発達につれ
て、社会の隅々にまでコンピュータが浸透するようにな
り、コンピュータシステム、及びその構成要素である集
積回路に対する信頼性、フォールトトレラント性(耐故
障性)がますます求められている。
2. Description of the Related Art With the development of computer technology in recent years, computers have penetrated into every corner of society, and the reliability and fault-tolerance (fault tolerance) of a computer system and an integrated circuit as a component thereof have been improved. Increasingly required.

【0003】なお、フォールトトレラント回路の実現方
法については、例えば刊行物(当麻喜弘、南谷崇、藤原
秀雄共著、「フォールトトレラントシステムの構成と設
計」、槇書店、1991年刊)等に詳しい。
[0003] The method of implementing a fault-tolerant circuit is described in detail in, for example, publications (by Yoshihiro Toma, Takashi Minatani and Hideo Fujiwara, "Configuration and Design of Fault-Tolerant Systems", Maki Shoten, 1991).

【0004】回路のフォールトトレランスを実現するた
めには、まず、回路の故障の発生が検出できることが必
要とされる。故障が発生したときには、要求される信頼
性、フォールトトレラント性に応じて、故障発生の表
示、回路動作の停止、データの回復、回路機能の修復な
どを行う。
In order to realize the fault tolerance of a circuit, it is first necessary to detect the occurrence of a circuit failure. When a failure occurs, an indication of the occurrence of the failure, a stop of the circuit operation, a recovery of data, a restoration of a circuit function, etc. are performed according to the required reliability and fault tolerance.

【0005】従来、メモリ回路においては、冗長メモリ
セルによって故障したメモリセルを代替したり、データ
を誤り訂正符号で符号化して記憶し、読み出し時に誤り
訂正することで、フォールトトレランスを実現してい
る。
Conventionally, in a memory circuit, fault tolerance has been realized by replacing a failed memory cell with a redundant memory cell, encoding data with an error correction code, storing the data, and correcting the error at the time of reading. .

【0006】一方、論理回路においては、メモリ回路の
ような汎用的な方法は存在しないが、従来より、広く用
いられている方法として、故障を回路それ自体で検出す
るセルフチェッキング回路がある。このセルフチェッキ
ング回路は、主に、m-out-of-n符号などの誤り検出符号
によって論理回路を構成することで実現される。そして
故障の有無は、回路の出力が符号語であるか非符号語で
あるかを観測することにより判定できる。
On the other hand, although there is no general-purpose method for a logic circuit such as a memory circuit, there has been a self-checking circuit that detects a failure by itself as a method widely used conventionally. This self-checking circuit is realized mainly by configuring a logic circuit with an error detection code such as an m-out-of-n code. The presence or absence of a failure can be determined by observing whether the output of the circuit is a codeword or a non-codeword.

【0007】セルフチェッキング回路によるフォールト
トレラント論理回路の構成方法としては、一般に、次の
二つの方法に分類できる。
[0007] A method of configuring a fault-tolerant logic circuit using a self-checking circuit can be generally classified into the following two methods.

【0008】(1)第1の方法は、回路全体を冗長符号
によるセルフチェッキング回路で構成する、という方法
である。故障の発生は、回路の出力に接続された故障検
出回路により検出される。
(1) The first method is a method in which the entire circuit is constituted by a self-checking circuit using a redundant code. The occurrence of a failure is detected by a failure detection circuit connected to the output of the circuit.

【0009】(2)第2の方法は、同じ回路を複数実装
し、その出力をセルフチェッキング比較器により比較す
る、という方法である。
(2) A second method is to mount a plurality of the same circuits and compare their outputs by a self-checking comparator.

【0010】いずれの方法においても、永久的な故障が
発生したときに回路の機能の回復を可能にするために
は、故障時に代替となる、その回路専用の、冗長回路を
付加する必要がある。そして故障が起きたときには、故
障が発生した回路を、セレクタ回路により切り離した
り、出力を多数決関数回路により多数決をとることによ
り故障を原因とする誤った出力をマスクするなどして、
回路機能の回復を行う。
In any of the methods, in order to enable the function of the circuit to be restored when a permanent failure occurs, it is necessary to add a redundant circuit dedicated to the circuit in place of the failure. . When a failure occurs, the circuit in which the failure occurred is separated by a selector circuit, and the majority output is taken by a majority function circuit to mask an erroneous output caused by the failure.
Perform circuit function recovery.

【0011】[0011]

【発明が解決しようとする課題】上記した従来技術にお
いて、フォールトトレラントな論理回路を実現するため
には、フォールトトレラント化のための回路設計を、対
象の回路ごとに、新たに行うことが必要とされ、このた
め設計コストが増大するという問題点を有している。
In the prior art described above, in order to realize a fault-tolerant logic circuit, it is necessary to newly design a circuit for fault-tolerant operation for each target circuit. Therefore, there is a problem that the design cost increases.

【0012】また、回路に永久的な故障が発生したとき
に、回路機能の回復を可能とするためには、代替となる
同一の回路を用意しておく必要がある。そして複数個の
故障に対応するためには、その数だけ代替となる同一の
冗長回路を準備しなくてはならず、このため必要な回路
量が増大するという問題点も有している。
Also, in order to enable recovery of the circuit function when a permanent failure occurs in the circuit, it is necessary to prepare an alternative identical circuit. In order to cope with a plurality of faults, the same redundant circuit as a substitute must be prepared by the number of the faults, so that there is a problem that the required circuit amount increases.

【0013】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、フォールトトレ
ラントのための特別な回路設計を不要とするフォールト
トレラントな論理回路を提供することにある。
Accordingly, the present invention has been made in view of the above problems, and has as its object to provide a fault-tolerant logic circuit that does not require a special circuit design for fault-tolerance. .

【0014】また、本発明の別の目的は、信頼性の高い
プログラマブル論理回路を提供することにある。
Another object of the present invention is to provide a highly reliable programmable logic circuit.

【0015】さらに、本発明の別の目的は、回路量の小
さい、複数個の故障が発生しても回路機能の回復が可能
なフォールトトレラント論理回路を提供することにあ
る。
Still another object of the present invention is to provide a fault-tolerant logic circuit having a small circuit amount and capable of recovering a circuit function even when a plurality of faults occur.

【0016】[0016]

【課題を解決するための手段】前記目的を達成するた
め、本発明によれば、セルフチェッキング回路により構
成されてなる複数のプログラマブル論理セルにて、プロ
グラマブル論理回路を構成したことを特徴とする論理回
路により達成される。
According to the present invention, there is provided a programmable logic circuit comprising a plurality of programmable logic cells each comprising a self-checking circuit. Achieved by logic circuits.

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】本発明の概要を以下に説明する。本発明
は、セルフチェッキング回路により実現された複数のプ
ログラマブル論理セルでプログラマブル論理回路を構成
することによりフォールトトレラント論理回路を実現す
る。セルフチェッキングプログラマブル論理セルは自身
の故障を自律的に検出し、その結果は故障発生時の制御
回路に伝えられる。故障発生時の制御回路はその結果に
基づいて故障の有無を外部に出力する。
The outline of the present invention will be described below. The present invention realizes a fault-tolerant logic circuit by configuring a programmable logic circuit with a plurality of programmable logic cells realized by a self-checking circuit. The self-checking programmable logic cell autonomously detects its own fault, and the result is transmitted to the control circuit when the fault occurs. The control circuit at the time of occurrence of the failure outputs the presence or absence of the failure to the outside based on the result.

【0022】故障が発生したときには、セルフチェッキ
ングプログラマブル論理セルに含まれるフリップフロッ
プを動作させるクロック信号を停止することにより、故
障によるデータの汚染の伝播を防止する。故障が一時的
である場合には、故障が解消したときに再びクロック信
号を動作させることで処理を再会する。また、故障発生
時のクロック信号停止をセルフチェッキングプログラマ
ブル論理セルに内蔵するフリップフロップに記憶された
値が変化する前に行うことにより、故障によるそれまで
の処理結果の破壊を防ぐことができる。これにより、故
障発生までの処理結果を利用した処理の続行が可能とな
る。停止するクロック信号よりも位相の進んだクロック
信号を別に発生させ、そのクロック信号に基づいて故障
の検出を行い、フリップフロップが故障により汚染され
たデータを記憶する前にクロック信号を停止する。
When a failure occurs, the clock signal for operating the flip-flop included in the self-checking programmable logic cell is stopped to prevent propagation of data contamination due to the failure. If the failure is temporary, the process is resumed by operating the clock signal again when the failure is resolved. In addition, by stopping the clock signal when a failure occurs before the value stored in the flip-flop incorporated in the self-checking programmable logic cell changes, it is possible to prevent the failure of the processing result up to that time due to the failure. As a result, it is possible to continue the processing using the processing result until the occurrence of the failure. A clock signal whose phase is ahead of the clock signal to be stopped is separately generated, a failure is detected based on the clock signal, and the clock signal is stopped before the flip-flop stores data contaminated by the failure.

【0023】プログラマブル論理回路のプログラム情報
を書き換え可能なメモリにより記憶する場合には、再プ
ログラムを行う手段を設けることにより、永久的な故障
が発生した論理セルの機能を正常な論理セルで代替する
ことで故障の修復を行い、故障前の回路機能を回復する
ことが可能となる。プログラム情報を記憶する書き換え
可能なメモリすべてに固有のアドレスを割り当て、再プ
ログラムを行う手段が、読み出しを行うメモリのアドレ
スを指定してメモリの内容を読み出し、書き込みを行う
メモリのアドレスを指定して先に読み出したメモリの内
容を書き込むことで再プログラムを行う。
When the program information of the programmable logic circuit is stored in a rewritable memory, the function of the logic cell in which a permanent failure has occurred is replaced by a normal logic cell by providing means for reprogramming. As a result, the failure can be repaired, and the circuit function before the failure can be restored. A unique address is assigned to all the rewritable memories storing the program information, and the means for reprogramming specifies the address of the memory to be read, reads the contents of the memory, and specifies the address of the memory to be written. Reprogramming is performed by writing the contents of the memory read out earlier.

【0024】プログラム情報を記憶する書き換え可能な
メモリに加えて、プログラマブル論理セルに内蔵するフ
リップフロップにも固有のアドレスが割り当てることに
より、書き換え可能なメモリと同様の手順でフリップフ
ロップに記憶された内容も読み書きすることが可能にな
る。
In addition to the rewritable memory for storing the program information, a unique address is assigned to the flip-flop incorporated in the programmable logic cell, so that the contents stored in the flip-flop in the same procedure as the rewritable memory. Can also read and write.

【0025】セルフチェッキングプログラマブル論理セ
ルの故障検出結果は、セルフチェッキングプログラマブ
ル論理セルの行または列でまとめて、行または列単位で
再プログラムを行う手段に伝達する。再プログラムを行
う手段は前記論理セルの行または列単位で伝達された故
障検出結果に基づいて、行または列単位でデータ転送を
行う。故障修復のために未使用の冗長論理セルの行また
は列を準備しておき、故障した論理セルを含む論理セル
の行または列と冗長論理セルの行または列との間にある
使用中の論理セルの行または列を、冗長論理セルの行ま
たは列に向けて上記データ転送により平行移動していく
ことで、故障の修復を行う。
The failure detection result of the self-checking programmable logic cell is collected in a row or column of the self-checking programmable logic cell and transmitted to a means for reprogramming in a unit of row or column. The reprogramming means performs data transfer in units of rows or columns based on the failure detection results transmitted in units of rows or columns of the logic cell. A row or column of unused redundant logic cells is prepared for fault repair, and the used logic between the row or column of the logic cell containing the failed logic cell and the row or column of the redundant logic cell is prepared. The fault is repaired by moving the cell row or column in parallel by the above data transfer toward the redundant logic cell row or column.

【0026】セルフチェッキングプログラマブル論理セ
ルは、行方向からと列方向からの入力を別々に検査する
ことにより、行方向に隣接する論理セルの故障と列方向
に隣接する論理セルの故障を別々に検出する。再プログ
ラムを行う手段はこれにより、行方向あるいは列方向で
データ転送を行うかを判断する。
The self-checking programmable logic cell separately checks the input from the row direction and the input from the column direction to separately detect the failure of the logic cell adjacent in the row direction and the failure of the logic cell adjacent in the column direction. To detect. The means for reprogramming thereby determines whether to perform data transfer in the row direction or the column direction.

【0027】本発明によるフォールトトレラント論理回
路を用いることにより、回路設計者は、通常のFPGA
と同様に目的の回路をマッピングするだけで、フォール
トトレラントな論理回路を得ることができる。
By using the fault tolerant logic circuit according to the present invention, a circuit designer can use a conventional FPGA.
Just by mapping the target circuit in the same manner as in the above, a fault-tolerant logic circuit can be obtained.

【0028】すなわち、フォールトトレラントに関する
特別の知識及びフォールトトレラント化のための特別の
設計を必要としない。また、プログラム情報を書き換え
可能なメモリにより記憶する場合、故障した論理セルの
機能を未使用の論理セルに移管していくことで、故障の
修復を行うことができる。複数個の故障を修復可能とす
る場合には、従来技術の専用の冗長回路を準備する方法
に比べて、冗長回路量は少なくてすむ。
That is, no special knowledge on fault tolerant and no special design for fault tolerant operation are required. In the case where the program information is stored in a rewritable memory, the failure can be repaired by transferring the function of the failed logic cell to an unused logic cell. When a plurality of faults can be repaired, the number of redundant circuits can be reduced as compared with the prior art method of preparing a dedicated redundant circuit.

【0029】[0029]

【発明の実施の形態】本発明の実施の形態について図面
を参照して以下に説明する。本発明は、その好ましい実
施の形態において、セルフチェッキング回路で実現した
プログラマブル論理回路によりフォールトトレラント論
理回路を構成したものである。
Embodiments of the present invention will be described below with reference to the drawings. In a preferred embodiment of the present invention, a fault-tolerant logic circuit is constituted by a programmable logic circuit realized by a self-checking circuit.

【0030】メモリ回路において、誤り訂正符号などの
汎用的で実用的なフォールトトレラント化の方法が存在
するのは、同一の回路が規則的に並んだその構造による
ところが大きい。一方、論理回路においても規則的な構
造をもつものとして、フィールド・プログラマブル・ゲ
ート・アレイ(FPGA:Field Programmable GateArr
ay)等のプログラマブル論理回路がある。FPGAは、
その機能がプログラム可能な複数のプログラマブル論理
セルをプログラマブル可能な配線で接続することによ
り、所望の回路機能を実現するものであり、プログラム
情報は、例えば内蔵のメモリやヒューズなどの状態によ
り保持される。
In a memory circuit, a versatile and practical fault-tolerant method such as an error-correcting code exists largely due to its structure in which the same circuits are regularly arranged. On the other hand, as a logic circuit having a regular structure, a Field Programmable Gate Array (FPGA) is used.
ay) and other programmable logic circuits. FPGA is
A desired circuit function is realized by connecting a plurality of programmable logic cells whose functions are programmable by a programmable wiring, and the program information is held in a state of, for example, a built-in memory or a fuse. .

【0031】本発明は、その好ましい実施の形態におい
て、FPGAの各プログラマブル論理セルをセルフチェ
ッキング回路で構成することにより、実装する回路に依
存することなくフォールトトレラントな論理回路の実現
を可能としている。
In the preferred embodiment of the present invention, a fault-tolerant logic circuit can be realized without depending on a circuit to be mounted, by configuring each programmable logic cell of the FPGA with a self-checking circuit. .

【0032】図1は、本発明の実施の形態に係るフォー
ルトトレラント論理回路の構成原理を説明するためのブ
ロック図である。
FIG. 1 is a block diagram for explaining a configuration principle of a fault-tolerant logic circuit according to an embodiment of the present invention.

【0033】図1を参照すると、本発明の実施の形態に
おいて、フォールトトレラント論理回路4は、セルフチ
ェッキング回路により実現されたプログラマブル論理セ
ル1が複数個互いに接続されてなるセルフチェッキング
プログラマブル論理セルアレイ2と、故障発生時の制御
回路3と、を備えて構成されている。
Referring to FIG. 1, in an embodiment of the present invention, a fault-tolerant logic circuit 4 includes a self-checking programmable logic cell array in which a plurality of programmable logic cells 1 realized by a self-checking circuit are connected to each other. 2 and a control circuit 3 when a failure occurs.

【0034】セルフチェッキングプログラマブル論理セ
ル1の機能や、これらの間の配線は、内蔵のメモリまた
はヒューズの状態によりプログラムを行い、所望の回路
機能が実現される。
The functions of the self-checking programmable logic cell 1 and the wiring between them are programmed by the state of a built-in memory or a fuse to realize a desired circuit function.

【0035】そして、セルフチェッキングプログラマブ
ル論理セル1に故障が発生した場合、そのセルフチェッ
キング性により故障の発生が検出される。
When a failure occurs in the self-checking programmable logic cell 1, the occurrence of the failure is detected by its self-checking property.

【0036】次に故障発生の旨が、故障発生時の制御回
路3に伝えられる。制御回路3は、故障発生の旨を外部
に伝達したり、論理セルアレイ2のクロック信号を停止
などの所定の制御操作を行い、故障に対応する。
Next, the occurrence of the failure is transmitted to the control circuit 3 at the time of occurrence of the failure. The control circuit 3 responds to the failure by transmitting a notification of the occurrence of the failure to the outside or performing a predetermined control operation such as stopping the clock signal of the logic cell array 2.

【0037】また、プログラム情報を、スタティック・
ランダム・アクセス・メモリ(SRAM:Static Rando
m Access Memory)などの書き換え可能なメモリで保持
する場合、論理セル及び配線の再プログラムが可能であ
る。すなわち、制御回路3またはフォールトトレラント
論理回路4の外部より、故障した論理セルの機能を正常
な論理セルに置き換えるように再プログラムすることに
より、故障の修復が可能となる。
The program information is stored in a static
Random access memory (SRAM: Static Rando)
(m Access Memory), the logic cell and the wiring can be reprogrammed. That is, by reprogramming the function of the failed logic cell from outside the control circuit 3 or the fault-tolerant logic circuit 4 to replace the function of the failed logic cell with a normal logic cell, the failure can be repaired.

【0038】図2は、本発明の第1の実施の形態に係る
フォールトトレラント論理回路4の構成の一例を示す図
である。
FIG. 2 is a diagram showing an example of the configuration of the fault tolerant logic circuit 4 according to the first embodiment of the present invention.

【0039】図2を参照して、セルフチェッキング・プ
ログラマブル論理セルアレイ(以下「論理セルアレイ」
と呼ぶ)2は、互いに接続された複数のセルフチェッキ
ングプログラマブル論理セル(以下「論理セル」と呼
ぶ)1と、故障の発生を伝達する信号線C1と、から構
成されている。
Referring to FIG. 2, a self-checking programmable logic cell array (hereinafter referred to as "logic cell array")
2) are composed of a plurality of self-checking programmable logic cells (hereinafter referred to as “logic cells”) 1 connected to each other and a signal line C1 for transmitting occurrence of a fault.

【0040】セルフチェッキングプログラマブル論理セ
ル1の構成としては、例えば上記刊行物(当麻喜弘、南
谷崇、藤原秀雄共著、「フォールトトレラントシステム
の構成と設計」、槇書店、1991年)の記載が参照さ
れ、この実施の形態においては、この刊行物に示される
ような各種構成のセルフチェッキング回路を用いること
ができる。
For the configuration of the self-checking programmable logic cell 1, see, for example, the description of the above publication ("Composition and Design of Fault Tolerant System" by Yoshihiro Toma, Takashi Minatani, Hideo Fujiwara, Maki Shoten, 1991). In this embodiment, various types of self-checking circuits as disclosed in this publication can be used.

【0041】また論理セル1の機能は、これに内蔵され
るメモリやヒューズの状態によりプログラムされ、所望
の回路機能を実現する。
The function of the logic cell 1 is programmed by the state of the memory and the fuse incorporated therein, and realizes a desired circuit function.

【0042】ある論理セル1に故障が発生すると、その
セルフチェッキング性によりただちに故障が検出され、
信号線C1により回路外部に故障の発生が伝えられる。
フォールトトレラント論理回路4の外部のシステムは、
信号線C1により故障の発生を知ることができ、故障に
対応することができる。また、論理セル1のプログラム
情報をSRAM等の書き換え可能メモリで保持している
場合、故障した論理セルの機能を正常な論理セルに移す
ように外部より再プログラムすることで、回路機能の回
復をすることもできる。
When a failure occurs in a certain logic cell 1, the failure is immediately detected by its self-checking property,
The occurrence of a failure is transmitted to the outside of the circuit via the signal line C1.
The system outside the fault tolerant logic circuit 4 is:
The occurrence of a failure can be known from the signal line C1, and the failure can be dealt with. When the program information of the logic cell 1 is held in a rewritable memory such as an SRAM, the function of the failed logic cell is reprogrammed from the outside so as to be transferred to a normal logic cell, thereby restoring the circuit function. You can also.

【0043】その結果、本発明の実施の形態によれば、
回路設計者は、通常のFPGAと同様に、目的の回路を
論理セルにマッピングするのみで、上記のようなセルフ
チェッキング論理回路を得ることができる。
As a result, according to the embodiment of the present invention,
A circuit designer can obtain the above-described self-checking logic circuit only by mapping a target circuit to a logic cell, similarly to a normal FPGA.

【0044】信号線C1は、図2のようにバス線で構成
してもよいし、ワイヤード・オア(Wired−OR)
回路やワイヤード・アンド(Wired−AND)回路
で構成してもよい。あるいは、図3に示すようにオア
(OR)回路でも実現可能であり、アンド(AND)回
路や他のゲート素子でも実現してもよい。さらに、信号
線C1自体を誤り検出符号化することにより、信号線C
1の故障も検出することが可能である。
The signal line C1 may be constituted by a bus line as shown in FIG. 2, or may be a wired-OR.
A circuit or a wired-AND circuit may be used. Alternatively, as shown in FIG. 3, an OR circuit may be used, and an AND circuit or another gate element may be used. Further, by performing error detection coding on the signal line C1 itself, the signal line C1
One fault can be detected.

【0045】図4は、本発明の第2の実施の形態の構成
を示す図である。図4を参照して、本発明の第2の実施
の形態は、図2に示した本発明の第1の実施の形態に、
クロック制御回路7を加えたものである。
FIG. 4 is a diagram showing the configuration of the second embodiment of the present invention. Referring to FIG. 4, a second embodiment of the present invention is different from the first embodiment of the present invention shown in FIG.
A clock control circuit 7 is added.

【0046】セルフチェッキング論理セルアレイ2の故
障検出の伝達のための信号線C1は、クロック制御回路
7及び外部へ接続される。クロック制御回路7は、信号
線C4に外部から入力される外部クロック信号CLKか
ら、2つの内部クロック信号CCLK、SCLKを発生
し、それぞれ信号線C2,C3に出力する。クロック信
号SCLKは、論理セル1の故障検出回路の制御のため
のクロック信号として使用される。またクロック信号C
CLKは、論理セル1のフリップフロップに入力され、
論理セルアレイ2が順序回路の機能を提供できることを
可能にする。
The signal line C1 for transmitting the failure detection of the self-checking logic cell array 2 is connected to the clock control circuit 7 and the outside. The clock control circuit 7 generates two internal clock signals CCLK and SCLK from the external clock signal CLK externally input to the signal line C4, and outputs them to the signal lines C2 and C3, respectively. Clock signal SCLK is used as a clock signal for controlling the failure detection circuit of logic cell 1. The clock signal C
CLK is input to the flip-flop of logic cell 1,
It enables the logic cell array 2 to provide the function of a sequential circuit.

【0047】このクロック制御回路7は、信号線C1に
より論理セルアレイ2における故障の発生が伝えられる
と、クロック信号CCLKの供給を停止し、これにより
故障による影響の伝搬を防止する。
When the occurrence of a failure in the logic cell array 2 is transmitted by the signal line C1, the clock control circuit 7 stops supplying the clock signal CCLK, thereby preventing the influence of the failure from being propagated.

【0048】図5は、図4に示した本発明の第2の実施
の形態に係るフォールトトレラント論理回路4の動作を
表すタイミング波形図である。図5を参照して、CLK
は外部からのクロック信号であり、SCLK,CCLK
は前述のクロック制御回路7が発生する二つのクロック
信号であり、SCLKとCCLKは同周波数、同位相と
されている。またX0〜XnとY0〜Ynは、論理セル
アレイ2に実現された順序回路中の信号線の状態を表す
(このX0〜XnとY0〜Ynは後述する)。C1は論
理セルアレイ2における故障の有無を表す信号線であ
り、この実施の形態では、論理“0”が故障なし、論理
“1”が故障ありを示すものとする。
FIG. 5 is a timing waveform chart showing the operation of the fault-tolerant logic circuit 4 according to the second embodiment of the present invention shown in FIG. Referring to FIG.
Is an external clock signal, and SCLK, CCLK
Are two clock signals generated by the above-described clock control circuit 7, and SCLK and CCLK have the same frequency and the same phase. X0 to Xn and Y0 to Yn represent the states of signal lines in the sequential circuit realized in the logic cell array 2 (X0 to Xn and Y0 to Yn will be described later). C1 is a signal line indicating the presence or absence of a failure in the logic cell array 2. In this embodiment, it is assumed that logic "0" indicates no failure and logic "1" indicates failure.

【0049】一般に、任意の順序回路は、図7に示すよ
うなモデルで表すことができる。図7を参照して、フリ
ップフロップF0〜Fnは、クロック信号CCLKの立
上がりのタイミングで信号線X0〜Xn(組合せ回路8
の出力)の値を信号線Y0〜Ynへ出力し、次のクロッ
ク信号CCLKの立上がりまでその値を保持する。
Generally, an arbitrary sequential circuit can be represented by a model as shown in FIG. Referring to FIG. 7, flip-flops F0 to Fn are connected to signal lines X0 to Xn (combination circuit 8) at the rising timing of clock signal CCLK.
Is output to the signal lines Y0 to Yn, and the value is held until the next rising of the clock signal CCLK.

【0050】信号線Y0〜Ynの値は、組み合わせ回路
8を通じて、信号線X0〜Xnの次の値を決める。
The values of the signal lines Y0 to Yn determine the next values of the signal lines X0 to Xn through the combination circuit 8.

【0051】信号線Y0〜Ynが変化してから信号線X
0〜Xnが確定するまでには、遅延時間tが存在する
(図5のt参照)。クロック信号CCLKの周期は、こ
の遅延時間t以上でなければ、順序回路は、期待通りに
動作しない。
After the signal lines Y0 to Yn change, the signal line X
There is a delay time t before 0 to Xn is determined (see t in FIG. 5). If the cycle of the clock signal CCLK is not longer than the delay time t, the sequential circuit does not operate as expected.

【0052】図5において、X0〜Xnの編み線部分
(クロスハッチングを施した部分)100は、Y0〜Y
nが変化した後t時間以内の値が不定の領域を示してい
る。
In FIG. 5, the knitted line portions X0 to Xn (cross-hatched portions) 100 are Y0 to Yn.
The value within the time t after the change of n indicates an indefinite region.

【0053】X0〜Xnの値が確定した後(図5におい
て値が確定した部分は101で示す)、クロック信号C
CLKの立ち上がりのタイミングでその値がフリップフ
ロップに記憶され、信号線Y0〜Ynの値が変化する。
After the values of X0 to Xn are determined (the portion where the values are determined in FIG. 5 is indicated by 101), the clock signal C
At the rising edge of CLK, the value is stored in the flip-flop, and the values of the signal lines Y0 to Yn change.

【0054】論理セルアレイ2のある論理セル1に故障
が発生すると、その影響により信号線X0〜Xnの値が
クロック信号CCLKの次の立上がりまでに正しい値に
確定しないことが起きる。
When a failure occurs in a certain logic cell 1 of the logic cell array 2, the value of the signal lines X0 to Xn may not be fixed to the correct value by the next rising of the clock signal CCLK due to its influence.

【0055】セルフチェッキング論理セル1に内蔵され
る故障検出回路は、クロック信号SCLKの立ち上がり
のタイミングで、X0〜Xnの値が不正であることを観
測した際、故障が発生したと判断して、信号線C1を介
してクロック制御回路7に故障の発生を伝える。クロッ
ク制御回路7は信号線C1が論理“1”へ変化したもの
をみて、クロック信号CCLKを停止することにより、
故障によるそれ以上の誤った回路動作を防止する。
When the failure detection circuit incorporated in the self-checking logic cell 1 observes that the values of X0 to Xn are incorrect at the rising timing of the clock signal SCLK, it determines that a failure has occurred. , The occurrence of a failure is transmitted to the clock control circuit 7 via the signal line C1. The clock control circuit 7 stops the clock signal CCLK by seeing that the signal line C1 has changed to logic "1",
Prevent further erroneous circuit operation due to failure.

【0056】図5に示したクロック信号SCLKのタイ
ミングでは、故障時にX0〜Xnの不正な値がフリップ
フロップに記憶されてしまうので、それまでのフリップ
フロップに記憶された演算結果は破壊されてしまうこと
になる。
At the timing of the clock signal SCLK shown in FIG. 5, since an incorrect value of X0 to Xn is stored in the flip-flop at the time of failure, the operation result stored in the flip-flop up to that point is destroyed. Will be.

【0057】図6は、クロック信号SCLKの別のタイ
ミングを示した波形図である。図中のtcは、論理セル
1により故障が検出されてから、信号線C1が変化し、
クロック制御回路7がクロック信号CCLKを停止する
までの遅延時間を示している。
FIG. 6 is a waveform diagram showing another timing of clock signal SCLK. At tc in the figure, the signal line C1 changes after the failure is detected by the logic cell 1,
3 shows a delay time until the clock control circuit 7 stops the clock signal CCLK.

【0058】図6を参照すると、クロック信号SCLK
はクロック信号CCLKと同周波数であるが、その位相
は、クロック停止のための遅延時間tc以上前に進んで
いる。これにより、クロック信号SCLKの立上がりの
タイミングで故障が検出されたときに、クロック信号C
CLKの次の立上がりまでに、クロック信号CCLKを
停止することができる。このため、フリップフロップは
故障によってデータが汚染される前の正常なデータを保
持したままとされ、論理セルアレイ2の再プログラミン
グなどにより、故障の修復をした後、この保持データを
利用して、処理を続行することが可能となる。
Referring to FIG. 6, clock signal SCLK
Has the same frequency as the clock signal CCLK, but its phase is advanced by more than the delay time tc for stopping the clock. Thus, when a failure is detected at the rising timing of clock signal SCLK, clock signal CCLK
The clock signal CCLK can be stopped before the next rising of CLK. For this reason, the flip-flop is kept holding the normal data before the data is contaminated by the fault, and after repairing the fault by reprogramming the logic cell array 2 or the like, the held data is used to perform processing. Can be continued.

【0059】また図6に示す例のように、故障が一時的
であった場合には、故障が解消した後、再びクロック信
号CCLKを動作させることによって、処理の続きを行
うことができる。しかし、この場合、回路動作に必要な
サイクル時間は、クロック停止の遅延時間tcの分だけ
大きくなる。
In the case where the failure is temporary as in the example shown in FIG. 6, after the failure is resolved, the process can be continued by operating the clock signal CCLK again. However, in this case, the cycle time required for the circuit operation is increased by the clock stop delay time tc.

【0060】図8は、本発明の第3の実施の形態の構成
を示す図であり、図4に示した第2の実施の形態に、更
に修復制御回路9を加えたものである。
FIG. 8 is a diagram showing a configuration of the third embodiment of the present invention, which is obtained by further adding a restoration control circuit 9 to the second embodiment shown in FIG.

【0061】図8を参照して、論理セルアレイ2を構成
する論理セル1のプログラミング情報は、内蔵の書き換
え可能なメモリにより記憶される。論理セルアレイ2よ
り出力される故障発生の伝達のための信号線C1は、修
復制御回路9及び外部へ出力される。
Referring to FIG. 8, programming information of logic cell 1 constituting logic cell array 2 is stored in a built-in rewritable memory. The signal line C1 output from the logic cell array 2 for transmitting the occurrence of a fault is output to the repair control circuit 9 and the outside.

【0062】クロック制御回路7の制御のためのこの信
号線C7は、修復制御回路9から出力され信号線C7を
介してクロック制御回路7に入力され、修復制御回路9
がクロック制御回路の動作を制御するために使用され
る。クロック信号SCLKの信号線C3は、修復制御回
路9にも入力され、修復制御回路9は、クロック信号S
CLKに与えられたタイミングで動作する。
The signal line C7 for controlling the clock control circuit 7 is output from the repair control circuit 9 and input to the clock control circuit 7 via the signal line C7.
Is used to control the operation of the clock control circuit. The signal line C3 of the clock signal SCLK is also input to the repair control circuit 9, and the repair control circuit 9
It operates at the timing given to CLK.

【0063】論理セルアレイ2より出力されるプログラ
ム情報は、信号線C5を通じて修復制御回路9に入力さ
れ、修復制御回路9が論理セルアレイ2のプログラム情
報を読み出すことを可能にする。また、修復制御回路9
が出力するプログラム情報は信号線C6を通じて論理セ
ルアレイ2に入力され、修復制御回路9が論理セルアレ
イ2をプログラムすることを可能にする。
The program information output from the logic cell array 2 is input to the repair control circuit 9 through the signal line C5, and enables the repair control circuit 9 to read the program information of the logic cell array 2. The repair control circuit 9
Is input to the logic cell array 2 through the signal line C6, and enables the repair control circuit 9 to program the logic cell array 2.

【0064】修復制御回路9は、信号線C1により故障
の発生が伝えられると、クロック制御回路7に信号線C
7を通じて、クロック信号CCLKの停止を指示し、こ
れによりクロック制御回路7はクロック信号CCLKの
供給を停止する。
When the occurrence of a failure is notified by the signal line C1, the repair control circuit 9 sends the signal line C to the clock control circuit 7.
7, the stop of the clock signal CCLK is instructed, whereby the clock control circuit 7 stops supplying the clock signal CCLK.

【0065】次に修復制御回路9は、クロック信号SC
LKの数サイクル分待機し、故障が一時故障であるか、
永久故障であるかを判定する。
Next, the repair control circuit 9 outputs the clock signal SC
Wait for several cycles of LK and check if the failure is temporary
It is determined whether the failure is permanent.

【0066】すなわち、クロック信号SCLKの数サイ
クル分の待機の後、故障が解消し信号線C1の値が正常
を示していれば、修復制御回路9は、信号線C7を通じ
てクロック制御回路7に対してクロック信号CCLKの
動作の再開を指示する。
In other words, after waiting for several cycles of the clock signal SCLK, if the failure is resolved and the value of the signal line C1 indicates normal, the repair control circuit 9 sends a signal to the clock control circuit 7 through the signal line C7. To restart the operation of the clock signal CCLK.

【0067】一方、クロック信号SCLKの数サイクル
分の待機の後、故障が解消せず信号線C1の値がまだ故
障の発生を示していれば、故障は永久的であるものと判
断し、修復制御回路9は、論理セルアレイ2の再プログ
ラミングを行うことにより、故障の修復を開始する。故
障の修復は、故障した論理セルのプログラム情報を正常
な論理セルへ移していくことで行われる。そして、故障
の修復が完了したら、修復制御回路9は信号線C7を通
じてクロック制御回路7に対してクロック信号CCLK
の動作の再開を指示する。
On the other hand, if after a wait of several cycles of the clock signal SCLK, the failure is not resolved and the value of the signal line C1 still indicates the occurrence of the failure, it is determined that the failure is permanent, and the failure is repaired. The control circuit 9 starts repairing the fault by reprogramming the logic cell array 2. The repair of the failure is performed by transferring the program information of the failed logic cell to a normal logic cell. When the repair of the failure is completed, the repair control circuit 9 sends the clock signal CCLK to the clock control circuit 7 through the signal line C7.
To restart the operation of.

【0068】この実施の形態における故障の修復のため
の再プログラミングの方法の第1の例を、図9に示す。
図9を参照すると、故障した論理セルを含む論理セルア
レイ2は、正常な使用中の論理セル10、13、14
と、未使用の冗長論理セル11、及び故障した使用中の
論理セル12と、からなる。修復のために、未使用の冗
長論理セル11を幾つか準備しておく。
FIG. 9 shows a first example of a reprogramming method for repairing a fault in this embodiment.
Referring to FIG. 9, the logic cell array 2 including the failed logic cell is replaced with the normally used logic cells 10, 13, and 14.
And unused redundant logic cells 11 and failed used logic cells 12. Some unused redundant logic cells 11 are prepared for repair.

【0069】再プログラミングは、まず、正常な論理セ
ル10の機能を決定する論理セル10に内蔵されるメモ
リの内容を、未使用の冗長論理セル11のメモリに転送
することで、正常な論理セル10の回路機能を、未使用
の冗長セル11に移管する。
In the reprogramming, first, the contents of the memory built in the logic cell 10 which determines the function of the normal logic cell 10 are transferred to the memory of the unused redundant logic cell 11 so that the normal logic cell 10 The circuit functions of 10 are transferred to unused redundant cells 11.

【0070】次に、論理セル10と論理セル14との間
の配線(図9(A)参照)を、配線をプログラムするメ
モリを書き換えることにより、論理セル14と論理セル
11との間の配線につなぎ変える(図9(B)参照)。
Next, the wiring between the logic cell 10 and the logic cell 14 (see FIG. 9A) is changed by rewriting the memory for programming the wiring, so that the wiring between the logic cell 14 and the logic cell 11 is changed. (See FIG. 9B).

【0071】同様に、故障した論理セル12の機能を決
定するメモリの内容を、未使用の論理セル11に機能を
移管したことで未使用になった論理セル10のメモリに
転送することで、故障した論理セル12の回路機能を論
理セル10に移管する。
Similarly, by transferring the contents of the memory that determines the function of the failed logic cell 12 to the memory of the unused logic cell 10 by transferring the function to the unused logic cell 11, The circuit function of the failed logic cell 12 is transferred to the logic cell 10.

【0072】次に、論理セル12と論理セル13との間
の配線(図9(A)参照)を、配線をプログラムするメ
モリを書き換えることにより、論理セル13と論理セル
10との間の配線につなぎ変える(図9(B)参照)。
上記のようなメモリ間のデータ転送により、故障が修復
され論理セルアレイ2の回路機能が回復する。
Next, the wiring between the logic cell 12 and the logic cell 13 (see FIG. 9A) is changed by rewriting the memory for programming the wiring, so that the wiring between the logic cell 13 and the logic cell 10 is changed. (See FIG. 9B).
By the data transfer between the memories as described above, the failure is repaired and the circuit function of the logic cell array 2 is restored.

【0073】図10に、故障の修復のための再プログラ
ミングの方法の第2の例を示す。故障の修復のために未
使用の冗長論理セル11からなる未使用論理セルの行1
5を1行以上準備しておく。故障の修復は、故障が発生
した論理セル12を含む論理セルの行17の機能を未使
用論理セルの行15に向けて移管していくことにより行
う。
FIG. 10 shows a second example of a reprogramming method for repairing a fault. Row 1 of unused logic cells consisting of unused redundant logic cells 11 for fault recovery
Prepare one or more lines of 5. The repair of the failure is performed by transferring the function of the row 17 of the logic cell including the logic cell 12 in which the failure has occurred to the row 15 of the unused logic cell.

【0074】まず、使用中の論理セル行16に含まれる
論理セルのメモリの内容を未使用論理セル行15の対応
する論理セルのメモリに転送する。これにより、論理セ
ル行16の機能は未使用論理セル行15に移管され、論
理セル行16が未使用となる。
First, the contents of the memory of the logic cell included in the used logic cell row 16 are transferred to the memory of the corresponding logic cell of the unused logic cell row 15. As a result, the function of the logic cell row 16 is transferred to the unused logic cell row 15, and the logic cell row 16 becomes unused.

【0075】次に、同様にして、故障した論理セル12
を含む論理セル行17の機能を論理セル行16にメモリ
間のデータ転送により移管する。
Next, similarly, the failed logic cell 12
Are transferred to the logic cell row 16 by transferring data between memories.

【0076】最後に、論理セル行18と論理セル行17
との間の配線及び最後に論理セル行16と論理セル行1
7との間の配線を配線のプログラム情報を記憶するメモ
リを書き換えることにより、論理セル行18と論理セル
行16との間の配線につなぎ変える。
Finally, the logic cell rows 18 and 17
And finally, logic cell row 16 and logic cell row 1
7 is reconnected to the wiring between the logic cell row 18 and the logic cell row 16 by rewriting the memory storing the program information of the wiring.

【0077】以上の操作により、故障の修復は完了し、
論理セルアレイ2の回路機能は回復する。この修復例
は、故障が発生した論理セル12を含む論理セル行17
に含まれる正常な論理セルが、故障の修復により使用で
きなくなってしまうが、図9に示した上記第1の修復例
に比べて、配線の再プログラミングが単純であるため、
必要な論理セルアレイ2の配線資源の量や修復制御回路
9の回路量が小さくてすむという利点がある。
With the above operation, the repair of the failure is completed.
The circuit function of the logic cell array 2 is restored. In this repair example, the logic cell row 17 including the failed logic cell 12 is used.
The normal logic cell included in the above can not be used due to the repair of the failure, but the reprogramming of the wiring is simpler than the first repair example shown in FIG.
There is an advantage that the required amount of wiring resources of the logic cell array 2 and the circuit amount of the repair control circuit 9 can be reduced.

【0078】またこの修復例では、論理セルアレイの行
単位に列方向で修復を行ったが、未使用冗長論理セルを
列方向に準備し行方向に修復を行ってもよい。さらに、
未使用冗長論理セル列を複数準備することにより、複数
個の故障を修復することができる。
In this repair example, repair is performed in the column direction for each row of the logical cell array. However, an unused redundant logic cell may be prepared in the column direction and repaired in the row direction. further,
By preparing a plurality of unused redundant logic cell columns, a plurality of faults can be repaired.

【0079】メモリ間のデータ転送は、隣接する論理セ
ル間にメモリ間データ転送用の配線を設けて、修復制御
回路9がどの論理セルからどの論理セルへデータ転送す
るかを制御することにより、行うことができる。また、
メモリのアクセスに、通常のランダム・アクセス・メモ
リと同様のインターフェースを用いてデータ転送を行っ
てもよい。各論理セルのメモリには、固有のアドレスを
割り当てておく。
Data transfer between memories is performed by providing a wiring for data transfer between memories between adjacent logic cells and controlling the repair control circuit 9 to transfer data from which logic cell to which logic cell. It can be carried out. Also,
For memory access, data transfer may be performed using an interface similar to that of a normal random access memory. A unique address is assigned to the memory of each logic cell.

【0080】修復制御回路9は、論理セルアレイ2に読
み出したい論理セルのメモリのアドレスを与えて、論理
セルアレイ2よりメモリ内容を読み出す。次に、修復制
御回路9は、書き込みを行いたい論理セルのアドレスを
論理セルアレイ2に与えて、先に読み出したデータを目
的の論理セルのメモリに書き込む。また、修復の際に、
論理セルの機能や配線のプログラム情報を記憶するメモ
リの内容を転送するだけでなく、論理セルに内蔵のフリ
ップフロップに記憶されている内容も転送できれば、故
障が発生する前の処理を故障の修復後にそのまま続行す
ることが可能となる。
The repair control circuit 9 gives the address of the memory of the logic cell to be read to the logic cell array 2 and reads the memory contents from the logic cell array 2. Next, the repair control circuit 9 gives the address of the logical cell to be written to the logical cell array 2, and writes the previously read data to the memory of the target logical cell. Also, when repairing,
If not only the contents of the memory that stores the logic cell functions and wiring program information but also the contents that are stored in the flip-flops built into the logic cells can be transferred, the processing before the failure occurs can be repaired. It is possible to continue as it is later.

【0081】修復の方法は、故障前の論理セルアレイの
回路機能が回復できるのであれば、上記した二つの方法
に限らない。
The repair method is not limited to the above two methods as long as the circuit function of the logic cell array before the failure can be restored.

【0082】[0082]

【実施例】以下に本発明をより詳細に説明すべく、本発
明の実施例を説明する。図11は、本発明の実施例とし
て、上記した本発明の第3の実施の形態の構成の一例を
示す図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in order to explain the present invention in more detail. FIG. 11 is a diagram illustrating an example of the configuration of the above-described third embodiment of the present invention as an example of the present invention.

【0083】図11を参照して、セルフチェッキングプ
ログラマブル論理セル1が複数個アレイ上に並んだセル
フチェッキングプログラマブル論理セルアレイ2とクロ
ック制御回路7と修復制御回路9と、を備えて構成され
る。論理セルアレイ2より出力される信号線C26〜C
35は、修復制御回路9に接続され、論理セルアレイ2
の故障の発生を伝達する。外部よりクロック制御回路7
に入力される信号線C4を通じて伝えられるクロック信
号CLKに基づいて、クロック制御回路7は図6に示し
たタイミングで2つのクロック信号CCLK、SCLK
を発生させる。クロック信号CCLKは信号線C2によ
ってクロック制御回路7から論理セルアレイ2に入力さ
れ、論理セル1に内蔵のフリップフロップのクロック信
号として使用される。
Referring to FIG. 11, a self-checking programmable logic cell array 2 in which a plurality of self-checking programmable logic cells 1 are arranged on an array, a clock control circuit 7 and a repair control circuit 9 are provided. . Signal lines C26 to C output from logic cell array 2
35 is connected to the restoration control circuit 9 and the logic cell array 2
Signals the occurrence of a failure. Clock control circuit 7 from outside
The clock control circuit 7 receives the two clock signals CCLK and SCLK at the timing shown in FIG.
Generate. The clock signal CCLK is input from the clock control circuit 7 to the logic cell array 2 via the signal line C2, and is used as a clock signal of a flip-flop incorporated in the logic cell 1.

【0084】クロック信号SCLKは信号線C3により
クロック制御回路7から論理セルアレイ2及び修復制御
回路9に入力され、論理セル1の故障検出のタイミング
を与えたり、修復制御回路のクロック信号として用いら
れる。アドレス線C20は、外部または修復制御回路9
から論理セルアレイ2に入力され、論理セル1のプログ
ラミング時にプログラミング情報を書き込むメモリのア
ドレスを決定する。データ線C22は外部または修復制
御回路9から論理セルアレイ2に入力され、アドレス線
C20により指定されたアドレスに書き込むデータを伝
達する。データ線C21は論理セルアレイ2より修復制
御回路9に入力され、アドレス線C20により指定され
たアドレスの内容を読み出すのに使用される。
The clock signal SCLK is input from the clock control circuit 7 to the logic cell array 2 and the repair control circuit 9 via the signal line C3, and is used to give a timing for detecting a failure of the logic cell 1 or used as a clock signal for the repair control circuit. The address line C20 is connected to the external or repair control circuit 9
Are input to the logic cell array 2 to determine the address of the memory in which the programming information is written when programming the logic cell 1. The data line C22 is input to the logic cell array 2 from outside or from the repair control circuit 9, and transmits data to be written to an address specified by the address line C20. The data line C21 is input from the logical cell array 2 to the repair control circuit 9, and is used to read the contents of the address specified by the address line C20.

【0085】図12は、本発明の一実施例として、論理
セル1の構成の一例を示す図である。図12を参照し
て、論理セル1は、故障のセルフチェッキングを可能と
するために、2線式論理で実現され、肯定線と否定線の
ためにそれぞれ同一の回路が実装されている。メモリイ
ンターフェース付きDフリップフロップ24と、4入力
ルックアップ・テーブル25と、2線式符号チェッカ2
6と、マルチプレクサ27と、プログラム情報を記憶す
るSRAM29と、から構成されている。
FIG. 12 is a diagram showing an example of the configuration of the logic cell 1 as one embodiment of the present invention. Referring to FIG. 12, logic cell 1 is implemented by two-wire logic to enable self-checking of a fault, and the same circuit is mounted for each of a positive line and a negative line. D flip-flop 24 with memory interface, 4-input lookup table 25, 2-wire code checker 2
6; a multiplexer 27; and an SRAM 29 for storing program information.

【0086】論理セル1は、隣接する4つの論理セルか
らの4つの入力(EI,EIB)、(WI,WIB)、
(NI,NIB)、(SI,SIB)を持ち、隣接する
4つの論理セルへの4つの出力(EO,EOB)、(W
O,WOB)、(NO,NOB)、(SO,SOB)を
備えている。各入力及び出力はそれぞれ2線式符号に基
づいて、肯定線と否定線の二本の線からなる。
Logic cell 1 has four inputs (EI, EIB), (WI, WIB) from four adjacent logic cells,
(NI, NIB), (SI, SIB), and four outputs (EO, EOB) to four adjacent logic cells, (W
O, WOB), (NO, NOB) and (SO, SOB). Each input and output is composed of two lines, a positive line and a negative line, based on a two-wire code.

【0087】これら4つの入力はルックアップ・テーブ
ル25に入力される。ルックアップ・テーブル25とし
て、肯定線用と否定線用の2つのルックアップ・テーブ
ルがある。ルックアップ・テーブル25は4つの入力を
接続されたSRAM29のアドレスと解釈して、対応す
るSRAM29の内容を出力する。SRAM29の内容
を変えることにより、任意の4入力論理関数を実現でき
る。
These four inputs are input to look-up table 25. As the look-up table 25, there are two look-up tables for a positive line and a negative line. The look-up table 25 interprets the four inputs as addresses of the connected SRAM 29 and outputs the corresponding contents of the SRAM 29. By changing the contents of the SRAM 29, an arbitrary four-input logic function can be realized.

【0088】ルックアップ・テーブル25の出力はフリ
ップフロップ24とマルチプレクサ28に入力される。
マルチプレクサ28は、ルックアップ・テーブル25の
出力をそのまま出力するか、フリップフロップ24に記
憶してから出力するかを接続されたSRAM29の内容
により決定する。
The output of the lookup table 25 is input to the flip-flop 24 and the multiplexer 28.
The multiplexer 28 determines whether to output the output of the look-up table 25 as it is or to output it after storing it in the flip-flop 24, based on the contents of the connected SRAM 29.

【0089】マルチプレクサ28の出力は、マルチプレ
クサ27に入力される。マルチプレクサ27は論理セル
の4つの出力(EO,EOB)、(WO,WOB)、
(NO,NOB)、(SO,SOB)に対して、入力
(EI,EIB)、(WI,WIB)、(NI,NI
B)、(SI,SIB)をそのまま出力するか、マルチ
プレクサ28からの出力を出力するかを接続されたSR
AM29の内容により決定する。
The output of the multiplexer 28 is input to the multiplexer 27. The multiplexer 27 has four outputs (EO, EOB), (WO, WOB),
Inputs (EI, EIB), (WI, WIB), (NI, NI) for (NO, NOB) and (SO, SOB)
B) The SR connected whether to output (SI, SIB) as it is or to output the output from the multiplexer 28
Determined based on the contents of AM29.

【0090】上記のように、論理セル1の機能は、SR
AM29の内容によりプログラムされる。SRAM29
は論理セルアレイ2において個別にアドレスが割り当て
られており、通常のSRAMと同様に読み書きすること
ができる。
As described above, the function of logic cell 1 is SR
It is programmed according to the contents of AM29. SRAM 29
Are individually assigned addresses in the logic cell array 2 and can be read and written in the same manner as a normal SRAM.

【0091】論理セル1同士の相互接続は、図14に示
すようなものとなる。すなわち、図中、上側に隣接する
論理セルの出力(SO,SOB)と自論理セルの入力
(NI,NIB)、上側に隣接する論理セルの入力(S
I,SIB)と自論理セルの出力(NO,NOB)、下
側に隣接する論理セルの出力(NO,NOB)と自論理
セルの入力(SI,SIB)、下側に隣接する論理セル
の入力(NI,NIB)と自論理セルの出力(SO,S
OB)、右側に隣接する論理セルの出力(WO,WO
B)と自論理セルの入力(EI,EIB)、右側に隣接
する論理セルの入力(WI,WIB)と自論理セルの出
力(EO,EOB)、左側に隣接する論理セルの出力
(EO,EOB)と自論理セルの入力(WI,WI
B)、左側に隣接する論理セルの入力(EI,EIB)
と自論理セルの出力(WO,WOB)が接続される。
The interconnection between the logic cells 1 is as shown in FIG. That is, in the figure, the output (SO, SOB) of the logic cell adjacent to the upper side and the input (NI, NIB) of the own logic cell, and the input (S, S) of the logic cell adjacent to the upper side
I, SIB) and the output (NO, NOB) of the own logic cell, the output (NO, NOB) of the lower adjacent logic cell and the input (SI, SIB) of the own logic cell, the lower adjacent logic cell (NO, NOB). The inputs (NI, NIB) and the outputs (SO, S
OB), the output of the logic cell adjacent to the right side (WO, WO
B) and its own logic cell inputs (EI, EIB), the right adjacent logic cell inputs (WI, WIB) and its own logic cell outputs (EO, EOB), and the left adjacent logic cell outputs (EO, EOB). EOB) and the input of its own logic cell (WI, WI
B) Input of the logic cell adjacent to the left side (EI, EIB)
And the outputs (WO, WOB) of the own logic cell are connected.

【0092】再び図12を参照して、4つの入力(E
I,EIB)、(WI,WIB)、(NI,NIB)、
及び(SI,SIB)は、また、行方向の隣接論理セル
からの入力(EI,EIB)、(WI,WIB)と列方
向の隣接論理セルからの入力(NI,NIB)、(S
I,SIB)とに分けて、それぞれ2線式符号チェッカ
26に入力される。
Referring again to FIG. 12, four inputs (E
I, EIB), (WI, WIB), (NI, NIB),
And (SI, SIB) are the inputs (EI, EIB) from the adjacent logic cells in the row direction, (WI, WIB) and the inputs (NI, NIB) from the adjacent logic cells in the column direction, (S
I, SIB) are input to the two-wire code checker 26.

【0093】2線式符号チェッカ26は、クロック信号
SCLKの立上がりのタイミングで(EI,EIB)、
(WI,WIB)、(NI,NIB)、(SI,SI
B)がそれぞれ2線式符号語であるか非符号であるかを
判定することで、隣接する論理セルの故障を検出する。
すなわち、(EI,EIB)、(WI,WIB)、(N
I,NIB)、(SI,SIB)の値がそれぞれ(論理
“0”、論理“1”)または(論理“1”、論理
“0”)であるときは、2線式の符号語であることか
ら、故障は存在しないと判断する。
The two-wire type code checker 26 outputs (EI, EIB) at the rising timing of the clock signal SCLK.
(WI, WIB), (NI, NIB), (SI, SI
By determining whether B) is a two-wire codeword or an unsigned codeword, a failure in an adjacent logic cell is detected.
That is, (EI, EIB), (WI, WIB), (N
When the values of (I, NIB) and (SI, SIB) are (logic "0", logic "1") or (logic "1", logic "0"), respectively, they are two-wire codewords. Therefore, it is determined that no failure exists.

【0094】(EI,EIB)、(WI,WIB)、
(NI,NIB)、(SI,SIB)の値が、それぞれ
(論理“0”、論理“0”)または(論理“1”、論理
“1”)であるときは、2線式の非符号語であることか
ら、故障が発生したと判断する。
(EI, EIB), (WI, WIB),
When the values of (NI, NIB) and (SI, SIB) are (logic "0", logic "0") or (logic "1", logic "1"), respectively, a two-wire non-sign Therefore, it is determined that a failure has occurred.

【0095】これにより、論理セルは行方向に隣接する
論理セルの故障と、列方向に隣接する論理セルの故障を
別々に検出することができる。判定結果は、行方向の隣
接論理セルの故障は信号線C40で、列方向の隣接論理
セルの故障は信号線C41を通じて出力される。
Thus, the logic cell can separately detect a failure in a logic cell adjacent in the row direction and a failure in a logic cell adjacent in the column direction. The result of the determination is that the failure of the adjacent logic cell in the row direction is output via the signal line C40, and the failure of the adjacent logic cell in the column direction is output via the signal line C41.

【0096】本実施例では、このように入力に2線式符
号チェッカ26を接続することにより、隣接する論理セ
ルの故障を検出しているが、出力に2線式符号チェッカ
26を接続して、自論理セルの故障を検出してもよい。
In this embodiment, the failure of an adjacent logic cell is detected by connecting the two-wire code checker 26 to the input as described above. However, the two-wire code checker 26 is connected to the output. Alternatively, a failure of the own logic cell may be detected.

【0097】図13は、本発明の一実施例として、図1
2を参照して説明した上記論理セル1による論理セルア
レイ2の構成を示す図である。
FIG. 13 shows one embodiment of the present invention.
FIG. 3 is a diagram illustrating a configuration of a logic cell array 2 including the logic cells 1 described with reference to FIG.

【0098】図13を参照して、本実施例においては、
論理セル1を格子状に接続しアレイを構成する。この論
理セルアレイ2は、論理セル1が、行方向5セル、列方
向5セルのアレイの構成とされているが、アレイの大き
さはこの限りでない。
Referring to FIG. 13, in the present embodiment,
The logic cells 1 are connected in a grid to form an array. The logic cell array 2 has a configuration in which the logic cell 1 has an array of 5 cells in the row direction and 5 cells in the column direction, but the size of the array is not limited to this.

【0099】図13に示すように、行方向の隣接論理セ
ルの故障を検出する2線式符号チェッカ26の出力C4
0は、その論理セルが属する論理セルの行ごとにプリチ
ャージバスC26〜C30のいずれかにまとめて接続さ
れる。
As shown in FIG. 13, the output C4 of the two-wire code checker 26 for detecting a failure in an adjacent logic cell in the row direction is output.
0 is collectively connected to any of the precharge buses C26 to C30 for each row of the logic cell to which the logic cell belongs.

【0100】また、列方向の隣接論理セルの故障を検出
する2線式符号チェッカ26の出力C41は、その論理
セルが属する論理セルの列ごとにプリチャージバスC3
1〜C35のいずれかにまとめて接続される。
The output C41 of the two-wire code checker 26 for detecting the failure of the adjacent logic cell in the column direction is provided to the precharge bus C3 for each column of the logic cell to which the logic cell belongs.
1 to C35.

【0101】プリチャージバスC26〜C35は、修復
制御回路9に入力される。修復制御回路9は、これによ
り、故障が発生した論理セルを含む論理セルの行または
列を特定することができる。
The precharge buses C26 to C35 are input to the restoration control circuit 9. Thus, the repair control circuit 9 can specify the row or the column of the logic cell including the logic cell in which the failure has occurred.

【0102】故障の修復は、上記第4の実施の形態で説
明した故障の修復のための再プログラミングの第2の例
(図10参照)のように、故障した論理セルを含む論理
セルの行または列を未使用の冗長論理セルの行または列
に向けて、正常な論理セルへ機能を移管していくことで
行うことができる。
The repair of the fault is performed in the same manner as in the second example of the reprogramming for repairing the fault described in the fourth embodiment (see FIG. 10). Alternatively, the function can be performed by moving a column to a row or a column of an unused redundant logic cell and transferring the function to a normal logic cell.

【0103】本実施例においては、プリチャージバスC
26〜C30により、故障の発生が伝えられた場合に
は、論理セルの行単位で列方向に機能の移管を行う。ま
たプリチャージバスC31〜C35により故障の発生が
伝えられた場合には、論理セルの列単位で行方向に機能
の移管を行う。これは、修復制御回路9が、データの転
送元のメモリのアドレスを、論理セルアレイ2に発行し
てデータを読み出し、次に、データの転送先のアドレス
を発行して先に読み出したデータを書き込むことで行わ
れる。
In this embodiment, the precharge bus C
When the occurrence of a failure is notified by 26 to C30, the function is transferred in the column direction for each row of the logic cell. When the occurrence of a failure is transmitted by the precharge buses C31 to C35, the function is transferred in the row direction for each column of the logic cell. This is because the repair control circuit 9 issues the address of the memory of the data transfer source to the logical cell array 2 to read the data, and then issues the address of the data transfer destination to write the previously read data. It is done by that.

【0104】最後に、修復後の状態を示した図10
(B)のように、故障した論理セルを含む論理セルの行
(または列)を跨ぐように、上下(または左右)に隣接
する論理セルの行(または列)同士を接続する必要があ
る。
Finally, FIG. 10 shows the state after the restoration.
As shown in (B), it is necessary to connect rows (or columns) of adjacent logic cells vertically (or left and right) so as to straddle rows (or columns) of logic cells including a failed logic cell.

【0105】本実施例では、故障が発生した論理セルを
含む論理セルの行(または列)に含まれる論理セルの出
力を決定するマルチプレクサ27をプログラムすること
で、行うことができる。具体的には、論理セル1の行単
位で列方向に修復するときには、出力(SO,SOB)
に接続されたマルチプレクサ27を入力(NI,NI
B)の値を出力するようにプログラムし、出力(NO,
NOB)に接続されたマルチプレクサ27を入力(S
I,SIB)の値を出力するようにプログラムする。
This embodiment can be performed by programming the multiplexer 27 that determines the output of the logic cell included in the row (or column) of the logic cell including the logic cell in which the failure has occurred. Specifically, when repairing in the column direction in units of rows of the logic cell 1, the output (SO, SOB)
Is input to the multiplexer 27 (NI, NI
B) is programmed to output the value, and the output (NO,
NOB) to the multiplexer 27 (S
(I, SIB).

【0106】これが可能なのは、本実施例においては、
行方向の隣接論理セルが故障したときの、論理セル1の
行単位で列方向に再プログラムする場合には、少なくと
も出力(SO,SOB)に接続されたマルチプレクサ2
7と出力(NO,NOB)に接続されたマルチプレクサ
27は正常だからである。仮に、出力(SO,SOB)
に接続されたマルチプレクサ27や出力(NO,NO
B)に接続されたマルチプレクサ27が故障を起こして
いれば、上下に隣接する論理セルによってその故障は検
出され、論理セルの列単位で行方向に修復されることに
なる。
This is possible because in this embodiment,
When reprogramming in the column direction for each row of the logic cell 1 when an adjacent logic cell in the row direction fails, at least the multiplexer 2 connected to the output (SO, SOB)
This is because the multiplexer 27 connected to 7 and the output (NO, NOB) is normal. Suppose output (SO, SOB)
And the output (NO, NO
If the multiplexer 27 connected to B) has a fault, the fault is detected by the vertically adjacent logic cells, and the logic cells are repaired in the row direction in column units.

【0107】同様に、論理セルの列単位で行方向に修復
するときには、出力(EO,EOB)に接続されたマル
チプレクサ27を入力(WI,WIB)の値を出力する
ようにプログラムし、出力(WO,WOB)に接続され
たマルチプレクサ27を入力(EI,EIB)の値を出
力するようにプログラムを行う。
Similarly, when restoring in the row direction for each column of logic cells, the multiplexer 27 connected to the outputs (EO, EOB) is programmed to output the value of the input (WI, WIB), and the output ( A program is performed to output the value of the input (EI, EIB) to the multiplexer 27 connected to the WO (WO, WOB).

【0108】本実施例は、修復の際に、上記のような方
法で論理セル間の接続を行うことができるので、修復の
ための特別な配線資源を準備しなくてもよいという利点
がある。
In the present embodiment, at the time of restoration, connection between logic cells can be established by the above-described method, and therefore, there is an advantage that it is not necessary to prepare special wiring resources for restoration. .

【0109】また、本実施例の論理セル1に内蔵される
フリップフロップには、その記憶内容をSRAM29と
同様の手順で読み書きできる手段を付加しており、また
固有のアドレスが割り当てられているので、修復の際
に、プログラム情報を記憶するSRAM29と同様にそ
の記憶内容を転送することが可能である。このため、修
復が終了した後に、再びクロック信号CCLKの動作を
再開することで、故障が発生する前の処理をそのまま続
行することができる。
The flip-flop incorporated in the logic cell 1 of this embodiment is provided with a means for reading and writing the stored contents in the same procedure as that of the SRAM 29, and is assigned a unique address. At the time of restoration, the stored contents can be transferred in the same manner as the SRAM 29 for storing program information. Therefore, after the restoration is completed, by restarting the operation of the clock signal CCLK again, the processing before the occurrence of the failure can be continued.

【0110】[0110]

【発明の効果】以上説明したように、本発明によれば、
セルフチェッキング回路で実現したプログラマブル論理
回路で、論理回路を構成することにより、回路設計者
は、フォールトトレラントに関する特別の知識やフォー
ルトトレラント化のための特別の設計することなしに、
フォールトトレラントな論理回路を実現することができ
るという効果を奏する。また、本発明によれば、従来の
プログラマブル論理回路に比べて信頼性の高いプログラ
マブル論理回路を得ることができる。
As described above, according to the present invention,
By configuring a logic circuit with a programmable logic circuit realized by a self-checking circuit, the circuit designer can use the logic without special knowledge about fault-tolerance or special design for making it fault-tolerant.
There is an effect that a fault-tolerant logic circuit can be realized. According to the present invention, a programmable logic circuit having higher reliability than a conventional programmable logic circuit can be obtained.

【0111】さらに、本発明によれば、故障した論理セ
ルの機能を再プログラムにより正常な論理セルで代替で
きるので、複数の故障にも対応できるとともに、冗長回
路の回路量を低減することができるという効果を奏す
る。
Further, according to the present invention, since the function of a failed logic cell can be replaced with a normal logic cell by reprogramming, a plurality of failures can be dealt with and the amount of redundant circuits can be reduced. This has the effect.

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

【図1】本発明の実施の形態の構成原理を説明するため
の図である。
FIG. 1 is a diagram for explaining a configuration principle of an embodiment of the present invention.

【図2】本発明の第1の実施の形態の構成を示す図であ
る。
FIG. 2 is a diagram showing a configuration of a first exemplary embodiment of the present invention.

【図3】本発明の第1の実施の形態の別の構成例を示す
図である。
FIG. 3 is a diagram showing another configuration example of the first embodiment of the present invention.

【図4】本発明の第2の実施の形態の構成を示す図であ
る。
FIG. 4 is a diagram showing a configuration of a second exemplary embodiment of the present invention.

【図5】本発明の第2の実施の形態の動作を説明するた
めの波形図である。
FIG. 5 is a waveform chart for explaining the operation of the second exemplary embodiment of the present invention.

【図6】本発明の第2の実施の形態の動作を説明するた
めの波形図である。
FIG. 6 is a waveform chart for explaining the operation of the second exemplary embodiment of the present invention.

【図7】一般的な順序回路の構成を示す図である。FIG. 7 is a diagram showing a configuration of a general sequential circuit.

【図8】本発明の第3の実施の形態の構成を示す図であ
る。
FIG. 8 is a diagram showing a configuration of a third exemplary embodiment of the present invention.

【図9】本発明の実施の形態における故障の修復のため
の再プログラミングの第1の例を示す。
FIG. 9 shows a first example of reprogramming for repairing a fault in the embodiment of the present invention.

【図10】本発明の実施の形態における故障の修復のた
めの再プログラミングの第2の例を示す。
FIG. 10 shows a second example of reprogramming for repairing a fault in the embodiment of the present invention.

【図11】本発明の一実施例の構成を示す図である。FIG. 11 is a diagram showing a configuration of an example of the present invention.

【図12】本発明の一実施例を説明するための図であ
り、セルフチェッキングプログラマブル論理セルの構成
例を示す図である。
FIG. 12 is a diagram for describing one embodiment of the present invention, and is a diagram illustrating a configuration example of a self-checking programmable logic cell.

【図13】本発明の一実施例を説明するための図であ
り、セルフチェッキングプログラマブル論理セルアレイ
の構成を示す図である。
FIG. 13 is a diagram for explaining one embodiment of the present invention, and is a diagram showing a configuration of a self-checking programmable logic cell array.

【図14】本発明の一実施例を説明するための図であ
り、セルフチェッキング論理セルの接続を示す図であ
る。
FIG. 14 is a diagram for explaining one embodiment of the present invention, and is a diagram showing connection of a self-checking logic cell.

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

1、10、13、14 セルフチェッキングプログラマ
ブル論理セル 2 セルフチェッキングプログラマブル論理セルアレイ 3 故障発生時の制御回路 4 フォールトトレラント論理回路 7 クロック制御回路 9 修復制御回路 24 フリップフロップ 25 ルックアップ・テーブル 26 2線式符号チェッカ 27、28 マルチプレクサ 29 SRAM C1、C26〜C35 故障発生を伝える信号線 C2、C3、C4 クロック信号線
1, 10, 13, 14 Self-checking programmable logic cell 2 Self-checking programmable logic cell array 3 Control circuit in case of failure 4 Fault-tolerant logic circuit 7 Clock control circuit 9 Repair control circuit 24 Flip-flop 25 Look-up table 26 2 Line code checkers 27, 28 Multiplexer 29 SRAM C1, C26 to C35 Signal lines for notifying occurrence of failure C2, C3, C4 Clock signal lines

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プログラマブル論理回路のプログラム情報
が書き換え可能なメモリにより記憶され、かつセルフチ
ェッキング機能を具備してなるプログラマブル論理セル
を複数備えることにより構成されるプログラマブル論理
回路において、 前記プログラマブル論理回路はクロック制御手段とプロ
グラマブル論理回路の再プログラムを行う手段を具備
し、 前記クロック制御手段は、前記プログラマブル論理セル
に含まれるフリップフロップを動作させる第1のクロッ
ク信号を発生し、前記プログラマブル論理セルに故障が
検出された際に、前記第1のクロック信号を停止し、該
故障が一時的であり、該故障が解消したことを検出した
際に、前記第1のクロック信号 の供給を再開する機能手段を有
し、 前記プログラマブル論理回路の再プログラムを行う手段
は、永久的な故障が発生した際に、故障が発生したプロ
グラマブル論理セルの機能を正常なプログラマブル論理
セルで代替することで故障の修復を行い、故障前の回路
機能を回復する機能手段を有することを特徴とする論理
回路。
1. A programmable logic circuit comprising: a plurality of programmable logic cells each storing program information of the programmable logic circuit in a rewritable memory and having a self-checking function. is provided with means for performing the reprogramming of the clock control means and the programmable logic circuit, wherein said clock control means generates a first clock signal for operating the flip-flops included in the programmable logic cell <br/>, wherein when a failure in the programmable logic cell is detected, the stop of the first clock signal, the fault is transient, when it is detected that said fault has been eliminated, the supply of the first clock signal Function means for restarting the operation of the programmable logic circuit. Means for performing a ram, a permanent fault upon occurrence, failure occurred Pro
Programmable logic with normal function of grammar logic cell
A logic circuit, comprising: functional means for repairing a fault by substituting a cell and restoring a circuit function before the fault.
【請求項2】前記クロック制御手段が、前記第1のクロ
ック信号に加えて、前記第1のクロック信号よりも位相
の進んだ第2のクロック信号を発生し、該第2のクロッ
ク信号に基づいて故障検出を行うことにより前記第1の
クロック信号の停止を行う、ことを特徴とする請求項1
記載の論理回路。
Wherein said clock control means, said first black
In addition to the first clock signal, a second clock signal having a phase advanced from the first clock signal is generated, and a failure is detected based on the second clock signal, thereby detecting the first clock signal. 2. A stop is performed.
Logic circuit as described.
【請求項3】プログラム情報を記憶する前記書き換え可
能なメモリには、それぞれ固有のアドレスが割り当てら
れており、前記再プログラムを行う手段が、読み出しを
行うメモリのアドレスを指定して、前記書き換え可能な
メモリの内容を読み出し、書き込みを行うメモリのアド
レスを指定して先に読み出した前記書き換え可能なメモ
リの内容を書き込むことで再プログラムを行うことを特
徴とする請求項1又は2記載の論理回路。
3. The rewritable memory for storing program information.
The re-programming means reads and writes the contents of the rewritable memory by designating the address of the memory from which the data is to be read. 3. The logic circuit according to claim 1, wherein the reprogramming is performed by designating an address of a memory for performing the rewriting and writing the contents of the rewritable memory previously read.
【請求項4】プログラム情報を記憶する前記書き換え可
能なメモリに加えて、論理セルに内蔵するフリップフロ
ップにも固有のアドレスが割り当てられ、前記書き換え
可能なメモリと同様の手順で記憶された内容を読み書き
する手段を備えたことを特徴とする請求項3記載の論理
回路。
4. The rewritable storage of program information.
A unique address is assigned to the flip-flop incorporated in the logic cell in addition to the functional memory , and means for reading and writing contents stored in the same procedure as the rewritable memory is provided. Item 3. The logic circuit according to Item 3.
【請求項5】セルフチェッキング機能を具備する前記プ
ログラマブル論理セルの故障検出結果が、セルフチェッ
キング機能を具備する前記プログラマブル論理セルの行
または列でまとめて、行または列単位で前記再プログラ
ムを行う手段に、伝達されることを特徴とする請求項1
から4のいずれか一に記載の論理回路。
5. A computer having a self-checking function.
Roguramaburu failure detection result of the logic cell, self check
2. The reprogramming device according to claim 1, wherein the reprogramming is performed in units of rows or columns by grouping the programmable logic cells having a king function in rows or columns.
5. The logic circuit according to any one of claims 1 to 4.
【請求項6】故障修復のために未使用の冗長論理セルの
行または列を予め用意しておき、前記再プログラムを行
う手段が、前記プログラマブル論理セルの行または列単
位で伝達された故障検出結果に基づいて、故障した論理
セルを含む論理セルの行または列と、前記冗長論理セル
の行または列との間にある、使用中の論理セルの行また
は列を、前記冗長論理セルの行または列に向けて、平行
移動していくことで、故障の修復を行うことを特徴とす
る請求項5記載の論理回路。
6. A method according to claim 1, wherein a row or a column of an unused redundant logic cell is prepared in advance for repairing the fault, and the means for reprogramming detects the fault detected by the row or column of the programmable logic cell. Based on the result, the row or column of the used logic cell between the row or column of the logic cell including the failed logic cell and the row or column of the redundant logic cell is replaced with the row of the redundant logic cell. 6. The logic circuit according to claim 5, wherein the fault is repaired by moving in parallel toward the column.
【請求項7】セルフチェッキング機能を具備する前記プ
ログラマブル論理セルが、行方向からと列方向からの入
力を、それぞれ別々に検査し、行方向に隣接する論理セ
ルの故障と、列方向に隣接する論理セルの故障をそれぞ
れ別々に検出する、ことを特徴とする請求項1から6の
いずれか一に記載の論理回路。
7. The computer having a self-checking function.
The programmable logic cell separately examines inputs from the row direction and the column direction, and separately detects a failure of a logic cell adjacent in the row direction and a failure of a logic cell adjacent in the column direction. The logic circuit according to claim 1, wherein:
JP08257760A 1996-09-06 1996-09-06 Logic circuit Expired - Fee Related JP3139738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08257760A JP3139738B2 (en) 1996-09-06 1996-09-06 Logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08257760A JP3139738B2 (en) 1996-09-06 1996-09-06 Logic circuit

Publications (2)

Publication Number Publication Date
JPH1084275A JPH1084275A (en) 1998-03-31
JP3139738B2 true JP3139738B2 (en) 2001-03-05

Family

ID=17310724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08257760A Expired - Fee Related JP3139738B2 (en) 1996-09-06 1996-09-06 Logic circuit

Country Status (1)

Country Link
JP (1) JP3139738B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034496A (en) 1999-07-22 2001-02-09 Nec Corp Self-restoring circuit
JP4712328B2 (en) * 2004-07-28 2011-06-29 独立行政法人情報通信研究機構 Fault-tolerant cell array
JP2008164361A (en) * 2006-12-27 2008-07-17 Mitsubishi Electric Corp Mapping device for semiconductor device
WO2014115289A1 (en) * 2013-01-25 2014-07-31 株式会社日立製作所 Programmable device and electronic syst em device
JP6038706B2 (en) * 2013-03-29 2016-12-07 大同信号株式会社 FPGA with two-wire inspection circuit
JP6282482B2 (en) * 2014-02-18 2018-02-21 株式会社日立製作所 Programmable circuit device and configuration information restoration method

Also Published As

Publication number Publication date
JPH1084275A (en) 1998-03-31

Similar Documents

Publication Publication Date Title
KR950000550B1 (en) Semiconductor memory unit
KR100301719B1 (en) Fault Prevention Cue System
US7620875B1 (en) Error correction code memory system with a small footprint and byte write operation
JP5506908B2 (en) Fault tolerance in integrated circuits.
JP6290934B2 (en) Programmable device, error holding system, and electronic system apparatus
JP5421152B2 (en) Semiconductor integrated circuit
US3898443A (en) Memory fault correction system
JP3139738B2 (en) Logic circuit
JP2012053778A (en) Error correction circuit of programmable logic circuit
US11372700B1 (en) Fault-tolerant data transfer between integrated circuits
JP3556649B2 (en) Memory abnormal operation detection circuit, integrated circuit, and abnormal operation detection method
JPH0922387A (en) Memory unit
WO2023208228A1 (en) Storage device and data processing method
KR100204576B1 (en) Structure of common block register built-in memory and shadow recovery structure &amp; method
CN101937722A (en) Memory device and relevant test method thereof
JP2910692B2 (en) Testing method of random access memory
JP2002100979A (en) Information processor and error information holding method for information processor
US20140372837A1 (en) Semiconductor integrated circuit and method of processing in semiconductor integrated circuit
CN112230970A (en) FPGA refreshing method suitable for satellite-borne XILINX V2
Pan et al. A fault-tolerant program memory unit for on-board computer
JPH11250031A (en) Programmable logic and information processor
JP2003345676A (en) Dual-memory system
JPS6161299A (en) Memory
JPH02245954A (en) Semiconductor storage device
JP2002108721A (en) Disk array device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071215

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081215

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091215

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees