JPH02138650A - Bus tracer - Google Patents

Bus tracer

Info

Publication number
JPH02138650A
JPH02138650A JP63293266A JP29326688A JPH02138650A JP H02138650 A JPH02138650 A JP H02138650A JP 63293266 A JP63293266 A JP 63293266A JP 29326688 A JP29326688 A JP 29326688A JP H02138650 A JPH02138650 A JP H02138650A
Authority
JP
Japan
Prior art keywords
trace
bus
memory
trigger
data
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
JP63293266A
Other languages
Japanese (ja)
Inventor
Shuji Kojima
小島 修二
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 JP63293266A priority Critical patent/JPH02138650A/en
Publication of JPH02138650A publication Critical patent/JPH02138650A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To collect data in many times regardless of the time required between triggers by selecting a signal causing a trigger out of those signals that are inputted from outside and may cause various triggers and setting a collection range of the trace information to the triggers. CONSTITUTION:A data transfer part 30 transfers the data set in a trace range to a trigger point pointed by the trace range pointing signal put on a signal line 52 to a secondary trace memory 110 from a trace memory 100 after the trigger signal is activated on a signal line 53. In this case, the address stored in the memory 101 storing the trace data is controlled by a memory address control part 40. Thus these operations can be freely repeated as long as the memory capacity of the memory 110 can afford.

Description

【発明の詳細な説明】 (産業上の利用分野ン 本発明はバストレーサに関し、特にその改良に関する。[Detailed description of the invention] (Industrial application field) BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to bus tracers, and more particularly to improvements thereof.

(従来の技術〉 従来、この種のバストレーサでは、対象となるバス上の
データを当核バスの動作クロック信号、すなわちバスク
ロックに同期してトレースメモリに記憶し、停止信号に
より動作を停止してバス上の履歴を観察していた。
(Prior art) Conventionally, in this type of bus tracer, data on the target bus is stored in a trace memory in synchronization with the operating clock signal of the core bus, that is, the bus clock, and the operation is stopped by a stop signal. I was observing the history on the bus.

従って、トレースメモリの最終ワードにデータが書込ま
れた後は、再び最初に書込まれたアドレスにデータを書
込む構成となっており、最大のトレース時間はトレース
メモリの容量に依存していた。
Therefore, after data is written to the last word of the trace memory, the data is written again to the address where it was first written, and the maximum trace time depends on the capacity of the trace memory. .

また、トリガ要因となる信号の変化に対するバス上のデ
ータ変化を調査する場付、その信号上あらかじめトレー
ス停止信号と足義してバストレース金開始し、トリガ信
号がアクティブになるとトレースを中止してトレース結
果を調査していた。続けて調査する場合忙は、再びバス
トレースを開始するように構成されてい友。
In addition, when investigating data changes on the bus in response to changes in the signal that causes the trigger, start the bus trace by setting the trace stop signal on that signal in advance, and stop the trace when the trigger signal becomes active. I was investigating the trace results. If you continue to investigate, your friend will be configured to start the bus trace again.

(発明が解決しようとする課題] 上述した従来のバストレーサでは、バスクロックおよび
トレース停止信号以外の信号とは無関係にバスをトレー
スしていた。従って、上記2つの相互に関係する備考以
外の信号をトレースし、それらのトレース結果の対応を
求める必要がでてきた場合1人手によるトレース内容の
調査が必要になると云う欠点がある。
(Problems to be Solved by the Invention) In the conventional bus tracer described above, the bus was traced without regard to signals other than the bus clock and the trace stop signal. Therefore, signals other than the two interrelated notes mentioned above traced the bus. There is a drawback in that when it becomes necessary to trace the traces and determine the correspondence between the trace results, it is necessary to investigate the trace contents by one person.

また、目的とするトリガ点が複数あり、トレースメモリ
容貴により制限される最大トレース時間よりその発生間
隔が長い場合、−度にトレースすることが不可能である
と云う欠点がある。
Furthermore, if there are a plurality of target trigger points and their occurrence interval is longer than the maximum trace time limited by the capacity of the trace memory, there is a drawback that it is impossible to trace at once.

本発明の目的は、外部からの指示により複数のトリガが
要因となるトリガ信号全選択し、このトリガ信号により
外部から指示された範囲のトレースデータ上トレースメ
モリから副トレースメモリへ転送し、転送されたデータ
の記憶アドレスを割当ることにより上記欠点を除去し、
容易、且つ、確実にトレースすることが可能なように構
成したバストレーサを提供することにある。
An object of the present invention is to select all trigger signals caused by multiple triggers according to an external instruction, and to transfer trace data in the range specified from the outside from the upper trace memory to the sub-trace memory using this trigger signal. The above disadvantages are eliminated by allocating storage addresses for stored data.
It is an object of the present invention to provide a bus tracer configured to enable easy and reliable tracing.

(課題金牌法する丸めの手段〉 本発明によるバストレーサはトレースメモリと、バスト
レーサ制御部と、トリガセレクト部と、副トレースメモ
リと、データ転送部と、記憶アドレス管理部とを具備し
て構成したものである。
(Rounding means for determining task gold tiles) The bus tracer according to the present invention includes a trace memory, a bus tracer control section, a trigger selection section, a sub-trace memory, a data transfer section, and a storage address management section. This is what I did.

トレースメモリは、バスクロックに同期してバス上のデ
ータをトレースして記憶するためのものである。
The trace memory is for tracing and storing data on the bus in synchronization with the bus clock.

バストレーサ制#部は、停止信号によりトレースの動作
を停止させ、バス上のデータの履歴を観察するためのも
のである。
The bus tracer control unit is for stopping the trace operation by a stop signal and observing the history of data on the bus.

トリガセレクト部は、外部からの指示により複数のトリ
ガ原因となるトリガ信号のひとつ全選択するだめのもの
である。
The trigger selection section is used to select all one of the trigger signals that cause a plurality of triggers based on instructions from the outside.

嗣トレースメモリは、指示されたトリガ信号により、ト
レースメモリから指示された範囲のデータを格納するた
めのものである。
The trace memory is for storing data in a specified range from the trace memory in response to a specified trigger signal.

データ転送部は、トレースメモリから副トレースメモリ
へ指示され九範囲のデータを転送するためのものである
The data transfer unit is for transferring nine ranges of data instructed from the trace memory to the sub-trace memory.

記憶アドレス管理部は、転送されたデータの記憶アドレ
スを割当てるためのものである。
The storage address management unit is for allocating a storage address for transferred data.

(実施例] 次に1本発明について図面を参照して詳細に説明する。(Example] Next, one embodiment of the present invention will be explained in detail with reference to the drawings.

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

第1図において、10はバストレーサ制御部、20はト
リガセレクト部、30はデータ転送部、40は記憶アド
レス管理部、100はトレースメモリ、110は副トレ
ースメモリ、200はバス、300はバストレース部、
400はバストレーサである。
In FIG. 1, 10 is a bus tracer control unit, 20 is a trigger select unit, 30 is a data transfer unit, 40 is a storage address management unit, 100 is a trace memory, 110 is a sub trace memory, 200 is a bus, and 300 is a bus trace. Department,
400 is a bus tracer.

第1因において、バストレーサ400はバストレーサ制
御部10とトレースメモリ100とによって構成される
従来と同様なバストレーサ300、)リガセレクト部2
0、データ転送部30、記憶アドレス管理部40、およ
び副トレースメモリ110により構成されている。バス
トレーサ400はバス200に接続され、バス200’
!?)レースするためのものである。
In the first factor, the bus tracer 400 is a bus tracer 300 similar to the conventional bus tracer 300 configured by a bus tracer control section 10 and a trace memory 100;
0, a data transfer section 30, a storage address management section 40, and a sub trace memory 110. Bus tracer 400 is connected to bus 200 and bus 200'
! ? ) is for racing.

