JPS63245532A - Arithmetic control unit - Google Patents

Arithmetic control unit

Info

Publication number
JPS63245532A
JPS63245532A JP62078420A JP7842087A JPS63245532A JP S63245532 A JPS63245532 A JP S63245532A JP 62078420 A JP62078420 A JP 62078420A JP 7842087 A JP7842087 A JP 7842087A JP S63245532 A JPS63245532 A JP S63245532A
Authority
JP
Japan
Prior art keywords
microprogram
passage
information
point
confirmation
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
JP62078420A
Other languages
Japanese (ja)
Inventor
Kazutoshi Eguchi
江口 和俊
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
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62078420A priority Critical patent/JPS63245532A/en
Publication of JPS63245532A publication Critical patent/JPS63245532A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To efficiently and accurately confirm the operation path of a microprogram with a high precision by comparing passage confirmation point information provided in the microprogram with set passage confirmation point designating information to control storage of passage point confirmation data. CONSTITUTION:The microprogram is read out from a control storage part 11 through a control part 13 and is stored in a register 15. This program is provided with a passage confirming micro instruction consisting of passage point confirmation information CMD and passage confirmation point data DATA, and information CMD is compared with passage point designating information, which is set through an event flag register 17, by a comparison detecting part 19. Data DATA is stored in a trace memory 21 in case of coincidence between both information to efficiently and accurately confirm the operation path of the microprogram with a high precision.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、マイクロプログラム制御方式のn;q機にお
番ノるマイロプログラムの各動作バスの確認を行なうよ
うにしたマイクロプログラム制H方式用の演算制tIl
装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Field of Industrial Application) The present invention is designed to check each operation bus of a microprogram assigned to an n;q machine using a microprogram control method. Arithmetic system tIl for microprogram system H method
Regarding equipment.

