JPH05134894A - Built-in microcode debugging circuit - Google Patents

Built-in microcode debugging circuit

Info

Publication number
JPH05134894A
JPH05134894A JP3327106A JP32710691A JPH05134894A JP H05134894 A JPH05134894 A JP H05134894A JP 3327106 A JP3327106 A JP 3327106A JP 32710691 A JP32710691 A JP 32710691A JP H05134894 A JPH05134894 A JP H05134894A
Authority
JP
Japan
Prior art keywords
microcode
built
input
output
outside
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
JP3327106A
Other languages
Japanese (ja)
Inventor
Yukio Kodama
幸夫 児玉
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 JP3327106A priority Critical patent/JPH05134894A/en
Publication of JPH05134894A publication Critical patent/JPH05134894A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To stop operation with an arbitrary microcode address and to externally control a random logic part by controlling a system clock with respect to the random clock part corresponding to the comparison result of a comparator CONSTITUTION:This circuit is provided with a comparator 8 comparing the output of a program counter 1 with an externally inputtable built-in microcode address, and a clock control circuit 9 controlling the system clock for a random logic part 5, and a selector 15 switching the input of the externally inputtable microcode and the built-in microcode and inputting the selected microcode in the random logic part 5. Thus, by setting an arbitrarily settable stop microaddress terminal 7, the operation of an LSI can be stopped with the arbitrary microcode address.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、内蔵マイクロコード
デバッグ回路、即ち、制御用マイクロコードROMが内
蔵された集積回路において、マイクロコードのデバッグ
を容易に行なえるようにするための回路に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a built-in microcode debug circuit, that is, a circuit for facilitating debugging of microcode in an integrated circuit containing a control microcode ROM. is there.

【0002】[0002]

【従来の技術】図7は従来より用いられている制御用マ
イクロコードROMを内蔵したLSIの簡単な構成であ
る。図において、1はプログラムカウンタ、2はプログ
ラムカウンタ1の出力である、mビットの幅を持つアド
レスバス、3はアドレスバス2を入力とする内蔵マイク
ロコードROM、4は内蔵マイクロコードROM3の出
力である、nビットの幅を持つデータバス、5は内蔵マ
イクロコードに応じて制御されるランダムロジック部、
6はシステムクロック入力端子である。
2. Description of the Related Art FIG. 7 shows a simple structure of an LSI having a control microcode ROM which has been used conventionally. In the figure, 1 is a program counter, 2 is an output of the program counter 1, an address bus having an m-bit width, 3 is a built-in microcode ROM that receives the address bus 2, 4 is an output of the built-in microcode ROM 3. There is a data bus having a width of n bits, and 5 is a random logic part controlled according to a built-in microcode,
Reference numeral 6 is a system clock input terminal.

【0003】次に動作について説明する。システムクロ
ック入力端子6よりシステムクロックがランダムロジッ
ク部5へ送られ、その内部では、システムクロックのタ
イミングに従ってデータ等が取り込まれたりしている。
LSIに動作スタートがかかると、プログラムカウンタ
1がカウント動作を行い、アドレスバス2はその動作に
従って、その値を変化させることになる。このアドレス
バス2の値は内蔵マイクロコードROM3のアドレスと
して入力され、このアドレス値に対応したデータがデー
タバス4に出力される。このデータはランダムロジック
部5のうち、図示されていないマイクロデコード回路
で、デコードされた後、命令、即ちマイクロコードが前
記システムクロックのタイミングに従って実行される。
Next, the operation will be described. The system clock is sent from the system clock input terminal 6 to the random logic unit 5, and inside thereof, data and the like are taken in according to the timing of the system clock.
When the LSI starts operating, the program counter 1 performs a counting operation, and the address bus 2 changes its value according to the operation. The value of the address bus 2 is input as the address of the built-in microcode ROM 3, and the data corresponding to this address value is output to the data bus 4. This data is decoded by a microdecoding circuit (not shown) in the random logic unit 5, and then an instruction, that is, a microcode is executed according to the timing of the system clock.

【0004】[0004]

