JPS63133236A - System for detecting coincidence of microprogram address - Google Patents

System for detecting coincidence of microprogram address

Info

Publication number
JPS63133236A
JPS63133236A JP61281281A JP28128186A JPS63133236A JP S63133236 A JPS63133236 A JP S63133236A JP 61281281 A JP61281281 A JP 61281281A JP 28128186 A JP28128186 A JP 28128186A JP S63133236 A JPS63133236 A JP S63133236A
Authority
JP
Japan
Prior art keywords
microprogram
program
address
range
coincidence
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
JP61281281A
Other languages
Japanese (ja)
Inventor
Takao Kato
孝雄 加藤
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61281281A priority Critical patent/JPS63133236A/en
Publication of JPS63133236A publication Critical patent/JPS63133236A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To ensure continuous program operations by detecting the coincidence of addresses after adding the conditions to decide whether the executing addresses of a program are kept within a prescribed range or not. CONSTITUTION:A program counter intra-range check means 3 checks whether the value of a program counter 1 is kept or not within a range between the upper and lower limit levels shown by a program counter range register 2. If so, '1' is outputted to a signal line 9. While a microprogram address coincidence detecting means 6 compares the value of a microprogram counter 4 with the contents of a microprogram address coincidence designating register 5. Then '1' is outputted to a signal line 10 when the coincidence is obtained from said comparison. A condition deciding means 7 outputs '1' to a signal line 11 when the inputs of both lines 9 and 10 are equal to '1'. Receiving the outputted '1', a microprogram address coincidence informing means 8 informs the coincidence of addresses. In such a way, the continuous program operations are secured.

Description

【発明の詳細な説明】 技術分野 本発明はマイクロプログラムアドレス一致検出方式に関
し、特にマイクロプログラム方式で実現されている処理
装胃のマイクロプログラムアドレス一致検出方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a microprogram address match detection method, and more particularly to a microprogram address match detection method for a processing unit implemented using a microprogram method.

従来技術 従来、この種のマイクロプログラムアドレス一致検出方
式としては、マイクロプログラムの実行アドレスを保持
するマイクロプログラムカウンタの値が、単一条件であ
るマイクロプログラムアドレス一致指定レジスタに格納
された内容と一致したときにマイクロプログラムアドレ
ス一致通知を行う方式がある。
BACKGROUND TECHNOLOGY Conventionally, this type of microprogram address match detection method uses a method in which the value of a microprogram counter that holds the execution address of a microprogram matches the contents stored in a microprogram address match designation register, which is a single condition. Sometimes there is a method of notifying a microprogram address match.

このような従来のマイクロプログラムアドレス一致検出
方式では、プログラム中の複数箇所で使用されるF W
 (firllware)機能がブEコグラム中のある
箇所で使用されるどきにのみ、そのマイクロプログラム
を停止さVたい場合に、プログラムのt))始時に停止
させたいマイクロプログラムアドレスを指定すると、プ
ログラムにおいてそのFWIfi能が目的の箇所で使用
される前にある箇所でそのFWI能が使用されると、マ
イクロプログラムアドレス一致が検出されることになる
ので、プログラム中の目的の箇所の先頭でプログラムを
停止させ、次にマイクロプログラムアドレス一致指示を
行わなければならないという欠点があった。
In such a conventional microprogram address match detection method, FW used at multiple locations in a program
If you want to stop a microprogram only when the (firstware) function is used at a certain point in the program, you can specify the microprogram address you want to stop at the beginning of the program. If the FWI function is used at a certain point before the FWI function is used at the target point, a microprogram address match will be detected, so the program will stop at the beginning of the target point in the program. The disadvantage is that the microprogram address must be matched and then a microprogram address matching instruction must be issued.

