JPH07101392B2 - Tracer - Google Patents

Tracer

Info

Publication number
JPH07101392B2
JPH07101392B2 JP63030993A JP3099388A JPH07101392B2 JP H07101392 B2 JPH07101392 B2 JP H07101392B2 JP 63030993 A JP63030993 A JP 63030993A JP 3099388 A JP3099388 A JP 3099388A JP H07101392 B2 JPH07101392 B2 JP H07101392B2
Authority
JP
Japan
Prior art keywords
tracer
ram
data
address
read instruction
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
Application number
JP63030993A
Other languages
Japanese (ja)
Other versions
JPH01206441A (en
Inventor
明久 牧田
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 JP63030993A priority Critical patent/JPH07101392B2/en
Publication of JPH01206441A publication Critical patent/JPH01206441A/en
Publication of JPH07101392B2 publication Critical patent/JPH07101392B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置のハードウエアの情報をRAMに予
め設定された条件にしたがつて書込む手段を有するトレ
ーサに係り、時にトレーサの読出し方式に関するもので
ある。
Description: TECHNICAL FIELD The present invention relates to a tracer having means for writing information of hardware of an information processing device to a RAM according to a preset condition, and sometimes reading of the tracer. It is related to the method.

〔従来の技術〕[Conventional technology]

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

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のトレーサでは、並列パスを使用していた
ため、トレーサ読出し手段が複数の情報処理装置の制御
を実施する場合には、並列パスが情報処理装置台数分必
要となり、ピンネツクでハードウエア量が増大するとい
う課題があつた。
In the above-mentioned conventional tracer, since the parallel path is used, when the tracer reading means controls a plurality of information processing devices, the parallel paths are required for the number of information processing devices, and the amount of hardware is pinned. There was a problem of increase.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明のトレーサは、情報処理装置のハードウエアの情
報をRAMに予め設定された条件にしたがつて書込む情報
書込手段を有するトレーサにおいて、予め決められた条
件が発生するとRAMへの情報の書込みを停止する書込停
止手段と、RAMへの情報の書込みが停止したことをトレ
ーサデータ読出し手段に通知する書込停止通知手段と、
この書込停止通知手段からの通知を受けてトレーサデー
タ読出し手段において読出し指示を生成する第1の読出
指示生成手段と、トレーサデータ読出し手段からの読出
し指示により、アドレスレジスタに格納されているその
時のRAMアドレスで指示されるRAM中の1ワードのトレー
スデータをシフトレジスタに設定するトレースデータ設
定手段と、このトレースデータ設定手段によるシフトレ
ジスタへのトレースデータの設定時にアドレスレジスタ
に格納されているRAMアドレスを更新するRAMアドレス更
新手段と、トレーサデータ読出し手段からの第1の読出
指示生成手段の生成する読出し指示と共に出力され始め
るシフトクロックによりシフトレジスタの内容を該トレ
ーサデータ読出し手段にシフトアウトするシフトアウト
手段と、1ワードのトレースデータ分のシフトクロック
が出力される毎にトレーサデータ読出し手段において読
出し指示を生成する第2の読出指示生成手段と、トレー
サデータ読出し手段へのRAM中の全データのシフトアウ
ト後に該RAMへの書込みを再開する書込再開手段とを備
えてなるものである。
The tracer of the present invention is a tracer having information writing means for writing information of hardware of an information processing device according to a preset condition in RAM, and when a predetermined condition occurs, information of Writing stop means for stopping writing, and writing stop notifying means for notifying the tracer data reading means that writing of information to the RAM has stopped,
In response to the notification from the write stop notifying means, the first read instruction generating means for generating the read instruction in the tracer data reading means, and the read instruction from the tracer data reading means, are stored in the address register at that time. Trace data setting means for setting one word of trace data in the RAM designated by the RAM address in the shift register, and the RAM address stored in the address register when the trace data is set in the shift register by the trace data setting means And RAM address updating means for updating the tracer data reading means and shift-out for shifting out the contents of the shift register to the tracer data reading means by the shift clock which starts to be output together with the read instruction generated by the first read instruction generating means Means and 1 word Second read instruction generating means for generating a read instruction in the tracer data reading means each time a shift clock for the trace data is output, and writing to the RAM after shifting out all the data in the RAM to the tracer data reading means. And a writing restarting means for restarting the writing.

〔作用〕[Action]

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

〔実施例〕 以下、図面に基づき本発明の実施例を詳細に説明する。Embodiments Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の実施例のトレーサ部のブロツク図であ
る。
FIG. 1 is a block diagram of the tracer unit according to the embodiment of the present invention.

図において、1はトレース用RAM、2はセレクタ、3はR
AM1用アドレスレジスタ、4はアドレス更新用アダー、
5はRAM1からの読出しデータを保持するシフトレジス
タ、12はトレースモードレジスタ、13はトレーサ書込み
制御回路である。なお、100,101・・・107,110,113,11
4,116,117,118は信号線を示し、108はパスを示す。ま
た、CS1アドレスおよびCS2アドレスはそれぞれ制御記憶
(1)アドレスおよび制御記憶(2)アドレス、ICは命
令カウンタである。
In the figure, 1 is a trace RAM, 2 is a selector, and 3 is R.
AM1 address register, 4 is an address update adder,
Reference numeral 5 is a shift register that holds read data from the RAM 1, 12 is a trace mode register, and 13 is a tracer write control circuit. Note that 100,101 ... 107,110,113,11
4, 116, 117 and 118 indicate signal lines, and 108 indicates a path. Further, the CS1 address and the CS2 address are a control memory (1) address and a control memory (2) address, respectively, and the IC is an instruction counter.

第2図は本発明の実施例のトレーサデータ読出し手段の
ブロツク図である。
FIG. 2 is a block diagram of the tracer data reading means of the embodiment of the present invention.

この第2図において第1図と同一符号のものは相当部分
を示し、8はカウンタ、9はトレーサシフトモードフリ
ツプフロツプ、10はアンドゲート、11はシフトレジス
タ、14はトレーサ読出制御回路、15は立下り微分回路、
16は立上り/立下り微分回路、17はオアゲートである。
なお、105,106,112,119は信号線を示す。
In FIG. 2, the same reference numerals as those in FIG. 1 indicate corresponding parts, 8 is a counter, 9 is a tracer shift mode flip-flop, 10 is an AND gate, 11 is a shift register, 14 is a tracer read control circuit, 15 is a falling differentiation circuit,
Reference numeral 16 is a rising / falling differentiation circuit, and 17 is an OR gate.
Note that 105, 106, 112, and 119 denote signal lines.

そして、トレース用RAM1とセレクタ2およびトレースモ
ードレジスタ12ならびにトレーサ書込制御回路13は情報
処理装置のハードウエアの情報をRAMに予め設定された
条件にしたがつて書込む情報書込手段を構成し、また、
トレースモードレジスタ12とトレーサ書込制御回路13は
予め決められた条件が発生すると書込みを停止する書込
停止手段を構成し、トレーサ書込制御回路13と信号線11
6は停止したことをトレーサデータ読出し手段に通知す
る書込停止通知手段を構成している。
The trace RAM 1, the selector 2, the trace mode register 12, and the tracer write control circuit 13 constitute an information writing means for writing the information of the hardware of the information processing device in the RAM according to a preset condition. ,Also,
The trace mode register 12 and the tracer write control circuit 13 constitute write stop means for stopping the write when a predetermined condition occurs, and the tracer write control circuit 13 and the signal line 11
Reference numeral 6 constitutes a write stop notifying means for notifying the tracer data reading means of the stop.

トレーサ読出制御回路14は書込停止手段からの通知を受
けて読出し指示を生成する第1の読出指示生成手段を構
成し、オアゲート17および信号線105ならびに信号線119
は、トレーサデータ読出し手段からの読出し指示によ
り、アドレスレジスタ3に格納されているその時のRAM
アドレスで指示されるRAM1中の1ワードのトレースデー
タをシフトレジスタ5に設定するトレースデータ設定手
段を構成し、また、アドレス更新用アダー4はシフトレ
ジスタ5へのトレースデータの設定時にアドレスレジス
タ3に格納されているRAMアドレスを更新するRAMアドレ
ス更新手段を構成している。シフトレジスタ5とアンド
ゲート10およびシフトレジスタ11ならびに信号線106と
シフトパス108はトレーサデータ読出し手段からのシフ
トクロックによりシフトレジスタ5の内容をそのトレー
ザデータ読出し手段にシフトアウトするシフトアウト手
段を構成している。また、カウンタ8と立上り/立下り
微分回路16は1ワードのトレースデータ分のシフトクロ
ックが出力される毎に読出し指示を生成する第2の読出
指示生成手段を構成し、カウンタ8とトレーサシフトモ
ードフリップフロップ9および立下り微分回路15はトレ
ーサデータ読出し手段へのRAM1への全データのシフトア
ウト後にRAM1への書込みを再開する書込再開手段を構成
している。
The tracer read control circuit 14 constitutes a first read instruction generating means for generating a read instruction in response to the notification from the write stop means, and the OR gate 17, the signal line 105 and the signal line 119.
Is stored in the address register 3 in response to a read instruction from the tracer data reading means.
The trace data setting means for setting the 1-word trace data in the RAM 1 designated by the address in the shift register 5 is constituted, and the address updating adder 4 is set in the address register 3 when the trace data is set in the shift register 5. The RAM address updating means for updating the stored RAM address is configured. The shift register 5, the AND gate 10, the shift register 11, the signal line 106 and the shift path 108 constitute a shift-out means for shifting out the contents of the shift register 5 to the tracer data reading means by the shift clock from the tracer data reading means. ing. Further, the counter 8 and the rising / falling differentiation circuit 16 constitute a second read instruction generating means for generating a read instruction each time a shift clock for one word of trace data is output, and the counter 8 and the tracer shift mode. The flip-flop 9 and the falling differentiating circuit 15 constitute a write resuming means for resuming writing to the RAM1 after shifting out all the data to the RAM1 to the tracer data reading means.

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

まず、サービスプロセツサからトレースモードレジスタ
12にトレースモードを予め初期設定時にセツトしてお
く。そして、このトレースモードレジスタ12により指示
されるデータを、例えば、CS1アドレスを毎クロツクト
レースするモードの場合には、セレクタ2でCS1アドレ
スをセレクトし、信号線107を通し書込み制御回路13か
らの出力指示で毎クロツクRAM1に書込む。ここで、停止
条件、例えばエラー発生によつて停止条件が整うと信号
線114を通る信号が有効となり、書込み制御回路13では
書込みを停止する。そして、この停止したことは第2図
に示すトレーサデータ読出し手段に信号線116を通る信
号により通知し、読出し制御回路14からの信号線119を
通る読出し指示信号により、トレーサシフトモードフリ
ツプフロツプ9をセツトし、クロツク信号とアンドゲー
ト10でアンドして、シフトクロツク信号を信号線106を
通じてトレーサ部に送り始める。
First, from the service processor, trace mode register
Set the trace mode to 12 in advance at the time of initial setting. Then, for example, in the case of the mode in which the CS1 address is clock-traced every time the data designated by the trace mode register 12 is selected, the selector 2 selects the CS1 address and the signal is transmitted through the signal line 107 from the write control circuit 13. Write to each clock RAM1 by output instruction. Here, when the stop condition, for example, the stop condition is satisfied due to the occurrence of an error, the signal passing through the signal line 114 becomes valid, and the write control circuit 13 stops the write. Then, this stop is notified to the tracer data reading means shown in FIG. 2 by a signal passing through the signal line 116, and by the read instruction signal from the read control circuit 14 passing through the signal line 119, the tracer shift mode flip-flop. 9 is set and ANDed with the clock signal by the AND gate 10 to start sending the shift clock signal to the tracer section through the signal line 106.

また、これと同時に、信号線119を通る読出し指示信号
がオアゲート17を通じて信号線105経由でトレース部へ
送られる。トレース部では、送られてくる読出し指示信
号を受けて、アドレスレジスタ3に格納されているその
時のRAMアドレス(書込停止時のRAMアドレス)で指示さ
れるRAM1中の1ワードのトレースデータをシフトレジス
タ5にセツトすると同時にアドレスレジスタ3の内容を
アドレス更新用アダー4により+1する。そして、シフ
トクロック信号は信号線106を通じてその後連続的に出
力され、シフトレジスタ5からシフトレジスタ11にシフ
トパス108を通じてシフトアウトされる。そして、1ワ
ード分のデータ16ビットが出力されると、すなわち1ワ
ードのトレースデータ分のシフトクロックが出力される
と、カウンタ8の途中の出力を立上り/立下り微分回路
16で微分をとって読出し指示信号が生成され、この読出
し指示信号がオアゲート17を介してトレース部へ送られ
る。トレース部では、送られてくる読出し指示信号を受
けて、アドレスレジスタ3に格納されているその時のRA
Mアドレス(+1されたRAMアドレス)で指示されるRAM1
中の1ワードのトレースデータをシフトレジスタ5にセ
ットすると同時に、アドレスレジスタ3の内容をアドレ
ス更新用アダー4により+1する。
At the same time, a read instruction signal passing through the signal line 119 is sent to the trace unit through the OR gate 17 and the signal line 105. The trace unit receives the read instruction signal and shifts the 1-word trace data in RAM1 designated by the RAM address at that time (RAM address when writing is stopped) stored in the address register 3. At the same time as setting in the register 5, the contents of the address register 3 are incremented by 1 by the address updating adder 4. The shift clock signal is then continuously output through the signal line 106, and is shifted out from the shift register 5 to the shift register 11 through the shift path 108. When 16 bits of data for one word are output, that is, when a shift clock for one word of trace data is output, the output in the middle of the counter 8 is changed to a rising / falling differentiation circuit.
A read instruction signal is generated by differentiating at 16 and this read instruction signal is sent to the trace unit via the OR gate 17. The trace unit receives the read instruction signal sent and stores the RA stored at that time in the address register 3.
RAM1 designated by M address (+1 incremented RAM address)
The trace data of one word is set in the shift register 5 and at the same time, the content of the address register 3 is incremented by 1 by the address updating adder 4.

カウンタ8は、シフトクロックの数をカウントし、RAM1
中の全データがシフトレジスタ11へシフトアウトされた
ならば、トレーサシフトモードフリップフロップ9をリ
セットする。これにより、シフトクロック信号の送出が
停止すると共に、立下り微分回路15によりパルスが信号
線117に出力されて、トレーサ書込み制御回路13に書込
み開始が指示される。
The counter 8 counts the number of shift clocks, and the RAM1
When all the data in it have been shifted out to the shift register 11, the tracer shift mode flip-flop 9 is reset. As a result, the transmission of the shift clock signal is stopped, and at the same time, the trailing edge differentiation circuit 15 outputs a pulse to the signal line 117 to instruct the tracer writing control circuit 13 to start writing.

そして、トレーサデータ読出し手段では、シフトアウト
されたデータを編集して、デイスクに格納しておき、サ
ービスプロセツサからの読出し指示に備える。
Then, the tracer data reading means edits the shifted out data and stores the edited data in a disk to prepare for a reading instruction from the service processor.

なお、この実施例では、1ワード毎の読出し指示を出す
ときに1ビツトのダミーデータがシフトレジスタ11に読
込まれることになるが、このダミービツトは編集時に取
除かれることになる。
In this embodiment, one bit of dummy data is read into the shift register 11 when a read instruction for each word is issued, but this dummy bit is removed during editing.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、シフトパスによりトレ
ーサデータを読取る手段と1ワードごとにトレーサデー
タをシフトレジスタに設定して、連続してトレーサデー
タを読出す手段を有することにより、トレーサデータの
読出しをシフトパス1本を使つて、なおかつ高速に読出
せる効果がある。
As described above, the present invention has means for reading the tracer data by the shift path and means for setting the tracer data for each word in the shift register and continuously reading the tracer data. Using one shift path, there is an effect that it can be read at high speed.

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

第1図は本発明の実施例のトレーサ部のブロツク図、第
2図は本発明の実施例のトレーサデータ読出し手段のブ
ロツク図である。 1……トレース用RAM、2……セレクタ、3……アドレ
スレジスタ、4……アドレス更新用アダー、5……シフ
トレジスタ、8……カウンタ、9……トレーサシフトモ
ードフリツプフロツプ、10……アンドゲート、11……シ
フトレジスタ、12……トレースモードレジスタ、13……
トレーサ書込み制御回路、14……トレーサ読出し制御回
路、15……立下り微分回路、16……立上り/立下り微分
回路、17……オアゲート。
FIG. 1 is a block diagram of the tracer section of the embodiment of the present invention, and FIG. 2 is a block diagram of the tracer data reading means of the embodiment of the present invention. 1 ... Trace RAM, 2 ... Selector, 3 ... Address register, 4 ... Address update adder, 5 ... Shift register, 8 ... Counter, 9 ... Tracer Shift mode flip-flop, 10 ... … And gate, 11 …… Shift register, 12 …… Trace mode register, 13 ……
Tracer write control circuit, 14 ... Tracer read control circuit, 15 ... Falling differentiation circuit, 16 ... Rising / falling differentiation circuit, 17 ... OR gate.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】情報処理装置のハードウェアの情報をRAM
に予め設定された条件にしたがって書込む情報書込手段
を有するトレーサにおいて、 予め決められた条件が発生すると前記RAMへの情報の書
込みを停止する書込停止手段と、 前記RAMへの情報の書込みが停止したことをトレーサデ
ータ読出し手段に通知する書込停止通知手段と、 この書込停止通知手段からの通知を受けて前記トレーサ
データ読出し手段において読出し指示を生成する第1の
読出指示生成手段と、 前記トレーサデータ読出し手段からの読出し指示によ
り、アドレスレジスタに格納されているその時のRAMア
ドレスで指示される前記RAM中の1ワードのトレースデ
ータをシフトレジスタに設定するトレースデータ設定手
段と、 このトレースデータ設定手段によるシフトレジスタへの
トレースデータの設定時に前記アドレスレジスタに格納
されているRAMアドレスを更新するRAMアドレス更新手段
と、 前記トレーサデータ読出し手段からの前記第1の読出指
示生成手段の生成する読出し指示と共に出力され始める
シフトクロックにより前記シフトレジスタの内容を該ト
レーサデータ読出し手段にシフトアウトするシフトアウ
ト手段と、 1ワードのトレースデータ分の前記シフトクロックが出
力される毎に前記トレーサデータ読出し手段において読
出し指示を生成する第2の読出指示生成手段と、 前記ドレーサデータ読出し手段への前記RAM中の全デー
タのシフトアウト後に該RAMへの書込みを再開する書込
再開手段と を備えてなることを特徴とするトレーサ。
1. A RAM for information of hardware of an information processing device
A tracer having information writing means for writing in accordance with a preset condition, write stop means for stopping writing information in the RAM when a predetermined condition occurs, and writing information in the RAM Write stop notifying means for notifying the tracer data reading means that the reading has stopped, and first read instruction generating means for generating a read instruction in the tracer data reading means in response to the notification from the write stop notifying means. Trace data setting means for setting, in a shift register, one word of trace data in the RAM which is stored in an address register and is designated by the RAM address at that time, in response to a read instruction from the tracer data reading means, When setting the trace data to the shift register by the data setting means, RAM address updating means for updating the stored RAM address, and a shift clock that starts to be output together with the read instruction generated by the first read instruction generating means from the tracer data reading means, and the contents of the shift register are traced by the tracer. Shift-out means for shifting out to the data reading means; second read-instruction generating means for generating a read instruction in the tracer-data reading means each time the shift clock for one word of trace data is output; And a write resuming means for resuming writing to the RAM after all the data in the RAM is shifted out to the data reading means.
JP63030993A 1988-02-15 1988-02-15 Tracer Expired - Lifetime JPH07101392B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63030993A JPH07101392B2 (en) 1988-02-15 1988-02-15 Tracer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63030993A JPH07101392B2 (en) 1988-02-15 1988-02-15 Tracer

Publications (2)

Publication Number Publication Date
JPH01206441A JPH01206441A (en) 1989-08-18
JPH07101392B2 true JPH07101392B2 (en) 1995-11-01

Family

ID=12319128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63030993A Expired - Lifetime JPH07101392B2 (en) 1988-02-15 1988-02-15 Tracer

Country Status (1)

Country Link
JP (1) JPH07101392B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2678085B2 (en) * 1990-09-27 1997-11-17 富士通株式会社 Tracer
JP2637276B2 (en) * 1990-10-01 1997-08-06 富士通株式会社 Tracer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58181154A (en) * 1982-04-16 1983-10-22 Nec Corp Microprogram tracing device
JPS6158053A (en) * 1984-08-29 1986-03-25 Nec Corp Integrated logical circuit with built-in tracer

Also Published As

Publication number Publication date
JPH01206441A (en) 1989-08-18

Similar Documents

Publication Publication Date Title
AU619088B2 (en) A partially storing control circuit used in a memory unit
GB1002159A (en) Data processing system
JPH07101392B2 (en) Tracer
JPH0766640B2 (en) Servo pattern writing method
US4238834A (en) Apparatus for coordinating real time transfer of data from a processor to a magnetic media device
JPS6265147A (en) Bus tracing system
JPH01150945A (en) Tracer
JPH0461096A (en) Memory control device
JPH0711559B2 (en) Test pattern generator
JPS63129432A (en) Program address tracing device
JPH01202021A (en) Writing timing signal generating circuit
JP2825102B2 (en) Semiconductor circuit
JPH03278394A (en) Synchronous sram device
SU1246140A1 (en) Storage with program correction
JPS5888889A (en) Electronic computer
JP2548795B2 (en) Scan memory recording method
JPS61269288A (en) Storage element module
SU1348841A1 (en) Device for forming interruption signals in program debugging
JPS5944589B2 (en) Test pattern generator with inspection function
JPS59178686A (en) Integrated circuit
JPS5917468B2 (en) Program counter trajectory storage device
JPS55163677A (en) Memory read control system
JPH045292B2 (en)
JPH0565948B2 (en)
JPH0336644A (en) Memory control system