JP2009129301A - Self-diagnostic circuit and self-diagnostic method - Google Patents
Self-diagnostic circuit and self-diagnostic method Download PDFInfo
- Publication number
- JP2009129301A JP2009129301A JP2007305396A JP2007305396A JP2009129301A JP 2009129301 A JP2009129301 A JP 2009129301A JP 2007305396 A JP2007305396 A JP 2007305396A JP 2007305396 A JP2007305396 A JP 2007305396A JP 2009129301 A JP2009129301 A JP 2009129301A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- self
- integrated circuit
- counter
- diagnosis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/31704—Design for test; Design verification
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Tests Of Electronic Circuits (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
本発明は集積回路におけるエラーを検出する自己診断回路および自己診断方法に関する。 The present invention relates to a self-diagnosis circuit and a self-diagnosis method for detecting an error in an integrated circuit.
集積回路には、搭載される機器によって、高い信頼性が要求される。そこで、信頼性を高めるために、集積回路内に自己診断回路を搭載する場合がある。自己診断回路は、集積回路内の動作を監視して、集積回路の故障や性能劣化を検出する。このような自己診断回路を有する半導体装置に関する技術が特許文献1に開示されている。
The integrated circuit is required to have high reliability depending on the equipment to be mounted. Therefore, in order to improve reliability, a self-diagnosis circuit may be mounted in the integrated circuit. The self-diagnosis circuit monitors the operation in the integrated circuit and detects a failure or performance degradation of the integrated circuit. A technique related to a semiconductor device having such a self-diagnosis circuit is disclosed in
特許文献1に記載の技術では、集積回路内の診断項目ごとに再試行回数に関するカウンタを設け、再試行回数が多いエラーに関しては、重大なエラーと判定するデジタルコントローラが開示されている。
しかしながら、特許文献1に記載の技術では、診断項目ごとにカウンタを設ける構成であるため、集積回路の回路規模の増大、高機能化に伴い診断項目も増加し、自己診断部の回路規模も増大してしまうという問題があった。
However, since the technique described in
本発明の1態様による自己診断回路は、集積回路内で発生する複数種類のエラー検出信号が入力されるカウンタと、前記複数種類のエラー検出信号に対して前記カウンタに入力されるエラー検出信号の種類を決定する設定部とを有する。 A self-diagnosis circuit according to an aspect of the present invention includes a counter to which a plurality of types of error detection signals generated in an integrated circuit are input, and an error detection signal to be input to the counter with respect to the plurality of types of error detection signals. A setting unit for determining the type.
本発明の自己診断回路では、簡易な構成で任意の故障を検出することが可能となる。 The self-diagnosis circuit of the present invention can detect an arbitrary failure with a simple configuration.
図1は、自己診断回路を内蔵した集積回路100および集積回路200を有するシステムを示すブロック図である。図1に示すように集積回路100は、CPU101、メモリ102、自己診断回路(以下、テスト回路と称す)103、ダイレクトメモリアクセスコントローラ(DMA)104、通信部105、オーディオ処理部(AUDIO)106、ビデオ処理部(VIDEO)107、入出力制御部(I/O部)108を有している。ここでCPU101は、例えばメモリ102内のROMなどに記憶されたプログラム等に基づいて種々の処理を実施する回路である。また、メモリ102は、ROMおよびRAMなどを有し、CPUが実行するプログラムの保持や、処理中のデータに関する一時保存などを行う記憶部である。DMA104は、CPU101や他の機能ブロックがメモリに対してアクセスを行う場合にそのアクセスをコントロールする。通信部105は、集積回路100が他の集積回路(例えば集積回路200)と通信を行う場合に、その通信を制御する制御部である。AUDIO106は、集積回路100が処理する音声データを処理する。VIDEO107は、集積回路100が処理する映像データを処理する。またI/O部108は集積回路100の入出力データを制御する。
FIG. 1 is a block diagram illustrating a system having an integrated
また、集積回路200は、集積回路100の構成に対して、オーディオ処理部106、ビデオ処理部107、テスト回路103を有さない構成となっているのみであり、他の構成は同一である。したがって、集積回路100と同一構成の部分に同一の符号を付し、その説明は省略する。なお、図1に示す構成は、マイコンを構成する集積回路の一例に過ぎず、実現しようとする機能に合わせて種々の機能ブロックによってマイコンを構成することが可能である。
In addition, the
ここで、集積回路100に含まれるテスト回路103は、集積回路100に含まれる他の回路から出力される種々の信号を元に集積回路100の故障や劣化を判定する回路である。本実施の形態のテスト回路103は、他の回路から出力される種々のエラーフラグをカウントし、エラーの回数を出力する回路である。図2に、より詳細な本実施の形態のテスト回路103を示す。
Here, the
図2に示すように、本実施の形態のテスト回路103は、設定レジスタ11、複数のAND回路12A〜12D、OR回路13、カウンタ14を有している。設定レジスタ11は、他の回路ブロックから出力される信号、あるいは外部から入力される信号に基づいてカウントする対象となるエラーフラグを設定するためのレジスタである。このカウントする対象となるエラーに関してはテスト時に外部より入力される制御ソフトウェア、あるいは内部ROMに記憶された制御プログラムなどにより設定が可能である。また、その他、テスト時に外部から与える信号などにより設定を変更することも可能である。したがって本実施の形態ではこの設定レジスタ11およびAND回路12によってカウント対象となるエラーを設定する設定部110が構成されている。
As shown in FIG. 2, the
AND回路12A〜12Dは、一方に設定レジスタから出力された設定値が、他方には集積回路100の種々のポイントから出力されるエラー信号が入力される。AND回路は設定レジスタの出力に基づいて入力されたエラーフラグを後段に出力する。つまり、設定レジスタの出力値として"L"レベルが入力されている場合は、エラーフラグをマスクするマスク回路として動作する。ここで、集積回路100の他の機能ブロックから出力されるエラーフラグは、軽微なエラーが起きたことを示す信号である。集積回路100の実現する機能によって異なるが、軽微なエラーとは、ECC(Error Correction Code)によって訂正可能なエラー、バスアクセスリトライ、通信リトライなど集積回路100が動作する上で数回起こることが前提となっているエラーである。つまり、ここでは、集積回路100が動作する上でエラーが発生した場合、そのエラーによって集積回路100のマイコンを利用したシステムの動作として不具合を起こさない範囲であれば軽微なエラーとしている。一方で集積回路100が動作する上でエラーが発生した場合、そのエラーによって集積回路100のマイコンを利用したシステムの動作として不具合を起こす場合は重大なエラーとしている。
In the
OR回路13には、AND回路12A〜12Dの出力が接続される。OR回路13は、AND回路12A〜12Dのいずれかからエラーフラグが出力された場合にエラーフラグをカウンタ14に入力する。カウンタ14は、入力されたエラー信号の回数をカウントし、そのカウント値を出力する。
The
図3は、上記のように構成された自己診断回路103の動作を示すフローチャートである。以下、図3を利用して本実施の形態の自己診断回路が軽微なエラーを検出する動作について説明する。
FIG. 3 is a flowchart showing the operation of the self-
図3に示すステップS1において、カウンタ14に対してリセット信号が入力されカウンタの値が初期化される。
In step S1 shown in FIG. 3, a reset signal is input to the
その後、図3に示すステップS2において、設定レジスタ11を全ての軽微なエラーをカウントする状態に設定する。本実施の形態ではAND回路12A〜12Dに入力されるエラー信号をマスクしない状態とするため、例えば4ビットの設定レジスタであれば、全ビットに「1」が書き込まれる。設定レジスタ11が全てのAND回路12A〜12Dに「1」を出力するため、AND回路12A〜12Dは、入力されるエラー信号をそのままOR回路に出力する。OR回路13は、AND回路12A〜12Dから出力されるエラー信号をまとめて、カウンタ14に出力する。なお、単位時間当たりに発生する軽微なエラーをカウントするため、このレジスタは単位時間経過後に再び全て「0」に書き換えられる。
Thereafter, in step S2 shown in FIG. 3, the
ステップS3において、上記のステップS2においてカウンタがカウントしたエラー数と予め想定された許容エラー数範囲の比較が行われる。つまり、エラー数をE、想定されたエラー数範囲の最小値をEmin、想定されたエラー数範囲の最大値をEmaxとした場合、Emin≦E≦Emaxであるかが判定される。ここで、Emin≦E≦Emaxの範囲内であればステップS1に戻り、E<EminあるいはEmax<Eであれば次のステップS4へと進む。 In step S3, the number of errors counted by the counter in step S2 is compared with a presumed allowable error number range. That is, it is determined whether Emin ≦ E ≦ Emax, where E is the number of errors, Emin is the minimum value of the assumed error number range, and Emax is the maximum value of the assumed error number range. If Emin ≦ E ≦ Emax, the process returns to step S1, and if E <Emin or Emax <E, the process proceeds to the next step S4.
ステップS4において、設定レジスタ11を特定の軽微なエラーをカウントする状態に設定する。本実施の形態ではAND回路12Aに入力されるエラー信号をマスクしない状態とし、AND回路12B〜12Dに入力されるエラー信号はマスクされる状態とする。例えば、4ビットの設定レジスタであれば、AND回路12Aに対応するビットのみに「1」が書き込まれる。他のAND回路12B〜12Dに対応するビットには「0」が書き込まれるためエラー信号がマスクされ、OR回路を介してカウンタ14がカウントするエラーは、特定のエラーのみとなる。なお、上記同様、単位時間当たりに発生するエラーをカウントするため、このレジスタは単位時間経過後に再び全て「0」に書き換えられる。
In step S4, the
ステップS5において、上記のステップS4においてカウンタがカウントした特定のエラー数と予め想定された特定のエラーに関する許容エラー数範囲の比較が行われる。つまり、エラー数をES、想定されたエラー数範囲の最小値をESmin、想定されたエラー数範囲の最大値をESmaxとした場合、ESmin≦ES≦ESmaxであるかが判定される。ここで、ESmin≦ES≦ESmaxの範囲内であれば、ステップS7において設定レジスタの値を書き換えてステップS4へと戻り、ES<EminあるいはESmax<ESであればカウントした特定エラーに関する部分が故障していると判断して、ステップS6において自己診断を終了する。 In step S5, the specific error number counted by the counter in step S4 is compared with the allowable error number range related to the specific error assumed in advance. That is, when ES is the number of errors, ESmin is the minimum value of the assumed error number range, and ESmax is the maximum value of the assumed error number range, it is determined whether ESmin ≦ ES ≦ ESmax. Here, if it is within the range of ESmin ≦ ES ≦ ESmax, the value of the setting register is rewritten in step S7 and the process returns to step S4. If ES <Emin or ESmax <ES, the portion related to the specific error counted fails. In step S6, the self-diagnosis is terminated.
このように、本実施の形態では全ての軽微なエラーをカウントし、そのカウント値が許容範囲を超えていた場合に、どのエラーが起こって故障しているのかを特定することが可能となる。 As described above, in the present embodiment, all minor errors are counted, and when the count value exceeds the allowable range, it is possible to identify which error has occurred and the failure has occurred.
実施の形態2
図4は、本発明の実施の形態2の自己診断テスト回路103を示す図である。実施の形態2のテスト回路では、上記した軽微なエラーに加え、プログラムのミスによる無限ループの検出を行うことが可能なテスト回路103である。図4において、図2と同一の構成に関しては同一の符号を付し、その詳細な説明を省略する。
Embodiment 2
FIG. 4 is a diagram showing the self-
本実施の形態においては実施の形態1における軽微なエラー信号が入力されるAND回路12A〜12Dに加えて、その他の項目をカウントするために入力信号が増えている点が異なっている。また、その他の項目についてもマスクすることが出来るようにAND回路12E〜12Hが追加されている。
In this embodiment, in addition to the AND
無限ループの検出を行う場合は、命令を実行したフラグが入力されるAND回路12Gと、キャッシュミスのフラグが入力されるAND回路12Hに入力される信号を利用する。なお、AND回路12A〜12Hのマスク機能に関しては実施の形態1同様に設定レジスタに設定した値で行えるものとする。図5は、本実施の形態において無限ループに入っているかどうかを診断するための動作を示すフローチャートである。以下、図5を参照して本実施の形態における無限ループの有無に関する判定動作について説明する。
When detecting an infinite loop, a signal input to an AND circuit 12G to which an instruction execution flag is input and an AND
図5に示すステップS51においてカウンタをリセットし、カウンタの値を初期化する。なお、この状態では、命令実行数のみカウントするように設定レジスタを設定し、エラー数のカウントは行わない状態とする。 In step S51 shown in FIG. 5, the counter is reset, and the counter value is initialized. In this state, the setting register is set so that only the instruction execution count is counted, and the error count is not counted.
ステップS52において無限ループに陥ることのない複数の命令を集積回路100に実行させる。ここで実行させる命令数および内容は予め定められたものであるとする。ここで行う命令とは例えば分岐に入ることのない加算命令などである。
In step S52, the
ステップS53において、カウンタの値を読み出し、実行した命令数とカウンタのカウントした値が一致するかどうかを比較する。上記で実行した命令数とカウンタのカウント値が一致していれば、集積回路100は正しく命令実行を行い、その数も自己診断テスト回路によって正しくカウントされたものとして以下のステップS54に進む。命令実行数とカウント値が一致しない場合は、命令実行部例えばCPU101や、命令伝達系にエラーがあると判定する。
In step S53, the value of the counter is read, and it is compared whether the number of executed instructions matches the value counted by the counter. If the number of instructions executed above matches the count value of the counter, the
ステップS54において、設定レジスタをキャッシュミスの回数以外はカウントしないような値に設定し、再び上記で使用した命令を集積回路に実行させる。 In step S54, the setting register is set to a value that does not count other than the number of cache misses, and the instruction used above is again executed by the integrated circuit.
ステップS55において、カウンタの値を読み出し、キャッシュミスがあるかどうかを確認する。この場合、キャッシュミスがある程度発生していればテスト回路は正しくキャッシュミスをカウントしているものとして以下のステップに進む。 In step S55, the value of the counter is read to check whether there is a cache miss. In this case, if a cache miss has occurred to some extent, the test circuit assumes that the cache miss has been correctly counted and proceeds to the following steps.
ステップS56において、設定レジスタに命令実行数のみを測定するように設定値を書き込む。その後、無限ループの有無を確認するプログラムを集積回路100に実行させる。
In step S56, the setting value is written in the setting register so as to measure only the instruction execution number. Thereafter, the
ステップS57においてカウンタのカウント値を読み出し、命令実行数を確認する。 In step S57, the count value of the counter is read and the number of instruction executions is confirmed.
ステップS58において、設定レジスタにキャッシュミス回数のみを測定するように設定値を書き込む。その後、再び無限ループの有無を確認するプログラムを集積回路に実行させる。 In step S58, a setting value is written in the setting register so that only the number of cache misses is measured. Thereafter, the integrated circuit is caused to execute a program for confirming the presence or absence of the infinite loop again.
ステップS59においてカウンタのカウント値を読み出し、キャッシュミス数を確認する。 In step S59, the count value of the counter is read and the number of cache misses is confirmed.
ここで対象プログラムに無限ループが含まれていた場合は命令実行数が極端に大きくなり、キャッシュメモリに命令は残っている状態なのでキャッシュミスは少なくなる。そのため、上記ステップS56におけるカウント値が増大し、ステップS58におけるカウント値は減少する。本実施の形態ではS55〜S58のステップを複数回行い、いずれにおいても命令実行数とキャッシュミスの差が極めて大きな場合は、対象となるプログラムに無限ループが含まれていると判定する。 Here, if the target program includes an infinite loop, the number of instruction executions becomes extremely large, and cache misses are reduced because instructions remain in the cache memory. For this reason, the count value in step S56 increases and the count value in step S58 decreases. In the present embodiment, steps S55 to S58 are performed a plurality of times, and if the difference between the instruction execution number and the cache miss is extremely large in any case, it is determined that the target program includes an infinite loop.
本実施の形態のテスト回路は、さらに、DMA104がデッドロックしてしまっている場合を、テスト回路103によって検出することが可能である。図6は、本実施の形態においてDMAがデッドロックに入っているかどうかを診断するための動作を示すフローチャートである。以下、図6を参照して本実施の形態におけるデッドロックの有無に関する判定動作について説明する。
In the test circuit of this embodiment, the
図6に示すステップS61において、カウンタを初期化する。また、設定レジスタにはDMAの転送回数のみをカウントするような設定値を書き込む。 In step S61 shown in FIG. 6, the counter is initialized. A setting value for counting only the number of DMA transfers is written in the setting register.
ステップS62において、DMAを利用したデータ転送を少なくとも一回実施する。なお、ここで実施するDMA転送の回数は必ずしも1回ではなく予め定められた回数のDMA転送を行えばよい。 In step S62, data transfer using DMA is performed at least once. Note that the number of DMA transfers performed here is not necessarily one, and a predetermined number of DMA transfers may be performed.
ステップS63において、カウンタの値を読み出す。ここで、カウンタの保持するDMA転送の回数がステップS62において予め設定したDMA転送の回数と等しい場合は、テスト回路が正しく動作し、DMA転送の回数を正確にカウントしていると判断する。また、予め設定した値と異なる場合は、DMA104からテスト回路までの一部、あるいはテスト回路内で何らかのエラーがあると判断し、テストを中断する。
In step S63, the counter value is read. If the number of DMA transfers held by the counter is equal to the number of DMA transfers set in advance in step S62, it is determined that the test circuit is operating correctly and accurately counting the number of DMA transfers. If it is different from the preset value, it is determined that there is some error in the part from the
ステップS64においてカウンタを初期化する。また、設定レジスタにはメモリに対するアクセス回数のみをカウントするような設定値を書き込む。
ステップS65において、カウンタの値を読み出し、メモリに対するアクセス回数を確認する。メモリに対するアクセス回数が、予め設定したDMA転送の回数と等しい場合は、テスト回路が正しく動作し、DMA転送の回数を正確にカウントしていると判断する。
In step S64, the counter is initialized. A setting value for counting only the number of accesses to the memory is written in the setting register.
In step S65, the counter value is read and the number of accesses to the memory is confirmed. If the number of accesses to the memory is equal to the preset number of DMA transfers, it is determined that the test circuit operates correctly and accurately counts the number of DMA transfers.
その後、カウンタがカウントする対象を全ての事項とするような値を設定レジスタに書き込む。 After that, a value that sets all items to be counted by the counter to the setting register is written.
ステップS66において評価対象となるプログラムを実行する。 In step S66, a program to be evaluated is executed.
ステップS67において、再びDMA転送の回数を数える状態に設定し、ステップS68において、一定時間後のDMA転送回数のカウント値を確認する。ここでDMAがデッドロックしてしまった場合は、DMAからの転送回数が0となる。 In step S67, the state is again set to count the number of DMA transfers, and in step S68, the count value of the number of DMA transfers after a certain time is confirmed. If the DMA is deadlocked here, the number of transfers from the DMA is zero.
ステップS69において、ステップS68と同様にメモリアクセスをカウントする状態とする。ステップS610において、一定時間後にカウンタの値を調査する。メモリアクセスの回数が少ないことから何らかの故障が起きていることがわかる。またこの状態で、個別バスマスターのメモリアクセス回数を調べる。エラーが再現した場合、ステップS611で、想定していた回数よりもメモリアクセスの回数が少ないのはDMAだとわかる。 In step S69, memory access is counted as in step S68. In step S610, the counter value is checked after a predetermined time. From the fact that the number of memory accesses is small, it can be seen that some kind of failure has occurred. In this state, the memory access count of the individual bus master is checked. If the error is reproduced, it is determined in step S611 that the number of memory accesses is less than the expected number in the DMA.
また、本実施の形態のテスト回路によれば、通信を行う集積回路100において、通信相手となる集積回路200の以上を検出することも可能である。図7は通信対象となる集積回路の以上を検出する際のフローを示すフローチャートである。以下図7を参照して通信対象の集積回路200の異常を検出する動作について説明する。
Further, according to the test circuit of the present embodiment, it is possible to detect more than the
ステップS71において、カウンタを初期化する。また、通信が起きたことのみをカウントする状態になるように設定レジスタを設定する。 In step S71, the counter is initialized. In addition, the setting register is set so that only the occurrence of communication is counted.
ステップS72において、集積回路100、200間での通信を予め設定された回数実行する。
In step S72, communication between the
ステップS73において、カウンタの値を読み出して、通信の実行ぁらテスト回路の経路が正しく動作するかを調べる。ここで、カウンタの値がステップS72において設定された回数と一致した場合、通信部からカウンタまでの経路は正常に動作していると判断する。 In step S73, the value of the counter is read out, and it is checked whether the path of the test circuit operates correctly after execution of communication. Here, when the value of the counter matches the number of times set in step S72, it is determined that the path from the communication unit to the counter is operating normally.
ステップS74において、カウンタがカウントする対象を全ての事項とするような値を設定レジスタに書き込む。 In step S74, a value that sets all items to be counted by the counter to the setting register is written.
ステップS75において評価対象となるプログラムを実行する。 In step S75, a program to be evaluated is executed.
ステップS76において、全体のエラー回数を確認する。通常想定できる範囲数から外れていた場合は、何からの異常があることを検出できる。 In step S76, the total number of errors is confirmed. If it is outside the normal range, it can be detected that there is an abnormality.
ステップS77において、設定レジスタを単位時間あたりの通信回数を数えるモードに切り替え、ステップS78において、単位時間当たりの通信回数のカウント値を確認する。ここで、通信部分が異常を起こしていた場合は、通信回数として想定外の値が示される。 In step S77, the setting register is switched to a mode for counting the number of communications per unit time. In step S78, the count value of the number of communications per unit time is confirmed. Here, when the communication part has an abnormality, an unexpected value is shown as the number of communication.
ステップS79において、通信対象となる集積回路を変更して同様のテストを繰り返す。 In step S79, the integrated circuit to be communicated is changed and the same test is repeated.
ステップS710において、通信対象の集積回路を変更した結果、正常な値になった場合、通信対象の集積回路200の異常と判断される。通信対象の集積回路を変更しても異常な値を示す場合は集積回路100自身のは通信部の異常と判断される。
In step S710, when the integrated circuit to be communicated is changed to a normal value, it is determined that the
実施の形態3
実施の形態1及び実施の形態2では、集積回路自体のエラー箇所を特定する例を示している。しかしながら、本発明のテスト回路は、集積回路本体の劣化を検出することも可能である。図8は、本件発明者による集積回路自体の劣化を検出する回路を示す。図8に示すように、集積回路の劣化を検出する回路は、本体回路81、評価用回路82、劣化検出部83を有している。図8において、本体回路81には通常の動作クロックCLK1が入力され、評価用回路82には通常の動作クロックよりも周波数の高いクロックCLK2が入力されている。本体回路81を動作させるクロックCLK1よりも周波数が高いクロックCLK2で動作する評価用回路82は、本体回路81よりも早く劣化する。この劣化は、評価用回路82の出力信号の遅延に現れる。この遅延を検出する劣化検出部83を用いて検出することで評価用回路3の劣化を検出する。
Embodiment 3
In the first embodiment and the second embodiment, an example in which an error location of the integrated circuit itself is specified is shown. However, the test circuit of the present invention can also detect deterioration of the integrated circuit body. FIG. 8 shows a circuit for detecting deterioration of the integrated circuit itself by the inventors. As shown in FIG. 8, the circuit that detects the deterioration of the integrated circuit includes a
この評価用回路82、劣化検出部83は回路の任意の箇所に複数設けることが可能である。したがって、図9に示すように本件テスト回路に対する入力に複数の劣化検出信号を入力し、適宜設定レジスタによって劣化箇所を絞り込むことで、回路の劣化が起こりやすい箇所を特定することも可能となる。
A plurality of
11 設定レジスタ12A-12D 回路
12B-12H マスク回路(AND回路)
13 OR回路
14 カウンタ
81 本体回路
82 評価用回路
83 劣化検出部
100 集積回路
102 メモリ
103 自己診断回路(テスト回路)
105 通信部
106 オーディオ処理部
107 ビデオ処理部
108 入出力制御部
110 設定部
200 集積回路CLK1 クロック
CLK1 動作クロック
CLK2 クロック
11 Setting register 12A-
13 OR
105
Claims (9)
前記複数種類のエラー検出信号に対して前記カウンタに入力されるエラー検出信号の種類を決定する設定部とを有する自己診断回路。 A counter to which a plurality of types of error detection signals generated in the integrated circuit are input;
A self-diagnosis circuit comprising: a setting unit that determines types of error detection signals input to the counter with respect to the plurality of types of error detection signals.
前記カウンタには前記劣化検出信号が入力されることを特徴とする請求項1乃至5のいずれか1項に記載の自己診断回路。 The integrated circuit further includes an evaluation circuit to which a clock having a frequency higher than the normal operation clock of the integrated circuit is provided, and a deterioration detection unit that outputs a deterioration detection signal indicating the deterioration of the circuit based on the output of the evaluation circuit. And
6. The self-diagnosis circuit according to claim 1, wherein the deterioration detection signal is input to the counter.
前記複数種類のエラー検出信号に対して前記カウンタに入力されるエラー検出信号の種類を決定する設定部とを有する自己診断回路によって、当該集積回路の自己診断を実行する自己診断方法であって、
集積回路に評価対象プログラムを実行させ、
前記設定部に対して命令実行を抽出する設定を実行し、前記集積回路の実行した命令実行数を前記カウンタによって取得し、
前記設定部にキャッシュメモリに対するアクセスミスを抽出する設定を実行し、キャッシュメモリに対するアクセスミスの回数を前記カウンタによって取得し、
記集積回路の実行した命令実行数と、キャッシュメモリに対するアクセスミスの回数に基づいて、前記評価対象プログラムの無限ループの有無を判定する自己診断方法。 A counter to which a plurality of types of error detection signals generated in the integrated circuit are input;
A self-diagnosis method for performing a self-diagnosis of the integrated circuit by a self-diagnosis circuit having a setting unit that determines the type of error detection signal input to the counter with respect to the plurality of types of error detection signals,
Let the integrated circuit execute the program to be evaluated,
Executing setting for extracting instruction execution to the setting unit, obtaining the number of instruction executions executed by the integrated circuit by the counter;
Execute the setting to extract an access miss to the cache memory in the setting unit, obtain the number of access misses to the cache memory by the counter,
A self-diagnosis method for determining the presence or absence of an infinite loop in the evaluation target program based on the number of instructions executed by the integrated circuit and the number of access misses to the cache memory.
前記複数種類のエラー検出信号に対して前記カウンタに入力されるエラー検出信号の種類を決定する設定部とを有する自己診断回路によって、当該集積回路の自己診断を実行する自己診断方法であって、
集積回路内のダイレクトメモリアクセス処理部を用いてデータ転送を行い、
前記設定部に前記集積回路内のメモリに対するアクセス回数を抽出する設定を実行し、前記集積回路内のメモリに対するアクセス回数を前記カウンタによってカウントし、
前記データ転送の回数と前記メモリに対するアクセス回数の差に基づいてダイレクトメモリアクセス処理部の異常を判定する自己診断方法。 A counter to which a plurality of types of error detection signals generated in the integrated circuit are input;
A self-diagnosis method for performing a self-diagnosis of the integrated circuit by a self-diagnosis circuit having a setting unit that determines the type of error detection signal input to the counter with respect to the plurality of types of error detection signals,
Data transfer is performed using the direct memory access processing unit in the integrated circuit,
The setting unit is configured to extract the number of accesses to the memory in the integrated circuit, and the counter counts the number of accesses to the memory in the integrated circuit,
A self-diagnosis method for determining an abnormality of a direct memory access processing unit based on a difference between the number of times of data transfer and the number of accesses to the memory.
前記複数種類のエラー検出信号に対して前記カウンタに入力されるエラー検出信号の種類を決定する設定部とを有する自己診断回路によって、当該集積回路の自己診断を実行する自己診断方法であって、
集積回路の通信対象となる対象回路と予め定められた通信を実行し、
評価対象プログラムに基づいて、前記通信対象と通信を実行し、
前記設定部に前記評価対象プログラムに基づいた前記通信対象との通信回数を抽出する設定を実行し、前記評価対象プログラムに基づいた前記通信対象との通信回数を前記カウンタによって取得し、
前記評価対象プログラムに基づいた前記通信対象との通信回数から対象回路あるいは前記集積回路自身の異常を検出する自己診断方法。 A counter to which a plurality of types of error detection signals generated in the integrated circuit are input;
A self-diagnosis method for performing a self-diagnosis of the integrated circuit by a self-diagnosis circuit having a setting unit that determines the type of error detection signal input to the counter with respect to the plurality of types of error detection signals,
Execute predetermined communication with the target circuit to be the communication target of the integrated circuit,
Based on the evaluation target program, execute communication with the communication target,
Perform setting to extract the number of communication with the communication target based on the evaluation target program in the setting unit, obtain the communication frequency with the communication target based on the evaluation target program by the counter,
A self-diagnosis method for detecting an abnormality of a target circuit or the integrated circuit itself from the number of times of communication with the communication target based on the evaluation target program.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007305396A JP2009129301A (en) | 2007-11-27 | 2007-11-27 | Self-diagnostic circuit and self-diagnostic method |
US12/292,862 US7904771B2 (en) | 2007-11-27 | 2008-11-26 | Self-diagnostic circuit and self-diagnostic method for detecting errors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007305396A JP2009129301A (en) | 2007-11-27 | 2007-11-27 | Self-diagnostic circuit and self-diagnostic method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009129301A true JP2009129301A (en) | 2009-06-11 |
Family
ID=40670790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007305396A Pending JP2009129301A (en) | 2007-11-27 | 2007-11-27 | Self-diagnostic circuit and self-diagnostic method |
Country Status (2)
Country | Link |
---|---|
US (1) | US7904771B2 (en) |
JP (1) | JP2009129301A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013148956A (en) * | 2012-01-17 | 2013-08-01 | Toyota Motor Corp | Information processing device and method for checking operation of dma controller |
JP2013178653A (en) * | 2012-02-28 | 2013-09-09 | Nec Corp | Arithmetic processing unit and stall monitoring method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7617424B2 (en) * | 2005-12-30 | 2009-11-10 | Intel Corporation | Error monitoring for serial links |
US8862944B2 (en) * | 2010-06-24 | 2014-10-14 | International Business Machines Corporation | Isolation of faulty links in a transmission medium |
JP5910129B2 (en) * | 2012-02-06 | 2016-04-27 | ソニー株式会社 | Power storage device, power system, and electric vehicle |
JP7125602B2 (en) * | 2018-08-01 | 2022-08-25 | 富士通株式会社 | Data processing device and diagnostic method |
US11527911B1 (en) | 2021-10-12 | 2022-12-13 | Appleton Grp Llc | Fault-tolerant battery management system and method |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01276245A (en) * | 1988-04-27 | 1989-11-06 | Nec Eng Ltd | Diagnostic system |
JPH04245548A (en) * | 1990-09-03 | 1992-09-02 | Internatl Business Mach Corp <Ibm> | Error detection and fault separating mechanism |
JPH09101906A (en) * | 1995-10-09 | 1997-04-15 | Hitachi Ltd | Performance measuring method for parallel computer |
JPH10275098A (en) * | 1997-03-31 | 1998-10-13 | Nec Corp | Log information store system |
JPH11272519A (en) * | 1997-11-26 | 1999-10-08 | Digital Equip Corp <Dec> | Method and device for monitoring computer system for introducing optimization |
US6012148A (en) * | 1997-01-29 | 2000-01-04 | Unisys Corporation | Programmable error detect/mask utilizing bus history stack |
JP2000267934A (en) * | 1999-03-08 | 2000-09-29 | Texas Instr Inc <Ti> | Bench mark test for cache miss |
JP2002296330A (en) * | 2001-03-29 | 2002-10-09 | Sharp Corp | System of diagnosing electronic apparatus |
JP2002342125A (en) * | 2001-05-18 | 2002-11-29 | Fujitsu Ltd | Instrument, method and program for measuring event, computer readable recording medium recorded with the program and processor system |
JP2004318538A (en) * | 2003-04-17 | 2004-11-11 | Fujitsu Ltd | Method for monitoring performance |
JP2005216078A (en) * | 2004-01-30 | 2005-08-11 | Nec Corp | Generation system for transaction profile for computer system performance measurement analysis, generation method therefor and program |
JP2006146921A (en) * | 2004-11-16 | 2006-06-08 | Sony Computer Entertainment Inc | Method and system for using bookmark in trace buffer |
JP2007200300A (en) * | 2006-01-26 | 2007-08-09 | Internatl Business Mach Corp <Ibm> | Method, processor system, and information processing system (method and device for processing error information and injecting error in processor system) |
JP2007249534A (en) * | 2006-03-15 | 2007-09-27 | Fujitsu Ltd | Performance analysis device, performance analysis method, performance analysis program and recording medium |
JP2007293424A (en) * | 2006-04-21 | 2007-11-08 | Toshiba Corp | Performance monitor device, data collection method and its program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3040186B2 (en) | 1991-01-30 | 2000-05-08 | 株式会社東芝 | Digital controller for control |
US5768300A (en) * | 1996-02-22 | 1998-06-16 | Fujitsu Limited | Interconnect fault detection and localization method and apparatus |
WO2001093040A1 (en) * | 2000-05-30 | 2001-12-06 | Matsushita Electric Industrial Co., Ltd. | Program counter trace system, program counter trace method, and semiconductor device |
JP4245309B2 (en) | 2002-06-12 | 2009-03-25 | シャープ株式会社 | Oscillator circuit |
JP4071117B2 (en) * | 2003-01-23 | 2008-04-02 | シャープ株式会社 | Transmission / reception circuit, transmission / reception method, and transmission / reception apparatus |
US20050257104A1 (en) * | 2004-05-14 | 2005-11-17 | Wood Reed Glenn Jr | Method and apparatus for bit error rate test |
US7617424B2 (en) * | 2005-12-30 | 2009-11-10 | Intel Corporation | Error monitoring for serial links |
-
2007
- 2007-11-27 JP JP2007305396A patent/JP2009129301A/en active Pending
-
2008
- 2008-11-26 US US12/292,862 patent/US7904771B2/en not_active Expired - Fee Related
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01276245A (en) * | 1988-04-27 | 1989-11-06 | Nec Eng Ltd | Diagnostic system |
JPH04245548A (en) * | 1990-09-03 | 1992-09-02 | Internatl Business Mach Corp <Ibm> | Error detection and fault separating mechanism |
JPH09101906A (en) * | 1995-10-09 | 1997-04-15 | Hitachi Ltd | Performance measuring method for parallel computer |
US6012148A (en) * | 1997-01-29 | 2000-01-04 | Unisys Corporation | Programmable error detect/mask utilizing bus history stack |
JPH10275098A (en) * | 1997-03-31 | 1998-10-13 | Nec Corp | Log information store system |
JPH11272519A (en) * | 1997-11-26 | 1999-10-08 | Digital Equip Corp <Dec> | Method and device for monitoring computer system for introducing optimization |
JP2000267934A (en) * | 1999-03-08 | 2000-09-29 | Texas Instr Inc <Ti> | Bench mark test for cache miss |
JP2002296330A (en) * | 2001-03-29 | 2002-10-09 | Sharp Corp | System of diagnosing electronic apparatus |
JP2002342125A (en) * | 2001-05-18 | 2002-11-29 | Fujitsu Ltd | Instrument, method and program for measuring event, computer readable recording medium recorded with the program and processor system |
JP2004318538A (en) * | 2003-04-17 | 2004-11-11 | Fujitsu Ltd | Method for monitoring performance |
JP2005216078A (en) * | 2004-01-30 | 2005-08-11 | Nec Corp | Generation system for transaction profile for computer system performance measurement analysis, generation method therefor and program |
JP2006146921A (en) * | 2004-11-16 | 2006-06-08 | Sony Computer Entertainment Inc | Method and system for using bookmark in trace buffer |
JP2007200300A (en) * | 2006-01-26 | 2007-08-09 | Internatl Business Mach Corp <Ibm> | Method, processor system, and information processing system (method and device for processing error information and injecting error in processor system) |
JP2007249534A (en) * | 2006-03-15 | 2007-09-27 | Fujitsu Ltd | Performance analysis device, performance analysis method, performance analysis program and recording medium |
JP2007293424A (en) * | 2006-04-21 | 2007-11-08 | Toshiba Corp | Performance monitor device, data collection method and its program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013148956A (en) * | 2012-01-17 | 2013-08-01 | Toyota Motor Corp | Information processing device and method for checking operation of dma controller |
JP2013178653A (en) * | 2012-02-28 | 2013-09-09 | Nec Corp | Arithmetic processing unit and stall monitoring method |
Also Published As
Publication number | Publication date |
---|---|
US20090138767A1 (en) | 2009-05-28 |
US7904771B2 (en) | 2011-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8032817B2 (en) | Error detection and location circuitry for configuration random-access memory | |
JP2009129301A (en) | Self-diagnostic circuit and self-diagnostic method | |
US8694864B1 (en) | Parallel processing error detection and location circuitry for configuration random-access memory | |
CN101349905B (en) | Dual core architecture of a control module of an engine | |
US8448042B2 (en) | Data processing device and a method for error detection and error correction | |
EP1224548B1 (en) | System and method improving fault isolation and diagnosis in computers | |
CA2292991C (en) | Watch dog timer system | |
US6237116B1 (en) | Testing error correcting code feature in computers that do not have direct hardware features for causing single bit and multi-bit errors | |
US20100174967A1 (en) | Control apparatus and control method | |
US7774690B2 (en) | Apparatus and method for detecting data error | |
US11018693B2 (en) | System and method for continuously verifying device state integrity | |
US7484147B2 (en) | Semiconductor integrated circuit | |
JP6332134B2 (en) | Memory diagnostic circuit | |
JP2011154459A (en) | Program abnormal operation detection device for computer system | |
JP6984548B2 (en) | Battery monitoring device | |
US11831337B2 (en) | Semiconductor device and error detection methods | |
JP2011232910A (en) | Memory diagnosis system | |
JP2752929B2 (en) | Program runaway detection device and runaway detection method | |
KR100802666B1 (en) | Circuit arrangement and method for operating such a circuit arrangement | |
JP2001339291A (en) | Data count processing apparatus | |
JP2006195863A (en) | Error detection device | |
WO2016042751A1 (en) | Memory diagnosis circuit | |
JPH04318628A (en) | Central processing unit | |
JPH0980128A (en) | Integrated circuit failure detecting device | |
JP2002366391A (en) | Cpu abnormality monitor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100806 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120608 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120626 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120730 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120821 |