JPS58200499A - Error detecting system in control storage section - Google Patents

Error detecting system in control storage section

Info

Publication number
JPS58200499A
JPS58200499A JP57084400A JP8440082A JPS58200499A JP S58200499 A JPS58200499 A JP S58200499A JP 57084400 A JP57084400 A JP 57084400A JP 8440082 A JP8440082 A JP 8440082A JP S58200499 A JPS58200499 A JP S58200499A
Authority
JP
Japan
Prior art keywords
error
data
control storage
register
address
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.)
Granted
Application number
JP57084400A
Other languages
Japanese (ja)
Other versions
JPH0412492B2 (en
Inventor
Akira Sakauchi
坂内 明
Masao Sato
政雄 佐藤
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.)
Toshiba Engineering Corp
Toshiba Corp
Original Assignee
Toshiba Engineering Corp
Toshiba Corp
Tokyo Shibaura Electric Co Ltd
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 Toshiba Engineering Corp, Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Engineering Corp
Priority to JP57084400A priority Critical patent/JPS58200499A/en
Publication of JPS58200499A publication Critical patent/JPS58200499A/en
Publication of JPH0412492B2 publication Critical patent/JPH0412492B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1076Parity data used in redundant arrays of independent storages, e.g. in RAID systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices

Abstract

PURPOSE:To detect error in a control storage section quickly and accurately with less amount of processing, by using an error detecting and correcting function for the confirmation of justice of data and using a redundancy bit for a failure of address systems. CONSTITUTION:The control storage section 1 is accessed with an address advanced sequentially from the initial value via an address register 21 and a microinstruction word is stored in a microinstruction register 3. A check bit of the microinstruction is inputted to an error detecting and correcting circuit 5, where the detection of presence of an error in an instruction work data and the correction of 1-bit error and the like are done. On the other hand, a redundancy bit of the instruction word stored in the register 3 is impressed to an operating circuit 4 to which a direct data 0 and the like from a register 6 is applied at the initial state to detect the presence of a failure of address system by means of an exclusive OR processing. Thus, the data and data error are detected accurately and quickly with less amount of processing without full-bit processing.

Description

【発明の詳細な説明】 し発明の技南分野〕 本発明は制御記憶部におけるエラー検出方式%式% 〔発明のBifh的W景とその問題点〕ハードワイヤド
な設計よりも設計に7レキ7ビリアイ會待たせ、且つハ
ードウェアの設計が容易になることからマイクロ7’o
グシムに↓る制卸方式がよく用いられる。マイクロノロ
グラムはマシン丈イクル毎のハードウェアの動作全指定
するものでろり、いくつかのマイクロプログ7ムの組合
せ実行によって1つのソフトウニ゛θlか実行されるこ
とになる。マイクロプログラムは通常制御1導と呼ばれ
る続出し専用メモリに格納されており、マイクロイ/ス
トラクシ、ンカウンタと称されるカウンタに従って順次
シーケンシャルに続出され実行される。
[Detailed Description of the Invention] Technical Field of the Invention] The present invention is an error detection method in the control storage section. Micro 7'o because it makes it easier to design the hardware and keep you waiting for the 7billiai meeting.
The wholesale control method described below is often used. The micronogram specifies all the hardware operations for each cycle of the machine, and one software program θl is executed by combining several microprograms. The microprograms are stored in a memory dedicated to retrieval, usually called a control unit, and are sequentially reloaded and executed one after another in accordance with a counter called a microprogram/strategy counter.

ところ−マイクロプログラムを保持する、ECC機吐付
壷込可能な制御記憶部にマイクロプログラムを書込む場
合、書込終了後に正しく沓込まれたかどうかの確認が必
要である。従来の確認方式としては、書込まれた内容を
制御記憶部から順次続出し、正しい値と比較するか又は
制御記憶部に格納された内容を続出しハードウェアによ
るECC機能により誤シを検出する方法があっ九。
However, when writing a microprogram into the ECC machine's removable control storage that holds the microprogram, it is necessary to confirm whether or not it has been correctly written after the writing is completed. Conventional confirmation methods include sequentially reading out the written contents from the control storage unit and comparing them with the correct values, or reading out the contents stored in the control storage unit and detecting errors using a hardware ECC function. There are nine ways.