【発明が解決しようとする課題】制御用マイクロコード
ROMを内蔵した従来のLSI装置は以上のように構成
されているので、マイクロコード解析の際に任意のマイ
クロコードアドレスで動作を止めようとした場合には、
システムクロックを途中でタイミングよく止めることが
必要となる。また、任意のマイクロコードアドレスで動
作を止めて、外部よりマイクロコードを入力してランダ
ムロジック部を制御しようとしても、これは不可能であ
るなどの問題があった。
Since the conventional LSI device having the control microcode ROM built therein is configured as described above, the operation is stopped at an arbitrary microcode address during the microcode analysis. in case of,
It is necessary to stop the system clock midway. Further, even if the operation is stopped at an arbitrary microcode address and the microcode is input from the outside to control the random logic part, this is impossible.

【0005】この発明は、上記のような従来のものの問
題点を解消するためになされたもので、システムクロッ
クを制御することなく、任意のマイクロコードアドレス
で動作を止めることができるとともに、その状態から外
部よりマイクロコードを入力してランダムロジック部を
制御できる内蔵マイクロコードデバッグ回路を得ること
を目的としている。
The present invention has been made in order to solve the above-mentioned problems of the conventional ones, and the operation can be stopped at an arbitrary microcode address without controlling the system clock, and its state can be maintained. The purpose is to obtain a built-in microcode debug circuit that can control the random logic part by inputting microcode from the outside.

【0006】[0006]

【課題を解決するための手段】この発明に係る内蔵マイ
クロコードデバッグ回路は、プログラムカウンタの出力
と外部から入力される内蔵マイクロコードアドレスとを
入力とする比較器と、ランダムロジック部に対するシス
テムクロックを制御するクロック制御回路とを設けたも
のである。
A built-in microcode debug circuit according to the present invention includes a comparator which receives an output of a program counter and a built-in microcode address inputted from the outside, and a system clock for a random logic section. And a clock control circuit for controlling.

【0007】また、この発明に係る内蔵マイクロコード
デバッグ回路は、プログラムカウンタの出力と外部から
入力される内蔵マイクロコードアドレスとを入力とする
比較器と、ランダムロジック部に対するシステムクロッ
クを制御するクロック制御回路と、外部より入力される
マイクロコードの入力と内蔵マイクロコードとを切換え
て前記ランダムロジック部に入力するセレクタとを備え
たものである。
Also, the built-in microcode debug circuit according to the present invention is a clock control for controlling the system clock for the comparator, which receives the output of the program counter and the built-in microcode address input from the outside as input. It is provided with a circuit and a selector for switching the input of the microcode inputted from the outside and the built-in microcode to input to the random logic section.

【0008】また、この発明に係る内蔵マイクロコード
デバッグ回路は、外部から入力される内蔵マイクロコー
ドアドレスの入力と、外部より入力されるマイクロコー
ドの入力の少なくとも一方に、シリアル−パラレルデー
タ変換器を備えたものである。
The built-in microcode debug circuit according to the present invention has a serial-parallel data converter for at least one of the input of a built-in microcode address input from the outside and the input of a microcode input from the outside. Be prepared.

【0009】[0009]

【作用】この発明における内蔵マイクロコードデバッグ
回路は、任意に設定可能なストップマイクロアドレス端
子の設定により、LSIの動作を任意のマイクロコード
アドレスで止めることが可能となる。
In the built-in microcode debug circuit according to the present invention, the operation of the LSI can be stopped at an arbitrary microcode address by setting the stop microaddress terminal that can be arbitrarily set.

【0010】また、この発明における内蔵マイクロコー
ドデバッグ回路は、任意に設定可能なストップマイクロ
アドレス端子の設定により、LSIの動作を任意のマイ
クロコードアドレスで止めることが可能となり、かつ外
部マイクロコード入力ポートより任意のマイクロコード
が実行できることになる。
In the built-in microcode debug circuit according to the present invention, the operation of the LSI can be stopped at an arbitrary microcode address by setting the stop microaddress terminal that can be arbitrarily set, and the external microcode input port can be used. Any arbitrary microcode can be executed.

