Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6048769B2 - Loading method - Google Patents
[go: Go Back, main page]

JPS6048769B2 - Loading method - Google Patents

Loading method

Info

Publication number
JPS6048769B2
JPS6048769B2 JP53061242A JP6124278A JPS6048769B2 JP S6048769 B2 JPS6048769 B2 JP S6048769B2 JP 53061242 A JP53061242 A JP 53061242A JP 6124278 A JP6124278 A JP 6124278A JP S6048769 B2 JPS6048769 B2 JP S6048769B2
Authority
JP
Japan
Prior art keywords
microinstruction
error
control storage
control
circuit
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
Application number
JP53061242A
Other languages
Japanese (ja)
Other versions
JPS54152832A (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.)
Toshiba Corp
Original Assignee
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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP53061242A priority Critical patent/JPS6048769B2/en
Publication of JPS54152832A publication Critical patent/JPS54152832A/en
Publication of JPS6048769B2 publication Critical patent/JPS6048769B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】 この発明は外部より与えられるマイクロプログラム情
報を書換え可能な制御記憶部へロードする際に用いられ
るローディング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a loading method used when loading externally provided microprogram information into a rewritable control storage unit.

従来、フロッピディスク、磁気テープ、カード 或い
はその他の外部記憶媒体に記憶されたマイク ロプログ
ラム情報を書換え可能な制御記憶部へ書込む際は、この
書込みに専用の回路或いは診断用に設けられた回路を用
い、書込みのためのデータバスにはパリテイ回路を設け
て、このパリテイチェックにより書込みファームウェア
データの保証を行なつていた。また制御記憶部にロード
された ファームウェアデータの読出しに際しては読出
しデータ(1マイクロ命令)に付随する誤り訂正コード
に基づき誤り検出訂正回路でエラーチェック並びに1ビ
ットエラーの訂正を行なつていた、従つて従来では外部
記憶媒体から制御記憶部へのデータ書込みに際し、エラ
ーチェック機構を含む書込みの固有のハードウェアが必
要になるととも」こ、寄数ビットのエラーに対しては書
込みエラー検出がなされるが偶数ビットエラーに対して
は書込みエラー検出がなされず、制御記憶部の読出し動
作時に於いて初めてエラー検出がなされこのエ ラー検
出によりシステムダウンとなる不都合が生フじていた。
この発明は上記実情に鑑みなされたもので、外部より
与えられたマイクロプログラム情報を制御記憶部へ書込
む際に、制御記憶部の読出し時に供されるマイクロ命令
に付随する誤り訂正コードおよび誤り検出訂正回路を有
効に利用して、制御記憶部への書込みデータに対する誤
り検出並びに誤り訂正を行なう構成とし、これによつて
ハードウェアの簡素化並びにこれに伴うコストの低減を
計るとともに、信頼性並びにシステム稼働効率の向上が
計れるローディング方式を提供することを目的とする。
Conventionally, when writing microprogram information stored on a floppy disk, magnetic tape, card, or other external storage medium to a rewritable control storage section, a circuit dedicated to this writing or a circuit provided for diagnosis has been used. A parity circuit was provided on the data bus for writing, and the written firmware data was guaranteed by this parity check. Furthermore, when reading the firmware data loaded into the control memory, an error detection and correction circuit performs error checking and correction of 1-bit errors based on the error correction code attached to the read data (1 microinstruction). Conventionally, when writing data from an external storage medium to a control storage unit, specific writing hardware including an error check mechanism is required. Write error detection is not performed for even-numbered bit errors, and the error is detected for the first time during the read operation of the control storage section, resulting in the inconvenience that the system goes down due to this error detection.
The present invention has been made in view of the above circumstances, and includes an error correction code and an error detection code attached to a microinstruction provided when reading the control storage section when microprogram information given from the outside is written to the control storage section. The configuration effectively utilizes the correction circuit to detect and correct errors in data written to the control storage unit, thereby simplifying the hardware and reducing costs associated with this, as well as improving reliability and The purpose is to provide a loading method that can improve system operating efficiency.

