JP4941954B2 - データエラー検出装置およびデータエラー検出方法 - Google Patents
データエラー検出装置およびデータエラー検出方法 Download PDFInfo
- Publication number
- JP4941954B2 JP4941954B2 JP2005214035A JP2005214035A JP4941954B2 JP 4941954 B2 JP4941954 B2 JP 4941954B2 JP 2005214035 A JP2005214035 A JP 2005214035A JP 2005214035 A JP2005214035 A JP 2005214035A JP 4941954 B2 JP4941954 B2 JP 4941954B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- timing
- circuit
- register
- parity bit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1012—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
- G06F11/1032—Simple parity
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/09—Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H03M13/098—Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit using single parity bit
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Description
1回目:0111
2回目:0101
3回目:1110
4回目:1010
が出力されていることが示されている。また、2回目のデータから3回目のデータに更新するときに、断線によるデータ更新が行われなかったことが示されている。図2に示されているように、断線や制御回路の故障によりデータの更新ができなくなった場合、パリティチェック回路107は、更新前のデータをリードしてしまう。このとき、レジスタ値とパリティビットとの整合性は保たれているため、パリティチェックではエラーとならない。そのため、CPUは正常なデータとして古いデータをリードしてしまい、不具合発生の要因を検出が遅れることとなってしまっていた。したがって、従来のデータエラー検出装置103は、たとえ10回連続でリード値が同値であっても、故障と判断せずにデータの読み出しを継続してしまっていた。
以下に、図面を参照して、本発明を実施するための第1の実施形態について説明を行う。以下の第1の実施形態においては、本発明のデータエラー検出装置3が搭載されるマイクロコンピュータが、シングルチップマイクロコンピュータである場合を前提に説明を行う。なお、これは、本発明のデータエラー検出装置3がシングルチップマイクロコンピュータのみに適用可能であることを示すものではない。図3は、本実施形態のマイクロコンピュータの構成を例示するブロック図である。図3を参照すると、本実施形態のマイクロコンピュータ1は、周辺機能2と、データエラー検出装置3と、CPU4とを備えて構成され、それらはバス9を介して接続されている。
第1データ21−1:0111
第2データ21−2:0101
第3データ21−3:1110
が出力されている場合を例示して説明を行う。
以下に、図面を参照して、本発明の第2の実施形態について説明を行う。図6は、第2の実施形態のマイクロコンピュータの構成を例示するブロック図である。図6に支援されているブロック図において、第1の実施形態の説明で使用した符号と同じ符号が付されている回路ブロックは、第1の実施形態と同様の構成・動作である。したがって、第2の実施形態では、前述した回路ブロックに関する詳細な説明は省略する。
2…周辺機能
3…データエラー検出装置
4…CPU
5…パリティビット付加回路
6…レジスタ
7…パリティチェック回路
8…パリティビット反転回路
9…バス
10…DMAC
11…メモリ
21…データ
21−1…第1データ
21−2…第2データ
21−3…第3データ
22…パリティビット値
23…パリティビット付データ
23−1…パリティビット付第1データ
23−2…パリティビット付第2データ
24…反転パリティビット値
25…反転パリティビット付データ
25−1…反転パリティビット付第1データ
25−2…反転パリティビット付第2データ
101…マイクロコンピュータ
103…データエラー検出装置
102…周辺機能
104…CPU
105…パリティビット付加回路
106…レジスタ
107…パリティチェック回路
109…バス
Claims (9)
- 書換えデータを生成する書換え回路と、
前記書換えデータを受けてパリティビットを生成し、生成したパリティビットと前記書換えデータを出力するパリティビット付加回路と、
前記パリティビットと、前記書換えデータを保持するレジスタと、
前記書換えデータの生成に同期して、前記レジスタから前記パリティビットと前記書換えデータを読み出す読出し回路と、
前記書換えデータの読出しに応答して、前記レジスタが保持する前記パリティビットと前記書換えデータに対してパリティチェックを行なうパリティチェック回路と、
前記パリティチェックの実行終了に応答して、前記レジスタが保持する前記パリティビットを反転するパリティビット反転回路と
を備え、
前記パリティチェック回路は、
前記パリティチェックの結果が異常を示す場合に前記読み出し回路へ通知することを特徴とする半導体回路。 - 前記読出し回路は、
所定のタイミング毎に前記書換えデータを生成するよう前記書換え回路を制御することを特徴とする請求項1に記載の半導体回路。 - 前記読出し回路は、
前記パリティチェック回路からの前記通知を受けて、エラー処理ルーチンを実行することを特徴とする請求項1又は2に記載の半導体回路。 - 前記書換え回路は、
第1のタイミングと、前記第1のタイミングの後の第2のタイミングのそれぞれのタイミングにおいて、前記書換えデータを生成し、
前記読出し回路は、
前記第1のタイミングと前記第2のタイミングとの間の第3のタイミングと、前記第2のタイミングの後の第4のタイミングのそれぞれのタイミングにおいて、前記レジスタから前記パリティビットと前記書換えデータを読み出し、
前記第4のタイミングにおける前記レジスタの値が、前記第3のタイミングにおける前記レジスタの値と一致しており、かつ前記第4のタイミングにおける前記読出し回路による読出しに応答して実行した前記パリティチェックの結果が異常を示す場合には、前記第2のタイミングで更新された前記書換えデータは前記レジスタに格納されていないと判断されることを特徴とする請求項1乃至3の何れか一に記載の半導体回路。 - 請求項1から4の何れか一項に記載の半導体回路において、さらに、
メモリと、
前記書換え回路からの命令に応答してダイレクトメモリアクセスを実行するダイレクトメモリアクセスコントローラと
を具備する
半導体回路。 - 書換えデータを生成するステップと、
前記書換えデータを受けてパリティビットを生成し、生成したパリティビットと前記書換えデータを出力するステップと、
前記パリティビットと、前記書換えデータをレジスタに書き込むステップと、
前記書換えデータの生成に同期して、前記レジスタから前記パリティビットと前記書換えデータを読み出すステップと、
前記書換えデータの読出しに応答して、前記レジスタが保持する前記パリティビットと前記書換えデータに対してパリティチェックを行なうステップと、
前記パリティチェックの実行終了に応答して、前記レジスタが保持する前記パリティビットを反転するステップ
を備え、
前記パリティチェックを行なうステップは、
前記パリティチェックの結果が異常を示す場合に前記読み出し回路へ通知することを特徴とする
エラー検出方法。 - 所定のタイミング毎に前記書換えデータを生成するよう書換え回路を制御するステップをさらに具備することを特徴とする請求項6に記載のエラー検出方法。
- 前記通知を受けて、エラー処理ルーチンを実行するステップをさらに具備することを特徴とする請求項6又は7に記載のエラー検出方法。
- 前記書換えデータを生成するステップは、
第1のタイミングと、前記第1のタイミングの後の第2のタイミングのそれぞれのタイミングにおいて、前記書換えデータを生成するステップを含み、
前記前記パリティビットと前記書換えデータを読み出すステップは、
前記第1のタイミングと前記第2のタイミングとの間の第3のタイミングと、前記第2のタイミングの後の第4のタイミングのそれぞれのタイミングにおいて、前記レジスタから前記パリティビットと前記書換えデータを読み出すステップを含み、
前記第4のタイミングにおける前記レジスタの値が、前記第3のタイミングにおける前記レジスタの値と一致しており、かつ前記第4のタイミングにおける前記読出し回路による読出しに応答して実行した前記パリティチェックの結果が異常を示す場合には、前記第2のタイミングで更新された前記書換えデータは前記レジスタに格納されていないと判断されることを特徴とする請求項6乃至8の何れか一に記載のエラー検出方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005214035A JP4941954B2 (ja) | 2005-07-25 | 2005-07-25 | データエラー検出装置およびデータエラー検出方法 |
US11/492,078 US7774690B2 (en) | 2005-07-25 | 2006-07-25 | Apparatus and method for detecting data error |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005214035A JP4941954B2 (ja) | 2005-07-25 | 2005-07-25 | データエラー検出装置およびデータエラー検出方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007034469A JP2007034469A (ja) | 2007-02-08 |
JP4941954B2 true JP4941954B2 (ja) | 2012-05-30 |
Family
ID=37718957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005214035A Expired - Fee Related JP4941954B2 (ja) | 2005-07-25 | 2005-07-25 | データエラー検出装置およびデータエラー検出方法 |
Country Status (2)
Country | Link |
---|---|
US (1) | US7774690B2 (ja) |
JP (1) | JP4941954B2 (ja) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4408921B2 (ja) * | 2007-08-22 | 2010-02-03 | 株式会社デンソー | 電子機器 |
US20090158122A1 (en) * | 2007-12-12 | 2009-06-18 | Intel Corporation | Forward error correction of an error acknowledgement command protocol |
US9639418B2 (en) * | 2015-09-01 | 2017-05-02 | International Business Machines Corporation | Parity protection of a register |
EP3404546B1 (en) * | 2017-05-16 | 2019-09-11 | Melexis Technologies NV | Device for supervising and initializing ports |
US10890622B2 (en) * | 2019-04-29 | 2021-01-12 | International Business Machines Corporation | Integrated circuit control latch protection |
US11636008B2 (en) * | 2021-09-01 | 2023-04-25 | Micron Technology, Inc. | Tracking host-provided metadata in a memory sub-system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1344474A (en) * | 1971-03-04 | 1974-01-23 | Plessey Co Ltd | Fault detection and handling arrangements for use in data proces sing systems |
JPS53111255A (en) * | 1977-03-04 | 1978-09-28 | Hitachi Ltd | Check system for interface control signal |
JPS53126226A (en) * | 1977-04-11 | 1978-11-04 | Hitachi Ltd | Memory controller system |
JPH06309185A (ja) * | 1993-04-26 | 1994-11-04 | Nec Eng Ltd | 情報処理装置 |
-
2005
- 2005-07-25 JP JP2005214035A patent/JP4941954B2/ja not_active Expired - Fee Related
-
2006
- 2006-07-25 US US11/492,078 patent/US7774690B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
US20070033514A1 (en) | 2007-02-08 |
JP2007034469A (ja) | 2007-02-08 |
US7774690B2 (en) | 2010-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6647289B2 (ja) | セーフティサブシステムを有するプログラマブルic | |
JP4941954B2 (ja) | データエラー検出装置およびデータエラー検出方法 | |
CN101349905B (zh) | 引擎控制模块的双核体系结构 | |
US20100083050A1 (en) | Error detection control system | |
KR20150007973A (ko) | 마이크로컴퓨터 | |
EP3255546B1 (en) | Controller | |
US10108469B2 (en) | Microcomputer and microcomputer system | |
US20170242760A1 (en) | Monitoring device, fault-tolerant system, and control method | |
JP2009104246A (ja) | プログラマブルコントローラおよびその異常時復旧方法 | |
JP5413595B2 (ja) | 集積回路装置、電子機器 | |
US20100287426A1 (en) | Memory checking system and method | |
JP5561791B2 (ja) | 情報処理装置、情報処理方法、及び情報処理プログラム | |
JP2010181990A (ja) | データプロセッサ | |
JP4950214B2 (ja) | データ記憶装置における停電を検出する方法、およびデータ記憶装置を復旧する方法 | |
JP2009003663A (ja) | 電源制御装置 | |
WO2011122677A1 (ja) | 主記憶装置における情報を復元するための装置及び方法 | |
US20090150623A1 (en) | Semiconductor device and test mode control circuit | |
US10540222B2 (en) | Data access device and access error notification method | |
JP2011028657A (ja) | Ram診断装置、そのプログラム | |
JP2005092695A (ja) | 二重化コントローラ、その等値化モード決定方法 | |
JP4983806B2 (ja) | 二重化タイマを用いたシステム監視装置、および監視方法 | |
JP2006011576A (ja) | 高信頼性制御装置 | |
JP2008225835A (ja) | メモリアクセス制御方法及び回路、並びに情報処理装置 | |
JP2014159982A (ja) | 半導体装置およびその診断方法 | |
JP6435884B2 (ja) | 情報処理装置及び異常検出方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080613 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110509 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110707 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120222 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120222 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150309 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |