JPS58159150A - Diagnosing device for control storage device - Google Patents

Diagnosing device for control storage device

Info

Publication number
JPS58159150A
JPS58159150A JP57043113A JP4311382A JPS58159150A JP S58159150 A JPS58159150 A JP S58159150A JP 57043113 A JP57043113 A JP 57043113A JP 4311382 A JP4311382 A JP 4311382A JP S58159150 A JPS58159150 A JP S58159150A
Authority
JP
Japan
Prior art keywords
register
contents
control storage
address
storage device
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
Application number
JP57043113A
Other languages
Japanese (ja)
Inventor
Yoshinori Murai
村井 義則
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP57043113A priority Critical patent/JPS58159150A/en
Publication of JPS58159150A publication Critical patent/JPS58159150A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To facilitate the diagnosis of a control storage device, by comparing successively the microinstructions with those read out of a diagnosing storage device regardless of the executing order of the microinstructions within a microprogram sequence controller connected to a control storage comparing device. CONSTITUTION:A microprogram sequence controller 1 is connected with a control storage comparing device 9. In a diagnosis mode, the contents of an increment instruction register 6 are always delivered from a selector 7. The microinstruction of a designated address is read out to a microinstruction register 5 as well as to a diagnosing microinstruction register 11 and then compared at a comparator 12. When the comparison is over, 1 is added to an address register 4. Then the instruction of the next address position is read out of a control storage device 2 and a diagnosing control storage device 10 for comparison 12. The contents of the register 4 are set at the head address value 1 when they exceed the maximum address value of the device 2. Thus the diagnosis is carried out for all regions regardless of the executing order of microinstructions.

Description

【発明の詳細な説明】 本発明は、マイクロプログラムを配憶する制御記憶装置
の診断方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for diagnosing a control storage device that stores microprograms.

従来より、マイクロプログラムを記憶する制御記憶装置
の診断を行う為の有効な手法はなかった。
Conventionally, there has been no effective method for diagnosing control storage devices that store microprograms.

それ故に、実際に、マイクロプログラムラ実行する段階
で、その実行順序に従って読み出さハるマイクロ命令の
パリティエラーチェックを行なうのが一般であった。 
ところで、マイクロ命令には、分岐命令が含まれている
ので、制御記憶装置中に格納されているすべてのマイク
ロ命令を読み出してチェックする為には、マイクロプロ
グラムの実行順序を考朦した膨大なシュミレーションプ
ログラムを用意しなければならないという欠点がるる。
Therefore, it has been common practice to perform a parity error check on microinstructions read out according to the order of execution when the microprogram is actually executed.
By the way, micro-instructions include branch instructions, so in order to read and check all the micro-instructions stored in the control memory, a huge amount of simulation is required to consider the execution order of the micro-program. The disadvantage is that you have to prepare a program.

また、パリティエラーチェックでは、複数ビットが誤ま
った場合には、エラーとして検出されない場合があると
いう欠点がある。
Furthermore, parity error checking has the disadvantage that if a plurality of bits are erroneous, it may not be detected as an error.

ここにおいて、本発明は、マイクロ命令の実行順序には
関係なく、制御記憶装置の全領域を短時間に診断するこ
とのできる診断方法を提供しようとするものである。
It is an object of the present invention to provide a diagnostic method capable of diagnosing all areas of a control storage device in a short time, regardless of the order of execution of microinstructions.

本発明に係る制御記憶装置の診断方法は、マイクロプロ
グラムシーケンス制御装置に、制御記憶比較装置を結合
させ、マイクロプログラムシーケンス制御装置内で、マ
イクロ命令の実行順序とは無関係に、制御−記憶装置内
のアドレス順に読み出されたマイクロ命令と、制御記憶
比較装置内で、マイクロプログラムシーケンス制御装置
から送られてくるアドレスによって、診断用制御記憶装
置から読み出されたマイクロ命令とを、順次比較するこ
とによって劃−記憶装置の診断を行うことを特徴として
いる。
The diagnosis method for a control storage device according to the present invention combines a control storage comparison device with a microprogram sequence controller, and performs a control-storage comparison device in the microprogram sequence controller, regardless of the execution order of microinstructions. The microinstructions read out in address order are compared in sequence with the microinstructions read out from the diagnostic control storage device in the control storage comparator using the addresses sent from the microprogram sequence control device. It is characterized by diagnosing the storage device.

図は本発明に係る診断方法を実現する丸めの装置の一例
を示す構成ブロック図である。
The figure is a block diagram showing an example of a rounding device that implements the diagnostic method according to the present invention.