しかしながら前者の確認方法ではアドレス系障害を含め
た総合的な確認ができるが反面、全データビットを比較
する九め、データビ、ト暢が大きくなると確認時間も長
くなる、また、後者の確認方法ではアドレス系障害に対
しての確認が不十分である。すなわち、書込まれたr 
−タが正しいアドレスに書込まれているかの確認ができ
ないという欠点があった。
However, while the former confirmation method allows comprehensive confirmation including address system failures, the confirmation time becomes longer as the number of bits compared with all data bits increases. Confirmation of address system failures is insufficient. That is, written r
- There was a drawback that it could not be confirmed whether the data was written to the correct address.

〔発明の目的〕[Purpose of the invention]

本発明は上記欠点に鑑みてなされえものであり、アドレ
ス系障害を含め九総合的確認を、r−タの止歯性の確認
はノ1−ドウエアのECC機能を用いて行うと共にアド
レス系障害に対しては冗長ピット(チェックピット)を
用いて行うことにより、確認に費するデータ処理量を少
なくすることで確認時間の短縮をはかった制御記憶部に
おけるエラー検出方式t−a供することを目的とする。
The present invention has been made in view of the above-mentioned drawbacks, and performs a comprehensive check including address system failures, and confirms rotor locking performance by using the ECC function of the hardware and address system failures. The purpose is to provide an error detection method t-a in the control storage unit that reduces the amount of data processing required for confirmation and shortens the confirmation time by using redundant pits (check pits). shall be.

〔発明のwt、費〕[wt, cost of invention]

本発明はエラーチェ、りのための冗長ピット(チェ、ク
ピット)t−持つ制御記憶部のエラー検出手段であって
、ハードウェアによるECC機能を使うことで全ピット
中に関するデータの照合確認を行うことなく、またアド
レス方向のエラーに関しても冗長ピットを用いて行うこ
とにより制御記憶部の書込み内容の確認に豪するデータ
処理量を少なくしたものである。
The present invention is an error detection means for a control storage unit having redundant pits (checks and pits) for error checking, and is capable of collating and confirming data in all pits by using a hardware ECC function. Furthermore, by using redundant pits to deal with errors in the address direction, the amount of data processing needed to confirm the contents written in the control storage section is reduced.

これにより、確1時間の短縮がはかれ、効率的なエラー
検出手段が提供で睡る。
This saves approximately one hour and provides an efficient error detection means.

〔発明の実施例〕[Embodiments of the invention]

以ト\図rkiを使用して本発明に関し説明する。 The present invention will be explained below using Figure rki.

絽1図は、本発明か実現されるマイクログロダラム制御
MI装置の構成例をブロック図にて不している。図にお
いて、1はマイクロプログラムが格納される制御記憶部
であって、この制御記tK部に格納されるマイクロプロ
グラムの各1t8ti、データ部の他にエラー・チェ、
りのための冗長ピ、トを持つ。2は上記制御記憶部1の
アドレッシング回路であって、通常は+X*新回路22
を介してシーケンシャルに制御記憶部1のアドレスを更
新するが、エラー処理待無条件に″″Om査地ヘジャン
グする。このため、アドレスレジスタ21にはダイレク
トデータ”0”と+1更新回%22出力がそれぞれ供給
されている。Jはマイクロ命令レジスタである。マイク
ロ命令レジスタ3にii制御記憶部1より15!出され
るマイクロ命令飴が保持され、このマイクロ命令レジス
タ3の出力はECC機能回路5へ供給されると共に一部
ピットは演算回路4へも供給される。
FIG. 1 shows, in a block diagram, an example of the configuration of a microglodallum control MI device realized by the present invention. In the figure, reference numeral 1 denotes a control storage section in which microprograms are stored, and in addition to each microprogram 1t8ti stored in the control memory tK section and the data section, an error checker,
It has redundant bits for reuse. 2 is an addressing circuit for the control storage section 1, and normally +X* new circuit 22
The address of the control storage unit 1 is updated sequentially through ``'', but the address is unconditionally jumped to ``Om'' while waiting for error processing. Therefore, the address register 21 is supplied with the direct data "0" and the +1 update times %22 output, respectively. J is a microinstruction register. 15 from ii control storage unit 1 to microinstruction register 3! The issued microinstruction candy is held, and the output of this microinstruction register 3 is supplied to the ECC function circuit 5, and some pits are also supplied to the arithmetic circuit 4.