【0011】また、この発明における内蔵マイクロコー
ドデバッグ回路は、シリアル−パラレルデータ変換器に
より、内蔵マイクロコードアドレスの入力と、外部より
入力可能なマイクロコードの入力の少なくとも一方が、
1つのピンによりシリアル入力可能となる。
Further, in the built-in microcode debug circuit according to the present invention, at least one of the input of the built-in microcode address and the input of the microcode which can be input from the outside is performed by the serial-parallel data converter.
One pin enables serial input.

【0012】[0012]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例による内蔵マイクロコ
ードデバッグ回路を示す。図において、1はプログラム
カウンタ、2はプログラムカウンタ1の出力である、m
ビットの幅をもつアドレスバス、3は内蔵マイクロコー
ドROM、4は内蔵マイクロコードROM3の出力であ
る、nビットの幅を持つデータバス、5は内蔵マイクロ
コードに応じて制御されるランダムロジック部、6はシ
ステムクロック入力端子、7は外部よりストップマイク
ロアドレスを設定するためのストップマイクロアドレス
設定端子、8はプログラムカウンタ1の出力と外部から
入力される内蔵マイクロコードアドレスとを入力とする
比較器、9は比較器8の出力に応じてランダムロジック
部5に供給するシステムクロックを制御するクロック制
御回路、10は外部よりデバッグモードを設定するため
のデバッグ設定端子、11は外部より入力されるデバッ
グクロックの入力端子、12は比較器出力、13はクロ
ック制御回路9の出力、23はクロック制御回路9の論
理合成出力である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a built-in microcode debug circuit according to one embodiment of the present invention. In the figure, 1 is the program counter, 2 is the output of the program counter 1, m
An address bus having a bit width, 3 is a built-in microcode ROM, 4 is an output of the built-in microcode ROM 3, a data bus having an n-bit width, 5 is a random logic part controlled according to the built-in microcode, 6 is a system clock input terminal, 7 is a stop micro address setting terminal for setting a stop micro address from the outside, 8 is a comparator which receives the output of the program counter 1 and an internal micro code address input from the outside, Reference numeral 9 is a clock control circuit for controlling the system clock supplied to the random logic unit 5 according to the output of the comparator 8, 10 is a debug setting terminal for setting a debug mode from the outside, and 11 is a debug clock input from the outside. Input terminal, 12 is a comparator output, and 13 is a clock control circuit 9 Force, 23 is a logic synthesis output of the clock control circuit 9.

【0013】次に動作について説明する。図1におい
て、システムクロック入力端子6よりシステムクロック
がクロック制御回路9へ送られている。LSIに動作ス
タートがかかると、プログラムカウンタ1がカウント動
作を行い、その値をアドレスバス2に出力する。この出
力がストップマイクロアドレス設定端子7で設定した値
と一致すると、比較器8は一致信号12を出力し、クロ
ック制御回路9内でデバッグ設定端子10の信号と論理
合成した信号23が、プログラムカウンタ1のカウント
をアンイネーブルにする。
Next, the operation will be described. In FIG. 1, the system clock is sent from the system clock input terminal 6 to the clock control circuit 9. When the LSI starts operating, the program counter 1 performs a counting operation and outputs the value to the address bus 2. When this output coincides with the value set at the stop micro address setting terminal 7, the comparator 8 outputs the coincidence signal 12, and the signal 23 logically synthesized with the signal at the debug setting terminal 10 in the clock control circuit 9 becomes the program counter. Disable 1 count.

【0014】ここで、このクロック制御回路の一構成例
を図5に示す。図において、20は第1のAND素子、
21は第2のAND素子、22はOR素子である。図6
に、図5で示されたノードa〜gのタイミングチャート
を示す。
An example of the structure of this clock control circuit is shown in FIG. In the figure, 20 is a first AND element,
Reference numeral 21 is a second AND element, and 22 is an OR element. Figure 6
5 shows a timing chart of the nodes a to g shown in FIG.