図において、1はマイクイブログツムの実行順序を制御
するマイクロプログラムシーケンス制御装置、9はこの
/−グ/ス制#装置1に結合する制御記憶比較装置であ
る。 マイクロプロゲラlシーケンス制#装置1におい
て、2はマイクロプログラムを記憶する制御記憶装置、
6はシーケンサ、4はアドレスレジスタで、シーケンサ
6はこのアドレスレジスタ4の内容を制御する。 アド
レスレジスタ4の内容は、制御記憶装置2にアドレス信
号として入力され、そのアドレス信号によって指定され
るアドレス位置のマイクC1令が、制御記憶装置2から
読み出される。 5はマイクロ命令レジスタで、制御記
憶装置2から読み出されたマイクロ命令が、ここに一時
保持される。
In the figure, numeral 1 denotes a microprogram sequence control device for controlling the execution order of microprograms, and numeral 9 denotes a control storage and comparison device coupled to this /-g/s system # device 1. In the microprogera l sequence system device 1, 2 is a control storage device that stores a microprogram;
6 is a sequencer, 4 is an address register, and the sequencer 6 controls the contents of this address register 4. The contents of the address register 4 are input to the control storage device 2 as an address signal, and the microphone C1 command at the address position specified by the address signal is read out from the control storage device 2. 5 is a microinstruction register in which microinstructions read from the control storage device 2 are temporarily held.

6はインクリメント命令レジスタで、アドレスレジスタ
4に結合しており、アドレスレジスタ4の内容を数値1
だけ増加するとともに、演算制御部(図示せず)に対し
、無動作指示を与えるマイクロ命令を保持する。 7は
セレクタで、マイクロ命令レジスタ5及びインクリメン
ト命令レジスタ6からの内容をそれぞれ入力し、そのい
ずれかを選択して出力する。 診断モードにおいては、
このセレクタ7は、常にインクリメント命令レジスタ6
の内容を選択し、これをデコーダ8に与える。
6 is an increment instruction register, which is connected to address register 4, and sets the contents of address register 4 to the number 1.
, and holds a microinstruction for instructing an arithmetic control unit (not shown) to perform no operation. A selector 7 inputs the contents from the microinstruction register 5 and the increment instruction register 6, and selects and outputs one of them. In diagnostic mode,
This selector 7 is always increment instruction register 6
, and sends it to the decoder 8.

デコーダ8は、入力したマイクロ命令を解読するが、診
断モードにおいては、インクリメント命令レジスタ6か
らの内容を解読し、演算制御部に対して出力される制御
il慣号では無動作指令を与え、シーケンサ6に出力さ
れる信号では、アドレスレジスタ6の内容を1だけ増加
するインクリメント指示を与える。
The decoder 8 decodes the input microinstruction, and in the diagnostic mode it decodes the contents from the increment instruction register 6, gives a no-operation command in the control code output to the arithmetic control section, and The signal output to address register 6 gives an increment instruction to increase the contents of address register 6 by one.

制御記憶装置の診断を行なう制御記憶比較装置9におい
て、10は正しいマイクロプログラムが制御配憶装置2
と同じアドレス順に格納されている診断用制御記憶装置
で、マイクロプログラムシーケンス制御値flI内のア
ドレスレジスタ4から送られてくるアドレス信号を入力
とし、そのアドレス信号によって指定されるアドレス位
置のマイクロ命令が読み出される。 11は診断用制御
配憶装置10から読み出されたマイクロ命令を一時保持
する診断用マイクロ命令レジスタで、マイクロ命令レジ
スタ5と同じタイミングでデータを取り込む。 12は
比較回路で、マイクロプログラムシーケンス制御装置1
内のマイクロ命令レジスタ5の内容と、診断用マイクロ
命令レジスタ11の内容とを比較する。
In the control storage comparator 9 that diagnoses the control storage device, 10 indicates that the correct microprogram is the control storage device 2.
This is a diagnostic control storage device that is stored in the same address order as the microprogram sequence control value flI, and receives the address signal sent from the address register 4 in the microprogram sequence control value flI as input, and the microinstruction at the address position specified by the address signal is Read out. A diagnostic microinstruction register 11 temporarily holds microinstructions read from the diagnostic control storage device 10, and takes in data at the same timing as the microinstruction register 5. 12 is a comparison circuit, and microprogram sequence control device 1
The contents of the microinstruction register 5 and the contents of the diagnostic microinstruction register 11 are compared.