FCCはError ChIcKing & Corr
@ct1@nの略であり、続出されたr−夕のタビ、ト
の−)については検出ならびに訂正し、2ピ、ト以上の
エラーについては検出のみを行う誤ル検出のための一十
法である。近年ではこの機能を実現するLSIが出現(
7ており、このLSIにより機能回路部5が構成される
。このECC機能回路部5による誤りI)正出力はグー
)77を介してマイクロ命令レジスタJに供給される。
FCC Error ChIcKing & Corr
It is an abbreviation of @ct1@n, which detects and corrects consecutive r-tabi, g-), and only detects errors of 2 pins or more. It is the law. In recent years, LSIs that realize this function have appeared (
7, and the functional circuit section 5 is constituted by this LSI. The error (I) positive output by this ECC function circuit section 5 is supplied to the microinstruction register J via the (G) 77.

E配演算回路4の他方の大刀とじて杖レジスタ6に一介
して与えられるデータが存在する。このレジスタ6に般
定されるデータは、−フ検出法によっても異なるが、本
発明実施例によれば外部より供給されるダイレクトデー
タ1o”が供給されまfc他の例では、演算回路4を介
した演算出力r−夕であっても良い。演算(ロ)路4は
嶺lx −77797@ 7 (AND、 EOR,A
DD、 SUM −) f持つ従来より周知のロジ、り
である。
There is data that is given to the staff register 6 via the other large sword of the E distribution calculation circuit 4. Although the data generally stored in this register 6 differs depending on the fc detection method, according to the embodiment of the present invention, direct data 1o" supplied from the outside is supplied. In other examples, the arithmetic circuit 4 is It is also possible to use the calculation output r - 7 via the calculation (ro) path 4 as the calculation output r - 7 (AND, EOR, A
DD, SUM -) f is a well-known logic.

第2図は本発明によるエラー検出方式の一例をがすフロ
ーチャートである。
FIG. 2 is a flowchart illustrating an example of an error detection method according to the present invention.

以下、m2図のフローチャートを参照しながら第1図に
示したマイクロプログラム制御装置の動作を説明′する
。ステ、グ201 、 J f”lは初期リセットのル
ーチンを示し、レビスタ6とfドレスレジスタ21の内
容をクリアする。ステ、グ203ではアドレスレジスタ
21でアドレッシングされる制御記憶部1の番地よシマ
イクロ命令l−、即ちデータとチェ、クピットの胱出し
を行ないマイクロ命令レジスタ3にロードする。続出さ
れたデータはECC@能回路5によシ、lビ、ト誤シ又
#i複数ピy ) II りの検出が行なわれる。ステ
、グ204にてECCCCニラ−0有無t−調べ、エラ
ーがあれば110のエラー処理ルーチンへ、エラーが無
ければステ。
The operation of the microprogram control device shown in FIG. 1 will be explained below with reference to the flowchart shown in FIG. m2. Step 201 indicates an initial reset routine, which clears the contents of the register 6 and f address register 21. In step 203, the address of the control storage unit 1 addressed by the address register 21 and the The micro-instruction l-, that is, the data, check, and cupid are output and loaded into the micro-instruction register 3.The successively outputted data is sent to the ECC@function circuit 5, and the data is sent to the ECC @ function circuit 5. ) II Detection is performed. At step 204, the presence or absence of ECCCC nira-0 is checked. If there is an error, the process goes to error processing routine 110; if there is no error, the process goes to step 204.

