JP2758858B2 - Specific data trace device - Google Patents

Specific data trace device

Info

Publication number
JP2758858B2
JP2758858B2 JP7160473A JP16047395A JP2758858B2 JP 2758858 B2 JP2758858 B2 JP 2758858B2 JP 7160473 A JP7160473 A JP 7160473A JP 16047395 A JP16047395 A JP 16047395A JP 2758858 B2 JP2758858 B2 JP 2758858B2
Authority
JP
Japan
Prior art keywords
address
bus
unit
data
tag
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
JP7160473A
Other languages
Japanese (ja)
Other versions
JPH0916439A (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
NEC Saitama Ltd
Original Assignee
NEC Saitama Ltd
Nippon Electric Co Ltd
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 Saitama Ltd, Nippon Electric Co Ltd filed Critical NEC Saitama Ltd
Priority to JP7160473A priority Critical patent/JP2758858B2/en
Publication of JPH0916439A publication Critical patent/JPH0916439A/en
Application granted granted Critical
Publication of JP2758858B2 publication Critical patent/JP2758858B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は特定データトレース装置
に関し、特にコンピュータ装置内部のバスを監視して特
定データを追跡する特定データトレース装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a specific data tracing device, and more particularly to a specific data tracing device for monitoring a specific data by monitoring a bus inside a computer device.

【0002】[0002]

【従来の技術】従来の技術の一例として、特開昭62−
2332号公報に所載の「データ収集方式」を挙げるこ
とができる。
2. Description of the Related Art Japanese Patent Application Laid-Open No.
No. 2332, “Data collection method” can be mentioned.

【0003】図9は従来のデータ収集方式の一例を示す
ブロック図で、上記公報に記載されたものと同等であ
る。
FIG. 9 is a block diagram showing an example of a conventional data collection system, which is equivalent to that described in the above-mentioned publication.

【0004】図9を参照すると、この従来例は、CPU
601,RAM602およびROM603を含む被デー
タ収集装置600と、トリガアドレスエリア設定部70
1および比較部702を含むトリガアドレスエリア設定
比較部700と、ロジックアナライザ800とから構成
されている。
Referring to FIG. 9, this conventional example is based on a CPU.
601, a data collection device 600 including a RAM 602 and a ROM 603, and a trigger address area setting unit 70.
1 and a trigger address area setting / comparing unit 700 including a comparing unit 702, and a logic analyzer 800.

【0005】そして、CPU601,RAM602,R
OM603,ロジックアナライザ800および比較部7
02はアドレス線604によって接続され、このアドレ
ス線604からのアドレス情報はトリガアドレスエリア
設定部701からのアドレス値と比較部702によって
比較される。
The CPU 601, the RAM 602, and the R
OM603, logic analyzer 800 and comparison unit 7
02 is connected by an address line 604, and the address information from the address line 604 is compared with the address value from the trigger address area setting unit 701 by the comparing unit 702.

【0006】CPU601はMIサイクル線605によ
って比較部702の比較結果をサンプリングし、アドレ
スエリア内と判断されたときには比較部702から外部
クロック線703にパルスが出力される。
The CPU 601 samples the comparison result of the comparison unit 702 using the MI cycle line 605, and outputs a pulse from the comparison unit 702 to the external clock line 703 when it is determined that the address is within the address area.

【0007】ロジックアナライザ800はこのパルスに
よってアドレス線604上のアドレス情報を蓄積する。
The logic analyzer 800 accumulates address information on the address line 604 by this pulse.

【0008】この構成をとる従来例は、トレースしたい
データのみを収集し、CPU実効アドレスが設定エリア
内であるときにのみロジックアナライザへ外部クロック
を供給するので、ロジックアナライザ内のメモリエリア
を有効に利用することができるとしている。
In the conventional example having this configuration, only the data to be traced is collected and an external clock is supplied to the logic analyzer only when the CPU effective address is within the set area, so that the memory area in the logic analyzer can be effectively used. It can be used.

【0009】[0009]

【発明が解決しようとする課題】この従来のデータ収集
方式では、データのトレースを実行する前にあらかじめ
トリガポイントとなるアドレス値またはアドレスエリア
を設定しておく必要があり、特定のデータを追跡すると
きは、特定データのリード・ライト転送などの都度すべ
てのアドレスを調べておく必要があるので、その設定が
煩雑であるばかりでなく、設定ミスが発生する危険性が
あるという問題点があった。
In this conventional data collection method, it is necessary to set an address value or an address area serving as a trigger point before executing data tracing, so that specific data is tracked. Sometimes, it is necessary to check all addresses each time read / write transfer of specific data is performed, so that not only is the setting complicated, but there is a risk that a setting error may occur. .

【0010】本発明の目的は、コンピュータ装置の内部
のバスにアナライザ部を接続し、コンピュータ装置内部
ではタグコードをデータとともに転送することにより、
特定データがCPU,メモリおよび入出力部の間を異な
るアドレス情報で転送されても、アドレス条件を設定せ
ずに自動的にトレースすることができる特定データトレ
ース装置を提供することにある。
[0010] An object of the present invention is to connect an analyzer unit to a bus inside a computer device and transfer a tag code together with data inside the computer device.
It is an object of the present invention to provide a specific data tracing device capable of automatically tracing without setting address conditions even if specific data is transferred between a CPU, a memory, and an input / output unit with different address information.

【0011】[0011]

【課題を解決するための手段】本発明によれば、CPU
と、メモリと、入出力部とを備えるコンピュータ装置の
内部のバス上の特定データをトレースする特定データト
レース装置において、前記バスに接続され且つ前記コン
ピュータ装置の内部でタグコードを前記特定データとと
もに転送するアナライザ部を備え、このアナライザ部は
前記特定データを発見するための条件を設定した後前記
タグコードにより前記特定データを検出することを特徴
とする特定データトレース装置が得られる。
According to the present invention, a CPU is provided.
A specific data tracing device for tracing specific data on a bus inside a computer device having a memory and an input / output unit, wherein the tag code is connected to the bus and transferred inside the computer device together with the specific data. A specific data tracing apparatus, wherein the analyzer unit sets conditions for finding the specific data and then detects the specific data by the tag code.

【0012】また、前記アナライザ部は前記バス上のア
ドレス,データおよび制御信号を監視してあらかじめ設
定された前記条件との一致を検出するバス監視部と、前
記条件が一致したときに前記バス上の前記アドレス,デ
ータおよび制御信号を取り込んで記憶するトレース用メ
モリ部と、前記条件が一致したときに前記バス上の前記
データに付加されている前記タグコードを送出するタグ
送出部と、前記タグコードを検出するタグ検出部と、前
記タグコードが検出されたときに前記バス上のアドレス
値を記憶するアドレスラッチ部と、このアドレスラッチ
部に記憶された前記アドレス値と前記バス上の前記アド
レス値とを比較するアドレス比較部とを備えることを特
徴とする特定データトレース装置が得られる。
The analyzer unit monitors an address, data, and a control signal on the bus to detect a match with the preset condition, and a bus monitor unit for detecting a match with the preset condition. A tracing memory unit for fetching and storing the address, data and control signal, a tag transmitting unit for transmitting the tag code added to the data on the bus when the condition is satisfied, A tag detection unit for detecting a code, an address latch unit for storing an address value on the bus when the tag code is detected, and the address value stored in the address latch unit and the address on the bus. A specific data tracing device comprising an address comparing unit for comparing the value with a value is obtained.

【0013】[0013]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0014】図1は本発明の特定データトレース装置の
一実施例を示すブロック図である。図1を参照すると、
本実施例はCPU部100,入出力部300,データメ
モリ部400およびインストラクションメモリ部500
がバス115によって相互に接続されたコンピュータ装
置900と、コンピュータ装置900を監視およびトレ
ースするアナライザ部200とで構成され、アナライザ
部200とコンピュータ装置900はバス115および
タグバス111によって接続されている。
FIG. 1 is a block diagram showing an embodiment of a specific data tracing apparatus according to the present invention. Referring to FIG.
In this embodiment, the CPU unit 100, the input / output unit 300, the data memory unit 400, and the instruction memory unit 500
Are composed of a computer device 900 mutually connected by a bus 115, and an analyzer unit 200 for monitoring and tracing the computer device 900. The analyzer unit 200 and the computer device 900 are connected by a bus 115 and a tag bus 111.

【0015】アナライザ部200はタグ制御部210
と、アナライザ制御部270と、アナライザ操作部29
8と、バス監視部299とを備えている。
The analyzer unit 200 includes a tag control unit 210
, Analyzer control unit 270 and analyzer operation unit 29
8 and a bus monitoring unit 299.

【0016】そして、バス監視部299によってコンピ
ュータ装置900のバス115を監視するとともに、バ
ス115上の情報を取り込んでトレースする。
Then, the bus 115 of the computer 900 is monitored by the bus monitor 299, and the information on the bus 115 is fetched and traced.

【0017】タグ制御部210はバス監視部299によ
ってトリガがかかったときにタグコードを生成し、タグ
バス111を通してCPU部100にタグコードをデー
タの一部として送り込むとともに、CPU部100から
出力されたタグコードを監視してバス監視部299のト
レースのトリガとしても使用する。
The tag control section 210 generates a tag code when a trigger is applied by the bus monitoring section 299, sends the tag code to the CPU section 100 as a part of the data through the tag bus 111, and outputs the tag code from the CPU section 100. The tag code is monitored and used as a trace trigger of the bus monitoring unit 299.

【0018】アナライザ操作部298はバス監視部29
9にトリガ条件を設定するとともに、トレース結果を表
示する。
The analyzer operation unit 298 is a bus monitoring unit 29
9 is set as a trigger condition, and a trace result is displayed.

【0019】アナライザ制御部270はアナライザ部2
00の全体を制御するもので、アナライザ操作部29
8,バス監視部299およびタグ制御部210の相互間
のデータ転送とその制御を行う。
The analyzer control unit 270 includes the analyzer unit 2
00 is controlled by the analyzer operation unit 29
8. Data transfer between the bus monitoring unit 299 and the tag control unit 210 and control thereof.

【0020】コンピュータ装置900は主にデータ通信
を行う装置であって、入出力部300が通信回線901
を通して外部との通信を行う。
The computer device 900 is a device for mainly performing data communication.
Communication with the outside through

【0021】複数の入出力部300(図では1個のみを
示している)がバス115に接続されている。そして、
通信回線901を通して入出力部300によって受信さ
れたデータはバス115を通してCPU部100に取り
込まれ、データメモリ部400との間でデータリード・
ライトを行いながら処理され、その処理結果は入出力部
300から通信回線901へ送信される。
A plurality of input / output units 300 (only one is shown in the figure) are connected to the bus 115. And
The data received by the input / output unit 300 via the communication line 901 is taken into the CPU unit 100 via the bus 115, and the data read /
The processing is performed while writing is performed, and the processing result is transmitted from the input / output unit 300 to the communication line 901.

【0022】インストラクションメモリ部500はCP
U部100の命令を記憶しているもので、CPU部10
0はこの命令を読み出して実行する。
The instruction memory unit 500 has a CP
Stores the instruction of the U unit 100, and stores
0 reads and executes this instruction.

【0023】図2は図1におけるアナライザ部の内部ブ
ロック図で、バス監視部およびタグ制御部の詳細を示し
ている。
FIG. 2 is an internal block diagram of the analyzer unit in FIG. 1, showing details of the bus monitoring unit and the tag control unit.

【0024】コンピュータ装置900内のバス115は
アドレスバス285,データバス286および制御信号
バス287から構成されている。
The bus 115 in the computer 900 comprises an address bus 285, a data bus 286, and a control signal bus 287.

【0025】そして、アドレスバス285はアドレス比
較部220,アドレスラッチ部230,アドレス比較部
240およびトレース用メモリ部260に接続され、デ
ータバス286はトレース用メモリ部260に接続さ
れ、制御信号バス287によりアドレスストローブ信号
およびデータストローブ信号がアナライザ制御部270
に入力される。タグバス111は双方向信号としてタグ
制御部210から入出力される。
The address bus 285 is connected to the address comparing section 220, the address latching section 230, the address comparing section 240 and the tracing memory section 260, and the data bus 286 is connected to the tracing memory section 260 and the control signal bus 287 The address strobe signal and the data strobe signal are changed by the analyzer control unit 270
Is input to The tag bus 111 is input and output from the tag control unit 210 as a bidirectional signal.

【0026】アドレス比較部240はアナライザ制御部
270からのアドレス設定信号288によってアドレス
設定部250に設定されたアドレス値289とアドレス
バス285上のアドレス値とを比較し、一致したときは
アドレス一致信号283をアナライザ制御部270に通
報するとともにタグ制御部210にも通報する。
The address comparing section 240 compares the address value 289 set in the address setting section 250 by the address setting signal 288 from the analyzer control section 270 with the address value on the address bus 285. 283 to the analyzer controller 270 and the tag controller 210.

【0027】タグ制御部210はタグコード104を生
成してタグバス111に出力する。また、タグ制御部2
10はタグバス111を監視して有効なタグコード10
4を検出すると、タグコード検出信号282をアナライ
ザ制御部270に通報するとともにアドレスラッチ部2
30にパルスを送り、そのときのアドレスバス285上
のアドレス情報をアドレスラッチ部230に記憶する。
The tag control section 210 generates the tag code 104 and outputs it to the tag bus 111. Tag control unit 2
Reference numeral 10 indicates a valid tag code 10 by monitoring the tag bus 111.
4 is detected, the tag code detection signal 282 is notified to the analyzer control unit 270 and the address latch unit 2 is detected.
A pulse is sent to the address 30 and the address information on the address bus 285 at that time is stored in the address latch unit 230.

【0028】アドレスラッチ部230に記憶されたアド
レス情報とアドレスバス285上のアドレス情報とをア
ドレス比較部220において比較し、一致したときはア
ドレス一致信号284をアナライザ制御部270に通報
する。
The address information stored in the address latch unit 230 and the address information on the address bus 285 are compared in the address comparing unit 220, and when they match, an address match signal 284 is reported to the analyzer control unit 270.

【0029】アナライザ制御部270はアドレス比較部
240でのアドレス一致信号283,タグ制御部210
で有効なタグコードを検出したことを示すタグコード検
出信号282およびアドレス比較部220でのアドレス
一致信号284のいずれかを受けると、トレース用メモ
リ部260にライト信号291を送り、そのときのアド
レスバス285上のアドレス情報とデータバス286上
のデータとをトレース用メモリ部260に記憶する。
The analyzer control section 270 has an address match signal 283 in the address comparison section 240 and a tag control section 210.
Receives a tag code detection signal 282 indicating that a valid tag code has been detected and an address match signal 284 in the address comparison section 220, sends a write signal 291 to the tracing memory section 260 and outputs the address at that time. The address information on the bus 285 and the data on the data bus 286 are stored in the trace memory 260.

【0030】これらのアドレス情報およびデータを記憶
した直後にトレース用メモリ部260のアドレス情報2
92をアナライザ制御部270によって更新する。
Immediately after storing these address information and data, the address information 2 in the trace memory 260 is stored.
92 is updated by the analyzer control unit 270.

【0031】なお、アナライザ制御部270はトレース
用メモリ部260の出力データ290の読出し制御も行
う。
The analyzer control section 270 also controls the reading of the output data 290 from the trace memory section 260.

【0032】次に、図3は図2におけるタグ制御部内の
タグコード送出部,アドレス比較部およびアドレス設定
部の詳細を示すブロック図である。
FIG. 3 is a block diagram showing details of the tag code sending section, address comparing section and address setting section in the tag control section in FIG.

【0033】図2に示したタグ制御部210内部のタグ
コード送出部は図3に示すようにエンコーダ212とバ
ッファ213とから構成されている。
The tag code sending section in the tag control section 210 shown in FIG. 2 is composed of an encoder 212 and a buffer 213 as shown in FIG.

【0034】また、アドレス設定部250は3個の異な
るアドレス設定を行うためにアドレス設定251,アド
レス設定252およびアドレス設定253から構成さ
れ、それぞれアナライザ制御部270からのアドレス設
定信号288によりアドレス設定が行われる。
The address setting section 250 is composed of an address setting 251, an address setting 252, and an address setting 253 for performing three different address settings, and the address setting is performed by an address setting signal 288 from the analyzer control section 270, respectively. Done.

【0035】さらに、アドレス比較部240はアドレス
比較241,アドレス比較242およびアドレス比較2
43から構成され、アドレスバス285上のアドレス値
とアドレス設定251,アドレス設定252およびアド
レス設定253で設定されたアドレス値289とをそれ
ぞれ比較する。
Further, the address comparison unit 240 includes an address comparison 241, an address comparison 242, and an address comparison 2
43, and compares the address value on the address bus 285 with the address value 289 set by the address setting 251, the address setting 252 and the address setting 253, respectively.

【0036】アドレス比較241,アドレス比較242
およびアドレス比較243からのアドレス一致信号28
3はそれぞれエンコーダ212の入力1,2および3に
入力されてエンコードされる。
Address comparison 241, address comparison 242
And address match signal 28 from address comparison 243
3 is input to inputs 1, 2, and 3 of the encoder 212 and is encoded.

【0037】アドレス比較241でアドレス一致信号2
83が出力されたときはエンコーダ212の出力は“0
1”、またアドレス比較242でアドレス一致信号28
3が出力されたときはエンコーダ212の出力は“1
0”、さらにアドレス比較243でアドレス一致信号2
83が出力されたときはエンコーダ212の出力は“1
1”となり、3個のアドレス比較241,242および
243のいずれからもアドレス一致信号が出力されない
ときはエンコーダ212の出力は“00”となる。
In the address comparison 241, the address match signal 2
When 83 is output, the output of the encoder 212 is “0”.
1 ", and the address comparison signal
3 is output, the output of the encoder 212 is “1”.
0 ", and the address match signal 2
When 83 is output, the output of the encoder 212 is “1”.
When the address match signal is not output from any of the three address comparisons 241, 242 and 243, the output of the encoder 212 is “00”.

【0038】リード・ライト信号281がリードサイク
ルの時にエンコーダ212の出力はバッファ213を通
してタグバス111に出力される。なお、タグバス11
1のタグコードは2ビット構成とし、タグコードが“0
0”であれば、これは無効なタグコードと定義してい
る。
When the read / write signal 281 is in a read cycle, the output of the encoder 212 is output to the tag bus 111 through the buffer 213. The tag bus 11
The tag code of 1 has a 2-bit configuration, and the tag code is “0”.
If it is "0", this is defined as an invalid tag code.

【0039】次に、図4は図2におけるタグ制御部内の
タグコード検出部,アドレスラッチ部およびアドレス比
較部の詳細を示すブロック図である。
FIG. 4 is a block diagram showing the details of the tag code detector, address latch and address comparator in the tag controller in FIG.

【0040】図2に示したタグ制御部210内部のタグ
コード送出部は図4に示すようにデコーダ211から構
成されている。
The tag code transmission section in the tag control section 210 shown in FIG. 2 is composed of a decoder 211 as shown in FIG.

【0041】また、アドレスラッチ部230は3通りの
アドレスをラッチするためにアドレスラッチ231,ア
ドレスラッチ232およびアドレスラッチ233から構
成されている。
The address latch section 230 comprises an address latch 231, an address latch 232, and an address latch 233 for latching three types of addresses.

【0042】さらに、アドレス比較部220はアドレス
比較221,アドレス比較222およびアドレス比較2
23から構成され、アドレスバス285上のアドレス情
報とアドレスラッチ231,アドレスラッチ232およ
びアドレスラッチ233のアドレス情報とがそれぞれ比
較される。
Further, the address comparing section 220 includes an address comparing section 221, an address comparing section 222 and an address comparing section 2.
The address information on the address bus 285 is compared with the address information on the address latch 231, the address latch 232, and the address latch 233.

【0043】そして、アドレス比較221,アドレス比
較222およびアドレス比較223のアドレス一致信号
284はアナライザ制御部270に通報される。
Then, the address match signal 284 of the address comparison 221, the address comparison 222 and the address comparison 223 is sent to the analyzer control section 270.

【0044】デコーダ211はタグバス111を監視
し、データストローブ信号のタイミングでタグコードを
解析し、タグコードが“01”のときはアドレスラッチ
231に、またタグコードが“10”のときはアドレス
ラッチ232に、さらにタグコードが“11”のときは
アドレスラッチ233にタグコード検出信号282を送
り、そのときのアドレスバス285上のアドレス値を記
憶する。
The decoder 211 monitors the tag bus 111 and analyzes the tag code at the timing of the data strobe signal. When the tag code is "01", it is stored in the address latch 231. When the tag code is "10", the address latch 231 is read. When the tag code is "11", the tag code detection signal 282 is sent to the address latch 233, and the address value on the address bus 285 at that time is stored.

【0045】記憶されたアドレス値は図2に示すアドレ
ス比較部220でアドレスバス285の以降の監視に利
用される。
The stored address value is used for subsequent monitoring of the address bus 285 by the address comparing section 220 shown in FIG.

【0046】次に、図5は図1におけるCPU部の内部
ブロック図、図6は図5における内部バス上のデータ構
造の一例を示す図である。
Next, FIG. 5 is an internal block diagram of the CPU unit in FIG. 1, and FIG. 6 is a diagram showing an example of a data structure on the internal bus in FIG.

【0047】バス115は前述したようにアドレスバス
285,データバス286および制御信号バス287か
ら構成されている。
The bus 115 is composed of the address bus 285, the data bus 286, and the control signal bus 287 as described above.

【0048】そして、タグバス111とデータバス28
6とは双方向バッファ101を通してCPU部の内部バ
ス110に接続されている。
The tag bus 111 and the data bus 28
6 is connected to the internal bus 110 of the CPU unit through the bidirectional buffer 101.

【0049】内部バス110は制御レジスタ105,汎
用レジスタ106,テンポラリレジスタ107A,テン
ポラリレジスタ107B,ALU108およびインスト
ラクション解析・実行部109に接続されて相互間のデ
ータ転送を行う。
The internal bus 110 is connected to the control register 105, the general-purpose register 106, the temporary register 107A, the temporary register 107B, the ALU 108, and the instruction analyzing / executing unit 109, and performs data transfer between them.

【0050】タグコードは内部バス110上ではデータ
バス286に出力するデータとともに転送される。
The tag code is transferred on the internal bus 110 together with the data output to the data bus 286.

【0051】制御レジスタ105はバッファ102を通
してアドレスバス285にアドレス情報を出力し、バス
制御部114はバッファ103を通して制御信号バス2
87との間で制御信号の転送を行う。
The control register 105 outputs address information to the address bus 285 through the buffer 102, and the bus control unit 114 controls the control signal bus 2 through the buffer 103.
The transfer of the control signal is performed between the control signal and the control signal 87.

【0052】内部バス110上のデータ構造は、図6に
示すようにデータ部(D0 ,…,D15)の16ビット
と、タグ部(T0 ,T1 )の2ビットとから構成され、
合計18ビットがCPU部の内部を転送される。ただ
し、タグ部は演算を実行するときには除外されて処理す
るものとする。
The data structure on the internal bus 110 is composed of 16 bits of the data section (D 0 ,..., D 15 ) and 2 bits of the tag section (T 0 , T 1 ) as shown in FIG. ,
A total of 18 bits are transferred inside the CPU section. However, it is assumed that the tag section is excluded when performing the calculation and is processed.

【0053】次に、図7は図1におけるバスとタグバス
上の信号およびデータの転送タイミング例を示し、
(a),(b)はそれぞれライトサイクル,リードサイ
クルにおけるタイミングチャートである。
Next, FIG. 7 shows an example of transfer timing of signals and data on the bus and the tag bus in FIG.
(A) and (b) are timing charts in a write cycle and a read cycle, respectively.

【0054】図7を参照すると、アドレスストローブお
よびデータストローブはそれぞれアドレスバス285上
のアドレス情報およびデータバス286上のデータが確
定していることを示している。また、R/Wはデータ転
送の方向を示し、“0”はライトを示し、“1”はリー
ドを示している。
Referring to FIG. 7, the address strobe and the data strobe indicate that the address information on the address bus 285 and the data on the data bus 286 are determined, respectively. R / W indicates the direction of data transfer, “0” indicates writing, and “1” indicates reading.

【0055】なお、タグバス上のタグコードはデータと
一緒に転送するものであるため、転送のタイミングはデ
ータと同一となっている。
Since the tag code on the tag bus is transferred together with the data, the transfer timing is the same as the data.

【0056】次に、図1,図2および図8を併用して本
実施例の動作について説明する。
Next, the operation of this embodiment will be described with reference to FIGS. 1, 2 and 8.

【0057】図8は図1に示した実施例における特定デ
ータトレース動作を説明するための図である。
FIG. 8 is a diagram for explaining a specific data tracing operation in the embodiment shown in FIG.

【0058】アナライザ部200には、CPU部100
があらかじめ入出力部300で受信された通信データを
取り込むアドレスを設定しておく。
The analyzer section 200 includes a CPU section 100
Is set in advance with an address for taking in the communication data received by the input / output unit 300.

【0059】入出力部300が通信データを受信し、C
PU部100にデータ転送が行われると、アナライザ部
200においてトリガがかかり、その時のバス115上
のデータをトレースデータとして取り込むとともに、タ
グコード104を生成してタグバス111に送出する。
The input / output unit 300 receives the communication data,
When data is transferred to the PU unit 100, a trigger is activated in the analyzer unit 200, the data on the bus 115 at that time is captured as trace data, and the tag code 104 is generated and transmitted to the tag bus 111.

【0060】CPU部100はデータバス286上の入
出力部300からのデータとタグコード104とを取り
込み、タグを持ち回りして内部処理を行う。
The CPU unit 100 takes in the data from the input / output unit 300 on the data bus 286 and the tag code 104, and carries out the internal processing by rotating the tag.

【0061】内部処理されたデータをバス115を通し
てデータメモリ部400に書き込む(ライト)時には、
アナライザ部200はタグバス111上に出力されたタ
グコード104を検出し、トレースデータとして取り込
むとともに、その時のアドレスバス285上のアドレス
情報を記憶する。
When writing (writing) the internally processed data to the data memory unit 400 via the bus 115,
The analyzer unit 200 detects the tag code 104 output on the tag bus 111, captures it as trace data, and stores the address information on the address bus 285 at that time.

【0062】また、データメモリ部400からデータを
データバス286に読み出す(リード)時には、アナラ
イザ部200はデータライト時のアドレス情報を記憶し
ているので、アナライザ部200内のアドレス比較部2
20でアドレス値の一致をとってトレースデータとして
取り込むとともに、生成したタグコード104を付加し
てタグバス111に送出する。
When data is read from the data memory unit 400 to the data bus 286 (read), the address comparison unit 2 in the analyzer unit 200 stores the address information at the time of data writing.
At 20, the address value is matched to be taken in as trace data, and the generated tag code 104 is added to the data and sent to the tag bus 111.

【0063】CPU部100はデータバス286上のデ
ータメモリ部400からのデータとタグコード104と
を取り込み、タグを持ち回りして内部処理を行う。
The CPU section 100 fetches the data from the data memory section 400 on the data bus 286 and the tag code 104 and carries out the internal processing by rotating the tags.

【0064】内部処理されたデータをバス115を通し
て入出力部300に書き込む(ライト)時には、アナラ
イザ部200はタグバス111上に出力されたタグコー
ド104を検出し、トレースデータとして取り込むこと
ができる。
When writing (writing) the internally processed data to the input / output unit 300 via the bus 115, the analyzer unit 200 can detect the tag code 104 output on the tag bus 111 and take it in as trace data.

【0065】なお、本実施例ではアドレス比較部240
はアドレスバス285上のアドレス値があらかじめ設定
されたアドレス値と一致したことを検出しているが、全
ビットの照合の他に、特定ビットの照合,アドレス値の
範囲の照合,アドレス以外のR/Wの条件設定,データ
バス286上のデータの条件設定,入出力部300から
発生する受信データの受信タイミングを示すパルスおよ
びこれらの条件の組合わせを用いることにより、より広
範囲のトリガ条件を得ることができる。
In this embodiment, the address comparing section 240
Detects that the address value on the address bus 285 coincides with a preset address value, but in addition to collation of all bits, collation of a specific bit, collation of a range of address values, and R other than the address. By using the / W condition setting, the data condition setting on the data bus 286, the pulse indicating the reception timing of the received data generated from the input / output unit 300, and a combination of these conditions, a wider range of trigger conditions can be obtained. be able to.

【0066】[0066]

【発明の効果】以上説明したように本発明は、CPU
と、メモリと、入出力部とを備えるコンピュータ装置の
内部のバス上の特定データをトレースする特定データト
レース装置において、バスに接続され且つコンピュータ
装置の内部でタグコードを特定データとともに転送する
アナライザ部を備え、このアナライザ部は特定データを
発見するための条件を設定した後タグコードにより特定
データを検出することにより、また実施態様として、ア
ナライザ部はバス上のアドレス,データおよび制御信号
を監視してあらかじめ設定された上記条件との一致を検
出するバス監視部と、条件が一致したときにバス上のア
ドレス,データおよび制御信号を取り込んで記憶するト
レース用メモリ部と、条件が一致したときにバス上のデ
ータに付加されているタグコードを送出するタグ送出部
と、タグコードを検出するタグ検出部と、タグコードが
検出されたときにバス上のアドレス値を記憶するアドレ
スラッチ部と、このアドレスラッチ部に記憶されたアド
レス値とバス上のアドレス値とを比較するアドレス比較
部とを備えることにより、特定データが最初に転送され
る時の条件のみをトリガ条件として設定しておけば、そ
れ以降は特定データの転送の都度アドレスをあらかじめ
設定することなく、自動的に特定データを追跡すること
ができるので、データ転送の度ごとのアドレス設定が不
要となり、特定データトレースの操作性が極めて良くな
るという効果を有する。
As described above, the present invention provides a CPU
, A memory, and a specific data tracing device for tracing specific data on a bus inside a computer device having an input / output unit, wherein an analyzer unit connected to the bus and transferring a tag code together with the specific data inside the computer device The analyzer unit sets conditions for finding the specific data and then detects the specific data by the tag code. In an embodiment, the analyzer unit monitors the address, data and control signals on the bus. A bus monitoring unit for detecting a match with the above-mentioned condition set in advance; a tracing memory unit for taking in and storing the address, data and control signal on the bus when the condition matches; A tag sending unit for sending a tag code added to data on the bus, and a tag code A tag detection unit that outputs a tag code, an address latch unit that stores an address value on the bus when a tag code is detected, and an address comparison that compares the address value stored in the address latch unit with the address value on the bus. By setting only the condition when the specific data is first transferred as the trigger condition, it is automatically specified without setting the address every time the specific data is transferred after that. Since data can be tracked, it is not necessary to set an address every time data is transferred, and the operability of a specific data trace is extremely improved.

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

【図1】本発明の特定データトレース装置の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a specific data tracing device of the present invention.

【図2】図1におけるアナライザ部の内部ブロック図
で、バス監視部およびタグ制御部の詳細を示している。
FIG. 2 is an internal block diagram of an analyzer unit in FIG. 1, showing details of a bus monitoring unit and a tag control unit.

【図3】図2におけるタグ制御部内のタグコード送出
部,アドレス比較部およびアドレス設定部の詳細を示す
ブロック図である。
FIG. 3 is a block diagram showing details of a tag code sending section, an address comparing section, and an address setting section in the tag control section in FIG. 2;

【図4】図2におけるタグ制御部内のタグコード検出
部,アドレスラッチ部およびアドレス比較部の詳細を示
すブロック図である。
FIG. 4 is a block diagram illustrating details of a tag code detection unit, an address latch unit, and an address comparison unit in the tag control unit in FIG. 2;

【図5】図1におけるCPU部の内部ブロック図であ
る。
FIG. 5 is an internal block diagram of a CPU unit in FIG. 1;

【図6】図5における内部バス上のデータ構造の一例を
示す図である。
FIG. 6 is a diagram illustrating an example of a data structure on an internal bus in FIG. 5;

【図7】図1におけるバスとタグバス上の信号およびデ
ータの転送タイミング例を示し、(a),(b)はそれ
ぞれライトサイクル,リードサイクルにおけるタイミン
グチャートである。
FIGS. 7A and 7B show examples of transfer timings of signals and data on a bus and a tag bus in FIG. 1, and FIGS. 7A and 7B are timing charts in a write cycle and a read cycle, respectively.

【図8】図1に示した実施例における特定データトレー
ス動作を説明するための図である。
FIG. 8 is a diagram for explaining a specific data tracing operation in the embodiment shown in FIG. 1;

【図9】従来のデータ収集方式の一例を示すブロック図
である。
FIG. 9 is a block diagram showing an example of a conventional data collection method.

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

100 CPU部 101 双方向バッファ 102,103,213 バッファ 104 タグコード 105 制御レジスタ 106 汎用レジスタ 107A,107B テンポラリレジスタ 108 ALU 109 インストラクション解析・実行部 110 内部バス 111 タグバス 114 バス制御部 115 バス 200 アナライザ部 210 タグ制御部 211 デコーダ 212 エンコーダ 220,240 アドレス比較部 221,222,223,241,242,243
アドレス比較 230 アドレスラッチ部 231,232,233 アドレスラッチ 250 アドレス設定部 251,252,253 アドレス設定 260 トレース用メモリ部 270 アナライザ制御部 281 リード・ライト信号 282 タグコード検出信号 283,284 アドレス一致信号 285 アドレスバス 286 データバス 287 制御信号バス 288 アドレス設定信号 289 アドレス値 290 トレース用メモリ部の出力データ 291 ライト信号 292 アドレス情報 298 アナライザ操作部 299 バス監視部 300 入出力部 400 データメモリ部 500 インストラクションメモリ部 600 被データ収集装置 601 CPU 602 RAM 603 ROM 604 アドレス線 605 MIサイクル線 700 トリガアドレスエリア設定比較部 701 トリガアドレスエリア設定部 702 比較部 703 外部クロック線 800 ロジックアナライザ 900 コンピュータ装置 901 通信回線
Reference Signs List 100 CPU unit 101 Bidirectional buffer 102, 103, 213 buffer 104 Tag code 105 Control register 106 General-purpose register 107A, 107B Temporary register 108 ALU 109 Instruction analysis and execution unit 110 Internal bus 111 Tag bus 114 Bus control unit 115 Bus 200 Analyzer unit 210 Tag control unit 211 Decoder 212 Encoder 220, 240 Address comparison unit 221, 222, 223, 241, 242, 243
Address comparison 230 Address latch unit 231, 232, 233 Address latch 250 Address setting unit 251, 252, 253 Address setting 260 Trace memory unit 270 Analyzer control unit 281 Read / write signal 282 Tag code detection signal 283, 284 Address match signal 285 Address bus 286 Data bus 287 Control signal bus 288 Address setting signal 289 Address value 290 Output data of tracing memory section 291 Write signal 292 Address information 298 Analyzer operation section 299 Bus monitoring section 300 Input / output section 400 Data memory section 500 Instruction memory section 600 Data collection device 601 CPU 602 RAM 603 ROM 604 Address line 605 MI cycle line 700 Trigger address Rear setting comparison unit 701 Trigger address area setting unit 702 Comparison unit 703 External clock line 800 Logic analyzer 900 Computer unit 901 Communication line

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平7−64818(JP,A) 特開 平4−336630(JP,A) 特開 昭60−159951(JP,A) 特開 平2−110636(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 11/28 - 11/34──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-7-64818 (JP, A) JP-A-4-336630 (JP, A) JP-A-60-159951 (JP, A) JP-A-2- 110636 (JP, A) (58) Field surveyed (Int. Cl. 6 , DB name) G06F 11/28-11/34

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 CPUと、メモリと、入出力部とを備え
るコンピュータ装置の内部のバス上の特定データをトレ
ースする特定データトレース装置において、前記バスに
接続され且つ前記コンピュータ装置の内部でタグコード
を前記特定データとともに転送するアナライザ部を備
え、このアナライザ部は前記特定データを発見するため
の条件を設定した後前記タグコードにより前記特定デー
タを検出することを特徴とする特定データトレース装
置。
1. A specific data tracing device for tracing specific data on a bus inside a computer device including a CPU, a memory, and an input / output unit, wherein a tag code is connected to the bus and inside the computer device. A specific data tracing device, comprising: an analyzer unit for transferring the specified data together with the specific data, wherein the analyzer unit sets conditions for finding the specific data and then detects the specific data by the tag code.
【請求項2】 前記アナライザ部は前記バス上のアドレ
ス,データおよび制御信号を監視してあらかじめ設定さ
れた前記条件との一致を検出するバス監視部と、前記条
件が一致したときに前記バス上の前記アドレス,データ
および制御信号を取り込んで記憶するトレース用メモリ
部と、前記条件が一致したときに前記バス上の前記デー
タに付加されている前記タグコードを送出するタグ送出
部と、前記タグコードを検出するタグ検出部と、前記タ
グコードが検出されたときに前記バス上のアドレス値を
記憶するアドレスラッチ部と、このアドレスラッチ部に
記憶された前記アドレス値と前記バス上の前記アドレス
値とを比較するアドレス比較部とを備えることを特徴と
する請求項1記載の特定データトレース装置。
2. An analyzer according to claim 1, wherein said analyzer monitors an address, data, and a control signal on said bus to detect a match with said preset condition. A tracing memory unit for fetching and storing the address, data and control signal, a tag transmitting unit for transmitting the tag code added to the data on the bus when the condition is satisfied, A tag detection unit for detecting a code, an address latch unit for storing an address value on the bus when the tag code is detected, and the address value stored in the address latch unit and the address on the bus. 2. The specific data tracing device according to claim 1, further comprising: an address comparison unit that compares the value with a value.
JP7160473A 1995-06-27 1995-06-27 Specific data trace device Expired - Lifetime JP2758858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7160473A JP2758858B2 (en) 1995-06-27 1995-06-27 Specific data trace device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7160473A JP2758858B2 (en) 1995-06-27 1995-06-27 Specific data trace device

Publications (2)

Publication Number Publication Date
JPH0916439A JPH0916439A (en) 1997-01-17
JP2758858B2 true JP2758858B2 (en) 1998-05-28

Family

ID=15715722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7160473A Expired - Lifetime JP2758858B2 (en) 1995-06-27 1995-06-27 Specific data trace device

Country Status (1)

Country Link
JP (1) JP2758858B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468394B2 (en) 2006-03-09 2013-06-18 Arm Limited Method of tracing selected activities within a data processing system by tagging selected items and tracing the tagged items

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159951A (en) * 1984-01-30 1985-08-21 Fuji Electric Co Ltd Tracing system in information processing device
JPH02110636A (en) * 1988-10-20 1990-04-23 Fujitsu Ltd Debugging device for tag architecture machine and its compiler
JPH04336630A (en) * 1991-05-14 1992-11-24 Nec Corp Method and device for tracing address
JPH0764818A (en) * 1993-08-31 1995-03-10 Nec Corp Method and circuit for tracing data

Also Published As

Publication number Publication date
JPH0916439A (en) 1997-01-17

Similar Documents

Publication Publication Date Title
US6944796B2 (en) Method and system to implement a system event log for system manageability
WO2023024304A1 (en) Method, system and apparatus for monitoring bios booting process of server
JP2758858B2 (en) Specific data trace device
US6269454B1 (en) Maintaining object information concurrent with data optimization for debugging
JP2001092725A (en) Device for recognizing event
JP2003524225A (en) Method and apparatus for handling computer system errors
US20050210232A1 (en) System and method for monitoring BIOS messages of remote computers by a local server
EP0803820A2 (en) An integrated digital processing device and method for examining the operation thereof
US5388229A (en) Data transmission system which prefetches data to be transferred
US6751512B1 (en) Data recorder and module
JP3419392B2 (en) Memory access monitoring device, memory access monitoring method, and recording medium recording memory access monitoring program
CN111447637A (en) Spectrum data acquisition method, device, equipment and storage medium
JP3088286B2 (en) Program runaway detection circuit, detection method, detection software development apparatus, and software generation method
EP0569987A1 (en) Microprocessor incorporating cache memory enabling efficient debugging
JPH03220661A (en) System for communication between processors
US11816060B2 (en) UART interface circuit and UART data capturing method
JP2744029B2 (en) System bus monitor for electronic exchange
JPS5831458A (en) Address matching device
JP3350069B2 (en) Bus line monitoring method
JPH1168874A (en) Analytic system for transmission information
KR960003052B1 (en) Microprocessor having cashe memory unit
JP2008123130A (en) Coverage measurement method and device and tracing method and device for module
JP2888654B2 (en) Data input control method
JP2893033B2 (en) DMA channel identification control method
JPS61269756A (en) Bus monitor device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980224