JPS5985552A - Microdiagnosis circuit - Google Patents

Microdiagnosis circuit

Info

Publication number
JPS5985552A
JPS5985552A JP57195741A JP19574182A JPS5985552A JP S5985552 A JPS5985552 A JP S5985552A JP 57195741 A JP57195741 A JP 57195741A JP 19574182 A JP19574182 A JP 19574182A JP S5985552 A JPS5985552 A JP S5985552A
Authority
JP
Japan
Prior art keywords
control
register
microinstruction
circuit
memory
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
JP57195741A
Other languages
Japanese (ja)
Inventor
Shinichi Miyajima
宮島 信一
Takeya Okazaki
岡崎 健也
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 JP57195741A priority Critical patent/JPS5985552A/en
Publication of JPS5985552A publication Critical patent/JPS5985552A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To set serially a program for diagnosis of an electronic equipment to an instruction register and to eliminate the need for increment of the hardware for diagnosis, by providing a serial shift function to an instruction register which holds an execution program. CONSTITUTION:A machine instruction which regulates the working of an electronic equipment is stored in a main memory 1, and the instruction read out of the memory 1 is held at an instruction register 2. Then a microprogram sequence control circuit 3 controls the execution of a microinstruction. While a microprogram is stored in a control memory 4, and the microinstruction read out of the memory 4 is held at a microinstruction register 6 having a serial shift function. Then a diagnosis program of electronic device is set serially to the register 6 by a microdiagnosis control processor 8. The processor 8 reads control signals C1-Cn generated by a control circuit 7 to decide whether the circuit working is normal or not.

Description

【発明の詳細な説明】 この発明に、電子計算機tはじめとする機器の制御マイ
クロプログラムで行なうマイクロプログラムHilJ 
IIM1方式の電子a器におけるマイクロ10グラム診
断回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a microprogram HilJ that is executed by a control microprogram for devices such as electronic computers.
This article relates to a micro 10 gram diagnostic circuit in an IIM1 type electronic device.

電子WU算機をにじめとする電子機器の動作に。For the operation of electronic equipment such as electronic WU calculators.

機械命令の組み合わせ[工り規定されているため電子機
器の制御回路は機械命令毎に)−−ドウエア各部に対し
て遂次制御信号を発生する様に構成されている。時間的
に同時に発生される制御信号の情報をまとめて一つのマ
イクロ命令とし、このマイクロ命令を遂次実行する事に
Jり上記機械命令の制御信号を発生させる方式をマイク
ロプログラム制御方式といい、マイクロ命令ケ機械命令
毎に運べたものをマイクロプログラムという。この種の
制御方式では機器の回路の動作が正常であるかどうかの
診断に0診断に必要な命令をマイクロプログラムで準備
しておくことにニジ可1距である。
Combinations of machine commands (as the machine commands are predefined, the control circuit of the electronic device is configured for each machine command) to sequentially generate control signals for each part of the hardware. A system in which information on control signals that are generated simultaneously in time is combined into one microinstruction, and the control signals for the machine commands described above are generated by sequentially executing these microinstructions is called a microprogram control system. Micro-instructions A program that can be carried by each machine instruction is called a micro-program. In this type of control system, it is essential to prepare instructions necessary for 0 diagnosis in a microprogram in order to diagnose whether or not the operation of the circuit of the device is normal.

従来この棟マイクロ診断回路として、第1図に示すもの
があった。
A conventional microdiagnostic circuit for this purpose is shown in FIG.

