JPS617947A - Control storage device - Google Patents
Control storage deviceInfo
- Publication number
- JPS617947A JPS617947A JP59128679A JP12867984A JPS617947A JP S617947 A JPS617947 A JP S617947A JP 59128679 A JP59128679 A JP 59128679A JP 12867984 A JP12867984 A JP 12867984A JP S617947 A JPS617947 A JP S617947A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- read
- register
- address
- memory 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.)
- Pending
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明はマイクロプログラム制御装置の制御記憶装置に
関し、特にマイクロプログラムのロード時におけゐチェ
ックに関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a control storage device for a microprogram control device, and more particularly to checking when a microprogram is loaded.
(従来の技術)
マイクロプログラム制御装置において、マイクロプログ
ラムを読取)専用メモリ回路に記憶しておき、これを読
み/書き可能メモリ回路にロードして使用する場合には
、従来方式では上記読取シ専用メモリ回路から上記読み
/書き可能メモリ回路にマイクロワードを順次ロードす
るだけで、ロード中にマイクロワードの正当性はチェッ
クできず、ロード終了後にパリティチェックによって行
っていた。(Prior Art) In a microprogram control device, when a microprogram is stored in a read/write dedicated memory circuit and used by being loaded into a read/write memory circuit, the conventional method is to store the microprogram in a read/write memory circuit. The microwords are simply loaded sequentially from the memory circuit to the read/write memory circuit, but the validity of the microwords cannot be checked during loading, and is checked by parity check after loading.
(発明によって解決しよりとする問題点)このため、い
ったんエラーが発生すると、マイクロプログラムが正確
に読み/書き可能メモリ回路にロードされているという
保証がないので、エラーの原因が何であるかの判別が非
常にむづかしいという欠点があった。(Problem to be solved by the invention) Therefore, once an error occurs, there is no guarantee that the microprogram is correctly loaded into the readable/writable memory circuit, so it is difficult to determine what caused the error. The drawback was that it was very difficult to distinguish.
例えば、複数ビットが同時に誤った場合には、従来のパ
リティチェック方式によってこれを検出できないという
欠点と、たとえ単一ビットの誤シであってもどのビット
が誤ってしるのかが判別し難いという欠点があった。For example, if multiple bits are erroneous at the same time, conventional parity checking methods cannot detect this, and even if a single bit is erroneous, it is difficult to determine which bit is erroneous. There were drawbacks.
本発明の目的は、読み/書き可能メモリ回路にロードす
べきマイクロプログラムを読取り専用メモリ回路からロ
ードする過稈において、上記読取シ専用メモリ回路から
読出されたマイクロワードと、このマイクロワードが上
記読み/書き可能メモリ回路に書込まれてから、再び読
出されたものと一致するか否かのチェック機能とを付加
することによシ上記欠点を除去し、上記読み/書き可能
メモリ回路にロードされたマイクロプログラムの信頼性
を保証したマイクロプログラム制御装置の制御記憶装置
を提供することにある。It is an object of the present invention to provide a method in which, during loading of a microprogram to be loaded into a read/write memory circuit from a read-only memory circuit, a microword read from the read-only memory circuit and this microword are The above disadvantages are eliminated by adding a check function to check whether the data matches what is read out again after being written into the writable memory circuit. An object of the present invention is to provide a control storage device for a microprogram control device that guarantees the reliability of microprograms.
(問題点を解決するための手段)
本発明による制御記憶装置は、読取り専用メモリー路と
、第1のレジスタと、読み/書き可能メモリ回路と、ア
ドレスレジスタと、アドレス制御回路と、第2のレジス
タと、比較回路と、報告手段とを具備して構成した亀の
である。SUMMARY OF THE INVENTION A control storage device according to the invention includes a read-only memory path, a first register, a read/write memory circuit, an address register, an address control circuit, and a second register. It is a turtle that is equipped with a register, a comparison circuit, and a reporting means.
読取シ専用メモリ回路は、マイクロプログラムを貯蔵す
るためのものである。The read-only memory circuit is for storing microprograms.
第1のレジスタは、読取如専用メモリ回路から読出され
たマイクロワードを一時的に格納するだめのものである
。The first register is for temporarily storing microwords read from the read-only memory circuit.
読み/書き可能メモリ回路は、第1のレジスタから順次
、マイクロワードを書込んで保持するための亀のである
。The read/write memory circuit is a turtle for writing and holding microwords sequentially starting from the first register.
アドレスレジスタは、読み/書き可能メモリ回路ならび
に読取シ専用メモリ回路に対してアドレスを与えるだめ
の亀のである。The address register is a tortoise that provides addresses to read/write memory circuits as well as read-only memory circuits.
アドレス制御回路は、アドレスレジスタを制御してアド
レスを増分させるだめの、ものである。The address control circuit is for controlling the address register to increment the address.
第2のレジスタは、読み/書き可能メモリ回路から読出
されたマイクロワードを一時的に格納スるためのもので
ある。The second register is for temporarily storing microwords read from the read/write memory circuit.
比較回路は、第1のレジスタの内容ならびに第2のレジ
スタの内容を相互に比較するためのものである。The comparison circuit is for comparing the contents of the first register and the contents of the second register with each other.
報告手段は、アドレス制御回路に対して比較回路による
比較結果を送出すゐためのものである。The reporting means is for sending the comparison result by the comparison circuit to the address control circuit.
(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明による制御記憶装置の一実施例を示す
ブロック図である。第1図において、1はアドレス制御
回路、2はアドレスレジスタ、6は読取り専用メモリ回
路、4は読み/書き可能メモリ回路、5は第1のレジス
タ、6は第2のレジスタ、7は比較回路である。FIG. 1 is a block diagram showing one embodiment of a control storage device according to the present invention. In FIG. 1, 1 is an address control circuit, 2 is an address register, 6 is a read-only memory circuit, 4 is a read/write memory circuit, 5 is a first register, 6 is a second register, and 7 is a comparison circuit. It is.
第1図において、電源投入時によって信号線50を介し
てロード要求信号が入力されると、アドレス制御回路1
は信号線51上にアドレスレジスタクリア信号を送出し
、アドレスレジスタ2をクリアする。アドレスレジスタ
2から信号線100 上に出力されたアドレス情報によ
ってマイクロプログラムを貯歳した読取シ専用メモリ回
路6はアクセスされ、データ信号線101にマイクロワ
ードが出力される。出力されたマイクロワードは第1の
レジスタ5に格納され、さらにデータ路4に書込まれる
。読み/書き可能メモリ回路4に書込まれたマイクロワ
ードは再び読み/書き可能メモリ回路4から読出され、
データ信号線103を通って第2のレジスタ6に格納さ
れる。In FIG. 1, when a load request signal is input through the signal line 50 when the power is turned on, the address control circuit 1
sends an address register clear signal onto signal line 51 to clear address register 2. The read-only memory circuit 6 storing the microprogram is accessed by the address information outputted from the address register 2 onto the signal line 100, and a microword is outputted onto the data signal line 101. The output microword is stored in the first register 5 and further written to the data path 4. The microword written to the read/write memory circuit 4 is read out from the read/write memory circuit 4 again,
The signal is stored in the second register 6 through the data signal line 103.
その後、第1のレジスタ5に格納されたマイクロワード
はデータ信号線102を通って比較回路7に入力され、
第2のレジスタ6に格納されたマイクロワードはデータ
信号I!1104を通って比較回路7に入力される。比
較回路7は第1のレジスタ5のマイクロワードと第2の
レジスタ60マイクロワードとが一致していれば、一致
信号を信号線54上に送出し、アドレス制御回路1に報
告する。Thereafter, the microword stored in the first register 5 is input to the comparator circuit 7 through the data signal line 102.
The microword stored in the second register 6 is the data signal I! The signal is input to the comparator circuit 7 through 1104. If the microword in the first register 5 and the microword in the second register 60 match, the comparison circuit 7 sends a match signal onto the signal line 54 and reports it to the address control circuit 1.
信号@54を介して一致信号が到来すると、アドレス制
御回路1は信号線52上にアドレスインクリメント信号
を送出し、アドレスレジスタ2の内容を1だけ増分させ
る。これにより設定されたアドレス値で上記動作が繰シ
返される。アドレスレジスタ2はアドレス値が終了値に
到達すると、信号線53上に終了信号が送出され、アド
レス制御回路1に報告される。信号線53を介して終了
信号が到来すると、アドレス制御回路1は信号線のロー
ド動作が正常に終了したことを報告する。When a match signal arrives via signal @54, address control circuit 1 sends an address increment signal on signal line 52 to increment the contents of address register 2 by one. As a result, the above operation is repeated using the set address value. When the address value of the address register 2 reaches the end value, a end signal is sent onto the signal line 53 and is reported to the address control circuit 1. When the end signal arrives via the signal line 53, the address control circuit 1 reports that the signal line loading operation has been completed normally.
しかし、比較回路7が途中で不一致を検出した場合には
、信号線54を介して比較回路7はアドレス制御回路1
に対して一致信号を送出せずに、信号線55上にエラー
信号を送出してロード動作を中止させ、これによってエ
ラーを報告する。However, if the comparison circuit 7 detects a mismatch midway through, the comparison circuit 7 connects the address control circuit 1 to the address control circuit 1 via the signal line 54.
Instead, it sends an error signal on signal line 55 to abort the loading operation, thereby reporting an error.
(発明の効果)
本発明は以上説明したように、マイクロプログラムをロ
ードする過程において読取シ専用メモリ回路から読出し
たデータと、七のデータを読み/書き可能メモリ回路に
書込んでから、再び読出して得たデータとの両方のデー
タを比較することによシ、ロードされたデータの信頼性
が保証されるという効果がある。(Effects of the Invention) As explained above, the present invention writes the data read from the read-only memory circuit and the data in the read/write memory circuit in the process of loading a microprogram, and then reads the data again. The reliability of the loaded data is guaranteed by comparing both data with the data obtained by
すなわち、本発明によればエラーが発生した時に、一対
のレジスタに格納されているマイクロワードをそれぞれ
表示し、比較することによって誤シビット数、ならびに
ビット位置が容易に判別できるという効果があみ。That is, according to the present invention, when an error occurs, the number of erroneous bits and the bit position can be easily determined by displaying and comparing the microwords stored in a pair of registers.
第1図は、本発明による制御記憶装置の一実施例を示す
ブロック図でおる。
1・・・アドレス制御回路
2・・−7ドレスレジスタ
6・・・読取9専用メモリ回路
4・・・故み/害き可能メモリ回路
5.6・争・レジスタ
7・争・比較回路FIG. 1 is a block diagram showing one embodiment of a control storage device according to the present invention. 1...Address control circuit 2...-7Dress register 6...Read 9-only memory circuit 4...Memory circuit that can fail/damage 5.6.Conflict register 7.Conflict comparison circuit
Claims (1)
回路と、前記読取や専用メモリ回路から読出されたマイ
クロワードを一時的に格納するための第1のレジスタと
、前記第1のレジスタから順次前記マイクロワードを書
込んで保持するための読み/書き可能メモリ回路と、前
記読み/書き可能メモリ回路ならびに前記読取り専用メ
モリ回路に対してアドレスを与えるためのアドレスレジ
スタと、前記アドレスレジスタを制御して前記アドレス
を増分させるためのアドレス制御回路と、前記読み/書
き可能メモリ回路から読出された前記マイクロワードを
一時的に格納するための第2のレジスタと、前記第1の
レジスタの内容ならびに前記第2のレジスタの内容を相
互に比較するための比較回路と、前記アドレス制御回路
に対して前記比較回路による比較結果を送出するための
報告手段とを具備して構成したことを特徴とする制御記
憶装置。a read-only memory circuit for storing a microprogram; a first register for temporarily storing microwords read from said read-only memory circuit; and a first register for temporarily storing said microwords from said first register. a read/write memory circuit for writing and holding; an address register for providing addresses to the read/write memory circuit and the read-only memory circuit; and controlling the address register to provide the address. an address control circuit for incrementing the microword; a second register for temporarily storing the microword read from the read/write memory circuit; and the contents of the first register and the second register. 1. A control storage device comprising: a comparison circuit for comparing the contents of the addresses, and a reporting means for sending a comparison result by the comparison circuit to the address control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59128679A JPS617947A (en) | 1984-06-22 | 1984-06-22 | Control storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59128679A JPS617947A (en) | 1984-06-22 | 1984-06-22 | Control storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS617947A true JPS617947A (en) | 1986-01-14 |
Family
ID=14990756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59128679A Pending JPS617947A (en) | 1984-06-22 | 1984-06-22 | Control storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS617947A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06259250A (en) * | 1993-03-10 | 1994-09-16 | Nec Corp | Information processor |
-
1984
- 1984-06-22 JP JP59128679A patent/JPS617947A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06259250A (en) * | 1993-03-10 | 1994-09-16 | Nec Corp | Information processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS617947A (en) | Control storage device | |
JPS6129024B2 (en) | ||
JPH0652065A (en) | Memory control circuit | |
JPS61160140A (en) | Controlled storage device | |
JP2587468B2 (en) | Lock data setting device | |
JPS62250563A (en) | Magnetic disk storage device | |
JPH01118933A (en) | Single-chip microcomputer | |
JPS6073763A (en) | Detecting system of memory address error | |
JPS6153579A (en) | Tester for function of logical circuit | |
JPH04218849A (en) | Storage device | |
JPS60549A (en) | Memory testing system | |
JPS61173360A (en) | Protective system for data of non-volatile memory | |
JPH01309421A (en) | Error correction system | |
JPS62293582A (en) | Memory device | |
JPS62168241A (en) | Microprogram controller | |
JPH02110741A (en) | Microprogram controller | |
JPH02202655A (en) | Storage device | |
JPS626341A (en) | Information processor | |
JPH0341538A (en) | Main storage device | |
JPS6223336B2 (en) | ||
JPS6292039A (en) | Data processor | |
JPS6236578B2 (en) | ||
JPH02144633A (en) | Error correcting device for control storage | |
JPH01189745A (en) | Memory write system | |
JPH096685A (en) | Memory device and its error test method |