JPS61175834A - Data processor provided with microprogram debug function - Google Patents

Data processor provided with microprogram debug function

Info

Publication number
JPS61175834A
JPS61175834A JP60016770A JP1677085A JPS61175834A JP S61175834 A JPS61175834 A JP S61175834A JP 60016770 A JP60016770 A JP 60016770A JP 1677085 A JP1677085 A JP 1677085A JP S61175834 A JPS61175834 A JP S61175834A
Authority
JP
Japan
Prior art keywords
microprogram
cpu
support processor
address
request
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
JP60016770A
Other languages
Japanese (ja)
Inventor
Kazutoshi Eguchi
江口 和俊
Eiji Ishibashi
石橋 英次
Ikuo Uchibori
内堀 郁夫
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 JP60016770A priority Critical patent/JPS61175834A/en
Publication of JPS61175834A publication Critical patent/JPS61175834A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the efficiency of a microprogram debug by constituting a titled device so that a stop of a microprogram operation of a CPU, and readout/write of a designated address of a control storage can be executed in accordance with a request of a support processor. CONSTITUTION:In case when it is desired to execute a debug of a microprogram of a CPU10, a support processor 20 sends an operation stop request to a CPU control part 12 through a serial bus 60, and sets a program debugging mode. In case when the CPU10 has executed readout/write of a designated address of a control storage 11 by stopping a microprogram operation, the support processor 20 or a microsequencer 19 holds an execution address of its stop time in the course of a series of operations. Accordingly, by resetting this address through the CPU control part 12, and restarting a clock generator CG17, the processing of the microprogram can be continued without deteriorating the continuity before and after the stop.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、CPUのマイクロプログラムのデバッグが
可能なマイクロプログラムデバッグ機能付きデータ処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data processing device with a microprogram debug function capable of debugging a microprogram of a CPU.

[発明の技術的背景とその問題点] 従来のマイクロ70グラム制御方式のデータ処理装置で
は、CPIJのマイクロプログラムのデバッグは、固有
の、しかも限られた機能しか持たない装置によって行な
われており、その操作も複雑であった。このため、従来
は効率良くマイクロプログラムデバッグを行なうことは
困難であった。
[Technical background of the invention and its problems] In the conventional micro-70gram control type data processing device, debugging of the CPIJ microprogram is carried out by a device having unique and limited functions. Its operation was also complicated. For this reason, it has conventionally been difficult to efficiently debug microprograms.

[発明の目的] この発明は上記事情に鑑みてなされたものでその目的は
、高礪能で且つ操作性の良いマイクロプログラムデバッ
グ・ツールが実現できるマイクロプログラムデバッグ機
能付きデータ処理装置を提供することにある。
[Object of the Invention] The present invention has been made in view of the above circumstances, and its purpose is to provide a data processing device with a microprogram debugging function that can realize a microprogram debugging tool that is highly capable and easy to operate. .

