JPH01150945A - Tracer - Google Patents

Tracer

Info

Publication number
JPH01150945A
JPH01150945A JP62309414A JP30941487A JPH01150945A JP H01150945 A JPH01150945 A JP H01150945A JP 62309414 A JP62309414 A JP 62309414A JP 30941487 A JP30941487 A JP 30941487A JP H01150945 A JPH01150945 A JP H01150945A
Authority
JP
Japan
Prior art keywords
tracer
shift
data
shift register
register
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
JP62309414A
Other languages
Japanese (ja)
Inventor
Akihisa Makita
牧田 明久
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62309414A priority Critical patent/JPH01150945A/en
Publication of JPH01150945A publication Critical patent/JPH01150945A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To execute the reading of tracer data at a high speed with using one shift pass by equipping a means to read the tracer data with a shift pulse and a means to set the tracer data to a shift register and to successively read the tracer data. CONSTITUTION:A tracer shift mode flip-flop 11 is set by a shift starting signal from a tracer stop control circuit 15 through a signal line 105 and the AND of the output of this tracer shift mode flip-flop 11 and a clock signal is executed in an AND gate 12. Then, a shift clock signal is sent through a signal line 106 to a tracer part. Next, an OR is executed in an OR gate 7 and the data of a RAM1 for trace are set to a shift register 5. Then, the contents of an address register 3 are caused to be +1 by an adder 4 for address renewal. After that, a shift clock from the signal line 106 is successively outputted and read from the shift register 5 through a pass 112 to a shift register 12 at the high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に接続されるトレーサに゛係シ、
特に情報処理装置のノ・−ドウエアの情報をRAMに予
め設定された条件にしたがって書込む手段を有するトレ
ーサの読出し方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a tracer connected to an information processing device.
In particular, the present invention relates to a method for reading a tracer having means for writing information on the hardware of an information processing device into a RAM according to preset conditions.

〔従来の技術〕[Conventional technology]

