JPH01147605A - Microprogram sequence controller - Google Patents
Microprogram sequence controllerInfo
- Publication number
- JPH01147605A JPH01147605A JP30484987A JP30484987A JPH01147605A JP H01147605 A JPH01147605 A JP H01147605A JP 30484987 A JP30484987 A JP 30484987A JP 30484987 A JP30484987 A JP 30484987A JP H01147605 A JPH01147605 A JP H01147605A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- sequencer
- microinstruction
- microprogram
- 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
Links
- 230000004044 response Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、データ処理装置等に利用するマイクロプログ
ラムシーケンスコントローラに関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a microprogram sequence controller used in data processing devices and the like.
従来の技術
第2図は、従来のマイクロプログラムシーケンスコント
ローラを示す。BACKGROUND OF THE INVENTION FIG. 2 shows a conventional microprogrammed sequence controller.
第2図において、21は、実行中のマイクロインストラ
クションを保持するパイプラインレジスタ、28は、パ
イプラインレジスタ21からのマイクロインストラクシ
ョン22に基づいてマイクロプログラムメモリ25の次
のアドレス24を発生するシーケンサであり、マイクロ
プログラムメモリ25は、このアドレス24によシ次の
マイクロインストラクション26を出力する。In FIG. 2, 21 is a pipeline register that holds the microinstruction being executed, and 28 is a sequencer that generates the next address 24 of the microprogram memory 25 based on the microinstruction 22 from the pipeline register 21. , the microprogram memory 25 outputs the next microinstruction 26 at this address 24.
27は、−時停止するマイクロプログラムのアドレス2
8を保持するブレークポイント設定レジスタ、29は、
ブレークポイント設定レジスタ27からのアドレス28
と前述したシーケンサ24からのアドレス24を比較し
、一致している場合に一致信号30を出力する比較器、
31は、スタート信号82によりクロック信号33をシ
ーケンサ23に出力し、また比較器29からの一致信号
30によりシーケンサクロック信号34の出力を停止す
るクロックコントローラである。27 is the address 2 of the microprogram that stops at -
Breakpoint setting register 29 holds 8;
Address 28 from breakpoint setting register 27
a comparator that compares the address 24 from the sequencer 24 described above and outputs a match signal 30 if they match;
A clock controller 31 outputs a clock signal 33 to the sequencer 23 in response to a start signal 82 and stops outputting the sequencer clock signal 34 in response to a match signal 30 from the comparator 29.
次に、上記従来例の動作を説明する。Next, the operation of the above conventional example will be explained.
第2図において、クロックコントローラ31は、スター
ト信号32によシ記動されると、クロック信号33をシ
ーケンサクロック信号34としてシーケンサ23に出力
し、このマイクロプログラムシーケンスコントローラが
動作を開始する。In FIG. 2, when clock controller 31 is clocked by start signal 32, it outputs clock signal 33 as sequencer clock signal 34 to sequencer 23, and this microprogram sequence controller starts operating.
シーケンサ23は、パイプラインレジスタ21カラのマ
イクロインストラクション22に基づいてマイクロプロ
グラムメモリ25の次のアドレス24を発生し、マイク
ロプログラムメモリ25がこのアドレス24によシ次の
マイクロインストラクション26を出力すると、パイプ
ラインレジスタ21がこの次のマイクロインストラクシ
ョン26を保持する。したがって、この動作を繰シ返す
ことによシ、マイクロプログラムが頴次実行される。The sequencer 23 generates the next address 24 of the microprogram memory 25 based on the microinstruction 22 in the pipeline register 21, and when the microprogram memory 25 outputs the next microinstruction 26 at this address 24, the pipe Line register 21 holds this next microinstruction 26. Therefore, by repeating this operation, the microprogram is executed one after another.
このマイクロプログラムの順次実行中に、比較器29は
、ブレークポイント設定レジスタ27からのアドレス2
8と前述したシーケンサ24からのアドレス24を比較
し、一致している場合に一致信号30を出力すると、ク
ロックコントローラ31は、シーケンサクロック信号8
4の出力を停止する。During the sequential execution of this microprogram, the comparator 29 receives address 2 from the breakpoint setting register 27.
The clock controller 31 compares the address 24 from the sequencer 24 with the address 24 from the sequencer 24 described above, and outputs a match signal 30 if they match.
Stop the output of 4.
したがって、上記従来例では、ブレークポイント設定レ
ジスタ27が保持するアドレス28と、現在実行されて
いるマイクロプログラムのアドレス24が一致した場合
、そのマイクロプログラムの実行が停止される。Therefore, in the conventional example, when the address 28 held by the breakpoint setting register 27 matches the address 24 of the currently executed microprogram, execution of that microprogram is stopped.
発明が解決しようとする問題点
しかしながら、上記従来のマイクロプログラムシーケン
スコントローラでは、ブレークポイント設定レジスタ2
7が保持するアドレス28と、現在実行されているマイ
クロプログラムのアドレス24を比較することによシブ
レークポイントを設定するために、複数のブレークポイ
ントを設定する場合には同数のブレークポイント設定レ
ジスタ27と比較器29が必要となシ、シたがってハー
ドウェアが複雑、高価となるという問題点がある。Problems to be Solved by the Invention However, in the above conventional microprogram sequence controller, the breakpoint setting register 2
When setting multiple breakpoints, the same number of breakpoint setting registers 27 Since the comparator 29 is required, there is a problem that the hardware is complicated and expensive.
また、逆に、複数のブレークポイント設定レジスタ27
と比較器29が設けられているマイクロプログラムシー
ケンスコントローラでは、設定するブレークポイントの
数が限定されるという問題点がある。Conversely, multiple breakpoint setting registers 27
A microprogram sequence controller provided with a comparator 29 and a comparator 29 has a problem in that the number of breakpoints that can be set is limited.
本発明は上記従来例の問題点て鑑み、設定するブレーク
ポイントの数が限定されない簡単かつ安価ナマイクロブ
ログラムシーケンスコントローラを提供することを目的
とする。SUMMARY OF THE INVENTION In view of the problems of the prior art described above, it is an object of the present invention to provide a simple and inexpensive microprogram sequence controller in which the number of breakpoints to be set is not limited.
問題点を解決するための手段
本発明は上記問題点を解決するために、マイクロインス
トラクションのアドレスに対応してブレークポイントか
否かを示すデータを格納するためのメモリを設け、前記
メモリにマイクロインストラクションのアドレスを入力
してブレークポイントを示すデータが読み出された場合
にクロック信号の出力を停止するようにしたものである
。Means for Solving the Problems In order to solve the above problems, the present invention provides a memory for storing data indicating whether or not it is a breakpoint corresponding to the address of the microinstruction, and stores the microinstruction in the memory. The output of the clock signal is stopped when the address of the breakpoint is input and the data indicating the breakpoint is read.
作用
本発明は上記構成により、マイクロインストラクション
のアドレスに対応してブレークポイントか否かを示すデ
ータをメモリに格納するために、複数のブレークポイン
トを設定する場合にも回路が複雑、高価な構成とならず
、したがって、設定するブレークポイントの数が限定さ
れない簡単かつ安価ナマイクロブログラムシーケンスコ
ントローラを実現することができる。Effect of the Invention With the above configuration, the present invention stores data indicating whether or not a breakpoint corresponds to the address of a microinstruction in the memory, so even when setting a plurality of breakpoints, the circuit does not have to be complicated and expensive. Therefore, it is possible to realize a simple and inexpensive microprogram sequence controller in which the number of breakpoints to be set is not limited.
実施例
以下、図面を参照して本発明の詳細な説明する。第1図
は、本発明に係るマイクロプログラムシーケンスコント
ローラの一実施例を示すブロック図である。EXAMPLES Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of a microprogram sequence controller according to the present invention.
第1図において、1は、実行中のマイクロインストラク
ションを保持するパイプラインレジスタ、3は、パイプ
ラインレジスタ1からのマイクロインストラクション2
に基づいてマイクロプログラムメモリ5の次のアドレス
4を発生するシーケンサであり、マイクロプログラムメ
モリ5は、このアドレス4によシ次のマイクロインスト
ラクション6を出力する。In FIG. 1, 1 is a pipeline register that holds the microinstruction being executed, and 3 is a microinstruction 2 from pipeline register 1.
The microprogram memory 5 outputs the next microinstruction 6 based on the address 4.
7は、シーケンサ3からのアドレス4によシ指定された
データ(ブレークピット)8を出力するメモリであり、
このメモリ7には、マイクロインストラクションのブレ
ークポイントのアドレスに対応するエリアに「1」がセ
ットされ、他のアドレスに対応するエリアに「0」がセ
ットされている。7 is a memory that outputs data (break pit) 8 specified by address 4 from sequencer 3;
In this memory 7, "1" is set in the area corresponding to the address of the break point of the microinstruction, and "0" is set in the area corresponding to other addresses.
9は、スタート信号10によシクロツク信号11をシー
ケンサクロック信号12としてシーケンサ3に出力し、
またメモリ8からの信号8によりシーケンサクロック信
号12の出力を停止するクロックコントローラである。9 outputs the cyclic clock signal 11 as a sequencer clock signal 12 to the sequencer 3 according to the start signal 10;
It is also a clock controller that stops outputting the sequencer clock signal 12 in response to the signal 8 from the memory 8.
次に、上記構成に係る実施例の動作を説明する。Next, the operation of the embodiment according to the above configuration will be explained.
第1図において、クロックコントローラ9は、スタート
信号10によシ起動されると、クロック信号10をシー
ケンサクロック信号11としてシーケンサ8に出力し、
このマイクロプログラムシーケンスコントローラが動作
を開始する。In FIG. 1, when the clock controller 9 is activated by the start signal 10, it outputs the clock signal 10 as a sequencer clock signal 11 to the sequencer 8,
This microprogram sequence controller starts operating.
シーケンサ3は、パイプラインレジスタ1からのマイク
ロインストラクション2に基づいてマイクロプログラム
メモリ5の次のアドレス4を発生し、マイクロプログラ
ムメモリ5がこのアドレス4によシ次のマイクロインス
トラクション6を出力すると、パイプラインレジスタ1
がこの次のマイクロインストラクション6を保持する。The sequencer 3 generates the next address 4 of the microprogram memory 5 based on the microinstruction 2 from the pipeline register 1, and when the microprogram memory 5 outputs the next microinstruction 6 to this address 4, the pipe line register 1
holds this next microinstruction 6.
したがつて、この動作を繰り返すことにより、マイクロ
プログラムが順次実行される。Therefore, by repeating this operation, the microprograms are executed sequentially.
このマイクロプログラムの順次実行中に、マイクロプロ
グラムメモリ5のアドレス4によシメモリ7のデータ8
(1ビツト)が読み出され、データ「1」が読み出され
た場合には、クロックコントローラ31は、シーケンサ
クロック信号34の出力を停止する。During the sequential execution of this microprogram, address 4 of microprogram memory 5 is transferred to data 8 of memory 7.
(1 bit) is read out, and when data "1" is read out, the clock controller 31 stops outputting the sequencer clock signal 34.
したがって、上記実施例によれば、予めマイクロインス
トラクションのブレークポイントのアドレスに対応する
メモリ7のエリアに「1」をセットするために、また従
来例のブレークポイント設定レジスタ27と比較器29
を1つのメモリ7に置換するのみで、複数のブレークポ
イントを設定することができる。Therefore, according to the above embodiment, in order to set "1" in the area of the memory 7 corresponding to the breakpoint address of the microinstruction in advance, the breakpoint setting register 27 and the comparator 29 of the conventional example
Plural breakpoints can be set simply by replacing .
発明の詳細
な説明したように、本発明は、マイクロインストラクシ
ョンのアドレスに対応してブレークポイントか否かを示
すデータを格納するためのメモリを設け、前記メモリに
マイクロインストラクションのアドレスを入力してブレ
ークポイントを示すデータが読み出された場合にクロッ
ク信号の出力を停止するようにしたので、複数のブレー
クポイントを設定する場合にも回路が複雑、高価な構成
とならず、したがって、設定するブレークポイントの数
が限定されない簡単かつ安価なマイクロプログラムシー
ケンスコントローラを実現することができる。As described in detail, the present invention provides a memory for storing data indicating whether or not it is a breakpoint corresponding to the address of a microinstruction, and inputs the address of the microinstruction into the memory to break. Since the output of the clock signal is stopped when the data indicating the point is read, the circuit does not have to be complicated or expensive even when setting multiple breakpoints. It is possible to realize a simple and inexpensive microprogram sequence controller with an unlimited number of controllers.
第1図は、本発明に係るマイクロプログラムシーケンス
コントローラの一実施例を示すブロック図、第2図は、
従来例のマイクロプログラムシーケンスコントローラを
示すブロック図である。
1・・・パイプラインレジスタ、8・・・シーケンサ、
5・・・マイクロプログラムメモリ、7・・・マイクロ
プログラムのブレークビット用メモリ、9・・・クロッ
クコントローラ。
代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図FIG. 1 is a block diagram showing an embodiment of a microprogram sequence controller according to the present invention, and FIG.
1 is a block diagram showing a conventional microprogram sequence controller; FIG. 1... Pipeline register, 8... Sequencer,
5... Micro program memory, 7... Memory for micro program break bit, 9... Clock controller. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
figure
Claims (1)
ークポイントか否かを示すデータを格納するためのメモ
リと、マイクロインストラクションのアドレスを前記メ
モリに出力してデータを読み出すシーケンサと、前記シ
ーケンサにクロック信号を出力し、前記メモリからブレ
ークポイントを示すデータが読み出された場合にクロッ
ク信号の出力を停止するクロックコントローラとを有す
るマイクロプログラムシーケンスコントローラ。a memory for storing data indicating whether or not a breakpoint corresponds to the address of the microinstruction; a sequencer for outputting the address of the microinstruction to the memory and reading the data; and outputting a clock signal to the sequencer; A microprogram sequence controller comprising: a clock controller that stops outputting a clock signal when data indicating a breakpoint is read from the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30484987A JPH01147605A (en) | 1987-12-02 | 1987-12-02 | Microprogram sequence controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30484987A JPH01147605A (en) | 1987-12-02 | 1987-12-02 | Microprogram sequence controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01147605A true JPH01147605A (en) | 1989-06-09 |
Family
ID=17938013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30484987A Pending JPH01147605A (en) | 1987-12-02 | 1987-12-02 | Microprogram sequence controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01147605A (en) |
-
1987
- 1987-12-02 JP JP30484987A patent/JPH01147605A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2513417B2 (en) | Information processing device | |
JPS58197553A (en) | Program monitor | |
JPH01147605A (en) | Microprogram sequence controller | |
JP2758624B2 (en) | Speed control method of micro program | |
JPH0567035A (en) | Data alignment system for dma transfer | |
JPS62221059A (en) | Central processing unit | |
JPS6249454A (en) | Debug supporting circuit for microprogram | |
JPH01136251A (en) | Self-diagnosing system | |
JPH02157957A (en) | Microprocessor | |
JPH01137339A (en) | Microprocessor | |
JPS63173142A (en) | Completion token output circuit | |
JPH0646411B2 (en) | End token output circuit | |
JPS62241041A (en) | Information processor | |
JPH0370006A (en) | Sequence controller | |
JPS6269352A (en) | Microprocessor | |
JPS60138636A (en) | General-purpose pipeline arithmetic device | |
JPS6336011B2 (en) | ||
JPS63197247A (en) | Microprogram controller | |
JPS58159150A (en) | Diagnosing device for control storage device | |
JPS62248043A (en) | Memory switching circuit for fetching microcomputer instruction | |
JPH02204844A (en) | Debug interruption generating circuit | |
JPS61249140A (en) | Microprogram controller | |
JPS6368924A (en) | System for controlling data processing of microprocessor | |
JPH0478931A (en) | Designated word interruption generating system | |
JPH0792902A (en) | Programmable controller |