【0015】この実施例の内蔵マイクロコードデバッグ
回路を用いて内蔵マイクロコードをデバッグする場合に
は、デバッグ設定端子10をデバッグモードにする。例
えば、図5の構成では、デバッグ設定端子10をHレベ
ルに設定しておく。
When debugging the built-in microcode using the built-in microcode debug circuit of this embodiment, the debug setting terminal 10 is set to the debug mode. For example, in the configuration of FIG. 5, the debug setting terminal 10 is set to H level.

【0016】プログラムカウンタ1がカウントアンイネ
ーブルの状態では、比較器出力12が一致信号を出力し
ており、ランダムロジック部へはストップマイクロアド
レス設定端子7で設定されたマイクロアドレスの1ステ
ート前の状態が実行されたままで、ランダムロジック部
5へ通じるシステムクロック13が止まることになる。
内蔵マイクロコードROM3の出力はストップマイクロ
アドレス設定端子7で設定されたマイクロアドレスに対
応するマイクロコードデータをデータバス4に出力しつ
づけており、これを実行するには、デバッグクロック入
力端子11よりクロックを1周期分入力すれば、ストッ
プマイクロアドレス設定端子7で設定したマイクロアド
レスに対応したマイクロコードが実行されたままで、L
SIの動作が保持されることになる。
When the program counter 1 is in the count unenable state, the comparator output 12 outputs the coincidence signal and the state before the microaddress set by the stop microaddress setting terminal 7 is one state before the random logic section. The system clock 13 leading to the random logic unit 5 is stopped while the above is executed.
The output of the built-in microcode ROM 3 continues to output the microcode data corresponding to the microaddress set by the stop microaddress setting terminal 7 to the data bus 4. To execute this, the clock from the debug clock input terminal 11 is used. Input for one cycle, the microcode corresponding to the microaddress set by the stop microaddress setting terminal 7 will be
The SI operation will be retained.

【0017】次に図2にこの発明の他の実施例による内
蔵マイクロコードデバッグ回路を示す。図2において、
1はプログラムカウンタ、2はプログラムカウンタ1の
出力である、mビットの幅を持つアドレスバス、3は内
蔵マイクロコードROM、4は内蔵マイクロコードRO
M3の出力で、nビットの幅を持つデータバス、5はラ
ンダムロジック部、6はシステムクロック入力端子、7
は外部よりストップマイクロアドレスを設定するための
ストップマイクロアドレス設定端子、8は比較器、9は
クロック制御回路、10は外部よりデバッグモードを設
定するためのデバッグ設定端子、11は外部よりデバッ
グクロックを入力するためのデバッグクロック入力端
子、12は比較器出力、13はクロック制御回路9の出
力、23はクロック制御回路9の論理合成出力、14は
外部よりマイクロコードを入力するためのマイクロコー
ド入力ポート、15はセレクタ、16はセレクタ15の
切換スイッチ、17はセレクタ15の出力であるnビッ
ト幅のデータバスである。
Next, FIG. 2 shows a built-in microcode debug circuit according to another embodiment of the present invention. In FIG.
1 is a program counter, 2 is an output of the program counter 1, an address bus having a width of m bits, 3 is a built-in microcode ROM, 4 is a built-in microcode RO
M3 output, data bus with n-bit width, 5 random logic part, 6 system clock input terminal, 7
Is a stop micro address setting terminal for setting a stop micro address from the outside, 8 is a comparator, 9 is a clock control circuit, 10 is a debug setting terminal for setting a debug mode from the outside, and 11 is a debug clock from the outside. Debug clock input terminal for inputting, 12 is comparator output, 13 is output of clock control circuit 9, 23 is logic synthesis output of clock control circuit 9, and 14 is microcode input port for inputting microcode from outside , 15 is a selector, 16 is a selector switch of the selector 15, and 17 is an n-bit wide data bus output from the selector 15.