以下図面を参照してこの発明の一実施例を説明する。図
に於いて101はマイクロプログラム、マイクロ診断プ
ログラム等のマイクロプログラム情報を格納する書換え
可能な制御記憶部、102は外部記憶媒体より読出され
た誤り訂正ビット情報を含むマイクロプログラム情報を
上記制御記憶部101へ書込み制御するための制御部、
103はこの制御部102からの制御信号をデコードす
るデコーダ、104はこのデコーダ103の出力に基づ
いて、上記制御記憶部101より読出される誤り訂正コ
ード付のマイクロ命令または上記制御部102で受付け
た誤り訂正コード付のマイクロ命令を選択出力制御する
セレクタ、105はこのセレクタ104により選択され
た誤り訂正コード付のマイクロ命令を一時記憶するマイ
クロ命令レジスタである。106はこのマイクロ命令レ
ジスタ105に貯えられた誤り訂正コード並びにマ.イ
クロ命令を受けて1ビットエラーの誤り訂正並びに2ビ
ット以上のエラー検出を行なうECC(E汀0rChe
ckingandC0rrecti0n)回路であり、
誤り訂正コードを除くマイクロ命令データからチェック
ビットを生成する検査ビット発生回路こ107、この検
査ビット発生回路107で生成されたチェックビットと
上記マイクロ命令とからシンドロームを生成するシンド
ローム発生回路108、このシンドローム発生回路10
8で生成されたシンドロームにより訂正ビット情報を得
る訂正3ビット発生回路109、この訂正ビット発生回
路109より得られる訂正ビット情報に基づいて誤りビ
ットの訂正を行なう誤り訂正回路110、上記シンドロ
ームから誤りを検出する誤り検出回路111等により構
成される。
An embodiment of the present invention will be described below with reference to the drawings. In the figure, 101 is a rewritable control storage unit that stores microprogram information such as microprograms and microdiagnosis programs, and 102 is a control storage unit that stores microprogram information including error correction bit information read from an external storage medium. a control unit for controlling writing to 101;
103 is a decoder for decoding the control signal from the control unit 102; 104 is a microinstruction with an error correction code read from the control storage unit 101 or received by the control unit 102 based on the output of the decoder 103; A selector 105 for selectively outputting and controlling microinstructions with error correction codes is a microinstruction register that temporarily stores microinstructions with error correction codes selected by the selector 104. 106 is the error correction code stored in this microinstruction register 105 and the microinstruction register 105. ECC (E
ckingandC0rrecti0n) circuit,
A check bit generation circuit 107 that generates check bits from microinstruction data excluding error correction codes; a syndrome generation circuit 108 that generates a syndrome from the check bits generated by this check bit generation circuit 107 and the microinstruction; Generation circuit 10
A correction 3-bit generation circuit 109 that obtains correction bit information from the syndrome generated in step 8; an error correction circuit 110 that corrects error bits based on the correction bit information obtained from the correction bit generation circuit 109; It is composed of an error detection circuit 111 and the like.

また112は誤り検4出回路111の判定出力に基づい
て、マイクロ命令レジスタ105に貯えられたマイクロ
命令または誤り訂正回路110で訂正されたマイクロ命
令を選択出力制御するセレクタである。而してこのセレ
クタ112で選択されたマイクロ命令は、制御記憶部1
01への書込み時には制御記憶部101の入力部へ送ら
れ、また書込み終了後の通常読出し時にはマイクロプロ
グラム制御による論理回路群またはCPU(中央処理装
置)等に送られる。更に上記誤り検出回路111より出
力されるエラー信号(ErrOr)は上記制御部102
、CPU等に送られる。ここで作用を説明する。
Reference numeral 112 denotes a selector that selectively controls the output of the microinstruction stored in the microinstruction register 105 or the microinstruction corrected by the error correction circuit 110 based on the determination output of the error detection output circuit 111. The microinstruction selected by this selector 112 is then stored in the control storage unit 1.
When writing to 01, the data is sent to the input section of the control storage section 101, and when reading normally after the writing is completed, it is sent to a logic circuit group or CPU (central processing unit) under microprogram control. Furthermore, the error signal (ErrOr) output from the error detection circuit 111 is sent to the control section 102.
, the CPU, etc. The effect will be explained here.