グ205にてマイクロ命令レジスタ3の一部のフィール
ド、例えばチェ、クピットと′W″(θ番地の続出し時
は“O”となっている)とで排他的論理和をとシ、その
結果を再び″w’にしまう。
At step 205, an exclusive OR is performed on some fields of the microinstruction register 3, such as check, cupit, and 'W' (which is "O" when the θ address is successively issued), and the result is ``w'' again.

即ち、エラーが無ければマイクロ命令レジスタ3に設定
された一部ピットとレジスタ6に設定されたデータ“0
″とが演算回路4にて比較演算−gtL、6・    
   ;、。
That is, if there is no error, some pits set in microinstruction register 3 and data "0" set in register 6
'' is compared in the arithmetic circuit 4 -gtL, 6.
;,.

次にステップ206で制御記憶部1の全アドレスに対し
ステラf203,204.205を実イ丁したかを晃て
おり、まだであればアドレスf:鵬次+−1更新回路2
2によりカウントア、!(ステ、ypxor)L、てス
テ、f208.204゜205の処理を繰返す。全アド
レスに対して、ステ、f203,104.205(D実
行を行なり次なら、ステップ208にてステップ2o5
にて得られた演算結果を前もってわかっている正解値と
比較して、一致すわば制御記憶部111C績納され九内
容は正しい仁とが61認されるため、ステラ1209の
処理に進み終了する。又、不一致であることが確關され
れば制御記憶部1に格納された内容は正しくないことが
わかるため、ステ、グ210のエラー処理ルーチンへ進
む。
Next, in step 206, it is checked whether Stella f203, 204, and 205 have been actually applied to all addresses of the control storage unit 1, and if not, the address f: Pengji+-1 update circuit 2
Counter by 2! (Step, ypxor) L, Step, f208.204° Repeat the processing of 205. Step, f203, 104.205 (D is executed for all addresses, and if the next step is step 208, step 2o5 is executed.
The calculation result obtained in is compared with the correct value known in advance, and if there is a match, the control storage unit 111C is determined that the content is correct, so the process proceeds to Stella 1209 and ends. . Further, if it is determined that there is a mismatch, it is known that the contents stored in the control storage section 1 are incorrect, and the process proceeds to the error processing routine of step 210.

尚、本発明実施例でtjmJ回路4にてチェックピット
どうしで排他的論理和をとったが、排他的lii坤和で
はなしに演算式に基づいた演算、例えばCRCチェ、夕
方式をとっても良いことは目明である。
In the embodiment of the present invention, the exclusive OR is performed between the check pits in the tjmJ circuit 4, but it is also possible to perform an operation based on an arithmetic formula, such as a CRC check or an evening method, instead of the exclusive sum. is a sight.

〔、見間の幼果〕[, Young fruit of Mima]

以上発明の如く本発明に工れば、ハードフェアによるE
CC嶺能を使用することによシ、全ピット巾に関する照
u6M認をすることなくr−夕の正当性の確認を行うこ
とが出来、またアドレス方向のエラーに関しても冗長ビ
ットを用いて行なうことにより検出可能となり、効率的
なエラー検出手段t−提供できる。
If the present invention is implemented as described above, E
By using the CC function, it is possible to check the validity of the r-data without checking the entire pit width, and redundant bits can also be used to check errors in the address direction. This makes it possible to detect errors by providing efficient error detection means.

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

881図は本発明が実状されるマイクログログラム制#
装置の傅成し11を示すプロ、り図、第2図は本発明の
動作を示すフローチャートである。 1・・・制御記憶部、2・・・アドレ7ンダ回路、3・
・・マイクロ命令レジスタ、4・・・演算回路、5・・
・ECC機能回路・
Figure 881 shows a microgram system in which the present invention is practiced.
FIG. 2 is a flowchart showing the operation of the present invention. DESCRIPTION OF SYMBOLS 1... Control storage unit, 2... Addresser circuit, 3...
...Microinstruction register, 4...Arithmetic circuit, 5...
・ECC function circuit・

Claims (1)

【特許請求の範囲】 (1ン  エラーチェ、りの九めの冗長ピットを有する
制御記憶部を持つデータ処理装置において、制御記憶部
の全てのアドレスに関してその内容を続出し冗長ピット
によるエラーの有無を検出する手段と、該制御記憶部に
格納された全アドレスのデータに関し、特定の一部のピ
ット位置に対してあらかじめ定められ九演算を逐次行う
手段と、該演算結果が前もって足められていた値に一致
するか否かを検出する手段とを有することを%像とする
制御記憶部におけるエラー検出方式。 (2)上記冗長ピットによるエラーチェ、りが複数ピッ
ト誤りを検出するエラーチェ、夕方式であることを特徴
とする特許請求の範囲第1項記載の制#配憶部におけ為
エラー検出方式。
[Scope of Claims] (1) In a data processing device having a control memory section having nine redundant pits, the contents of all addresses in the control memory section are sequentially read to determine whether or not there are errors caused by the redundant pits. means for detecting, means for sequentially performing nine predetermined operations on specific part of pit positions regarding the data of all addresses stored in the control storage unit, and the results of the operations are added in advance. An error detection method in the control storage section whose main feature is to have means for detecting whether or not the value matches the value. A system for detecting errors in a control storage unit according to claim 1.
JP57084400A 1982-05-19 1982-05-19 Error detecting system in control storage section Granted JPS58200499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57084400A JPS58200499A (en) 1982-05-19 1982-05-19 Error detecting system in control storage section

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57084400A JPS58200499A (en) 1982-05-19 1982-05-19 Error detecting system in control storage section

Publications (2)

Publication Number Publication Date
JPS58200499A true JPS58200499A (en) 1983-11-22
JPH0412492B2 JPH0412492B2 (en) 1992-03-04

Family

ID=13829521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57084400A Granted JPS58200499A (en) 1982-05-19 1982-05-19 Error detecting system in control storage section

Country Status (1)

Country Link
JP (1) JPS58200499A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5555500A (en) * 1978-10-18 1980-04-23 Fujitsu Ltd Memory error correction system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5555500A (en) * 1978-10-18 1980-04-23 Fujitsu Ltd Memory error correction system

Also Published As

Publication number Publication date
JPH0412492B2 (en) 1992-03-04

Similar Documents

Publication Publication Date Title
US5502732A (en) Method for testing ECC logic
EP0173515B1 (en) Error recovery system in a data processor having a control storage
JPS6061837A (en) Error corrector
US10565049B2 (en) Memory device and repair method with column-based error code tracking
JPH0444294B2 (en)
KR860001476B1 (en) Error correction method in microprogram control system
JP2006523868A (en) Program-controlled unit and method
KR20030023762A (en) Method and circuit arrangement for memory error processing
US10613918B2 (en) Data register monitoring
JP2001290710A (en) Device for detecting data error
JPS58200499A (en) Error detecting system in control storage section
US10250279B2 (en) Circuits and methods for writing and reading data
KR100280457B1 (en) How to read and write data in flash memory
US7831889B2 (en) Method and device for error detection for a cache memory and corresponding cache memory
US11392453B2 (en) Error correction code memory
JP2818659B2 (en) Error correction method
JPH06139152A (en) Input/output circuit for storage device
JPH03111953A (en) Method for detecting fault of memory address
JPH01222357A (en) Soft error identifying method
JPH02207355A (en) Memory readout system
CN117055964A (en) Embedded system
JPS59110098A (en) Error correcting device of data storage device
JPS60258663A (en) Memory error processing circuit
JPS61161564A (en) Storage device
JPS58103040A (en) Microprogram controller