従来、この種のトレーサは、トレーサ読出し手段からの
トレーサアドレス更新手段と、並列読出しパスを有し、
トレーサ読出し手段からの指示にしたがって1アドレス
(1ワードずつ〕のデータを並列パスで読んでいた。
Conventionally, this type of tracer has a tracer address update means from a tracer readout means and a parallel readout path;
Data of one address (one word at a time) was read in parallel paths according to instructions from the tracer reading means.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のトレースでは、並列パスを使用していた
ため、トレーサ読出し手段が複数の情報処理装置の制御
を実施する場合には、並列パスが情報処理装置台数分必
要となり、ピンネックでノ%−ドウエア量が増大すると
いう問題点があった。
In the conventional tracing described above, parallel paths are used, so when the tracer reading means controls multiple information processing devices, parallel paths are required for the number of information processing devices, resulting in a pin-neck and a reduction in hardware costs. There was a problem that the amount increased.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のトレーサは、情報処理装置のハードウェアの情
報をRAMに予め設定された条件にしたがって書込む手
段を有するトレーサにおいて、予め決められた条件が発
生すると書込みを停止する手段と、この手段によって停
止したことをトレーサデータ読出し手段に通仰する手段
と、上記トレーサからの読出しデータを保持するシフト
パルスタト、上記トレーサデータ読出し手段からのシフ
ト開始指示により停止したときのRAMアドレスで指示
されるトレースデータを上記シフトレジスタに設定する
手段と、この手段によるシフトレジスタへの設定時に上
記RAMアドレスを更新する手段と、上記トレーサデー
タ読出し手段からのシフトクロックにより上記シフトレ
ジスタの内容をそのトレーサデータ読出し手段にシフト
アウトする手段と、1ワードのトレースデータ分のシフ
トクロックが出されたときに次のトレースデータを上記
シフトレジスタに設定する手段と、トレーサの全ワード
の読出し後にそのトレーサへの書込みを再開する手段と
を備えて々るものである。
The tracer of the present invention has means for writing hardware information of an information processing device into a RAM according to preset conditions, and includes means for stopping writing when a predetermined condition occurs; A means for notifying the tracer data reading means that the tracer has been stopped, a shift pulse data holding data read from the tracer, and a trace specified by the RAM address when the shift is stopped in response to a shift start instruction from the tracer data reading means. means for setting data in the shift register; means for updating the RAM address when data is set in the shift register by the means; and tracer data reading means for reading the contents of the shift register using a shift clock from the tracer data reading means. means for setting the next trace data in the shift register when a shift clock for one word of trace data is issued; and means for restarting writing to the tracer after reading all the words of the tracer. It is equipped with the means to do so.

〔作用〕[Effect]

本発明においては、シフトパルスによりトレーサデータ
を読取り、1ワードごとにトレーサデータをシフトレジ
スタに設定して連続してトレーサデータを読出す。
In the present invention, tracer data is read by a shift pulse, tracer data is set in a shift register word by word, and the tracer data is read out continuously.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明の実施例を示すトレーサ部のブロック図
である。
FIG. 1 is a block diagram of a tracer section showing an embodiment of the present invention.

図において、1はトレース用RAM、2はセレクタ、3
はRAM1 用アドレスレジスタ、4はアドレス更新用
アダー(+1回路)、5はトレーサからの読出しデータ
を保持するシフトレジスタ、6はカウンタ、7はこのカ
ウンタ6からのオーバーフロー109と信号線105か
らのシフト開始信号を入力とするオアゲート、8はモー
ドレジスタ、9はトレーサ書込み制御回路である。
In the figure, 1 is a trace RAM, 2 is a selector, and 3 is a trace RAM.
is an address register for RAM1, 4 is an address update adder (+1 circuit), 5 is a shift register that holds read data from the tracer, 6 is a counter, and 7 is an overflow 109 from this counter 6 and a shift from the signal line 105. An OR gate receives a start signal, 8 is a mode register, and 9 is a tracer write control circuit.

そして、この第1図における100はC81アドレス、
101 はC82アドレス、102はインストラクショ
ンカウンタ(IC)からの信号、103はメモリインタ
フェース信号、104はセレクタ2からトレース用RA
M1 への信号、106は信号線、107は信号、10
8は信号線、110はアダー4からアドレスレジスタ3
への信号、113はモードレジスタ8からセレクタ2へ
の信号、114は停止条件を示す信号、116はトレー
サ停止の信号、117,118は信号線である。
100 in this Figure 1 is the C81 address,
101 is the C82 address, 102 is the signal from the instruction counter (IC), 103 is the memory interface signal, and 104 is the trace RA from selector 2.
Signal to M1, 106 is signal line, 107 is signal, 10
8 is a signal line, 110 is from adder 4 to address register 3
113 is a signal from the mode register 8 to the selector 2, 114 is a signal indicating a stop condition, 116 is a tracer stop signal, and 117 and 118 are signal lines.

第2図は本発明に用いるトレーサデータ読出し手段の実
施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of tracer data reading means used in the present invention.

図において、10はカウンタ、11はトレーサシフトモ
ードフリップフロップ、12はこのトレーサシフトモー
ドフリップフロップ11の出力とクロックを入力とする
アンドゲート、13はシフトレジスタ、14はトレーサ
停止制御回路、15は立下り微分回路で、これらはトレ
ーサデータ読出し手段を構成している。
In the figure, 10 is a counter, 11 is a tracer shift mode flip-flop, 12 is an AND gate which receives the output of this tracer shift mode flip-flop 11 and a clock, 13 is a shift register, 14 is a tracer stop control circuit, and 15 is a stand-up The down differential circuit constitutes tracer data reading means.

なお、この第2図において第1図と同一符号のものは和
尚部分を示し、112はパスである。
Note that in FIG. 2, the same reference numerals as in FIG. 1 indicate the monk part, and 112 is a pass.

そして、トレーサ書込み制御回路9は情報処理装置のハ
ードウェアの情報をRAMに予め設定された条件にした
がって書込む手段を構成し、また、モードレジスタ8と
トレーサ書込み制御回路9は予め決められた条件が発生
すると書込みを停止する手段を構成し、また、このトレ
ーサ書込み制御回路9とトレーサ停止の信号116は上
記書込みを停止する手段によって停止したことをトレー
サデータ読出し手段に通仰する手段を構成している。
The tracer write control circuit 9 constitutes means for writing hardware information of the information processing device into the RAM according to preset conditions, and the mode register 8 and the tracer write control circuit 9 constitute means for writing hardware information of the information processing device into the RAM according to preset conditions. The tracer write control circuit 9 and the tracer stop signal 116 constitute means for notifying the tracer data reading means that the writing has been stopped by the means for stopping the writing. ing.

一方、オアゲートTはトレーサデータ読出し手段からの
シフト開始指示により停止したときのRAMアドレスで
指示されるトレースデータをシフトレジスタ5に設定す
る手段を杓属し、また、アダー4はシフトレジスタ5へ
の設定時にRAMアドレスを更新する手段を構成し、ま
た、シフトレジスタ5とトレーサシフトモードフリップ
フロップ11およびアンドゲート12ならびにシフトレ
ジスタ13と信号線106,108はトレーサデータ読
出し手段からのシフトクロックによりフトパルスタ5の
内容をそのトレーサデータ読出し手段にシフトアウトす
る手段を構成している。また、シフトレジスタ5とカウ
ンタ6およびオアゲート7は1ワードのトレースデータ
分のシフトクロックが出されたときに次のトレースデー
タをシフトレジスタ5に設定する手段を構成し、また、
カウンタ10とトレーサシフトモードフリップフロップ
11および立下り微分回路15はトレーサの全ワードの
読出し後にトレーサへの書込みを再開する手段を構成し
ている。
On the other hand, the OR gate T serves as a means for setting the trace data specified by the RAM address in the shift register 5 when stopped by a shift start instruction from the tracer data reading means, and the adder 4 provides a means for setting the trace data in the shift register 5. The shift register 5, the tracer shift mode flip-flop 11, the AND gate 12, the shift register 13, and the signal lines 106 and 108 are connected to the shift register 5, the tracer shift mode flip-flop 11, the AND gate 12, the shift register 13, and the signal lines 106 and 108. It constitutes means for shifting out the contents to the tracer data reading means. Further, the shift register 5, the counter 6, and the OR gate 7 constitute means for setting the next trace data in the shift register 5 when a shift clock for one word of trace data is issued.
Counter 10, tracer shift mode flip-flop 11 and falling differentiator circuit 15 constitute means for resuming writing to the tracer after reading all words of the tracer.

つぎにこの第1図および第2図に示す実施例の動作を説
明する。
Next, the operation of the embodiment shown in FIGS. 1 and 2 will be explained.

マス、サービスプロセッサからモードセレクタ8にトレ
ースモードを予め初期設定時にセットしておく。このモ
ードセレクタ8により指示されるデータを例えば、CS
、アドレス100を毎タロツクトレースするモードの場
合には、セレクタ2でC8t アドレス100をセレク
トし、信号107を通しトレーサ書込み制御回路9から
の出力指示で毎タロツクトレース用RAM 1に書込む
。そして、停止条件、例えば、エラー発生によって停止
条件が整うと信号114が有効となシ、トレーサ書込み
制御回路9は書込みを停止したことは第2図に示す構成
のトレーサデータ読出し手段にトレーサ停止の信号11
6により通知し、トレーサ停止制御回路14から信号線
105を通じてシフト開始信号Kjbトレーサシフトモ
ードフリップフロップ11をセットし、このトレーサシ
フトモードフリップフロップ11の出力とクロック信号
をアンドゲート12でアンド(AND)して、シフトク
ロック信号を信号線106を通じて第1図に示すトレー
サ部に送る。
The trace mode is previously set in the mode selector 8 from the mass/service processor at the time of initial setting. For example, the data specified by this mode selector 8 is
, in the mode in which address 100 is traced every tarot trace, C8t address 100 is selected by selector 2, and written into RAM 1 for every tarot trace in response to an output instruction from tracer write control circuit 9 through signal 107. When the stop condition, for example, the stop condition is satisfied due to the occurrence of an error, the signal 114 becomes valid, and the tracer write control circuit 9 informs the tracer data reading means of the configuration shown in FIG. signal 11
6, the tracer stop control circuit 14 sets the shift start signal Kjb through the signal line 105 to the tracer shift mode flip-flop 11, and the output of the tracer shift mode flip-flop 11 and the clock signal are ANDed by the AND gate 12. Then, the shift clock signal is sent to the tracer section shown in FIG. 1 through the signal line 106.

つぎに、シフト開始信号で信号線105を通じて送られ
てくると、オアゲートTでオア(OR)されてシフトレ
ジスタ5にトレース用RAM1のデータをセットする。
Next, when a shift start signal is sent through the signal line 105, it is ORed by an OR gate T and the data of the trace RAM 1 is set in the shift register 5.

これとともにアドレスレジスタ3の内容がアドレス更新
用アダー4により+1される。信号線106からのシフ
トクロックはその後連続的に出力され、シフトレジスタ
5からシフトレジスタ13にパス112を通じて読出さ
れる。そして、1ワ一ド分のデータ16ビツトが出力さ
れると、カウンタ6でオーバーフロー109が検出され
、アドレスレジスタ3を+1するとともにシフトレジス
タ5にトレース用RAM1 の出力をセットする。
At the same time, the contents of the address register 3 are incremented by 1 by the address update adder 4. The shift clock from signal line 106 is then continuously output and read out from shift register 5 to shift register 13 via path 112. When 16 bits of data corresponding to one word are output, an overflow 109 is detected by the counter 6, the address register 3 is incremented by 1, and the output of the trace RAM 1 is set in the shift register 5.

カウンタ10ではシフトクロックの数をカウントして、
トレーサの全データがシフトレジスタ13に読出された
ならば、トレーサシフトモードフリップ70ツブ11を
リセットすることにより、トレーサのシフトアウトを停
止し、トレーサシフト  ・モードフリップフロップ1
1の立下り微分回路15によυパルスが信号線117に
出力されて、トレーサ書込み制御回路9に書込み開始を
指示する。
Counter 10 counts the number of shift clocks,
Once all data of the tracer has been read to the shift register 13, the tracer shift out is stopped by resetting the tracer shift mode flip 70 knob 11, and the tracer shift mode flip-flop 1 is reset.
The falling differential circuit 15 outputs a υ pulse to the signal line 117 to instruct the tracer write control circuit 9 to start writing.

そして、読出し制御手段では、シフトレジスタ13の内
容を編集して補助記憶装置、例えば、ディスク装置に格
納して、サービスプロセッサからの読出し指示に備える
ことになる。
The read control means then edits the contents of the shift register 13 and stores it in an auxiliary storage device, for example, a disk device, in preparation for a read instruction from the service processor.

なお、上記の読出しシーケンスでは、1ワード毎にシフ
トレジスタ13には1ビツトのダミーのデータが読出さ
れるが、このダミーデータの取除きも編集時に実施され
る。
In the above reading sequence, 1-bit dummy data is read into the shift register 13 for each word, but this dummy data is also removed during editing.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、シフトパルスによりトレ
ーサデータを読取る手段と1ワードごとにトレーサデー
タをシフトレジスタに設定して、連続してトレーサデー
タを読出す手段を有することにより、トレーサデータの
読出しをシフトパス1本を便って、なおかつ高速に読出
すことができる効果がある。
As explained above, the present invention has means for reading tracer data using a shift pulse and means for setting tracer data in a shift register word by word and reading out the tracer data continuously. This has the advantage that it can be read out at high speed using one shift pass.

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

第1図は本発明の実施例を示すトレーサ部のブロック図
、第2図は本発明に用いるトレーサデータ読出し手段の
実施例を示すブロック図である。 11111@・トレース用RAM、2・・・命セレクタ
、3φ・・・アドレスレジスタ、4@・串・アダー、5
・・・・シフトレジスタ、6・−譬・カウンタ、7・・
・・オアゲート、8・・・・モードレジスタ、9・・・
・トレーサ書込み制御回路、10・・・・カウンタ、1
1−・・拳トレースシフトモードフリップフロップ、1
2・・・・アンドゲート、13・・嗜嗜シフトレジスタ
、14・・・・トレーサ停止制御回路、15・・・・立
下シ微分回路。 特許出願人  日本電気株式会社
FIG. 1 is a block diagram of a tracer section showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an embodiment of tracer data reading means used in the present invention. 11111@・RAM for tracing, 2... life selector, 3φ... address register, 4@・skewer/adder, 5
・・・Shift register, 6・-counter, 7・・
...OR gate, 8...Mode register, 9...
・Tracer write control circuit, 10...Counter, 1
1--Fist trace shift mode flip-flop, 1
2...AND gate, 13...Adjustment shift register, 14...Tracer stop control circuit, 15...Fall differential circuit. Patent applicant: NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置のハードウェアの情報をRAMに予め設定
された条件にしたがつて書込む手段を有するトレーサに
おいて、予め決められた条件が発生すると書込みを停止
する手段と、この手段によつて停止したことをトレーサ
データ読出し手段に通知する手段と、前記トレーサから
の読出しデータを保持するシフトレジスタと、前記トレ
ーサデータ読出し手段からのシフト開始指示により停止
したときのRAMアドレスで指示されるトレーサデータ
を前記シフトレジスタに設定する手段と、この手段によ
るシフトレジスタへの設定時に前記RAMアドレスを更
新する手段と、前記トレーサデータ読出し手段からのシ
フトクロックにより前記シフトレジスタの内容を該トレ
ーサデータ読出し手段にシフトアウトする手段と、1ワ
ードのトレーサデータ分のシフトクロックが出されたと
きに次のトレースデータを前記シフトレジスタに設定す
る手段と、トレーサの全ワードの読出し後に該トレーサ
への書込みを再開する手段とを備えてなることを特徴と
するトレーサ。
A tracer having a means for writing hardware information of an information processing device into a RAM according to preset conditions, and a means for stopping the writing when a predetermined condition occurs, and a means for stopping the writing by this means. means for notifying a tracer data reading means of this, a shift register for holding read data from the tracer, and a shift register for storing the tracer data indicated by the RAM address when the shift is stopped by the shift start instruction from the tracer data reading means means for setting in the shift register; means for updating the RAM address when setting in the shift register by the means; and shifting out the contents of the shift register to the tracer data reading means using a shift clock from the tracer data reading means. means for setting the next trace data in the shift register when a shift clock for one word of tracer data is issued; and means for restarting writing to the tracer after reading all the words of the tracer. A tracer characterized by comprising:
JP62309414A 1987-12-09 1987-12-09 Tracer Pending JPH01150945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62309414A JPH01150945A (en) 1987-12-09 1987-12-09 Tracer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62309414A JPH01150945A (en) 1987-12-09 1987-12-09 Tracer

Publications (1)

Publication Number Publication Date
JPH01150945A true JPH01150945A (en) 1989-06-13

Family

ID=17992718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62309414A Pending JPH01150945A (en) 1987-12-09 1987-12-09 Tracer

Country Status (1)

Country Link
JP (1) JPH01150945A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60120447A (en) * 1983-12-05 1985-06-27 Nec Corp Integrated logical circuit with built-in tracer
JPS62224842A (en) * 1986-03-26 1987-10-02 Nec Corp Action history storage system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60120447A (en) * 1983-12-05 1985-06-27 Nec Corp Integrated logical circuit with built-in tracer
JPS62224842A (en) * 1986-03-26 1987-10-02 Nec Corp Action history storage system

Similar Documents

Publication Publication Date Title
JPH0792779B2 (en) Data transfer controller
JPH01150945A (en) Tracer
JPH07101392B2 (en) Tracer
JPS61127026A (en) Optical disk controller
JPS62279438A (en) Tracking circuit
JPH0391195A (en) Memory circuit
JPS5888889A (en) Electronic computer
KR950014159B1 (en) Fifo register control method
JPS5533282A (en) Buffer control system
JPS6020237A (en) Disk controller
JPH01212911A (en) Timing generator
JPS6359169B2 (en)
JPS61276049A (en) Direct memory access control system
JPH0535815A (en) Logic simulator
JPH02204845A (en) Internal operation history recorder
JPS6292039A (en) Data processor
JPS6379145A (en) Trace control system
JPH01272000A (en) Lsi memory
JPS60112140A (en) Access system of stack
JPS62130436A (en) Trace controller
JPS62272333A (en) Tracer system
JPS626270B2 (en)
JPS63220496A (en) Semiconductor memory device
JPH01166144A (en) Debugging system for firmware program
JPH0675902A (en) Dma transfer circuit