制御記憶部101へのフマイクロプログラムロード時に
於いて、外部記憶媒体に記憶されている誤り訂正ビット
付のマイクロ命令語が一語長単位で制御部102に読込
まれると、制御部102からはこのマイクロ命令をマイ
クロ命令レジスタ105に送るべく制御信号が・出力さ
れ、この制御信号に基づいて制御部102に読込まれた
1語長のマイクロ命令がマイクロ命令レジスタ105に
セットされる。すなわち、制御部102では外部記憶媒
体からのマイクロ命令を1語読込む毎に、このマイクロ
命令をマイクロ命令レジスタ105に取込むための制御
信号を出力し、この制御信号に基づくデコーダ103か
らの出力によつてセレクタ104が制御部102からの
出力データすなわちマイクロ命令を選択出力する。これ
によつて制御部102に読込まれた1語長単位のマイク
ロ命令がマイクロ命令レジスタ105に貯えられる。而
してマイクロ命令レジスタ105に貯えられたマイクロ
命令はECC回路1?6の検査ビット発生回路107お
よびシンドローム発生回路108に入力され、このシン
ドローム発生回路108によりシンドロームが生成され
る。更にこのシンドロームが訂正ビット発生回路109
および誤り検出回路111に送られて誤り検出並びに訂
正ビットの検出動作が行なわれる。すなわち誤り検出回
路111では、エラー無しか、1ビットエラーか、2ビ
ット以上のエラーかを判定し、訂正ビット発生回路10
9では訂正すべきビット位置を検出する。而して1ビッ
トエラーの発生時に於いては訂正ビット発生回路109
からの出力に基づき誤り訂正回路110にて誤りビット
の訂正(’’1’’,“’0’’の反転)がなされる。
更に、この1ビットエラー発生時に於いては、誤り検出
回路111からのエラー信号に基づいて誤り訂正後のマ
イクロ命令語がセレクタ112により選択出力制御され
、このセレクタ112より出力された誤り訂正後のマイ
クロ命令語が制御部102からの書込み制御信号に基づ
いて制御記憶部101に格納される。また上記ECC回
路106で誤りが検出されない際はセレクタ112がマ
イクロ命令レジスタ105に貯えられたマイ −クロ命
令語を選択出力して、このマイクロ命令語が制御部10
2からの書込み制御信号に基づき制御記憶部101に格
納される。またECC回路106で2ビット以上のエラ
ーが検出された際はこのエラー状態が制御部102、C
PU等に知らされ制御記憶部101へのマイクロプログ
ラムロードが中断される。このように制御記憶部101
へのマイクロプログラムロード時に於いては、制御記憶
部101へ格納すべきマイクロ命令語が、そのマイクロ
命令語に含まれる誤り訂正コードを用いECC回路10
6にて誤り検出訂正された後、順次制御記憶部101に
格納される。
When loading a microprogram into the control storage unit 101, when the microinstruction words with error correction bits stored in the external storage medium are read into the control unit 102 in units of word length, the control unit 102 reads A control signal is output to send this microinstruction to the microinstruction register 105, and the one-word length microinstruction read into the control unit 102 is set in the microinstruction register 105 based on this control signal. That is, each time the control unit 102 reads one word of a microinstruction from an external storage medium, it outputs a control signal for loading this microinstruction into the microinstruction register 105, and the output from the decoder 103 is based on this control signal. Accordingly, the selector 104 selects and outputs the output data from the control unit 102, that is, the microinstruction. As a result, the microinstruction in units of one word length read into the control unit 102 is stored in the microinstruction register 105. The microinstruction stored in the microinstruction register 105 is input to the check bit generation circuit 107 and the syndrome generation circuit 108 of the ECC circuits 1 to 6, and the syndrome generation circuit 108 generates a syndrome. Furthermore, this syndrome is caused by the correction bit generation circuit 109.
The signal is then sent to the error detection circuit 111, where error detection and correction bit detection operations are performed. That is, the error detection circuit 111 determines whether there is no error, a 1-bit error, or an error of 2 or more bits, and the correction bit generation circuit 10
At step 9, the bit position to be corrected is detected. Therefore, when a 1-bit error occurs, the correction bit generation circuit 109
Based on the output from the error correction circuit 110, error bits are corrected (inversion of ``1'' and ``0'').
Furthermore, when this 1-bit error occurs, the selector 112 selectively outputs the error-corrected microinstruction word based on the error signal from the error detection circuit 111. A microinstruction word is stored in the control storage unit 101 based on a write control signal from the control unit 102. Further, when no error is detected by the ECC circuit 106, the selector 112 selects and outputs the microinstruction word stored in the microinstruction register 105, and this microinstruction word is sent to the control unit 10.
The data is stored in the control storage unit 101 based on the write control signal from 2. Further, when an error of 2 bits or more is detected in the ECC circuit 106, this error state is detected by the control unit 102,
The PU etc. are notified and the microprogram loading to the control storage unit 101 is interrupted. In this way, the control storage unit 101
When loading a microprogram into the control storage unit 101, a microinstruction word to be stored in the control storage unit 101 is loaded into the ECC circuit 10 using an error correction code included in the microinstruction word.
After error detection and correction are performed in step 6, the data are sequentially stored in the control storage unit 101.