【0018】図2においては、前述の図1と同じ動作を
した後、外部よりマイクロコード入力ポート14を通し
て追加したいマイクロコードを設定しておく。次に、セ
レクタ15を、切換スイッチ16を通して、設定したマ
イクロコードがセレクタ15の出力となるように設定す
る。このとき、データバス17には設定したマイクロコ
ードのデータが出力されている。再度、デバッグクロッ
ク入力端子11よりクロックを1周期分入力すると、設
定したマイクロコードが実行されたままで、LSIの動
作が保持されることになる。
In FIG. 2, after the same operation as in FIG. 1 described above, the microcode to be added is set from the outside through the microcode input port 14. Next, the selector 15 is set through the changeover switch 16 so that the set microcode becomes the output of the selector 15. At this time, the data of the set microcode is output to the data bus 17. When the clock is input again from the debug clock input terminal 11 for one cycle, the operation of the LSI is retained while the set microcode is being executed.

【0019】図3は本発明のさらに他の実施例を示す。
図において、18はシリアル−パラレルデータ変換器で
ある。
FIG. 3 shows still another embodiment of the present invention.
In the figure, 18 is a serial-parallel data converter.

【0020】図3における動作は、図1の実施例と同様
である。但し、ストップマイクロアドレスを外部からシ
リアルで入力できるため、LSIのピン数を削減できる
という効果がある。
The operation in FIG. 3 is similar to that of the embodiment in FIG. However, since the stop micro address can be serially input from the outside, there is an effect that the number of pins of the LSI can be reduced.

【0021】図4は本発明のさらに他の実施例を示す。
図において、19はストップマイクロアドレス設定端子
7と比較器8の間、もしくはマイクロコード入力ポート
14とセレクタ15の間の少なくともどちらか一方に存
在するシリアル−パラレルデータ変換器である。
FIG. 4 shows still another embodiment of the present invention.
In the figure, reference numeral 19 is a serial-parallel data converter that exists between at least one of the stop micro address setting terminal 7 and the comparator 8 or between the microcode input port 14 and the selector 15.

【0022】図4における動作は、図2の実施例と同様
である。但し、追加したいマイクロコードを外部からシ
リアルで入力できるため、LSIのピン数を削減できる
という効果がある。
The operation in FIG. 4 is similar to that of the embodiment in FIG. However, since the microcode to be added can be serially input from the outside, there is an effect that the number of pins of the LSI can be reduced.

【0023】[0023]

【発明の効果】以上のように、この発明に係る内蔵マイ
クロコードデバッグ回路によれば、任意のマイクロコー
ドアドレスでLSIの動作を止めたり、追加マイクロコ
ードを実行できるように回路を構成したので、内蔵マイ
クロコードのデバッグをシステムクロックを止めること
なく実行でき、かつ外部マイクロコードを活用すること
で、内蔵マイクロコードのみでは解析できなかった、ラ
ンダムロジックの解析が可能となる。
As described above, according to the built-in microcode debug circuit of the present invention, the circuit is configured so that the operation of the LSI can be stopped or the additional microcode can be executed at an arbitrary microcode address. The built-in microcode can be debugged without stopping the system clock, and by utilizing the external microcode, it is possible to analyze random logic that could not be analyzed only by the built-in microcode.

【0024】また、シリアル−パラレルデータ変換器を
用いることで、外部ピンを削減できるという効果があ
る。
The use of the serial-parallel data converter has the effect of reducing the number of external pins.

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

【図1】この発明の一実施例による内蔵マイクロコード
デバッグ回路を示す図である。
FIG. 1 is a diagram showing a built-in microcode debug circuit according to an embodiment of the present invention.

【図2】この発明の一実施例による内蔵マイクロコード
デバッグ回路を示す図である。
FIG. 2 is a diagram showing a built-in microcode debug circuit according to an embodiment of the present invention.

【図3】この発明の一実施例による内蔵マイクロコード
デバッグ回路を示す図である。
FIG. 3 is a diagram showing a built-in microcode debug circuit according to an embodiment of the present invention.

【図4】この発明の一実施例による内蔵マイクロコード
デバッグ回路を示す図である。
FIG. 4 is a diagram showing a built-in microcode debug circuit according to an embodiment of the present invention.

【図5】この発明におけるクロック制御回路の一構成例
を示す図である。
FIG. 5 is a diagram showing a configuration example of a clock control circuit according to the present invention.