(従来の技術) マイクロプログラムf、II tall方式の計F1機
は、近年、その命令の種類が増大し内容が複雑になるに
つれて、該命令を構成するマイクロプログラムの8吊が
膨大なものとなっている。マイクロプログラムはマイク
ロ命令で構成されるが、この複数のマイクロ命令で構成
されるマイクロブ[1グラムの動作バスを確認し、マイ
クロプログラムからなる各命令が正常に動作するか否か
を確認することはマイクロプログラム制御方式の計算機
、特にその演算1、II 60¥lR置において極めて
Φ要かつ不可欠なことである。
(Prior art) In recent years, as the types of instructions in the F1 machine with microprograms f and II tall systems have increased and their contents have become more complex, the eight microprograms that make up the instructions have become enormous. ing. A microprogram is composed of microinstructions, and it is difficult to check the 1-gram operation bus and check whether each instruction in the microprogram operates normally. This is extremely important and indispensable for microprogram controlled computers, especially for calculations 1 and 2.

(発明が解決しようとする問題点) しかしながら、従来、マイクロプログラムの動作バスの
&Tt gは、精々マイクロプログラムのアドレストレ
ースにより局部的な動作確認ができる程度であり、マイ
クロプログラムの動作を適確に聞遣いなくかつ短時間で
完全にV&H1“るものが無いという問題がある。
(Problem to be Solved by the Invention) However, in the past, the &Ttg of the microprogram operation bus was only able to check the local operation by tracing the address of the microprogram, and it was not possible to accurately check the operation of the microprogram. There is a problem that there is no way to completely complete V&H1 in a short time and without asking questions.

本発明は、上記に鑑みてなされたもので、その目的とす
るところは、マイクロプログラムの動作バスの確認を効
率的かつ高緒度で適確に行なうことができる演CZ f
fi’制御装置を提供することにある。
The present invention has been made in view of the above, and an object of the present invention is to provide a programmable CZ f that can efficiently and accurately check the operation bus of a microprogram.
An object of the present invention is to provide a fi' control device.

[発明の構成] (問題点を゛解決するための手段) 上記目的を達成するため、本発明の演算制御装置は、マ
イクロプログラムにおける動作バスの確認を行なうよう
にしたマイクロプログラム制御方式用の演算制御装置で
あって、マイクロプログラムの中の所定の着目点に設け
られ、通過確認点情報および通過確認点データを有する
通過確認用マイクロ命令と、外部より通過確認点指定情
報を設定する設定手段と、マイクロプログラムの実行に
おいて前記通過確認用マイクロ命令を読出したとき、前
記通過確認点情報が前記設定手段で設定された通過確認
点指定情報と等しいか否かを比較する比較手段と、該比
較の結果、前記通過確認点情報が前記通過vr1認点指
点指定情報しいとき、前記通過確認Jユデータを記憶す
るデータ記憶手段とを有することを要旨とする。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the arithmetic control device of the present invention provides an arithmetic control device for a microprogram control method that checks an operation bus in a microprogram. The control device includes a passage confirmation microinstruction provided at a predetermined point of interest in a microprogram and having passage confirmation point information and passage confirmation point data, and a setting means for externally setting passage confirmation point designation information. , a comparison means for comparing whether or not the passage confirmation point information is equal to the passage confirmation point designation information set by the setting means when the passage confirmation microinstruction is read in execution of the microprogram; As a result, when the passage confirmation point information is the passage vr1 recognition point finger point designation information, the apparatus further comprises a data storage means for storing the passage confirmation Jyu data.

(f+川) 本発明の演n制御装置では、マイクロプログラムの中の
着目点に設けられた通過確認用マイクロ命令の通過確認
点情報および通過確認点データを読み取り、この読み取
った通過確認点情報と設定手段で設定された通過確認点
指定情報とを比較し、画情報が等しいとぎ前記通過確認
点データを記憶している。
(f+river) The performance control device of the present invention reads passage confirmation point information and passage confirmation point data of a passage confirmation microinstruction provided at a point of interest in a microprogram, and combines this read passage confirmation point information with It compares the passing confirmation point designation information set by the setting means, and if the image information is the same, the passing confirmation point data is stored.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の一実施例に係る演算制御装置の構成図
である。同図に示す演算制御装置は、マイクロプログラ
ム制御方式で命令を実行する計算機の中央処理装置を構
成しているものであり、マイクロ命令からなるマイクロ
10グラムを記憶する制御記憶部11LHよび該制御記
憶部11を制御する制御部13を有する。fblltl
ll記憶部11に記憶されているマイクロプログラムの
マイクロ命令は制御部13の制御によりflill 6
0記憶部11から読み出されて、マイクロ命令レジスタ
15に一時的に蓄積される。マイクロ命令レジスタ15
に蓄積されたマイクロ命令は図示しない解読部により解
読されて退官実行されるようになっている。
FIG. 1 is a block diagram of an arithmetic and control device according to an embodiment of the present invention. The arithmetic control unit shown in the figure constitutes the central processing unit of a computer that executes instructions using a microprogram control method, and includes a control storage unit 11LH that stores micro10 grams consisting of microinstructions, and the control memory. It has a control section 13 that controls the section 11. fblltl
The microinstructions of the microprogram stored in the ll storage unit 11 are sent to full 6 under the control of the control unit 13.
0 storage unit 11 and temporarily stored in the microinstruction register 15. Microinstruction register 15
The microinstructions stored in the microinstructions are decoded by a decoding section (not shown) and then executed.

本実施例において、前記制御記憶部11に記憶されるマ
イクロ命令には、マイクロプログラムのa竹バスの確認
を行なうためのトレース命令である通過確認用マイクロ
命令があり、この通過確認用マイク[1命令は通過確認
点情報および通過確闘点データを有する。第1図におい
て、マイクロ命令レジスタ15にこの通過確認用マイク
ロ命令が蓄積されている状態を示しているが、この図示
の状態で通過確認点情報はCMDで示され、通過確認点
データはDΔ”「八として示されている。CMDで示さ
れる通過W1認点情報はマイクロ命令のインストラフシ
コンフィールドの一部に含まれているものである。
In this embodiment, the microinstructions stored in the control storage unit 11 include a passage confirmation microinstruction which is a trace instruction for checking the a-bamboo bus of the microprogram. The command has passage confirmation point information and passage confirmation point data. FIG. 1 shows a state in which the passage confirmation microinstructions are stored in the microinstruction register 15. In this illustrated state, the passage confirmation point information is indicated by CMD, and the passage confirmation point data is DΔ” The passing W1 recognition information indicated by CMD is included in a part of the microinstruction's infrastructure field.

トレース命令である通過確認用マイクロ命令は通常のマ
イクロ命令を兼用するように構成されてもよいし、また
専用の特殊命令として構成されてもよいが、いずれにし
てもマイクロプログラムの中の着目点、すなわらマイク
ロプログラムの中の着目点に適宜設けられる。更に具体
的には、この通過確認用マイクロ命令は、マイクロプロ
グラムの中の各分岐バスを含む重要で必要なまたはすべ
ての動作バスの各々に設けられるようになっている。第
3図は分岐命令23で分岐された各動作バスの各々に通
過確認用マイクロ命令25.27がそれぞれ設けられて
いる一例を示している。
The passage confirmation microinstruction, which is a trace instruction, may be configured to double as a normal microinstruction, or may be configured as a dedicated special instruction, but in any case, it is a , that is, provided as appropriate at points of interest in the microprogram. More specifically, this passage confirmation microinstruction is provided in each of the important and necessary or all operation buses including each branch bus in the microprogram. FIG. 3 shows an example in which passage confirmation microinstructions 25 and 27 are provided for each operation bus branched by the branch instruction 23, respectively.

このようにマイク【]プログラムの各動作バスの中に通
過確認用マイクロ命令を設けることによりこの動作バス
の各マイクロ命令が実行される時。
In this way, by providing a passage confirmation microinstruction in each operation bus of the microphone program, each microinstruction on this operation bus is executed.

すなわらこの動作バスの各マイクロ命令が竹記制W部1
3の制御により制御記憶部11から読み出されマイクロ
命令レジスタ15に蓄積され解読されて実行される時に
は、この動作バスの中に設けられている通過Tl1rt
用マイクロ命令も同様に制御記憶部11から読み出され
、マイクロ命令レジスタ15に蓄積されるが、このよう
にマイクロ命令レジスタ15に蓄積された通過確認用マ
イクロ命令を後述するように確認することによりこの通
過67f 吊用マイクロ命令が設定されている動作バス
を通過したということを!ffnし、これによりマイク
[!プログラムの動作バスの6[を行なおうというもの
である。
In other words, each microinstruction of this operation bus is
3, when it is read out from the control storage unit 11, stored in the microinstruction register 15, decoded, and executed, the passage Tl1rt provided in this operation bus
Similarly, the micro-instructions for passing are read out from the control storage unit 11 and stored in the micro-instruction register 15, but by checking the passage confirmation micro-instructions accumulated in the micro-instruction register 15 as described below, This passage 67f means that it has passed through the operation bus where the hanging microinstruction is set! ffn, and this causes the microphone [! The purpose is to perform step 6 of the program's operation bus.

すなわち、各種命令を構成するマイクロプログラムは、
分岐命令等により分岐された多くの動作バスを有し、あ
る命令、例えば命令へを構成するマイクロプログラムは
いくつかの、例えば5つの動作バスを有するが、この命
令Aの動作を確認するには、該命令へを実行した時にこ
れらの5つの動作バスをすべて確実に通過したことを確
認することが必要であり、これにより動作バスの通過の
確認、すなわち動作バスの確認を行なうことができるも
のである。
In other words, the microprograms that make up the various instructions are
There are many operation buses branched by branch instructions, etc., and a microprogram that composes a certain instruction, for example, has several operation buses, for example, five operation buses.To check the operation of this instruction A, it is necessary to , it is necessary to confirm that all five operation buses have passed when the instruction is executed, and by this, it is possible to confirm the passage of the operation bus, that is, to confirm the operation bus. It is.

このため、マイクロプログラムの中の各動作バスに通過
M品用マイクロ命令を設け、この通過確認用マイクロ命
令を検出することにより該動作バスの確認を行なうもの
であるが、この場合検出した通過確認用マイクロ命令が
どの動作バスのものであるかを識別するために各通過確
認用マイクロ命令の通過確認点データを各動作バスに対
応した異なる埴に設定しておぎ、これによりどの動作バ
スを通過したかを確認するものである。すなわち、前述
した第3図に示す通過確認用マイクロ命令25.27は
それぞれ異なる通過確認点データDATAIおよびDA
TA2を右ザるが、このように異なる通過確認点データ
を各動作バスに対応さけて設けることにより、どの動作
バスを通過したかを識別することができるのである。な
J3、この通過1Itta点データは必ずしも通過確認
用マイクロ命令データとして設けられている必要はなく
、該通過確認用マイクロ命令が設定されているマイクロ
プログラム上のアドレスでもよいものである。
For this reason, a microinstruction for passing M products is provided for each operation bus in the microprogram, and the operation bus is confirmed by detecting this passage confirmation microinstruction. In order to identify which operation bus the micro-instructions for passing belong to, the passage confirmation point data of each micro-instruction for passage confirmation is set in a different cell corresponding to each operation bus. This is to confirm that you have done so. That is, the passage confirmation microinstructions 25 and 27 shown in FIG.
As shown in TA2, by providing different passage confirmation point data corresponding to each operating bus, it is possible to identify which operating bus the vehicle has passed through. J3, this passage 1Itta point data does not necessarily need to be provided as passage confirmation microinstruction data, and may be an address on the microprogram where the passage confirmation microinstruction is set.

上述したように、マイクロプログラムの各動作バスの中
に設けられた通過確認用マイクロ命令、特に該命令が右
する通過確認点情報を検出するために、本演算制御装置
は、第1図に示すように、通′!AαC認3ス情報に対
応する通過確認点指定情報をイベントフラグとして設定
するイベントフラグレジスタ17、該イベントフラグレ
ジスタ17に設定されたイベントフラグである通過確認
点指定情報と前記マイクロ命令レジスタ15に設定され
た通過確認用マイクロ命令の通過確認点情報とを比較し
、通過確認点指定情報に等しい通過確認点情報を有する
通過gL認出用マイクロ命令検出する比較検出部19、
a3よび該比較検出部19が通過確認用マイクロ命令を
検出したとき、この検出した通過確認用マイクロ命令が
有する通過確認点データをトレース情報として比較検出
部19の制御により記憶するトレースメモリ21を右す
る。
As mentioned above, in order to detect the passage confirmation microinstruction provided in each operation bus of the microprogram, especially the passage confirmation point information to which the instruction applies, this arithmetic and control unit uses the steps shown in FIG. Like, Tong'! An event flag register 17 sets passage confirmation point designation information corresponding to the AαC recognition pass information as an event flag, and passage confirmation point designation information, which is an event flag set in the event flag register 17, and setting in the microinstruction register 15. a comparison detection unit 19 that compares the passing confirmation point information of the passed passing confirmation micro-instruction and detects the passing gL recognition micro-instruction having passing confirmation point information equal to the passing confirmation point designation information;
When a3 and the comparison detection unit 19 detect a passage confirmation microinstruction, the trace memory 21 that stores passage confirmation point data possessed by the detected passage confirmation microinstruction as trace information under the control of the comparison detection unit 19 is transferred to the right. do.

なお、前記比較検出部19は、外部よりイベン1へフラ
グレジスタ17に設定された通過確認点指定情報とマイ
クロ命令レジスタ15に設定された通過確認点情報とを
比較するために第2図に示す゛ような回路構成を有する
。この回路はマイクロ命令レジスタ15に蓄積された通
過確認点情報15a  (CMD)を解読するデコーダ
29と、このデコーダ29からの解読出力を保持するラ
ッチ31と、該ラップご31の出力情報とイベントフラ
グレジスタ17からの通過ra認点点指定情報のアンド
を取って画情報が等しいか否かを検出するアンド回路3
3とで構成されている。
Note that the comparison detection unit 19 performs a process shown in FIG. It has a circuit configuration like this. This circuit includes a decoder 29 that decodes the passing confirmation point information 15a (CMD) stored in the microinstruction register 15, a latch 31 that holds the decoded output from this decoder 29, and output information of the wrap 31 and an event flag. AND circuit 3 that performs an AND operation on the passing RA recognition point designation information from the register 17 and detects whether the image information is equal or not.
It is composed of 3.

また、前記イベントフラグレジスタ17は8ビツトのレ
ジスタで構成され、8レベルの、すなわち8種類の通過
w1認点指定情報を設定することができるとともに、こ
の8レベルの通過確認点指定情報に対応して通過確認用
マイク[1命令の通過確認点情報も8種類設定できるよ
うに3ビツトで構成されている。従って、前記第3図の
回路ではマイクロ命令レジスタ15の通過確認点情報1
5aをデコーダ29で解読しているのである。
Furthermore, the event flag register 17 is composed of an 8-bit register, and can set 8 levels, that is, 8 types of passing w1 recognition point designation information, and correspond to the 8 levels of passing confirmation point designation information. Microphone for passage confirmation [Constructed of 3 bits so that 8 types of passage confirmation point information for one command can be set. Therefore, in the circuit shown in FIG. 3, the passing confirmation point information 1 of the microinstruction register 15
5a is decoded by the decoder 29.

また、通過確認点指定情報はイベントフラグレジスタ1
7において8げットのうら対応するビットを1に設定す
ることにより設定されるが、この設定は例えばスイッチ
等を使用して手動で行なってもよいし、または監視用の
付加ブ[ルツサを備えた計算機システムを別途設け、こ
の付加ブロセツナによりセット/リセットできるように
してもよい。
In addition, passing confirmation point designation information is event flag register 1
The setting is made by setting the bit corresponding to the bottom of the 8th bit to 1 in 7, but this setting may be done manually using a switch, for example, or by using an additional router for monitoring. A separate computer system may be provided, and the setting/resetting may be performed using this additional controller.

[発明の効果] 以上説明したように、本発明によれば、マイクロプログ
ラムの中の所定の着目点に設けられた通過確認用マイク
[1命令の通過確認点情報および通過確認点データを読
み取り、この読み取った通過確認点情報と設定手段で設
定された通過確認点指定情報とを比較し、画情報が等し
いとき前記通過確認点データをrt!憶しているので、
この記憶した通過確認点データをチェックすることによ
りマイクロプログラムの動作バスを効率的に、すなわち
短時間かつ高精度で適確に確認することができる
[Effects of the Invention] As described above, according to the present invention, a passage confirmation microphone provided at a predetermined point of interest in a microprogram [reads passage confirmation point information and passage confirmation point data of one instruction]; The read passage confirmation point information is compared with the passage confirmation point designation information set by the setting means, and when the image information is equal, the passage confirmation point data is rt! Because I remember it,
By checking this memorized passing confirmation point data, the operating bus of the microprogram can be checked efficiently, that is, in a short period of time and with high precision.

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

第1図は本発明の一実施例に係る演算制御装置の構成図
、第2図は第1図の演算制御装置に使用される比較検出
部19の要部の回路構成図、第3図は第1図の演輝制御
l装置において通過確認用マイクロ命令が設定されるマ
イクロプログラムのフローの一部を示す図である。
FIG. 1 is a block diagram of an arithmetic and control device according to an embodiment of the present invention, FIG. 2 is a circuit diagram of a main part of a comparison detection section 19 used in the arithmetic and control device of FIG. 1, and FIG. FIG. 2 is a diagram showing a part of the flow of a microprogram in which a passage confirmation microinstruction is set in the performance control device of FIG. 1;

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラムにおける動作バスの確認を行
なうようにしたマイクロプログラム制御方式用の演算制
御装置であつて、マイクロプログラムの中の所定の着目
点に設けられ、通過確認点情報および通過確認点データ
を有する通過確認用マイクロ命令と、外部より通過確認
点指定情報を設定する設定手段と、マイクロプログラム
の実行において前記通過確認用マイクロ命令を読出した
とき、前記通過確認点情報が前記設定手段で設定された
通過確認点指定情報と等しいか否かを比較する比較手段
と、該比較の結果、前記通過確認点情報が前記通過確認
点指定情報に等しいとき、前記通過確認点データを記憶
するデータ記憶手段とを有することを特徴とする演算制
御装置。
(1) An arithmetic and control device for a microprogram control system that checks the operation bus in a microprogram, which is provided at a predetermined point of interest in the microprogram, and is provided with passing confirmation point information and passing confirmation point data. a passing confirmation microinstruction having a setting means for externally setting passing confirmation point designation information; and a setting means for externally setting passing confirmation point designation information; and a data storage for storing the passing confirmation point data when the passing confirmation point information is equal to the passing confirmation point specifying information as a result of the comparison. An arithmetic and control device comprising: means.
JP62078420A 1987-03-31 1987-03-31 Arithmetic control unit Pending JPS63245532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62078420A JPS63245532A (en) 1987-03-31 1987-03-31 Arithmetic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62078420A JPS63245532A (en) 1987-03-31 1987-03-31 Arithmetic control unit

Publications (1)

Publication Number Publication Date
JPS63245532A true JPS63245532A (en) 1988-10-12

Family

ID=13661553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62078420A Pending JPS63245532A (en) 1987-03-31 1987-03-31 Arithmetic control unit

Country Status (1)

Country Link
JP (1) JPS63245532A (en)

Similar Documents

Publication Publication Date Title
JPS63245532A (en) Arithmetic control unit
JPH01286029A (en) Microprogram patching system
WO1985004736A1 (en) Arrangement for supervising a data processing system
JPS62175834A (en) Detecting circuit for runaway of central processing unit
JPS6020769B2 (en) Microprogram control method
JPS5829056A (en) Control storage device
JPH03175538A (en) Duplex processor
JPS582943A (en) Memory extending substitution system
JPH04336631A (en) Error message output system
JPS5870361A (en) Input controlling system
JPS5878233A (en) Microprogram controller
JPH01191948A (en) Diagnosis controller
JPH0199144A (en) Rom data securing system
JPS626341A (en) Information processor
JPS6132142A (en) Microprogram controller
JPS61118844A (en) Microcomputer device
JPH047765A (en) Data reading device for e2prom
JPH01246638A (en) Area error decision system for write instruction
JPH0511818A (en) Fault detection device for programmable controller
JPS62105242A (en) Information processor
JPS58115559A (en) Program overrun detecting circuit
JPS62194511A (en) Programming system
JPS63136154A (en) Microcomputer device
JPS61240342A (en) Microprogram controller
JPH0792768B2 (en) Microcomputer