図において、は)に電子機器の動作を規定する機械命令
が格納された主メモV、(2+に主メモす山から読み出
された機械命令を保持する命令レジスタ。
In the figure, ( ) is a main memo V in which machine instructions that define the operation of the electronic device are stored, and (2+ is an instruction register that holds machine instructions read from the main memo pile).

+31 riマイクロ命令の実行1臆序を制御するマイ
クログログラムシーケンス制御回路、(4)はマイクロ
10グラムを格納するコントロールメモL151flコ
ントロールメモリ(4)上に格納されたa械命令のマイ
クロ10グラムの先頭アドレスをテーブル形式に記録さ
れたマツプメモ!1.t61はコントロールメモリ(4
)から読み出されたマイクロ命令を保持するマイクロ命
令レジスタ、 +71iマイクロ命令から制動信号全発
生きせるデコーダ等の制御回路、  C1〜Cn  に
制御回路(7)から電子機器各部に出力される制(財)
信号、(8)はマイクロプログラムによる電子機器回路
の診断全制御するマイクロ診断制御プロセッサ、(9)
[診断に必要なマイクロ命令を格納しておく魯き込み可
能なコントロールメモ9(以下WC8と呼ぶ〕である。
+31 ri A microprogram sequence control circuit that controls the execution of microinstructions, (4) is a control memory that stores micro10grams. A map memo with the first address recorded in a table format! 1. t61 is the control memory (4
), a control circuit such as a decoder that generates all braking signals from the +71i microinstruction, and C1 to Cn that control the control circuit (7) that is output from the control circuit (7) to each part of the electronic device. )
signal, (8) is a micro-diagnosis control processor that completely controls the diagnosis of electronic device circuits by a microprogram; (9)
This is a writable control memo 9 (hereinafter referred to as WC8) that stores microinstructions necessary for diagnosis.

次に動作について説明する。Next, the operation will be explained.

通常の動作では機械命令が王メモ9山から読み出され、
命令レジスタ(2)に入れられると、その機械命令を看
り(卸するマイクロプログラムが格納されているコント
ロールメモリ(4)の先頭アドレスがマツプメモ9(5
)から読み出され、マイクロプログラム7−ケンス鞘部
j回路(3)ヲ介してコントロールメモリ(4)へ出力
され、コントロールメモ9(4)かう(−の機械命令全
制動する先頭のマイクロ命令が読み出され、マイクロ命
令レジスタ(6)へセットされ。
During normal operation, machine instructions are read from the 9 piles of King Memo,
When the machine instruction is entered into the instruction register (2), the start address of the control memory (4) where the microprogram to read and write the machine instruction is stored is mapped to map memo 9 (5).
) is read out from the microprogram 7-ken sheath circuit (3) and output to the control memory (4), and the control memo 9 (4) is read out from the machine command (-) and is output to the control memory (4). It is read out and set in the microinstruction register (6).

制御回路(7)を介して各tax Niυ御信号C1〜
cn  として出力すれる。マイクログラムシーケンス
制御回路もマイクロ命令にLシ制画されており、マイク
ロ命令レジスタ(6)にセットさ′!″したマイクロ命
名からマイクロゾログラムシーケンス制御回路は次に※
行−rべきマイクロ命令のアドレス?r−17トロール
メモリ(4)に出力し、コントロールメモリ(4)から
読み出された次のマイクロ命令が次の夕1εングでマイ
ク0命令レジスタ(6)ヘセットされ、制御回路(7)
から制御信号01〜Cnとして出力される。以下同様に
実行され、命令レジスタ(2)りこセントされたイ幾械
命令の制御が終rした後1次の機械命令金玉メモリ山か
ら読み出し、命令レジスタ(2)に入れるという順で電
子t′I′n機をはじめとする電子機?5のマイクロプ
ログラムによるMiJ l+IIIが行なわtL6゜マ
イクロプログラムによる電子機器の診断を行なう場合は
診断のシーケンスの制御に、マイクD 7 L7グラム
ンーケンス制α回路f31 Kにzらず、マイクロ診断
制御プロセラf(8)で行なう。診#Ir (Dための
マイクロプログラムにマイクロ診断鞘付プロセッサ(8
)からW CS i9)に書き込んでおき0診断の実行
時にはマイクロ診断制御プロセッサ(8)が次に実行す
るマイクロ命令が格納されているWO2(9]のアドレ
スを出力し、WO2(91から読み出された 次のマイ
クロ命令が9次のタイミングで、マイクロ命令レジスタ
(6)にセットされ、制御回路(7)から制御信号C1
〜Cnとして出力される。マイクロ診断制御プロセッサ
はこの制御信号C1−Cn f読み取シ。
Each tax Niυ control signal C1~ through the control circuit (7)
It is output as cn. The microgram sequence control circuit is also designed as a microinstruction, and is set in the microinstruction register (6)! Based on the micro naming, the micro zologram sequence control circuit is as follows*
Line-r address of microinstruction? The next microinstruction read out from the control memory (4) is output to the r-17 troll memory (4), and is set to the microinstruction register (6) in the next evening at 1ε, and then the control circuit (7)
are output as control signals 01 to Cn. The following steps are executed in the same manner, and after the control of the first machine instruction sent to the instruction register (2) is completed, the electron t' is read from the first machine instruction memory pile and placed in the instruction register (2). Electronic machines such as I'n machines? When diagnosing an electronic device using a microprogram, the microdiagnosis control processor f( 8). Diagnostic #Ir (Processor with micro diagnostic sheath (8
) to WCS i9), and when executing the 0 diagnosis, the microdiagnosis control processor (8) outputs the address of WO2 (9) where the next microinstruction to be executed is stored, and reads it from WO2 (91). The next microinstruction is set in the microinstruction register (6) at the 9th timing, and the control signal C1 is sent from the control circuit (7).
~Cn. The microdiagnostic control processor reads the control signals C1-Cnf.

回路の動作が正常かどうかt−判断する。また、マイク
ロ命令レジスタ(6)に次のマイクロ命令がセットされ
たら、マイクロ診断制御プロセッサにさらに次のマイク
ロ命令の格納されているWO2+91のアドレスを出力
し、 WC8i91から読み出されたマイクロ命令が次
のタイミングでマイクロ8令レジスタ(6)にセットさ
れる。以下同様にして、マイクロプログラムによる電子
機器回路の診断に実行される。
Determine whether the circuit is operating normally. Also, when the next microinstruction is set in the microinstruction register (6), the address of WO2+91 where the next microinstruction is stored is output to the microdiagnosis control processor, and the next microinstruction read from the WC8i91 is It is set in the micro 8 instruction register (6) at the timing of . The microprogram is then executed in the same manner for diagnosing the circuit of the electronic device.

従来のマイクロ給脂回路に以上のように構成されている
ので、マイクロプログラムにJる電子機器回路の診lI
Tを行なうためVC(4WC8というハードウェアの増
設が必要であるという欠点があった。
Since the conventional micro lubrication circuit is configured as described above, it is possible to diagnose electronic device circuits based on the micro program.
There was a drawback that in order to perform T, it was necessary to add hardware called VC (4WC8).

この発明は、この欠点全改善するためになされたもので
、ハードウェアの増設無しに、マイクロ診断を可能とす
るものである。
The present invention has been made to overcome all of these drawbacks, and enables microdiagnosis without adding hardware.

以下第2図に示すこの発明の一実施例について説明する
。第2図において、山に電子機器の動作を規定する機械
命令が格納された王メモLi21に王メモリ山から読み
比された機械6〜令を保持する命令レジスタ、 +31
1’Jマイクロ命令の実行順序tmυ御するマイクロプ
ログラムシーケンス制御回路。
An embodiment of the present invention shown in FIG. 2 will be described below. In FIG. 2, there is an instruction register +31 for holding machine instructions read from the king memory pile Li21 in which machine commands that define the operation of the electronic device are stored in the pile.
A microprogram sequence control circuit that controls the execution order tmυ of 1'J microinstructions.

(4)にマイクロプログラムを格納するコントロールメ
モLI51i’ffコントロールメモリ(4)上に格納
され7を機械命令のマイクロプログラムの先頭アドレス
をテーブル形式に記録されたマツプメモ!J、(61に
コントロールメモリ(4)から読み出されたマイクロ命
令を保持するシリアルシフト機nk倉待ったマイクロ命
令レジスタ、(7)にマイクロ命令から制御信号を発生
させるデコーダ等の制御回路、 +81riマイクロプ
ログラムによる電子機器回路の診断を制御するマイクロ
診断制御プロセッサ、  C】〜cnはHiU両回路(
7)から電子機器各部に出力される制御信号である。
(4) A control memo LI51i'ff that stores the microprogram is stored in the control memory (4), and 7 is a map memo in which the start address of the microprogram of machine instructions is recorded in a table format! J, (61 is a serial shifter microinstruction register that holds microinstructions read from the control memory (4), (7) is a control circuit such as a decoder that generates control signals from microinstructions, +81ri micro A micro-diagnosis control processor that controls the diagnosis of electronic device circuits by a program, C]~cn are both HiU circuits (
7) is a control signal output to each part of the electronic device.

通常の動作では、制御信号C1〜cnを発生さぜる方式
ぼ従来のマイクロプログラム制御方式と同一であるが1
本発明VCjるマイクロ診断回路は。
In normal operation, the method of generating control signals C1 to cn is the same as the conventional microprogram control method.
The micro diagnostic circuit of the present invention is a VCj.

マイクロ命令レジスタ(6)にシリアルンフトa能fc
待たせて龜るので、マイクロ診断の実行時に、マイクロ
診断制御プロセッサ(8)から命令レジスタ(6)に9
次に実行するマイクロ命令を命令レジスタ(6)のン9
アルンクト機能ヲ用いて直接にセットでき。
Serial lift function fc in microinstruction register (6)
Since it takes time to wait, when executing microdiagnosis, the microdiagnosis control processor (8) writes 9 to the instruction register (6).
The next microinstruction to be executed is stored in instruction register (6).
It can be set directly using the Arunct function.

マイクロ診断制御プロセッサに、制御回路(7)から出
力される制御信号C1〜Cn f読み取シ1回路の動作
が正常かどうかを判断する。
The micro diagnostic control processor reads control signals C1 to Cnf output from the control circuit (7) to determine whether the operation of the C1 circuit is normal.

さらに次に実行するマイクロ命令に、マイクロ命令レジ
スタ+611c、  シリアルシフトmnEk用いてセ
ットされ、以下同様にしてマイクロ診断は実行される。
Further, it is set to the next microinstruction to be executed using microinstruction register +611c and serial shift mnEk, and microdiagnosis is executed in the same manner thereafter.

なお1以上にマイクロプログラムによる電子機器回路の
診断の場合について説明したが0本発明にこの場合に限
らず、マイクロプログラムのデバッグのために使用して
もよい。また、マイクロ1aグラムによる電子機器回路
の診断の7−ケンスの制御に、マイクロ診断制御プロセ
ッサを用バた例について説明したが1診断用マイクロ砧
令倉マイクロ命令レジスタにセットするのに診断の対象
となって因る電子機器自身の磯tVkオリ用してもよい
Although the case of diagnosing an electronic device circuit using a microprogram has been described above, the present invention is not limited to this case, and may be used for debugging a microprogram. In addition, an example was explained in which a microdiagnosis control processor is used to control the 7th order of diagnosis of an electronic device circuit using a microgram. Therefore, it is also possible to use the Iso tVk of the electronic device itself.

以上のように、この発明によるマイクロ診断回路に、マ
イクロ10グラムによる電子機器の回路の回路の診断の
ためにノ・−ドウエアの増設全必要としなAというオ0
点がある。
As described above, the micro diagnostic circuit according to the present invention does not require any additional hardware for diagnosing the circuit of an electronic device using micro 10 grams.
There is a point.

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

第1図に、従来のマイクロ診断回路を説明するための図
、第2図にこの発明によるマイクロ診断回路全説明する
定めの図である。 図中山は生メモ!1.+21に命令レジスタ、(3)に
マイク010グラムンーケンス制御回路、 +411’
fコントロールメモリ、  +51iマツプメモリ、(
6)にマイクロ命令レジスタ、(7)は制御回路、 +
81r1マイクロ診所制御10セッサ、(9)け書き込
み町titEコントロールメモg、WC8である。 なお0区中、同一あるいに相当部分子Cに同一符号を付
しである。 代理人  葛 野 信 −
FIG. 1 is a diagram for explaining a conventional micro-diagnosis circuit, and FIG. 2 is a diagram for explaining the entire micro-diagnosis circuit according to the present invention. Diagram Nakayama is a raw memo! 1. +21 is the instruction register, (3) is the microphone control circuit, +411'
f control memory, +51i map memory, (
6) is a microinstruction register, (7) is a control circuit, +
81r1 micro clinic control 10 sessa, (9) write town titE control memo g, WC8. In the 0th ward, the same or equivalent molecules C are given the same reference numerals. Agent Shin Kuzuno −

Claims (1)

【特許請求の範囲】[Claims] 機器の動作の制御全マイクロ10グラムで行なうマイク
ロプログラム制御方式の電子機器において、実行マイク
ロプログラムを保持するマイクロ命令レジスタ金、シリ
アルシフト機症を有するレジスタで構成し、シリアルに
電子Ii&器診断用マイクロプログラムをマイクロ命令
レジスタに設定することにLシ、電子機器回路の診v#
I機症を待たせた事を特徴とするマイクロ診断回路。
Controlling the operation of equipment In electronic equipment using a microprogram control method, all of which are controlled by micro 10g, the electronic equipment consists of a microinstruction register that holds the execution microprogram, a register with a serial shift mechanism, and serially transfers the electronic Diagnosis of electronic equipment circuits by setting the program in the microinstruction register
A micro-diagnostic circuit characterized by making the I-mechanism wait.
JP57195741A 1982-11-08 1982-11-08 Microdiagnosis circuit Pending JPS5985552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57195741A JPS5985552A (en) 1982-11-08 1982-11-08 Microdiagnosis circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57195741A JPS5985552A (en) 1982-11-08 1982-11-08 Microdiagnosis circuit

Publications (1)

Publication Number Publication Date
JPS5985552A true JPS5985552A (en) 1984-05-17

Family

ID=16346191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57195741A Pending JPS5985552A (en) 1982-11-08 1982-11-08 Microdiagnosis circuit

Country Status (1)

Country Link
JP (1) JPS5985552A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62105238A (en) * 1985-10-31 1987-05-15 Fujitsu Ltd Microinstruction storage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62105238A (en) * 1985-10-31 1987-05-15 Fujitsu Ltd Microinstruction storage system
JPH0527892B2 (en) * 1985-10-31 1993-04-22 Fujitsu Ltd

Similar Documents

Publication Publication Date Title
US4780819A (en) Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory
JPH0533423B2 (en)
JPS5985552A (en) Microdiagnosis circuit
JP3055999B2 (en) Microprogram control device group
JPS6410854B2 (en)
JPS58129561A (en) State log storing system
JP2000029508A (en) Programmable controller
JPH0256644A (en) Debug device for microprocessor
JPS5930146A (en) Microprogram debugging device
JPH0239812B2 (en)
JPS6326416B2 (en)
JPS6113612B2 (en)
JPS629939B2 (en)
JP2004206425A (en) Tracing device
JPH11288371A (en) In-circuit emulator
JPS619733A (en) Test device
JPH0287227A (en) Data processor
JPH03129532A (en) Microsequence circuit
JPS6129953A (en) Trace controlling method
JPS59151247A (en) Testing device of information processing device
JPH03102537A (en) Multi-debug emulator
JPS5850046A (en) Information processing device
JPH03288256A (en) Microprocessor system
JPH1021113A (en) Debugging method for debugging system
JPH02153440A (en) Testing method of device provided with external interface under control of cpu