[発明の概要] この発明によれば、マイクロプログラムデバッグの実行
制御を行なうサポートプロセッサと、マイクロプログラ
ムを格納する書換え可能な制御記憶、および上記サポー
トプロセッサからの要求に応じてマイクロプログラム動
作の停止、並びにマイクロ命令の読出し/I込みを行な
うCPUコントロール部を有するCPUとを具備したマ
イクロプログラムデバッグ機能付きデータ処理装置が提
供される。上記CPU内の上記CPUコントロール部は
、上記サポ−トプロセッサからの要求が動作停止要求の
場合に、CP(Jのマイクロプログラム動作を停止する
停止手段と、上記要求が読出し要求の場合に、上記停止
手段によって停止されたCP口内部の特定装置に対して
のみ1クロック動作を行なわせ、上記サポートプロセッ
サにより指定される上記制御記憶のアドレスからのデー
タ読出しを行なう手段と、上記要求が書込み要求の場合
に、上記停止手段によって停止されたCP口内部の特定
装置に対してのみ1クロック動作を行なわせ、上記サポ
ートプロセッサにより指定される上記制御記憶のアドレ
スに同サポートプロセッサからの書込みデータを書込む
手段とを備えており、マイクロプログラムデバッグに必
要な1ステツプ毎のマイクロ命令の続出し/書込みがサ
ポートプロセッサからの要求に応じて行なわれる構成と
なっている。
[Summary of the Invention] According to the present invention, there is provided a support processor that performs execution control of microprogram debugging, a rewritable control memory that stores a microprogram, and a stop of microprogram operation in response to a request from the support processor. Also provided is a data processing device with a microprogram debugging function, which includes a CPU having a CPU control unit that reads/writes microinstructions. The CPU control unit in the CPU includes a stop means for stopping the microprogram operation of the CPU (J) when the request from the support processor is a request to stop operation, and a stop means for stopping the microprogram operation of the CPU (J) when the request from the support processor is a read request. means for causing a specific device inside the CP port stopped by the stopping means to perform one clock operation and reading data from an address in the control memory specified by the support processor; In this case, the specific device inside the CP port that has been stopped by the stopping means is caused to perform one clock operation, and the write data from the support processor is written to the address of the control memory specified by the support processor. The microcontroller is equipped with means for successively issuing/writing microinstructions for each step necessary for microprogram debugging in response to a request from a supporting processor.

[発明の実施例] 第1図はこの発明の一実施例に係るマイクロプログラム
デバッグ機能付きデータ処理装置の構成を示す。同図に
おいて、10はCPU、20はCPu10のマイクロプ
ログラムのデバッグの実行制御を行なうサポートプロセ
ッサである。CP tJ 10において、11は各種の
マイクロプログラムを格納する書換え可能な制御記憶、
12はサポートプロセッサ20からの要求に応じてCP
 U 10のマイクロプログラム動作の停止、並びにマ
イクロ命令の読出し/書込みを行なうCPUコントロー
ル部である。
[Embodiment of the Invention] FIG. 1 shows the configuration of a data processing device with a microprogram debug function according to an embodiment of the invention. In the figure, 10 is a CPU, and 20 is a support processor that controls the execution of debugging of the microprogram of the CPU 10. In CP tJ 10, 11 is a rewritable control memory that stores various microprograms;
12 is a CP in response to a request from the support processor 20.
This is a CPU control unit that stops the microprogram operation of U10 and reads/writes microinstructions.

制御記憶11は、同制御記憶11から読出されるマイク
ロ命令を保持するマイクロ命令レジスタ(以下、MAR
と称する)13の入力、および同制御記憶11に対する
書込みデータを保持する書込みレジスタ14Wの出力と
、信号線31によりそれぞれ接続されている。MIR1
3の出力は、信号線32により、読出しレジスタ14R
およびマイクロ命令実行用のレジスタ15の各入力と接
続されている。読出しレジスタ14Rの出力は信号線3
3により、書込みレジスタ14Wの入力は信号線34に
より、いずれもCPUコントロール部12と接続されて
いる。
The control memory 11 includes a microinstruction register (hereinafter referred to as MAR) that holds microinstructions read from the control memory 11.
13 and the output of a write register 14W that holds write data for the control memory 11, respectively, by signal lines 31. MIR1
The output of 3 is sent to the read register 14R by the signal line 32.
and each input of the register 15 for microinstruction execution. The output of the read register 14R is on the signal line 3.
3, the inputs of the write register 14W are all connected to the CPU control unit 12 via the signal line 34.

MIR13のクロック入力は信号線35によりオアゲー
ト(以下、ORと′称する)16の出力と接続されてい
る。0R16の一方の入力は後述するクロック発生器1
7から発生されるクロック信号に同期したクロック信号
CLKを伝達する信号線36に接続され、0R1Bの他
方の入力はクロック信号CLK1を伝達する信号線37
によりCP(Jコントロール部12と接続されている。
The clock input of the MIR 13 is connected to the output of an OR gate (hereinafter referred to as 'OR') 16 via a signal line 35. One input of 0R16 is clock generator 1, which will be described later.
The other input of 0R1B is connected to the signal line 36 that transmits the clock signal CLK synchronized with the clock signal generated from 7, and the other input of 0R1B is connected to the signal line 37 that transmits the clock signal CLK1.
is connected to the CP (J control unit 12).

上記クロック信号CLKは、Rレジスタ15のクロック
入力にも供給されるようになっている。読出しレジスタ
14Rのクロック入力はクロック信号CLK2を伝達す
る信号線38により、書込みレジスタ14Wのクロック
入力はクロック信号CLK3を伝達する信号線39によ
り、いずれもCPIJコントロール部12と接続されて
いる。
The clock signal CLK is also supplied to the clock input of the R register 15. The clock input of the read register 14R is connected to the CPIJ control unit 12 by a signal line 38 that transmits a clock signal CLK2, and the clock input of the write register 14W is connected to a signal line 39 that transmits a clock signal CLK3.

17はCP U 10の動作に必要なりロック信号を生
成するクロック発生器(以下、CGと称する)である。
A clock generator 17 (hereinafter referred to as CG) is necessary for the operation of the CPU 10 and generates a lock signal.

CG 17は同CG17のクロック生成動作停止を指定
する信号線41によりCPUコントロール部12と接続
されている。18は入力A、B、Sを有し、A、Bいず
れか一方を、入力Sの内容に応じて選択するセレクタ(
以下、SELと称する)である。
The CG 17 is connected to the CPU control unit 12 by a signal line 41 that specifies to stop the clock generation operation of the CG 17. 18 has inputs A, B, and S, and a selector (
(hereinafter referred to as SEL).

5EL18の入力Aは信号線42によりCPUコントロ
ール部12と接続され、入力Bは信号線43によりMI
R13と接続される。信号線43は、MIR13に保持
されたマイクロ命令のアドレス部(分岐アドレス部)の
内容を伝達するのに用いられる。また、5EL18の入
力Sは信号線44によりMIR13のCPUコントロー
ル部1部上2続されている。
Input A of the 5EL18 is connected to the CPU control unit 12 by a signal line 42, and input B is connected to the MI control unit 12 by a signal line 43.
Connected to R13. The signal line 43 is used to transmit the contents of the address part (branch address part) of the microinstruction held in the MIR 13. Further, the input S of the 5EL 18 is connected to the CPU control section 1 of the MIR 13 by a signal line 44.

5EL113の出力は、制御記I!11のアドレスを生
成するマイクロシーケンサ19と信号線45により接続
されている。マイクロシーケンサ19は、信号線44に
よりCPtJPt上コントロールと、信号線46により
MIR13と、それぞれ接続されている。信号線46は
、MIR13に保持されたマイクロ命令の分岐指定部の
内容を伝達するのに用いられる。マイクロシーケンサ1
9で生成されたアドレスは、信号線47により制御記憶
11のアドレス入力に供給されるようになっている。
The output of 5EL113 is control record I! It is connected by a signal line 45 to a microsequencer 19 that generates 11 addresses. The microsequencer 19 is connected to the CPtJPt upper control via a signal line 44 and to the MIR 13 via a signal line 46, respectively. The signal line 46 is used to transmit the contents of the branch specification section of the microinstruction held in the MIR 13. Micro sequencer 1
The address generated in step 9 is supplied to the address input of control memory 11 via signal line 47.

CP LJ 10およびサポートプロセッサ2oはシス
テムバス50により相互接続されている。またcPU(
内のCPUコントロール部1部上2よびサポートプロセ
ッサ20はシリアルバス6oにより相互接続されている
。なお第1図において、主記憶装置などは省略されてい
る。
CP LJ 10 and support processor 2o are interconnected by system bus 50. Also cPU(
The CPU control section 1 and support processor 20 within the CPU control section 1 and the support processor 20 are interconnected by a serial bus 6o. Note that in FIG. 1, the main storage device and the like are omitted.

次にこの発明の一実施例の動作を説明する。Next, the operation of one embodiment of the present invention will be explained.

CP U 10においては、マイクロシーケンサ19に
より次に実行すべきアドレスが生成され。マイクロシー
ケンサ19で生成されたアドレスは信号線47を介して
制御記憶11に供給され、これにより制御記憶11の対
応するアドレスからマイクロ命令が取出される。制御記
憶11から取出されたマイクロ命令は信号線31を介し
てMIR13に供給され、CG17からのりロック信号
に同期したクロック信号CLKがそのクロック入力に供
給されることにより、同MIR13に保持される。上記
クロック信号CLKはRレジスタ15のクロック入力に
も供給される。これにより、MIR13に保持されてい
たマイクロ命令は、信号線32経由でレジスタ15に保
持される。
In the CPU 10, the microsequencer 19 generates an address to be executed next. The address generated by the microsequencer 19 is supplied to the control memory 11 via the signal line 47, whereby the microinstruction is retrieved from the corresponding address in the control memory 11. The microinstruction taken out from the control memory 11 is supplied to the MIR 13 via the signal line 31, and is held in the MIR 13 by supplying the clock signal CLK synchronized with the glue lock signal from the CG 17 to its clock input. The clock signal CLK is also supplied to the clock input of the R register 15. As a result, the microinstructions held in the MIR 13 are held in the register 15 via the signal line 32.

レジスタ15に保持されたマイクロ命令の所定フィール
ドの各ビット(または所定フィールドのデコード信号)
はCP U 10内の各部に導かれ、これにより各部が
制御される。MIR13に保持されたマイクロ命令のア
ドレス部の内容は信号線43を介してS E L 18
の入力Bに供給され、同分岐指定部の内容は信号線46
を介してマイクロシーケンサ19に供給される。5E1
18は、(後述するマイクロプログラム・デバッキング
・モードにな0)通常状態においては、入力Bの内容、
即ちアドレス部の内容を選択する。このアドレス部の内
容【よ、信号[145を介してマイクロシーケンサ19
に供給される。マイクロシーケンサ19は前回生成した
アドレスを+1する+1回路を内蔵しており、通常状態
では、この+1回路の出力または5E118より選択さ
れたアドレス部の内容(分岐アドレス)をマイクロ命令
の分岐指定部の内容に応じて選択し、次の実行アドレス
を出力する。なお、マイクロシーケンサ19は、上記し
たアドレスの他に、マクロ命令により指定される1連の
マイクロ命令処理の先頭アドレス、および割込み発生時
に指定されるアドレス等も選択する機能を有しているが
、この発明に直接関係しないためこの点に関する詳細な
説明は省略する。
Each bit of the predetermined field of the microinstruction held in the register 15 (or the decode signal of the predetermined field)
is led to each part within the CPU 10, and each part is controlled thereby. The contents of the address part of the microinstruction held in the MIR 13 are sent to the SEL 18 via the signal line 43.
The content of the branch specification section is supplied to the input B of the signal line 46.
The signal is supplied to the microsequencer 19 via the microsequencer 19. 5E1
18 is the content of input B in the normal state (0 in microprogram debugging mode to be described later);
That is, the contents of the address field are selected. The contents of this address field are transmitted to the microsequencer 19 via the signal [145].
supplied to The micro sequencer 19 has a built-in +1 circuit that increments the previously generated address by 1. In the normal state, the output of this +1 circuit or the content of the address field (branch address) selected by 5E118 is sent to the branch specification field of the microinstruction. Select according to the content and output the next execution address. In addition to the above-mentioned addresses, the microsequencer 19 also has the function of selecting the start address of a series of microinstruction processing specified by a macroinstruction, an address specified when an interrupt occurs, etc. A detailed explanation regarding this point will be omitted since it is not directly related to this invention.

さてサポートプロセッサ20は、CP U 10のマイ
クロプログラムのデバッグを行ないたい場合、(CP 
IJ 10のマイクロプログラムの動作の停止を要求す
る)動作停止要求を発生し、同要求をシリアルバス60
経由でCP U 10内のCPUコントロール部1部上
2送する。CPUコントロール部1部上2サポートプロ
セッサ20からの動作停止要求に応じて信号線41を0
FFL、CG17の動作を停止させる。これによりCP
 U 10の動作に必要なりロック信号の生成が停止さ
れる。この結果、CP U 10のマイクロプログラム
動作が停止される。この停止状態を、マイクロプログラ
ム・デバッキング・モードと呼ぶ。CPUコントロール
部1部上2サポートプロセッサ20からの動作停止要求
の実行を完了すると、即ちCP IJ 10をマイクロ
プログラム・デバッキング・モード(以下、MPDモー
ドと称する)に設定すると、シリアルバス60を介して
サポートプロセッサ20に割込みをかけ、同プロセッサ
20にその旨を通知する。これにより、サポートプロセ
ッサ20はCP U 10のマイクロプログラム動作が
停止されていること、即ちMPDモードの設定が行なわ
れたことを認識する。
Now, when the support processor 20 wants to debug the microprogram of the CPU 10, the support processor 20 (CP
Generates an operation stop request (requesting to stop the operation of the microprogram of IJ 10) and sends the same request to the serial bus 60.
The data is sent to the CPU control section 1 in the CPU 10 via the CPU 10. The signal line 41 is set to 0 in response to an operation stop request from the CPU control unit 1 upper 2 support processor 20.
Stop the operation of FFL and CG17. This allows C.P.
The generation of the lock signal is stopped as necessary for the operation of U10. As a result, the microprogram operation of the CPU 10 is stopped. This stopped state is called microprogram debugging mode. When the execution of the operation stop request from the CPU control unit 1 upper 2 support processor 20 is completed, that is, when the CPU IJ 10 is set to the microprogram debugging mode (hereinafter referred to as MPD mode), the interrupts the support processor 20, and notifies the support processor 20 of this fact. Thereby, the support processor 20 recognizes that the microprogram operation of the CPU 10 has been stopped, that is, that the MPD mode has been set.

サポートプロセッサ20は、MPDモードにおいて制御
記憶11の内容(マイクロ命令)を読出したい場合、所
望のアドレスおよび読出し要求をCPUコントロール部
12に転送する。CPUコントロール部12は、サポー
トプロセッサ20からの読出し要求に応じ、同プロセッ
サ20で指定されたアドレスを信号線42経由で5EL
18の入力Aに供給すると共に、信号線44をONする
。5EL18は、信号線44がON状態の場合、入力A
、Bのうち入力Aの内容、即ちサポートプロセッサ20
で指定されたアドレスを選択し、信号線45経由でマイ
クロシーケンサ19に供給する。マイクロシーケンサ1
9は、信号線44がON状態の場合、5EL18からの
アドレスを信号線46の状態に無関係に選択し、信号線
47経出で制御記憶11に供給する。これにより、サポ
ートプロセッサ20で指定された制御記憶11のアドレ
スから、対応するマイクロ命令が信号線31上に読出さ
れる。CPUコントロール部12は、サポートプロセッ
サ20からの読出し要求に応じ、信号線37上にクロッ
ク信号CLK1を1クロツクだけ出力する。このクロッ
ク信号CLK1は0R16および信号線35を介してM
IR13のクロック入力に供給され、これにより信号線
31上のマイクロ命令がMIR13に保持される。また
CPUコントロール部12は、クロック信号CLKI出
力後一定時間が経過すると信号線38上にクロック信号
CLK2を1クロツクだけ出力する。このクロック信号
CLK2は読出しレジスタ14Rのクロック入力に供給
され、これによりMIR13に保持されたマイクロ命令
が信号線32経出で読出しレジスタ14Rに取込まれる
。CPUコントロール部12は上記の動作を完了すると
、サポートプロセッサ20に割込みをかける。サポート
プロセッサ20は、読出し要求に対するCPUコントロ
ール部12からの割込みに応じ、シリアルバス60、同
CPUコントロール部12、および信号線33を介して
読出しレジスタ14Rの内容を読取り、デバッグに必要
な処理を行なう。
When supporting processor 20 wants to read the contents (microinstructions) of control memory 11 in MPD mode, it transfers a desired address and a read request to CPU control unit 12 . In response to the read request from the support processor 20, the CPU control unit 12 reads the address specified by the support processor 20 via the signal line 42 to 5EL.
18 and turns on the signal line 44. 5EL18, when the signal line 44 is in the ON state, the input A
, B, the content of input A, i.e., the support processor 20
The address specified by is selected and supplied to the microsequencer 19 via the signal line 45. Micro sequencer 1
When the signal line 44 is in the ON state, 9 selects the address from the 5EL 18 regardless of the state of the signal line 46, and supplies it to the control memory 11 through the signal line 47. As a result, the corresponding microinstruction is read onto the signal line 31 from the address in the control memory 11 specified by the support processor 20. In response to a read request from the support processor 20, the CPU control section 12 outputs the clock signal CLK1 for one clock onto the signal line 37. This clock signal CLK1 is applied to M via 0R16 and signal line 35.
It is fed to the clock input of IR 13, which causes the microinstructions on signal line 31 to be held in MIR 13. Further, the CPU control section 12 outputs the clock signal CLK2 for one clock onto the signal line 38 when a certain period of time has elapsed after outputting the clock signal CLKI. This clock signal CLK2 is supplied to the clock input of the read register 14R, so that the microinstruction held in the MIR 13 is taken into the read register 14R via the signal line 32. When the CPU control unit 12 completes the above operations, it issues an interrupt to the support processor 20. The support processor 20 reads the contents of the read register 14R via the serial bus 60, the CPU control unit 12, and the signal line 33 in response to an interrupt from the CPU control unit 12 in response to a read request, and performs processing necessary for debugging. .

次に、MPDモードにおける制御記憶11に対する書込
み動作を説明する。サポートプロセッサ20は、MPD
モードにおいて制御記憶11の所望のアドレスに所望の
マイクロ命令を書込みたい場合、上記アドレスおよび書
込み要求をシリアルバス60経由でCPUコントロール
部12に転送する。またサポートプロセッサ20は、所
望の書込みデータ(マイクロ命令)をCPUコントロー
ル部12に転送する。CPUコントロール部12は、サ
ポートプロセッサ20からの書込み要求に応じ、同プロ
セッサ20からの書込みデータを信号線34上に出力す
ると共に、信号線39上にりOツク信号CLK3を1ク
ロツクだけ出力する。これにより、クロック信号CLK
3は書込みレジスタ14Wのクロック入力に供給され、
信号線34上の書込みデータはWレジスタ15に保持さ
れる。またCPUコントロール部12は、サポートプロ
セッサ20からの書込み要求に応じ、読出し要求時と同
様のアドレス制御を行なう。しかして、マイクロシーケ
ンサ19から制御記憶11に対し、サポートプロセッサ
20で指定されたアドレスが選択出力される。この結果
、サポートプロセッサ20で指定された制御記憶11の
アドレスに、書込みレジスタ14Wの内容、即ちサポー
トプロセッサ20から転送された書込みデータ(マイク
ロ命令)が書込まれる。このとき、CPUコントロール
部12から信号線31上にクロック信号CLK1を1ク
ロツク出力し、上記書込みデータをMIR13にロード
することも可能である。
Next, a write operation to the control memory 11 in the MPD mode will be explained. The support processor 20 is an MPD
When it is desired to write a desired microinstruction to a desired address in the control memory 11 in this mode, the address and write request are transferred to the CPU control unit 12 via the serial bus 60. The support processor 20 also transfers desired write data (microinstructions) to the CPU control unit 12. In response to a write request from the support processor 20, the CPU control unit 12 outputs the write data from the support processor 20 onto the signal line 34, and also outputs the O-clock signal CLK3 onto the signal line 39 for one clock cycle. As a result, the clock signal CLK
3 is supplied to the clock input of write register 14W;
Write data on the signal line 34 is held in the W register 15. Further, in response to a write request from the support processor 20, the CPU control unit 12 performs address control similar to that in the case of a read request. Thus, the address specified by the support processor 20 is selectively outputted from the microsequencer 19 to the control memory 11. As a result, the contents of the write register 14W, that is, the write data (microinstruction) transferred from the support processor 20 are written to the address of the control memory 11 designated by the support processor 20. At this time, it is also possible to output one clock signal CLK1 from the CPU control section 12 onto the signal line 31 and load the write data into the MIR 13.

上記したように、この実施例によれば、サポートプロセ
ッサ20からの要求に応じ、CP U 10のマイクロ
プログラム動作の停止、制御記憶11の指定アドレスの
読出し/書込みが行なえるので、マイクロプログラムデ
バッグの効率向上が図れる。
As described above, according to this embodiment, the microprogram operation of the CPU 10 can be stopped and the specified address of the control memory 11 can be read/written in response to a request from the support processor 20, so that microprogram debugging can be performed. Efficiency can be improved.

・ところで、CP U 10のマイクロプログラム動作
を停止させて、制御記憶11の指定アドレスの読出し/
書込みを行なった場合、その停止時の実行アドレスを例
えばサポートプロセッサ20またはマイクロシーケンサ
19が上記した一連の動作中保持していれば、同アドレ
スをCPUコントロール部12を通して再設定し、CG
17を再起動することにより、停止前後で連続性番損う
ことなくマイクロプログラムの処理を続行することが可
能となる。
・By the way, the microprogram operation of the CPU 10 is stopped and the designated address of the control memory 11 is read/
When writing is performed, if the support processor 20 or microsequencer 19 retains the execution address at the time of the stop during the series of operations described above, the same address is reset through the CPU control unit 12 and the CG
By restarting the microprogram 17, it becomes possible to continue processing the microprogram without losing continuity before and after the stop.

また第1図の構成では、MPDモードにおいて、サポー
トプロセッサ20が前記したように制御記憶11に対す
るアドレス摺定を行ない、CPUコントロール部12を
通してCG17を1クロック分だけ動作させることによ
り、マイクロプログラムの1ステツプ毎の実行も可能で
ある。
In addition, in the configuration shown in FIG. 1, in the MPD mode, the support processor 20 performs address adjustment for the control memory 11 as described above, and operates the CG 17 for one clock through the CPU control section 12, thereby controlling one part of the microprogram. It is also possible to execute each step.

なお、サポートプロセッサ20にCRTディスプレイ端
末などを接続し、同端末装置を操作することにより上記
した動作要求を発行すると共に必要な情報を画面表示す
るようにすれば、マイクロプログラムデバッグが一層効
率的に行なえる。また、保守診断用のサポートプロセッ
サに上記したデバッグ機能を付加することにより、CP
Uの集中管理が可能となる。
Note that microprogram debugging can be made more efficient by connecting a CRT display terminal or the like to the support processor 20 and operating the terminal to issue the above-mentioned operation requests and display the necessary information on the screen. I can do it. In addition, by adding the debug function described above to the support processor for maintenance diagnosis, CP
Centralized management of U becomes possible.

[発明の効果] 以上詳述したようにこの発明によれば、高機能で且つ操
作性の良いマイクロプログラムデバッグ・ツールの実現
が図れる。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to realize a microprogram debugging tool that is highly functional and easy to operate.

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

第1図はこの発明の一実施例に係るマイクロプログラム
デバッグ機能付きデータ処理装置のブロック構成図であ
る。 10・・・CPU、11・・・制御記憶、12・・・C
PUコントロール部、13・・・マイクロ命令レジスタ
(MIR)、14R・・・読出しレジスタ、?4W・・
・書込みレジスタ、17・・・クロック発生器(CG)
、18・・・セレクタ(SEL)、20・・・サポート
プロセッサ、50・・・システムパス、60・・・シリ
アルバス。
FIG. 1 is a block diagram of a data processing device with a microprogram debugging function according to an embodiment of the present invention. 10...CPU, 11...Control memory, 12...C
PU control unit, 13... Micro instruction register (MIR), 14R... Read register, ? 4W...
・Write register, 17...Clock generator (CG)
, 18... Selector (SEL), 20... Support processor, 50... System path, 60... Serial bus.

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラムデバッグの実行制御を行なうサポー
トプロセッサと、マイクロプログラムを格納する書換え
可能な制御記憶、および上記サポートプロセッサからの
要求に応じてマイクロプログラム動作の停止、並びにマ
イクロ命令の読出し/書込みを行なうCPUコントロー
ル部を有するCPUとを具備し、上記CPUコントロー
ル部は上記サポートプロセッサからの要求が動作停止要
求の場合に、上記CPUのマイクロプログラム動作を停
止する停止手段、上記要求が読出し要求の場合に、上記
停止手段によって停止されたCPU内部の特定装置に対
してのみ1クロック動作を行なわせ、上記サポートプロ
セッサにより指定される上記制御記憶のアドレスからの
データ読出しを行なう手段、および上記要求が書込み要
求の場合に、上記停止手段によって停止されたCPU内
部の特定装置に対してのみ1クロック動作を行なわせ、
上記サポートプロセッサにより指定される上記制御記憶
のアドレスに同サポートプロセッサからの書込みデータ
を書込む手段を備えていることを特徴とするマイクロプ
ログラムデバッグ機能付きデータ処理装置。
A support processor that controls the execution of microprogram debugging, a rewritable control memory that stores the microprogram, and a CPU control that stops the microprogram operation and reads/writes microinstructions in response to requests from the support processor. and a CPU having a stop means for stopping the microprogram operation of the CPU when the request from the support processor is an operation stop request, and a stop means for stopping microprogram operation of the CPU when the request from the support processor is a read request. means for causing a specific device inside the CPU stopped by the stopping means to perform one clock operation and reading data from an address in the control memory specified by the support processor, and when the request is a write request; and causing one clock operation to be performed only on a specific device inside the CPU that has been stopped by the above-mentioned stopping means,
A data processing device with a microprogram debugging function, comprising means for writing write data from the support processor to an address in the control memory specified by the support processor.
JP60016770A 1985-01-31 1985-01-31 Data processor provided with microprogram debug function Pending JPS61175834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60016770A JPS61175834A (en) 1985-01-31 1985-01-31 Data processor provided with microprogram debug function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60016770A JPS61175834A (en) 1985-01-31 1985-01-31 Data processor provided with microprogram debug function

Publications (1)

Publication Number Publication Date
JPS61175834A true JPS61175834A (en) 1986-08-07

Family

ID=11925449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60016770A Pending JPS61175834A (en) 1985-01-31 1985-01-31 Data processor provided with microprogram debug function

Country Status (1)

Country Link
JP (1) JPS61175834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01244548A (en) * 1988-03-25 1989-09-28 Fujitsu Ltd Microprogram controller
US5814116A (en) * 1995-10-13 1998-09-29 Jenoptik Aktiengesellschaft Arrangement for generating a purified, low-turbulence air flow for supplying local clean rooms

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01244548A (en) * 1988-03-25 1989-09-28 Fujitsu Ltd Microprogram controller
US5814116A (en) * 1995-10-13 1998-09-29 Jenoptik Aktiengesellschaft Arrangement for generating a purified, low-turbulence air flow for supplying local clean rooms

Similar Documents

Publication Publication Date Title
JPS6252345B2 (en)
WO2016106935A1 (en) Flash memory controller and control method for flash memory controller
US4947478A (en) Switching control system for multipersonality computer system
EP0010197B1 (en) Data processing system for interfacing a main store with a control sectron and a data processing section
JPH10116187A (en) Microcomputer
JPS61175834A (en) Data processor provided with microprogram debug function
US4631669A (en) Data processing system having no bus utilization priority control
JPS6146552A (en) Information processor
JPS61198339A (en) Data processor with microprogram debugging function
JP2520158B2 (en) Debugging method of digital signal processor
JPS608938A (en) Debugging system of microprogram
JP2768677B2 (en) Test control circuit for single-chip microcomputer
JPH0754508B2 (en) Computer system
JPS6316341A (en) Microprogram control system
JPS63158654A (en) Microcontroller
JP2821176B2 (en) Information processing device
JP2003330871A (en) Data transfer device
JPS62251829A (en) Symbolic processing system and method
SU1124275A1 (en) Microprocessor communication device
JP2510173B2 (en) Array Processor
JPS58114250A (en) Common microprocessor
JPS60263255A (en) Processor synchronizing system
JPH0123812B2 (en)
JPH0827713B2 (en) Data processing device
JPS5870357A (en) Microprogrammed processor and operation thereof