・トリガセレクト部20にはトリガ要因を乗せるトリガ
要因信号線IP50とトリガセレクト信号線51とが接
続され、データ転送部30にはトレース範囲指示信号線
52が接続されている。
- A trigger factor signal line IP50 for carrying a trigger factor and a trigger select signal line 51 are connected to the trigger select section 20, and a trace range instruction signal line 52 is connected to the data transfer section 30.

上述したように構成されたバストレーサ400の動作は
次の通りである。
The operation of the bus tracer 400 configured as described above is as follows.

通常、バストレース部300により /<ス)L/−ス
動作を行う。このとき、トリガセレクト部20に接続さ
れたトリガ要因信号線群50のなかの1本をトリガにし
てバストレースを行う必要が発生すると、トリガセレク
ト部20ではトリガ要因信号線群50のなかからトリガ
セレクト信号線51によって指示された信号線上のトリ
ガ要因を選び、トリガ信号線53’57介してデータ転
送部30に送出する。
Normally, the bus trace section 300 performs the /<s)L/-ss operation. At this time, if it is necessary to perform bus tracing by using one of the trigger factor signal line groups 50 connected to the trigger select section 20 as a trigger, the trigger select section 20 selects a trigger from among the trigger factor signal line group 50. The trigger factor on the signal line designated by the select signal line 51 is selected and sent to the data transfer unit 30 via the trigger signal line 53'57.

データ転送部30は信号線53上のトリガ信号がアクテ
ィブになると、信号線52上のトレース範囲指示信号に
より指示されたトリガ点に対スるトレース範囲のブータ
ラ、トレースメモI71 Onから副トレースメモリ1
10へ転送する。このとき、トレースデータを記憶する
副トレースメモリ110内のアドレスは記憶アドレス管
理部40により管理され、副トレースメモ+J l 1
0の記憶容量が許す限り、何回でも同様の動作t−繰返
すことができる。
When the trigger signal on the signal line 53 becomes active, the data transfer unit 30 transfers the trace range booter and trace memo I71 On to the sub trace memory 1 corresponding to the trigger point designated by the trace range instruction signal on the signal line 52.
Transfer to 10. At this time, the address in the sub trace memory 110 that stores the trace data is managed by the storage address management unit 40, and the address in the sub trace memory 110 is
The same operation t- can be repeated as many times as the storage capacity of 0 allows.

