JPH046024B2 - - Google Patents
Info
- Publication number
- JPH046024B2 JPH046024B2 JP57064170A JP6417082A JPH046024B2 JP H046024 B2 JPH046024 B2 JP H046024B2 JP 57064170 A JP57064170 A JP 57064170A JP 6417082 A JP6417082 A JP 6417082A JP H046024 B2 JPH046024 B2 JP H046024B2
- Authority
- JP
- Japan
- Prior art keywords
- microprogram
- tracing
- address
- storage device
- external
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of 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)
Description
【発明の詳細な説明】
(技術分野の説明)
本発明はマイクロプログラム制御装置に使用す
るマイクロプログラムトレース装置、さらに詳し
く云えば、特にマイクロプログラムトレース装置
においてマイクロプログラムの実行をトレースす
るマイクロプログラムトレース装置に関する。Detailed Description of the Invention (Description of the Technical Field) The present invention relates to a microprogram tracing device used in a microprogram control device, and more specifically, a microprogram tracing device for tracing the execution of a microprogram in a microprogram tracing device. Regarding.
(従来技術の説明)
従来のトレーサでは記憶装置の容量が有限であ
り、このためマイクロプログラムのステツプ数が
著しく多い場合には記憶容量の範囲を越え、連続
トレースができないという欠点があつた。(Description of the Prior Art) Conventional tracers have a finite storage capacity, and therefore, when the number of steps in a microprogram is extremely large, the storage capacity is exceeded and continuous tracing cannot be performed.
(発明の目的の説明)
本発明の目的は、内部記憶装置の格納スペース
がなくなるとクロツクを停止させ、内部記憶装置
のデータの出力が終了すると再びクロツクを再開
させ、トレースを断続して実行できるようにする
ことによつて上記欠点を解決したマイクロプログ
ラムトレース装置を提供することにある。(Description of the purpose of the invention) The purpose of the present invention is to stop the clock when the storage space in the internal storage device runs out, and restart the clock again when the output of data in the internal storage device is completed, so that tracing can be executed intermittently. The object of the present invention is to provide a microprogram tracing device which solves the above-mentioned drawbacks by doing the following.
(発明の構成と作用の説明)
本発明によるマイクロプログラムトレース装置
はアドレスレジスタと、内部記憶装置と、少くと
も第1および第2の制御手段とを具備して構成し
たものである。アドレスレジスタは外部のマイク
ロプログラムアドレスとクロツクとを受取り内部
記憶装置に加える。(Description of Structure and Effects of the Invention) A microprogram trace device according to the present invention includes an address register, an internal storage device, and at least first and second control means. The address register receives the external microprogram address and clock and applies it to internal storage.
内部記憶装置はクロツクに同期して、このマイ
クロプログラムアドレスを格納する。 Internal storage stores this microprogram address in synchronization with the clock.
内部記憶装置が最大容量に至るまでマイクロプ
ログラムアドレスを格納したときに、第1の制御
手段は外部のマイクロプログラム制御装置のクロ
ツクを停止させるとともに、外部の出力装置、あ
るいは外部の記憶装置へ内部記憶装置からデータ
を出力させる。 When the internal storage device has stored the microprogram addresses up to its maximum capacity, the first control means stops the clock of the external microprogram control device and transfers the internal storage to an external output device or external storage device. Output data from the device.
内部記憶装置からのデータ出力が終了したとき
に、第2の制御手段は外部のマイクロプログラム
制御装置のクロツクを再開させるとともに、内部
記憶装置への書込みも再開させる。 When data output from the internal storage device is completed, the second control means restarts the clock of the external microprogram controller and also restarts writing to the internal storage device.
本発明によるマイクロプログラムトレース装置
では、上記基本構成のほかにトレース開始アドレ
ス指示手段と制御手段、ならびにトレース終了ア
ドレス指示手段と制御手段を具備することができ
るほか、マイクロプログラムアドレス値が連続し
て同一の値をとる場合にも書込みを抑止させ、抑
止期間のクロツク数をカウントさせる手段を具備
することもできる。 In addition to the basic configuration described above, the microprogram tracing device according to the present invention can be provided with a trace start address instructing means and a control means, a trace end address instructing means and a control means, and the microprogram address value is continuously the same. It is also possible to provide means for inhibiting writing even when the value is taken, and counting the number of clocks during the inhibit period.
さらに、外部のマイクロプログラム制御装置に
よつて条件付き分岐命令が実行されたときには、
実行後のマイクロプログラムアドレスのみを内部
記憶装置へ格納させることもできる。 Furthermore, when a conditional branch instruction is executed by an external microprogram controller,
It is also possible to store only the microprogram address after execution in the internal storage device.
また、外部のマイクロプログラム制御装置がチ
エツクポイントを通過したときには、チエツクポ
イントにおけるマイクロプログラムアドレスを内
部記憶装置へ格納させるための手段を具備するこ
とも可能である。 It is also possible to provide means for storing the microprogram address at the checkpoint in the internal storage device when the external microprogram controller passes the checkpoint.
(実施例の説明)
次に本発明について図面を参照して詳細に説明
する。(Description of Examples) Next, the present invention will be described in detail with reference to the drawings.
第1図は本発明によるマイクロプログラムトレ
ース装置の第1の実施例を示すブロツク図であ
る。第1図において、マイクロプログラムトレー
ス装置はアドレスレジスタ1と、内部記憶装置2
と、カウンタ4と、第1〜第3の遅延回路5,
7,13と、第1〜第5のANDゲート8,9,
10,14,15と、第1〜第3のORゲート
6,11,16と、第1のフリツプフロツプ12
とから成立つ。 FIG. 1 is a block diagram showing a first embodiment of a microprogram tracing device according to the present invention. In FIG. 1, the microprogram trace device has an address register 1 and an internal storage device 2.
, a counter 4, and first to third delay circuits 5,
7, 13 and the first to fifth AND gates 8, 9,
10, 14, 15, first to third OR gates 6, 11, 16, and first flip-flop 12
It is established from .
アドレスレジスタ1はマイクロプログラムアド
レス信号線100を介し、外部のマイクロプログ
ラム制御装置から送出されたマイクロプログラム
アドレスを受信する。 The address register 1 receives a microprogram address sent from an external microprogram controller via a microprogram address signal line 100.
内部記憶装置2はトレースされているマイクロ
プログラムアドレスを格納する。カウンタ4は内
部記憶装置2のトレース動作を制御する。第1〜
第3の遅延回路5,7,13と、第1〜第5の
ANDゲート8,9,10,14,15と、第1
〜第3のORゲート6,11,16とはカウンタ
4と一体化され、内部記憶装置2のトレース動作
を制御する。 Internal storage 2 stores the microprogram address being traced. Counter 4 controls the trace operation of internal storage device 2. 1st~
The third delay circuits 5, 7, 13 and the first to fifth delay circuits 5, 7, 13,
AND gates 8, 9, 10, 14, 15 and the first
~The third OR gates 6, 11, and 16 are integrated with the counter 4 and control the trace operation of the internal storage device 2.
第1のフリツプフロツプ12は内部記憶装置に
おけるデータの書込みと読出しとを制御する。 A first flip-flop 12 controls writing and reading data in internal storage.
次に本発明によるマイクロプログラムトレース
装置の第1の実施例の動作を第1図を参照して説
明する。最初に、本装置を起動するため起動信号
線101上には装置電源投入完了信号、または外
部からのトレース開始指示信号が与えられ、これ
によつてカウンタ4がリセツトされるとともに、
第1のフリツプフロツプ12がセツトされてトレ
ース動作が開始される。 Next, the operation of the first embodiment of the microprogram tracing device according to the present invention will be explained with reference to FIG. First, in order to start up this device, a device power-on completion signal or an external trace start instruction signal is applied to the startup signal line 101, thereby resetting the counter 4, and
The first flip-flop 12 is set and trace operation begins.
すなわち、マイクロプログラム制御装置からの
第1のクロツク信号線101上に現れたクロツク
に同期して、マイクロプログラムアドレス信号線
100上に現れたマイクロプログラムアドレスを
レジスタ1にセツトする。このとき、第1のクロ
ツク信号線101上に現れたクロツクは第2の遅
延回路7を通して適度に遅延させ、第1のAND
ゲート8の入力端子へ加えられる。 That is, the microprogram address appearing on the microprogram address signal line 100 is set in register 1 in synchronization with the clock appearing on the first clock signal line 101 from the microprogram controller. At this time, the clock appearing on the first clock signal line 101 is appropriately delayed through the second delay circuit 7, and the clock appearing on the first AND
is applied to the input terminal of gate 8.
いつぽう、第1のフリツプフロツプ12の正極
出力信号線110上に現れた信号は第1のAND
ゲート8の他の入力端子へ加えられる。 At the same time, the signal appearing on the positive output signal line 110 of the first flip-flop 12 is the first AND signal.
is applied to the other input terminal of gate 8.
これらの信号の論理積は第1のANDゲート8
で得られる。そこで、出力信号線109上に現れ
た信号が内部記憶装置2への書込み指示信号とな
つて、レジスタ1の出力信号線103上に現れた
信号が内部記憶装置2のアドレス0番地に書込ま
れる。さらに、第5のANDゲート15、第1の
遅延回路5、ならびに第3のORゲート16を通
過してクロツク信号線107上に現れた信号によ
つてカウンタ4がカウントアツプされ、カウンタ
4によつてアドレス1番地が指定される。 The logical product of these signals is connected to the first AND gate 8.
It can be obtained with Therefore, the signal appearing on the output signal line 109 becomes a write instruction signal to the internal storage device 2, and the signal appearing on the output signal line 103 of the register 1 is written to address 0 of the internal storage device 2. . Further, the counter 4 is incremented by the signal passing through the fifth AND gate 15, the first delay circuit 5, and the third OR gate 16 and appearing on the clock signal line 107. Then, address number 1 is specified.
このようにして、順次マイクロプログラムアド
レスが内部記憶装置2に書込まれてゆく。 In this way, the microprogram addresses are sequentially written into the internal storage device 2.
内部記憶装置2への書込みスペースがなくなる
と、カウンタ4のアドレス領域がオーバーフロー
して信号線105上にオーバーフローパルス信号
が出力される。信号線105上にパルスが現れる
と、第1のORゲート6の出力の状態が1となつ
てカウンタ4をリセツトする。このとき、第
3ANDゲート10で第1のORゲート6の入力と
第1のフリツプフロツプ12の正極出力とで論理
積をとる。第1のフリツプフロツプ12がリセツ
トされると、信号線109上には書込みパルスが
出力されなくなり、内部記憶装置2への書込みが
抑止される。また、マイクロプログラム制御装置
へは、信号線113上にパルス信号が出力されて
クロツクの停止が指示される。第4のANDゲー
ト14では、第2のクロツク信号線115上に現
れた信号と、第1のフリツプフロツプ12の負極
出力とで論理積をとる。 When the writing space in the internal storage device 2 runs out, the address area of the counter 4 overflows and an overflow pulse signal is output onto the signal line 105. When a pulse appears on the signal line 105, the state of the output of the first OR gate 6 becomes 1 and the counter 4 is reset. At this time, the
A 3AND gate 10 performs a logical product between the input of the first OR gate 6 and the positive output of the first flip-flop 12. When the first flip-flop 12 is reset, no write pulse is output on the signal line 109, and writing to the internal storage device 2 is inhibited. Further, a pulse signal is output to the microprogram control device on signal line 113 to instruct the microprogram control device to stop the clock. The fourth AND gate 14 performs an AND operation between the signal appearing on the second clock signal line 115 and the negative output of the first flip-flop 12.
そこで、第3の遅延回路13と、第3のORゲ
ート16とを経由して入力された信号によつてカ
ウンタ4がカウントアツプされる。外部の出力装
置、あるいは外部の記憶装置は第2のクロツク信
号線115上のクロツクに同期して動作し、出力
信号線104上の情報を取り込む。 Therefore, the counter 4 is counted up by the signal inputted via the third delay circuit 13 and the third OR gate 16. An external output device or an external storage device operates in synchronization with the clock on the second clock signal line 115 and captures the information on the output signal line 104.
この情報はプリンタ、あるいは表示装置、ある
いは他の記憶装置に出力される。 This information is output to a printer, display device, or other storage device.
外部への出力が終了すると、カウンタ4のアド
レスがオーバーフローして信号線105上にオー
バーフローパルス信号が出力される。 When the output to the outside is completed, the address of the counter 4 overflows and an overflow pulse signal is output onto the signal line 105.
信号線105上にオーバーフローパルス信号が出
力されると、カウンタ4がリセツトされ、この信
号線105上の信号と第1のフリツプフロツプ1
2の負極出力との論理積が第2のANDゲート9
で求められる。第2のANDゲート9の出力は第
2のORゲート11を経由して第1のフリツプフ
ロツプ12へ印加され、第1のフリツプフロツプ
12をセツトする。、これとともに、信号線11
2上へパルス信号が出力されて、マイクロプログ
ラム制御装置へクロツク再開指示信号を送出す
る。When an overflow pulse signal is output on the signal line 105, the counter 4 is reset, and the signal on the signal line 105 and the first flip-flop 1 are
The logical product with the negative output of 2 is the second AND gate 9
is required. The output of the second AND gate 9 is applied to the first flip-flop 12 via the second OR gate 11 to set the first flip-flop 12. , along with this, the signal line 11
A pulse signal is output on 2 to send a clock restart instruction signal to the microprogram controller.
以上のようにして連続的にマイクロプログラム
アドレスのトレース動作を行なうことができる。 As described above, microprogram address tracing operations can be performed continuously.
次に、本発明によるマイクロプログラムトレー
ス装置の第2の実施例を第2図に示す。 Next, a second embodiment of the microprogram tracing device according to the present invention is shown in FIG.
第2の実施例においては、第1図と第2図を参
照して説明する。第2図におけるマイクロプログ
ラムトレース装置は、アドレスレジスタ1と、内
部記憶装置2と、第1および第2の一致回路1
7,18と、第2のフリツプフロツプ19と、第
6および第7のANDゲート20,21とから成
立つ。第2の実施例では、トレース開始アドレス
信号線120を介して外部から指示されたトレー
ス開始アドレス信号と、アドレスレジスタ1の出
力信号とが一致したときに信号線122上の出力
の状態が1となる。第1図における信号線102
上の信号の代りに、、信号線122上の出力信号
によつて第1のフリツプフロツプ12がセツトさ
れるとともに、第2のフリツプフロツプ19がリ
セツトされる。 The second embodiment will be explained with reference to FIGS. 1 and 2. The microprogram tracing device in FIG. 2 includes an address register 1, an internal storage device 2, and first and second matching circuits 1.
7 and 18, a second flip-flop 19, and sixth and seventh AND gates 20 and 21. In the second embodiment, when the trace start address signal instructed from the outside via the trace start address signal line 120 and the output signal of the address register 1 match, the state of the output on the signal line 122 becomes 1. Become. Signal line 102 in FIG.
Instead of the above signal, the output signal on signal line 122 sets the first flip-flop 12 and resets the second flip-flop 19.
以下、第2の実施例は第1の実施例と同様な動
作をする。すなわち、トレース停止アドレス信号
線121上へ外部からトレース停止信号が送出さ
れ、アドレスレジスタ1の出力がこの信号と一致
すると、信号線123上の信号の状態が1とな
る。そこで、この信号を第1図における信号線1
13上の信号と論理和をとり、得られた論理和は
第1のフリツプフロツプ12をリセツトするとと
もに第2のフリツプフロツプ19をセツトするの
に使用される。 Hereinafter, the second embodiment operates in the same way as the first embodiment. That is, when a trace stop signal is externally sent onto the trace stop address signal line 121 and the output of the address register 1 matches this signal, the state of the signal on the signal line 123 becomes 1. Therefore, this signal is connected to signal line 1 in Figure 1.
The resulting logical OR is used to reset the first flip-flop 12 and set the second flip-flop 19.
さらに、マイクロプログラム制御装置へ送出さ
れるクロツク停止信号線113上のクロツク停止
信号とクロツク再開信号線112上のクロツク再
開信号とは、それぞれ第6と第7のANDゲート
20,21で第2のフリツプフロツプ19の負極
出力との論理積をとつて同期をとり、信号線11
20,1130を介して外部へ送出される。 Further, the clock stop signal on the clock stop signal line 113 and the clock restart signal on the clock restart signal line 112, which are sent to the microprogram controller, are outputted to the second clock by the sixth and seventh AND gates 20 and 21, respectively. Synchronization is achieved by performing an AND with the negative output of the flip-flop 19, and the signal line 11
20, 1130 to the outside.
次に、本発明によるマイクロプログラムトレー
ス装置の第3の実施例を第3図に示す。 Next, a third embodiment of the microprogram tracing device according to the present invention is shown in FIG.
第3の実施例においては、第1図と第3図を参
照して説明する。第3図におけるマイクロプログ
ラムトレース装置はアドレスレジスタ1と、バツ
フアレジスタ22と、第3の一致回路23と、第
8〜第10のANDゲート24,25,88と、第
3のORゲート16とから成立つ。 The third embodiment will be explained with reference to FIGS. 1 and 3. The microprogram tracing device in FIG. It is established from
第3の実施例においては、同一アドレスが連続
して現れる場合に、内部記憶装置2への書込みを
抑止するとともにアドレス更新も抑止するもので
ある。すなわち、不一致信号線124上に現れる
信号の状態が1のときに、アドレスレジスタ1の
出力がバツフアレジスタ22へセツトされる。不
一致信号線124上に現れる信号の状態が0とな
ると、第10のANDゲート88の出力が状態0と
なる、このとき、アドレス更新信号線119上の
信号が第9のANDゲート25で抑止され、信号
線107上に現れる出力の状態が0となつて、内
部記憶装置への書込み、およびカウンタ4のカウ
ントアツプが抑止される。 In the third embodiment, when the same address appears consecutively, writing to the internal storage device 2 is inhibited and address updating is also inhibited. That is, when the state of the signal appearing on the mismatch signal line 124 is 1, the output of the address register 1 is set to the buffer register 22. When the state of the signal appearing on the mismatch signal line 124 becomes 0, the output of the tenth AND gate 88 becomes the state 0. At this time, the signal on the address update signal line 119 is suppressed by the ninth AND gate 25. , the state of the output appearing on the signal line 107 becomes 0, and writing to the internal storage device and counting up of the counter 4 are inhibited.
次に分岐命令を実行したことがシステムへ通知
された場合には、通知から1クロツク後に第1図
の第1のANDゲート8の出力、およびアドレス
更新信号線119上の信号を有効とするように接
続すればよい。また、チエツクポイントの通過が
指示されたならば、通知されたアドレスに対応す
るタイミング上で上記第1のANDゲート8、お
よびアドレス更新信号線119上の信号を有効と
するように接続すればよい。 Next, when the system is notified that a branch instruction has been executed, the output of the first AND gate 8 in FIG. 1 and the signal on the address update signal line 119 are enabled one clock after the notification. Just connect to. Furthermore, if passage through a checkpoint is instructed, the signals on the first AND gate 8 and the address update signal line 119 may be enabled at the timing corresponding to the notified address. .
(発明の効果の説明)
本発明には以上説明したように、内部記憶装置
への書込みスペースがなくなつたときにマイクロ
プログラム制御装置に対するクロツクの停止を指
示し、内部記憶装置の内容が読出された後でクロ
ツクの再開を指示できるように構成することによ
つて、連続したアドレスのトレースの容易に行な
うことができると云う効果がある。(Description of Effects of the Invention) As explained above, the present invention has the following features: When there is no more writing space in the internal storage device, the microprogram controller is instructed to stop the clock, and the contents of the internal storage device are read out. By arranging the structure so that restarting the clock can be instructed after the clock has finished, tracing of consecutive addresses can be easily performed.
第1図は本発明によるマイクロプログラムトレ
ース装置の第1の実施例を示すブロツク図、第2
図は本発明によるマイクロプログラムトレース装
置の第2の実施例を部分的に示すブロツク図、第
3図は本発明によるマイクロプログラムトレース
装置の第3の実施例を部分的に示すブロツク図で
ある。
1……アドレスレジスタ、2……内部記憶装
置、4……カウンタ、5,7,13……遅延回
路、6,11,16……ORゲート、8,9,1
0,14,15,20,21,24,25,88
……ANDゲート、12、19……フリツプフロ
ツプ、17,18,23……一致回路、22……
バツフアレジスタ。
FIG. 1 is a block diagram showing a first embodiment of a microprogram tracing device according to the present invention, and FIG.
FIG. 3 is a block diagram partially showing a second embodiment of the microprogram tracing device according to the present invention, and FIG. 3 is a block diagram partially showing a third embodiment of the microprogram tracing device according to the present invention. 1... Address register, 2... Internal storage device, 4... Counter, 5, 7, 13... Delay circuit, 6, 11, 16... OR gate, 8, 9, 1
0, 14, 15, 20, 21, 24, 25, 88
...AND gate, 12, 19...flip-flop, 17,18,23...matching circuit, 22...
Batsuhua register.
Claims (1)
クロプログラムアドレスとクロツクとを受取るた
めのアドレスレジスタと、前記クロツクに同期し
て前記マイクロプログラムアドレスを格納するた
めの内部記憶装置と、前記内部記憶装置が最大容
量に至るまでマイクロプログラムアドレスを格納
したときに前記外部のマイクロプログラム制御装
置のクロツクを停止させるとともに外部の出力装
置、あるいは外部の記憶装置へ前記内部記憶装置
からデータを出力させるようにトレース停止信号
を発生させるための第1の制御手段と、前記内部
記憶装置からのデータ出力が終了したときに前記
外部のマイクロプログラム制御装置のクロツクを
再開させるとともに前記内部記憶装置への格納も
再開させるようにトレース開始信号を発生させる
ための第2の制御手段とを具備したことを特徴と
するマイクロプログラムトレース装置。 2 前記第1項記載のマイクロプログラムトレー
ス装置であつて、トレース開始アドレスを指示す
るための第1の指示手段を具備したことを特徴と
するマイクロプログラムトレース装置。 3 前記第1項記載のマイクロプログラムトレー
ス装置であつて、トレース終了アドレスを指示す
るための第2の指示手段を具備したことを特徴と
するマイクロプログラムトレース装置。 4 前記第1項記載のマイクロプログラムトレー
ス装置であつて、前記マイクロプログラムアドレ
スの値が連続して同一の値をとる場合に前記内部
記憶装置への書込みを抑止させるための第3の制
御手段を具備したことを特徴とするマイクロプロ
グラムトレース装置。 5 前記第1項または第4項記載のマイクロプロ
グラムトレース装置であつて、前記格納を抑止し
ている期間の連続したクロツク数のカウント値を
求めて出力させるための第4の制御手段を具備し
たことを特徴とするマイクロプログラムトレース
装置。 6 前記第1項記載のマイクロプログラムトレー
ス装置であつて、前記外部のマイクロプログラム
制御装置から条件付き分岐命令を実行した旨通知
されたときに、前記条件付き分岐命令を実行した
後の前記マイクロプログラムアドレスのみを前記
内部記憶装置へ格納させるための第5の制御手段
を具備したことを特徴とするマイクロプログラム
トレース装置。 7 前記第1項記載のマイクロプログラムトレー
ス装置であつて、前記外部のマイクロプログラム
制御装置からチエツクポイントを通過した旨通知
されたときに、前記チエツクポイントにおけるマ
イクロプログラムアドレスのみを内部記憶装置へ
格納させるための第6の制御手段を具備したこと
を特徴とするマイクロプログラムトレース装置。 8 前記第1項記載のマイクロプログラムトレー
ス装置であつて、前記外部のマイクロプログラム
制御装置からの前記トレース開始信号を受けてト
レースを開始させるための第7の制御手段を具備
したことを特徴とするマイクロプログラムトレー
ス装置。 9 前記第1項または第8項記載のマイクロプロ
グラムトレース装置であつて、前記外部のマイク
ロプログラム制御装置からの前記トレース停止信
号を受けてトレースを停止させるため第8の制御
手段を具備したことを特徴とするマイクロプログ
ラムトレース装置。[Scope of Claims] 1: an address register for receiving a microprogram address and a clock from an external microprogram control device; an internal storage device for storing the microprogram address in synchronization with the clock; When the storage device has stored the microprogram addresses to its maximum capacity, the clock of the external microprogram control device is stopped and the data is outputted from the internal storage device to an external output device or an external storage device. a first control means for generating a trace stop signal when outputting data from the internal storage device; restarting a clock of the external microprogram controller when data output from the internal storage device is completed; and second control means for generating a trace start signal to restart the trace. 2. The microprogram tracing device according to item 1, characterized in that it comprises first instruction means for instructing a trace start address. 3. The microprogram tracing device according to item 1, characterized in that it comprises second instruction means for instructing a trace end address. 4. The microprogram tracing device according to item 1 above, further comprising third control means for inhibiting writing to the internal storage device when the value of the microprogram address continuously takes the same value. A microprogram tracing device characterized by: 5. The microprogram tracing device according to the above item 1 or 4, comprising a fourth control means for calculating and outputting a count value of the number of consecutive clocks during the period in which the storage is inhibited. A microprogram tracing device characterized by: 6. In the microprogram tracing device according to the above item 1, when the external microprogram control device notifies that the conditional branch instruction has been executed, the microprogram after executing the conditional branch instruction. A microprogram tracing device comprising fifth control means for storing only addresses in the internal storage device. 7. The microprogram tracing device according to item 1 above, which stores only the microprogram address at the checkpoint in an internal storage device when notified from the external microprogram control device that a checkpoint has been passed. A microprogram tracing device characterized by comprising sixth control means for. 8. The microprogram tracing device according to item 1 above, characterized by comprising a seventh control means for starting tracing upon receiving the trace start signal from the external microprogram control device. Microprogram trace device. 9. The microprogram tracing device according to item 1 or 8, further comprising an eighth control means for stopping the tracing in response to the trace stop signal from the external microprogram control device. Features: Microprogram tracing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57064170A JPS58181154A (en) | 1982-04-16 | 1982-04-16 | Microprogram tracing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57064170A JPS58181154A (en) | 1982-04-16 | 1982-04-16 | Microprogram tracing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58181154A JPS58181154A (en) | 1983-10-22 |
| JPH046024B2 true JPH046024B2 (en) | 1992-02-04 |
Family
ID=13250315
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57064170A Granted JPS58181154A (en) | 1982-04-16 | 1982-04-16 | Microprogram tracing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58181154A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07101392B2 (en) * | 1988-02-15 | 1995-11-01 | 日本電気株式会社 | Tracer |
| JPWO2006087806A1 (en) * | 2005-02-18 | 2008-07-03 | 富士通株式会社 | Clock generation device, clock generation method, clock generation program, operation verification device, operation verification method, and operation verification program |
| GB2459652B (en) * | 2008-04-28 | 2010-09-22 | Imagination Tech Ltd | Controlling instruction scheduling based on the space in a trace buffer |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55115146A (en) * | 1979-02-27 | 1980-09-04 | Toshiba Corp | Program trace unit |
| JPS57182857A (en) * | 1981-05-07 | 1982-11-10 | Hitachi Ltd | Program trace accumulating and recording system |
-
1982
- 1982-04-16 JP JP57064170A patent/JPS58181154A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58181154A (en) | 1983-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH046024B2 (en) | ||
| JPH0320776B2 (en) | ||
| JPS58104994U (en) | Electrochromic display electronic clock | |
| JPS5939783B2 (en) | logical state tracker | |
| JPS62279438A (en) | trace circuit | |
| JPH0441376Y2 (en) | ||
| SU1179336A1 (en) | Control unit | |
| JPS5841525B2 (en) | Direct memory access system | |
| JPS63298452A (en) | Tracer circuit | |
| SU1174932A1 (en) | Device for debugging programs | |
| SU898437A1 (en) | Device for interfacing processor with storage | |
| JPS5927359A (en) | Logical circuit tracing device | |
| JPS61241842A (en) | Tracing device for microprogram | |
| JPS61190636A (en) | Information processor with trace function | |
| JPH01199243A (en) | History information memory | |
| JPS5935257A (en) | Status history storage device | |
| JPS58166420A (en) | Clocking mechanism of information processor | |
| JPH03228158A (en) | Storage device | |
| JPH02178745A (en) | Single chip microcomputer | |
| JPS6379145A (en) | Trace control method | |
| JPH0217518A (en) | Data processor | |
| JPS6242287B2 (en) | ||
| JPH02205962A (en) | Execution control system for input/output instruction | |
| JPH06314968A (en) | Counter read control method | |
| JPS59161716A (en) | Timer control system of information processor |