このように構成された装置の動作は次の通りである。 
ます、正常動作モードでは、制御記憶装置2から読み出
されたマイクロ命令は、マイクロ命令レジスタ5に一時
保持され、この内容が、セレクタ7を経てデコーダ8に
与えられており、マイクロプログラムの実行順序に従っ
て、マイクロ命令が順次制御41配憶装置2から読み出
され、インクリメント命令レジスタ6の存在は例んら影
響を与えない。
The operation of the device configured in this way is as follows.
In the normal operation mode, the microinstructions read from the control storage device 2 are temporarily held in the microinstruction register 5, and the contents are given to the decoder 8 via the selector 7, which determines the execution order of the microprogram. Accordingly, the microinstructions are read from the control 41 storage 2 sequentially, and the presence of the incrementing instruction register 6 has no effect.

一方診断モードにおいては、インクリメント命令レジス
タ6の内容が常にセレクタ7から出力されているので、
指定番地のマイクロ命令が、マイクロ命令レジスタ5と
診断用マイクロ命令レジスタ11に各々読み出され、比
較回路12において両者の内容が比較される。 比較が
児了すると、アドレスレジスタ4の内容には、数値1が
加えられ、次のアドレス位置の命令が制御記憶装置2と
診断用制御記憶装置10から各々読み出される。アドレ
スレジスタ4の内容が、制御記憶装置i12の最高アド
レス数値を超すと、アドレスレジスタ4の内容を制御記
憶装置2の先頭アドレス値1にリセットするように制御
するので、マイクロ命令の実行順序には関係なく、ル1
]御記憶装置2に格納されているマイクロ命令と、診断
用IIIIIJ#4I記憶装mioに格納されているマ
イクロ命令とが、アドレス順に各々読み出され、比較回
路12において比較される。 比較回路12で、マイク
ロ命令レジスタ5の内容と、診断用マイクロ命令レジス
タ11の内容とが不一致となった場合、比較回路12か
らその旨を表示する信号が出力され、制御記憶装置2の
診断作業を中断する。
On the other hand, in the diagnostic mode, the contents of the increment instruction register 6 are always output from the selector 7, so
The microinstruction at the specified address is read into the microinstruction register 5 and the diagnostic microinstruction register 11, respectively, and the contents of the two are compared in the comparison circuit 12. When the comparison is completed, the value 1 is added to the contents of the address register 4, and the instruction at the next address location is read from the control storage 2 and the diagnostic control storage 10, respectively. When the contents of the address register 4 exceed the highest address value of the control storage device i12, the contents of the address register 4 are reset to the first address value 1 of the control storage device 2. Therefore, the execution order of microinstructions is Regardless, le 1
] The microinstructions stored in the control storage device 2 and the microinstructions stored in the diagnostic IIIJ#4I storage device mio are read out in address order and compared in the comparison circuit 12. If the comparison circuit 12 determines that the contents of the microinstruction register 5 and the contents of the diagnostic microinstruction register 11 do not match, the comparison circuit 12 outputs a signal indicating this, and the control storage device 2 is stopped for diagnosis. interrupt.

以上説明したように、本発明によれば、マイクロ命令の
実行順序には関係なく、制御記憶装置の全領域を短時間
に診断することがでさ、制御配憶装置の故障発見に効果
かめる。
As described above, according to the present invention, all areas of the control storage device can be diagnosed in a short time regardless of the order of execution of microinstructions, which is effective in finding faults in the control storage device.

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