また、プログラムが一旦停止すると、プログラムの連続
性がなくなり、通常、異常が発生していた動作を保障で
きないという欠点があった。
Furthermore, once the program is stopped, the continuity of the program is lost, and there is a drawback that normally the operation in which the abnormality has occurred cannot be guaranteed.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、プログラム動作の連続性を保障すること
ができ、異常発生時と同等の条件の下でマイクロプログ
ラムアドレス一致を検出して通知することができるマイ
クロプログラムアドレス一致検出方式の提供を目的とす
る。
Purpose of the Invention The present invention has been made to eliminate the drawbacks of the conventional ones as described above, and is capable of guaranteeing the continuity of program operations and ensuring microprogram address matching under the same conditions as when an abnormality occurs. The purpose of this invention is to provide a microprogram address match detection method that can detect and notify.

発明の構成 本発明によるマイクロプログラムアドレス一致検出方式
は、マイクロプログラム実行アドレスと、予め定められ
た所定アドレスとの一致を検出する一致検出手段を有す
るマイクロプログラムアドレス一致検出方式であって、
複数の前記マイクロプログラムからなるプログラムの実
行アドレスが、予め定められた前記プログラムの実行ア
ドレスの上限値と下限値との範囲内にあるかを検出する
範囲検出手段を設け、前記範囲検出手段により前記プロ
グラムの実行アドレスが前記範囲内にあることを検出し
、かつ前記一致検出手段により前記マイクロプログラム
の実行アドレスが前記所定アドレスと一致したことを検
出したときに前記マイクロプログラムの実行アドレスの
一致を通知するようにしたことを特徴とする。
Structure of the Invention The microprogram address match detection method according to the present invention is a microprogram address match detection method having a match detection means for detecting a match between a microprogram execution address and a predetermined address, the method comprising:
Range detection means is provided for detecting whether an execution address of a program consisting of a plurality of microprograms is within a predetermined range between an upper limit value and a lower limit value of execution addresses of the program, and the range detection means detects whether the execution address of the program When it is detected that the execution address of the program is within the range, and the coincidence detection means detects that the execution address of the microprogram matches the predetermined address, it is notified that the execution address of the microprogram matches. It is characterized by being made to do.

実施例 次に、本発明の一実施例について図面を参照して説明す
る。
Embodiment Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック間である。図
において1本発明の一実施例は、プログラムの実行アド
レスを保持するプログラムカウンタ1と、プログラムの
実行アドレスの上限値と下限値とを格納するプログラム
カウンタ範囲レジスタ2と、プログラムカウンタ範囲内
チェック手段3と、マイクロプログラムの実行アドレス
を保持するマイクロプログラムカウンタ4と、マイクロ
プログラムアドレス一致指定レジスタ5と、マイクロプ
ログラムアドレス一致検出手段6と、条件判定手段7と
、マイクロプログラムアドレス一致通知手段8とにより
構成されている。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, one embodiment of the present invention includes a program counter 1 that holds a program execution address, a program counter range register 2 that stores an upper limit value and a lower limit value of the program execution address, and a program counter range check means. 3, a microprogram counter 4 that holds the execution address of the microprogram, a microprogram address match designation register 5, a microprogram address match detection means 6, a condition determination means 7, and a microprogram address match notification means 8. It is configured.

プログラムカウンタ1の出力とプログラムカウンタ範囲
レジスタ2の出力とを入力とするプログラムカウンタ範
囲内チェック手段3は、プログラムカウンタ1の値がプ
ログラムカウンタ範囲レジスタ2で示す上限値と下限値
との範囲内にあるかをチェックし、プログラムカウンタ
1の値が範囲内にあるならば信号線9へ1″を出力し、
範囲内にあるのでなければ信号線9へ0”を出ツノする
A program counter within range check means 3 which receives the output of the program counter 1 and the output of the program counter range register 2 as inputs determines whether the value of the program counter 1 is within the range between the upper limit value and the lower limit value indicated by the program counter range register 2. If the value of program counter 1 is within the range, output 1'' to signal line 9,
If it is not within the range, 0'' is output to the signal line 9.