また制御記憶部101への所定のマイクロプログラムロ
ードが終了した後の通常のマイクロプログラム読出し動
作時に於いては、セレクタ104が制御記憶部101よ
り読出されたマイクロ命令語を選択出力しこれによつて
制御記憶部101より読出されたマイクロ命令語はセレ
クタ104を介しマイクロ命令レジスタ105に貯えら
れる。
Further, during a normal microprogram reading operation after a predetermined microprogram load into the control storage unit 101 is completed, the selector 104 selects and outputs the microinstruction word read from the control storage unit 101. The microinstruction word read from the control storage unit 101 is stored in the microinstruction register 105 via the selector 104.

更にマイクロ命令レジスタ105に貯えられたマイクロ
命令語はECC回路106に送られて前記した制御記憶
部101へのマイクロプログラムロード時と同様の誤り
検出訂正動作が行なわれる。而してECC回路106て
誤りビットが検出されない際、または1ビット誤りの訂
正が行なわれた際は、その誤り無し、または誤り訂正後
のマイクロ命令語がマイクロプログラム制御用の論理回
路群またはCPU等に送られてマイクロ命令に従う動作
が実行される。また上記ECC回路106にて2ビット
以上の誤りが検出された際は処理動作が中断され、誤動
作が防止される。なお上記した実施例では、制御記憶部
101へのマイクロプログラムロード時に於いて、EC
C回路106で1ビットエラーが検出された際にそのエ
ラービットを訂正した後、制御記憶部101へ格納した
が、これに限らず、例えば1ビットエラーが検出された
際はそのエラービットの訂正を行なわず、エラーが検出
されない時と同様にその1ビットエラーのマイクロ命令
語をそのまま制御記憶部101へ格納し、読出し時に於
いてECC回路106で訂正してもよい。
Further, the microinstruction word stored in the microinstruction register 105 is sent to the ECC circuit 106, where error detection and correction operations similar to those performed when loading the microprogram into the control storage section 101 described above are performed. When the ECC circuit 106 does not detect an error bit or when a 1-bit error is corrected, the microinstruction word after error correction is detected by the microprogram control logic circuit group or the CPU. etc., and the operation according to the microinstruction is executed. Furthermore, when an error of two or more bits is detected in the ECC circuit 106, the processing operation is interrupted to prevent malfunction. In the above embodiment, when loading the microprogram into the control storage unit 101, the EC
When a 1-bit error is detected in the C circuit 106, the error bit is corrected and then stored in the control storage unit 101. However, the present invention is not limited to this. For example, when a 1-bit error is detected, the error bit may be corrected. Instead, the microinstruction word with the 1-bit error may be stored in the control storage unit 101 as it is in the same manner as when no error is detected, and corrected by the ECC circuit 106 during reading.

以上詳記したようにこの発明によれば、制御記憶部への
マイクロプログラム情報のローディング時に於いて、制
御記憶部へ格納すべきマイクロ命令語をこのマイクロ命
令語に含まれる誤り訂正コードを用い誤り検出訂正回路
にて誤り検出を行なつた後、制御記憶部へ順次格納する
構成としたことにより、パリテイ回路を付加することな
く簡単かつ安価な構成で信頼性の高いマイクロプログラ
ム情報のローディングが行なえシステムの稼働効ゝ率を
向上できるローディング方式が提供できる。
As described in detail above, according to the present invention, when microprogram information is loaded into the control storage section, the microinstruction word to be stored in the control storage section is corrected by using the error correction code contained in the microinstruction word. By having a configuration in which errors are detected in the detection and correction circuit and then sequentially stored in the control storage section, highly reliable microprogram information loading can be performed with a simple and inexpensive configuration without adding a parity circuit. A loading method that can improve system operating efficiency can be provided.

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