図は本発明に係る診断方法を実現するだめの装置の一例
を示す構成ブロック図である。 1・・・マイクロノロクラムノーケンス制御装置、2・
・・制御記憶装置、  6・・・7−ケンサ、  4・
・・アドレスレジスタ、  5・・・マイクロ6令し/
スタ、6・・・インクリメント命令レジスタ、  7・
・・セレクタ、  8・・・デコーダ、  9・・・A
ll m配憶比較装置、10・・・診断用制御記憶装置
、  11・・・診断用マイクロ酷令レジスタ、  1
2・・・比較回路。 代理人  為 野 伯 −
The figure is a block diagram showing an example of a device for implementing the diagnostic method according to the present invention. 1... Micronorokuramnoken control device, 2.
...Control storage device, 6...7-kensa, 4.
・Address register, 5...Micro 6 command/
Star, 6... Increment instruction register, 7.
...Selector, 8...Decoder, 9...A
ll m memory comparison device, 10... control storage device for diagnosis, 11... micro-torque register for diagnosis, 1
2... Comparison circuit. Agent Haku Tameno −

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロ命令よりなるマイクロプログラムを記憶
する制御記憶装置と、この制御配憶装置のアドレスを指
定するアドレスレジスタと、前記制御記憶装置から読み
出されたマイクロ命令を保持するマイクロ命令レジスタ
と、前記アドレスレジスタの内存を数値1だけ順次増加
してゆくように指令するマイクロ命令を保持するインク
リメント命令レジスタと、このインクリメント命令レジ
スタの内容又は前記マイクロ命令レジスタの内容を切換
えて出力するセレクタと、このセレクタから出力される
内存を解読するデコーダとを含んで構成されるマイクロ
プログラムンーケンス制御装置、前記制御記憶装置の正
しいマイクロプログラムを記憶し前記アドレスレジスタ
の出力するアドレス信号が与えられる診断用制御記憶装
置と、この診断用制御記憶装置から読み出されたマイク
ロ命令を保持する診断用マイクロ命令レジスタと、この
診断用マイクロ命令レジスタの内容と藺配マイクロ命令
レジスタの内容とを比較する比較器を含んで構成された
制御記憶比較装置を具備し、診断モードにおいて前記セ
レクタは前記インクリメント命令レジスタの内容を出力
し、前記アドレスレジスタの内容を数値1だけ増加する
ように制御するとともに、このアドレスレジスタの内容
が前記制御記憶装置の最高アドレス値を超過したとき当
該アドレスレジスタの内容を前記制御記憶装置の開始ア
ドレス値にリセットシ、前記制御記憶比較装置において
前記比較回路は、前記マイクロ命令レジスタの内容と前
記診断用マイクロ命令レジスタの内容とを順次比較する
ことによって制御記憶装置の診断を行なうこと1*徴と
する制御記憶装置の診断方法。
(1) a control storage device that stores a microprogram made up of microinstructions, an address register that specifies the address of this control storage device, and a microinstruction register that holds microinstructions read from the control storage device; an increment instruction register that holds a microinstruction for instructing the contents of the address register to be sequentially increased by a numerical value of 1; a selector that switches and outputs the contents of the increment instruction register or the contents of the microinstruction register; a microprogram sequence control device comprising a decoder for decoding the internal information output from the selector; and a diagnostic control memory that stores the correct microprogram of the control memory and is supplied with an address signal output from the address register. a diagnostic microinstruction register for holding microinstructions read from the diagnostic control storage; and a comparator for comparing the contents of the diagnostic microinstruction register with the contents of the control microinstruction register. In the diagnostic mode, the selector outputs the contents of the increment command register, controls the contents of the address register to increase by a numerical value of 1, and controls the contents of the address register to increase by a value of 1. exceeds the highest address value of the control storage, the contents of the address register are reset to the starting address value of the control storage, and in the control storage comparison device, the comparison circuit compares the contents of the microinstruction register with the diagnostic A method for diagnosing a control storage device, the method comprising 1* diagnosing the control storage device by sequentially comparing the contents of a microinstruction register.
JP57043113A 1982-03-18 1982-03-18 Diagnosing device for control storage device Pending JPS58159150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57043113A JPS58159150A (en) 1982-03-18 1982-03-18 Diagnosing device for control storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57043113A JPS58159150A (en) 1982-03-18 1982-03-18 Diagnosing device for control storage device

Publications (1)

Publication Number Publication Date
JPS58159150A true JPS58159150A (en) 1983-09-21

Family

ID=12654769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57043113A Pending JPS58159150A (en) 1982-03-18 1982-03-18 Diagnosing device for control storage device

Country Status (1)

Country Link
JP (1) JPS58159150A (en)

Similar Documents

Publication Publication Date Title
US4933941A (en) Apparatus and method for testing the operation of a central processing unit of a data processing system
JPH0533423B2 (en)
JPS5834862B2 (en) array processor
US3696340A (en) Microprogram execution control for fault diagnosis
JPS621028A (en) Micro controller
JPS5849881B2 (en) Data search
JPH04245324A (en) Arithmetic unit
JPH0420496B2 (en)
JPS58159150A (en) Diagnosing device for control storage device
JPS5833965B2 (en) Computer diagnostic method and device
JPS6015969B2 (en) Microinstruction address generation method
JPH0212426A (en) Central arithmetic processing device
JPS62197834A (en) Microprogram controller
JPS6221148B2 (en)
JPS6143347A (en) Simulation method of vector instruction
JPS6260033A (en) Microprocessor control system
JPS6326416B2 (en)
JPS61157944A (en) Microprocessor with microprogram control part
JPS63197247A (en) Microprogram controller
JPH0239812B2 (en)
JPH01162944A (en) Self-diagnostic system
JPS619733A (en) Test device
JPH01147605A (en) Microprogram sequence controller
JPS6379144A (en) Microprocessor
JPS62123503A (en) Bit arithmetic circuit for sequencer