【図6】この発明におけるクロック制御回路の一構成例
に対するタイミングチャート図である。
FIG. 6 is a timing chart for one configuration example of the clock control circuit according to the present invention.

【図7】従来より用いられている制御用マイクロコード
ROMを内蔵したLSIの簡単な構成例を示す図であ
る。
FIG. 7 is a diagram showing a simple configuration example of an LSI having a control microcode ROM which has been used conventionally.

【符号の説明】[Explanation of symbols]

1 プログラムカウンタ 2 アドレスバス(mビット) 3 内蔵マイクロコードROM 4 データバス(nビット) 5 ランダムロジック部 6 システムクロック入力端子 7 ストップマイクロアドレス設定端子 8 比較器 9 クロック制御回路 10 デバッグ設定端子 11 デバッグクロック入力端子 12 比較器出力 13 クロック制御回路出力 14 マイクロコード入力ポート 15 セレクタ 16 切換スイッチ 17 データバス(nビット) 18 シリアル−パラレルデータ変換器 19 シリアル−パラレルデータ変換器 20 第1のAND素子 21 第2のAND素子 22 OR素子 23 論理合成出力 1 Program counter 2 Address bus (m bit) 3 Built-in microcode ROM 4 Data bus (n bit) 5 Random logic part 6 System clock input terminal 7 Stop micro address setting terminal 8 Comparator 9 Clock control circuit 10 Debug setting terminal 11 Debug Clock input terminal 12 Comparator output 13 Clock control circuit output 14 Microcode input port 15 Selector 16 Changeover switch 17 Data bus (n bit) 18 Serial-parallel data converter 19 Serial-parallel data converter 20 First AND element 21 Second AND element 22 OR element 23 Logic synthesis output

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年8月3日[Submission date] August 3, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項1[Name of item to be corrected] Claim 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項2[Name of item to be corrected] Claim 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項3[Name of item to be corrected] Claim 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0001[Correction target item name] 0001

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0001】[0001]

【産業上の利用分野】この発明は、制御用マイクロコー
ドROMが内蔵された集積回路において、マイクロコー
ドのデバッグを容易に行なえるようにするための回路に
関するものである。
BACKGROUND OF THE INVENTION This invention is in the braking patronage microcode integrated circuit ROM is incorporated, to a circuit for the easily so debugging microcode.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0006[Correction target item name] 0006

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0006】[0006]