図はこの発明の一実施例を示すブロック図である。 101・・・・・・制御記憶部、102・・・・・・制
御部、1フ03・・・・・・デコーダ、104,112
・・・・・・セレクタ、105・・・・・・マイクロ命
令レジスタ、106・・・・・・ECC回路。
The figure is a block diagram showing one embodiment of the present invention. 101... Control storage unit, 102... Control unit, 1F03... Decoder, 104, 112
... Selector, 105 ... Micro instruction register, 106 ... ECC circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 誤り訂正コード付のマイクロプログラム情報を格納
する書換え可能な制御記憶部と、この制御記憶部より読
出される誤り訂正コード付のマイクロ命令を一時貯える
マイクロ命令レジスタと、このマイクロ命令レジスタに
貯えられたマイクロ命令をこれに付随する誤り訂正コー
ドに基づいて誤り検出訂正する誤り検出訂正回路と、外
部装置から与えられた誤り訂正コード付のマイクロ命令
を上記制御記憶部に格納するための制御を行なう制御部
と、この制御部で受けたマイクロ命令と上記制御記憶部
より読出されるマイクロ命令とのうちどちらのマイクロ
命令を上記マイクロ命令レジスタに記憶すべきかを選択
する選択回路とを有し外部装置より与えられた誤り訂正
コード付のマイクロ命令を上記誤り検出訂正回路により
誤り検出訂正を行なつた後、上記制御記憶部に記載せし
めることを特徴としたローディング方式。
1. A rewritable control storage section that stores microprogram information with an error correction code, a microinstruction register that temporarily stores microinstructions with an error correction code read from the control storage section, and a microinstruction register that stores microinstructions with an error correction code that are read from the control storage section. an error detection and correction circuit that detects and corrects errors in microinstructions that have been received based on error correction codes attached to the microinstructions; and controls to store microinstructions with error correction codes given from an external device in the control storage unit. an external device comprising a control section and a selection circuit for selecting which microinstruction should be stored in the microinstruction register from among the microinstructions received by the control section and the microinstructions read from the control storage section; A loading method characterized in that a microinstruction with an error correction code given by the microinstruction is written in the control storage unit after error detection and correction is performed by the error detection and correction circuit.
JP53061242A 1978-05-23 1978-05-23 Loading method Expired JPS6048769B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53061242A JPS6048769B2 (en) 1978-05-23 1978-05-23 Loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53061242A JPS6048769B2 (en) 1978-05-23 1978-05-23 Loading method

Publications (2)

Publication Number Publication Date
JPS54152832A JPS54152832A (en) 1979-12-01
JPS6048769B2 true JPS6048769B2 (en) 1985-10-29

Family

ID=13165559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53061242A Expired JPS6048769B2 (en) 1978-05-23 1978-05-23 Loading method

Country Status (1)

Country Link
JP (1) JPS6048769B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4933268B2 (en) * 2003-12-31 2012-05-16 サンディスク コーポレイション Flash memory system startup behavior

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS593638A (en) * 1982-06-30 1984-01-10 Nec Corp Information processor
JPH02236753A (en) * 1989-03-10 1990-09-19 Toshiba Corp Information storage medium
DE4300025C1 (en) * 1993-01-02 1994-01-27 Macrotek Ges Fuer Integrierte Error coding data transmission method - recognising and/or correcting one and more bit errors and involves division of data word and test word into four bit wide part words

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4933268B2 (en) * 2003-12-31 2012-05-16 サンディスク コーポレイション Flash memory system startup behavior

Also Published As

Publication number Publication date
JPS54152832A (en) 1979-12-01

Similar Documents

Publication Publication Date Title
JPH0253809B2 (en)
US4800563A (en) Error processing method and apparatus for information processing system
JPS6048769B2 (en) Loading method
JPH10269150A (en) Memory initializing method
JP2513615B2 (en) Storage device with ECC circuit
JPH08130480A (en) Error correction decoder
JP3358701B2 (en) Verify method and verify device
JPS6261974B2 (en)
JP3123774B2 (en) Storage device
SU1649614A1 (en) Self-monitoring memory unit
JPS63170756A (en) Main memory initialization method
JPH0675864A (en) Memory error recovery system
JPH01309421A (en) Error correction system
JPS6155131B2 (en)
JPH0327433A (en) Electronic disk device
JPS6240742B2 (en)
JPH01236735A (en) Error detecting and correcting system
JPS6227417B2 (en)
JPS6142304B2 (en)
JPH0136137B2 (en)
JPH11161560A (en) Apparatus for judging address correctness of storage device and method for judging address correctness
JPH02285443A (en) Fault recovery system
JPH08166891A (en) Fault tolerant computer system
JPS61161563A (en) Storage device
JPS58137196A (en) Storage device