一方、マイクロプログラムカウンタ4の出ノJとマイク
ロプログラムアドレス一致指定レジスタ5の出力とを入
力とするマイクロプログラムアドレス一致検出手段6は
、マイクロプログラムカウンタ4の値とマイクロプログ
ラムアドレス一致指定レジスタ5の内容とを比較し、比
較結果が一致ならば信号線10へ°゛1″を出力し、不
一致ならば信号線10へ“0”を出力する。
On the other hand, a microprogram address match detection means 6 which receives the output J of the microprogram counter 4 and the output of the microprogram address match designation register 5 detects the value of the microprogram counter 4 and the contents of the microprogram address match designation register 5. If the comparison results match, "1" is output to the signal line 10, and if they do not match, "0" is output to the signal line 10.

次に、信号線9,10を入力とする条件判定手段7は信
号線9.10の入力が共に1°′ならば信号線11へ1
″を出力し、信号線9.10の入力が共に01″でない
ならば(共にO′”、または、どちらかが0″ならば)
信号線11へ1101+を出力する。
Next, the condition determining means 7 which receives the signal lines 9 and 10 as inputs outputs 1° to the signal line 11 if the inputs of the signal lines 9 and 10 are both 1°'.
'', and if the inputs of signal lines 9 and 10 are both not 01'' (both O''', or either one is 0'')
Outputs 1101+ to signal line 11.

マイクロプログラムアドレス一致通知手段8は信号線1
1が“1″ならばマイクロプログラムアドレス一致通知
を示すために信号線12へ°“1″を出力し、信号線1
1が°゛OOパばマイクロプログラムアドレス一致通知
の不成立を承りために信号線12へ“O”を出力するこ
とにより+3+作が終了する。
The microprogram address match notification means 8 is connected to the signal line 1
If 1 is “1”, “1” is output to signal line 12 to indicate a microprogram address match notification, and signal line 1
1 outputs "O" to the signal line 12 in order to acknowledge the failure of the microprogram address match notification, thereby completing the +3+ operation.

すなわち、プロゲラt\の実行アドレスがプログラムカ
ウンタ範囲レジスタ2に格納されたJ:限値と下限値と
の範囲内にあり、かつマイクロプログラムの実行アドレ
スがマイクロプログラムアドレス一致指定レジスタ5の
内容とが一致するとぎにのみ、このマイクロプログラム
の実行アドレスに対するマイクロプログラムアドレス一
致を通知するのである。
That is, if the execution address of Progera t\ is within the range between the J: limit value and the lower limit value stored in the program counter range register 2, and the execution address of the microprogram is different from the contents of the microprogram address match specification register 5. Only when there is a match, a notification is sent that the microprogram address matches the execution address of this microprogram.

このように、マイクロプログラムアドレス一致通知の条
件に、プログラムの実行アドレスが予め定められた上限
値と下限値との範囲内にあるかどうかという条件を加え
てマイクロプログラムアドレスの一致をチェックするよ
うにすることによって、埠在勤作中のプログラムを中断
することなくマイクロプログラムアドレス一致を検出す
ることができ、すなわら、プログラム動作の連続性を保
障することができ、かつ異常発生時と同等の条件の下で
、マイクロプログラムアドレス一致を検出して通知する
ことができる。
In this way, the matching of microprogram addresses is checked by adding the condition of whether the execution address of the program is within the range of the predetermined upper and lower limits to the conditions of the microprogram address match notification. By doing this, it is possible to detect a microprogram address match without interrupting the program being worked on, which means that the continuity of program operation can be guaranteed, and the conditions are the same as when an error occurs. Under , the microprogram address match can be detected and notified.

発明の詳 細な説明したように本発明によれば、複数のマイクロプ
ログラムからなるプログラムの実行アドレスが予め定め
られたプログラムの実行アドレスの上限値と下限値との
範囲内にあるかをチェックするとともに、マイクロプロ
グラムの実行アドレスが所定アドレスと一致するかをチ
ェックするようにすることによって、プログラム動作の
連続性を途中で中断することなく保障することができ、
異常発生時と同等の条件の下でマイクロプログラムアド
レス一致を検出して通知することができるという効果が
ある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, as described above, it is checked whether the execution address of a program consisting of a plurality of microprograms is within a predetermined upper and lower limit range of program execution addresses. By checking whether the execution address of the microprogram matches a predetermined address, the continuity of program operation can be guaranteed without being interrupted midway.
This has the advantage that microprogram address matching can be detected and notified under the same conditions as when an abnormality occurs.

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

第1図は本発明の一実施例を示すブロック図である。 主要部分の符号の説明 1・・・・・・プログラムカウンタ 2・・・・・・プログラムカウンタ範囲レジスタ3・・
・・・・プログラムカウンタ範囲内チェック手段 7・・・・・・条件判定手段
FIG. 1 is a block diagram showing one embodiment of the present invention. Explanation of symbols of main parts 1...Program counter 2...Program counter range register 3...
...Program counter range check means 7...Condition judgment means

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムの実行アドレスと、予め定められた
所定アドレスとの一致を検出する一致検出手段を有する
マイクロプログラムアドレス一致検出方式であって、複
数の前記マイクロプログラムからなるプログラムの実行
アドレスが、予め定められた前記プログラムの実行アド
レスの上限値と下限値との範囲内にあるかを検出する範
囲検出手段を設け、前記範囲検出手段により前記プログ
ラムの実行アドレスが前記範囲内にあることを検出し、
かつ前記一致検出手段により前記マイクロプログラムの
実行アドレスが前記所定アドレスと一致したことを検出
したときに前記マイクロプログラムの実行アドレスの一
致を通知するようにしたことを特徴とするマイクロプロ
グラムアドレス一致検出方式。
A microprogram address coincidence detection method comprising a coincidence detection means for detecting a coincidence between an execution address of a microprogram and a predetermined address, the execution address of a program consisting of a plurality of microprograms being a predetermined address. further comprising a range detection means for detecting whether the execution address of the program is within a range between an upper limit value and a lower limit value, the range detection means detecting that the execution address of the program is within the range;
and a microprogram address match detection method, characterized in that when the match detecting means detects that the execution address of the microprogram matches the predetermined address, a match of the execution address of the microprogram is notified. .
JP61281281A 1986-11-26 1986-11-26 System for detecting coincidence of microprogram address Pending JPS63133236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61281281A JPS63133236A (en) 1986-11-26 1986-11-26 System for detecting coincidence of microprogram address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61281281A JPS63133236A (en) 1986-11-26 1986-11-26 System for detecting coincidence of microprogram address

Publications (1)

Publication Number Publication Date
JPS63133236A true JPS63133236A (en) 1988-06-06

Family

ID=17636884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61281281A Pending JPS63133236A (en) 1986-11-26 1986-11-26 System for detecting coincidence of microprogram address

Country Status (1)

Country Link
JP (1) JPS63133236A (en)

Similar Documents

Publication Publication Date Title
US4308580A (en) Data multiprocessing system having protection against lockout of shared data
JPS63133236A (en) System for detecting coincidence of microprogram address
JPH01286029A (en) Microprogram patching system
JPS5899841A (en) Address controlling system of partially mounted control memory
JPS5914197A (en) Multi-processor system
JPS59183443A (en) Debug device
JPS58161047A (en) Detection for program exception of computer
JPS63250753A (en) Memory access checking system
JPS62175834A (en) Detecting circuit for runaway of central processing unit
JPS62249253A (en) Diagnosis method for content of read only memory
JP2778691B2 (en) Bus monitoring circuit
JPS6020247A (en) Fault detection device
JPS5868299A (en) Detecting circuit for address fault
JPS5952351A (en) Instruction retrial system
JPH056897B2 (en)
JPH02301836A (en) Data processing system
JPH01286028A (en) Microprogram patching system
JPS58154053A (en) Detector for program runaway
JPH01288945A (en) Error restoration controller
JPS63245532A (en) Arithmetic control unit
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPS62127944A (en) Information processor
JPS61290545A (en) Automatic output device for vertification use data
JPH05346801A (en) Program operation control device
JPH04117528A (en) Data collation processor