【課題を解決するための手段】この発明に係る内蔵マイ
クロコードデバッグ回路は、プログラムカウンタの出力
と外部から入力可能な内蔵マイクロコードアドレスとを
入力とする比較器と、ランダムロジック部に対するシス
テムクロックを制御するクロック制御回路とを設けたも
のである。
A built-in microcode debug circuit according to the present invention includes a comparator which receives an output of a program counter and a built-in microcode address which can be input from the outside, and a system clock for a random logic section. And a clock control circuit for controlling.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0007[Correction target item name] 0007

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0007】また、この発明に係る内蔵マイクロコード
デバッグ回路は、プログラムカウンタの出力と外部から
入力可能な内蔵マイクロコードアドレスとを入力とする
比較器と、ランダムロジック部に対するシステムクロッ
クを制御するクロック制御回路と、外部より入力可能な
マイクロコードの入力と内蔵マイクロコードとを切換え
て前記ランダムロジック部に入力するセレクタとを備え
たものである。
Further, the built-in microcode debug circuit according to the present invention includes a comparator which receives the output of the program counter and a built-in microcode address which can be input from the outside, and a clock control which controls the system clock for the random logic section. It is provided with a circuit and a selector for switching between the input of a microcode that can be input from the outside and the built-in microcode and inputting to the random logic unit.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0008[Correction target item name] 0008

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0008】また、この発明に係る内蔵マイクロコード
デバッグ回路は、外部から入力される内蔵マイクロコー
ドアドレスの入力と、外部より入力可能なマイクロコー
ドの入力の少なくとも一方に、シリアル−パラレルデー
タ変換器を備えたものである。
Further, the built-in microcode debug circuit according to the present invention has a serial-parallel data converter for at least one of the input of a built-in microcode address input from the outside and the input of a microcode that can be input from the outside. Be prepared.

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0012】[0012]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例による内蔵マイクロコ
ードデバッグ回路を示す。図において、1はプログラム
カウンタ、2はプログラムカウンタ1の出力である、m
ビットの幅をもつアドレスバス、3は内蔵マイクロコー
ドROM、4は内蔵マイクロコードROM3の出力であ
る、nビットの幅を持つデータバス、5は内蔵マイクロ
コードに応じて制御されるランダムロジック部、6はシ
ステムクロック入力端子、7は外部よりストップマイク
ロアドレスを設定するためのストップマイクロアドレス
設定端子、8はプログラムカウンタ1の出力と外部から
入力可能な内蔵マイクロコードアドレスとを入力とする
比較器、9は比較器8の出力に応じてランダムロジック
部5に供給するシステムクロックを制御するクロック制
御回路、10は外部よりデバッグモードを設定するため
のデバッグ設定端子、11は外部より入力可能なデバッ
グクロックの入力端子、12は比較器出力、13はクロ
ック制御回路9の出力、23はクロック制御回路9の論
理合成出力である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a built-in microcode debug circuit according to one embodiment of the present invention. In the figure, 1 is the program counter, 2 is the output of the program counter 1, m
An address bus having a bit width, 3 is a built-in microcode ROM, 4 is an output of the built-in microcode ROM 3, a data bus having an n-bit width, 5 is a random logic part controlled according to the built-in microcode, 6 is a system clock input terminal, 7 is a stop micro address setting terminal for setting a stop micro address from the outside, 8 is a comparator which receives the output of the program counter 1 and a built-in micro code address which can be input from the outside, Reference numeral 9 is a clock control circuit for controlling the system clock supplied to the random logic unit 5 according to the output of the comparator 8, 10 is a debug setting terminal for setting a debug mode from the outside, and 11 is a debug input terminal which can be input from the outside. clock clock input terminal, 12 is a comparator output, 13 is a clock control circuit The output of 23 is a logic synthesis output of the clock control circuit 9.

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0017[Correction target item name] 0017

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0017】次に図2にこの発明の他の実施例による内
蔵マイクロコードデバッグ回路を示す。図2において、
1はプログラムカウンタ、2はプログラムカウンタ1の
出力である、mビットの幅を持つアドレスバス、3は内
蔵マイクロコードROM、4は内蔵マイクロコードRO
M3の出力で、nビットの幅を持つデータバス、5はラ
ンダムロジック部、6はシステムクロック入力端子、7
は外部よりストップマイクロアドレスを設定するための
ストップマイクロアドレス設定端子、8は比較器、9は
クロック制御回路、10は外部よりデバッグモードを設
定するためのデバッグ設定端子、11は外部よりデバッ
グクロックを入力するためのデバッグクロック入力端
子、12は比較器出力、13はクロック制御回路9の出
力、23はクロック制御回路9の論理合成出力、14は
外部よりマイクロコード入力可能なマイクロコード入
力ポート、15はセレクタ、16はセレクタ15の切換
スイッチ、17はセレクタ15の出力であるnビット幅
のデータバスである。
Next, FIG. 2 shows a built-in microcode debug circuit according to another embodiment of the present invention. In FIG.
1 is a program counter, 2 is an output of the program counter 1, an address bus having a width of m bits, 3 is a built-in microcode ROM, 4 is a built-in microcode RO
M3 output, data bus with n-bit width, 5 random logic part, 6 system clock input terminal, 7
Is a stop micro address setting terminal for setting a stop micro address from the outside, 8 is a comparator, 9 is a clock control circuit, 10 is a debug setting terminal for setting a debug mode from the outside, and 11 is a debug clock from the outside. A debug clock input terminal for inputting, 12 is a comparator output, 13 is an output of the clock control circuit 9, 23 is a logic synthesis output of the clock control circuit 9, 14 is a microcode input port to which microcode can be input from the outside, Reference numeral 15 is a selector, 16 is a selector switch of the selector 15, and 17 is an n-bit wide data bus output from the selector 15.

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図5[Name of item to be corrected] Figure 5

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図5】 [Figure 5]

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラムカウンタの出力と、外部から
入力される内蔵マイクロコードアドレスとを入力とする
比較器と、 該比較器の比較結果に応じてランダムロジック部に対す
るシステムクロックを制御するシステムクロック制御回
路とを備えたことを特徴とする内蔵マイクロコードデバ
ッグ回路。
1. A comparator which receives an output of a program counter and a built-in microcode address inputted from the outside, and a system clock control which controls a system clock for a random logic unit according to a comparison result of the comparator. And a built-in microcode debug circuit.
【請求項2】 プログラムカウンタの出力と、外部から
入力される内蔵マイクロコードアドレスとを入力とする
比較器と、 該比較器の比較結果に応じてランダムロジック部に対す
るシステムクロックを制御するシステムクロック制御回
路と、 外部より入力されるマイクロコードと内蔵マイクロコー
ドとを切換えて前記ランダムロジック部に入力するセレ
クタとを備えたことを特徴とする内蔵マイクロコードデ
バッグ回路。
2. A comparator which receives an output of a program counter and a built-in microcode address inputted from the outside, and a system clock control which controls a system clock for a random logic unit according to a comparison result of the comparator. A built-in microcode debug circuit comprising a circuit and a selector for switching between a microcode input from the outside and a built-in microcode to input to the random logic unit.
【請求項3】 前記、外部から入力される内蔵マイクロ
コードアドレスの入力と、前記、外部から入力されるマ
イクロコードの入力との少なくとも一方に、シリアル−
パラレルデータ変換器を備えたことを特徴とする請求項
1または2記載の内蔵マイクロコードデバッグ回路。
3. At least one of the input of a built-in microcode address input from the outside and the input of a microcode input from the outside is serial-connected.
The built-in microcode debug circuit according to claim 1 or 2, further comprising a parallel data converter.
JP3327106A 1991-11-13 1991-11-13 Built-in microcode debugging circuit Pending JPH05134894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3327106A JPH05134894A (en) 1991-11-13 1991-11-13 Built-in microcode debugging circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3327106A JPH05134894A (en) 1991-11-13 1991-11-13 Built-in microcode debugging circuit