(発明の効果] 以上説明したように本発明は、外部から入力され九各徨
トリガ要因となる可能性のある信号の内からトリガ要因
となる信号を選択し、トリガに対するトレース情報の採
取範囲14えることにより、任意の信号tトリガとして
任意の範囲のバス状態をトレースすることができ、副ト
レースメモリの容lが許す限りトリガ間の時間に無関係
に何度でもデータを採取できると云う効果がある。
(Effects of the Invention) As described above, the present invention selects a signal that is a trigger factor from among signals that are input from the outside and has a possibility of becoming a stray trigger factor, and selects a signal that is a trigger factor from among signals that are input from the outside and that has the possibility of becoming a trigger factor, and collects trace information for the trigger within a range of 14. This has the effect that any range of bus states can be traced using any signal t as a trigger, and data can be collected as many times as the capacity of the sub-trace memory allows, regardless of the time between triggers. be.

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

第1図は、本発明によるバス 流側を示すブロック図である。 10・・・バストレーサ制御部 20・・・トリガセレクト部 30・・・データ転送部 40・・・記憶アドレス管理部 100・・・トレースメモリ 110・・・副トレースメモリ 200 ・・・ノ(ス 3()O・・・バストレース部 400・・・バストレーサ 50〜53・・・信号線 トレーサの一実 FIG. 1 shows a bus according to the invention. FIG. 3 is a block diagram showing the flow side. 10... Bus tracer control section 20...Trigger select section 30...Data transfer section 40...Storage address management section 100...Trace memory 110...Sub trace memory 200...ノ(su) 3()O...Bass trace part 400...Bus tracer 50-53...Signal line One of tracers

Claims (1)

【特許請求の範囲】[Claims] バスクロックに同期してバス上のデータをトレースして
記憶するためのトレースメモリと、停止信号により前記
トレースの動作を停止させ、前記バス上のデータの履歴
を観察するためのバストレーサ制御部と、外部からの指
示により複数のトリガ原因となるトリガ信号のひとつを
選択するためのトリガセレクト部と、前記指示されたト
リガ信号により前記トレースメモリから指示された範囲
のデータを格納するため副トレースメモリと、前記トレ
ースメモリから前記副トレースメモリへ前記指示された
範囲のデータを転送するためのデータ転送部と、前記転
送されたデータの記憶アドレスを割当てるための記憶ア
ドレス管理部とを具備して構成したことを特徴とするバ
ストレーサ。
a trace memory for tracing and storing data on the bus in synchronization with a bus clock; and a bus tracer control unit for stopping the trace operation in response to a stop signal and observing the history of data on the bus. , a trigger select section for selecting one of the trigger signals that causes a plurality of triggers according to an external instruction, and a sub-trace memory for storing a range of data specified from the trace memory by the specified trigger signal. and a data transfer unit for transferring data in the specified range from the trace memory to the sub-trace memory, and a storage address management unit for assigning a storage address for the transferred data. A bust tracer that is characterized by:
JP63293266A 1988-11-18 1988-11-18 Bus tracer Pending JPH02138650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63293266A JPH02138650A (en) 1988-11-18 1988-11-18 Bus tracer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63293266A JPH02138650A (en) 1988-11-18 1988-11-18 Bus tracer

Publications (1)

Publication Number Publication Date
JPH02138650A true JPH02138650A (en) 1990-05-28

Family

ID=17792598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63293266A Pending JPH02138650A (en) 1988-11-18 1988-11-18 Bus tracer

Country Status (1)

Country Link
JP (1) JPH02138650A (en)

Similar Documents

Publication Publication Date Title
US4035777A (en) Data processing system including parallel bus transfer control port
US4648035A (en) Address conversion unit for multiprocessor system
US4835675A (en) Memory unit for data tracing
JPH0368429B2 (en)
US3199082A (en) Memory system
JPH02138650A (en) Bus tracer
US4356547A (en) Device for processing telephone signals, including a processor and a preprocessor sharing a common memory
JPS58168167A (en) List merger
JPS5987567A (en) Variable length data storage controlling system
SU1737454A1 (en) Device for storing route of interprocessor exchanges in multiprocessor systems
JPS6019534B2 (en) Transfer control device
JPS62216046A (en) Record control system for logical simulation device
SU489100A1 (en) Device for coupling random message flow sources to a digital computer
JPS6143367A (en) Register control system
JPS588357A (en) Control storage device
JPS60196858A (en) Input processor of data with label
JPH036755A (en) Electronic computer
JPS6199991A (en) Digital memory device
JPS63237143A (en) Programmable controller
JPS60241140A (en) Address tracing device of microprogram
JPS61296455A (en) Discriminating method for size of memory
JPS60176106A (en) Sequence controller
JPS63158637A (en) Memory tracing system
JPS6421623A (en) Arithmetic unit assigning system
JPH01188959A (en) Information history memory