Publications (1)

Publication Number Publication Date
JPH05134894A true JPH05134894A (en) 1993-06-01

Family

ID=18195361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3327106A Pending JPH05134894A (en) 1991-11-13 1991-11-13 Built-in microcode debugging circuit

Country Status (1)

Country Link
JP (1) JPH05134894A (en)

Similar Documents

Publication Publication Date Title
US4870562A (en) Microcomputer capable of accessing internal memory at a desired variable access time
US5511207A (en) Program control circuit determining the designated number of times a sequence of instructions is repetitively executed to prevent further execution of a jump instruction
EP0702297A1 (en) A data processor with breakpoint circuit and method therefor
US7051194B2 (en) Self-synchronous transfer control circuit and data driven information processing device using the same
US4679194A (en) Load double test instruction
JPH05134894A (en) Built-in microcode debugging circuit
JP2594130B2 (en) Semiconductor circuit
US5828859A (en) Method and apparatus for setting the status mode of a central processing unit
JP2009075875A (en) Counter circuit, dynamic reconfigurable circuit, and loop processing control method
KR940001268B1 (en) Data process with check function of undefined addressing over each command
KR100289831B1 (en) Rom data verification circuit
JPS6167148A (en) Microcomputer
JPH0573296A (en) Microcomputer
KR100542699B1 (en) Apparatus for supplying rom dump mode in microcontroller
KR920002660B1 (en) Apparatus and method for block mode instruction
KR0162462B1 (en) Device and method for driving microprocessor
JPH06282353A (en) Timer device having time shortening function
JPH0815392A (en) Test mode setting circuit
JPS63129430A (en) Microprogram controller
JPH0728662A (en) Microcomputer
JPH03217988A (en) One-chip microcomputer
JPH01201737A (en) Microprocessor
JPH07134668A (en) Abnormality detection circuit
JPH117398A (en) Program debugging device
JPH04102934A (en) Microprocessor