JPH06223046A - Bus tracing execution method - Google Patents

Bus tracing execution method

Info

Publication number
JPH06223046A
JPH06223046A JP5028514A JP2851493A JPH06223046A JP H06223046 A JPH06223046 A JP H06223046A JP 5028514 A JP5028514 A JP 5028514A JP 2851493 A JP2851493 A JP 2851493A JP H06223046 A JPH06223046 A JP H06223046A
Authority
JP
Japan
Prior art keywords
trace
bus
data
common bus
timer
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
JP5028514A
Other languages
Japanese (ja)
Inventor
Shigeyuki Nanba
茂之 南場
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5028514A priority Critical patent/JPH06223046A/en
Publication of JPH06223046A publication Critical patent/JPH06223046A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To trace a common bus and local buses in respective processor modules by a multiprocessor system which meets requirements of the maximum connection number of common buses by enabling tracing operation and tracing all the common buses. CONSTITUTION:A trace interface 8 transfers local bus trace data from the respective processor modules 31, 32, and 33 to a trace memory 4. A timer value is set in a trace timer 6 and a trace control part 5 controls the trace timer 6; traces both the data of a common bus 1 and data of a local bus 20 at the same time or traces one optionally selected bus, and stores trace information in a trace memory 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は複数のプロセッサモジ
ュールを相互に接続している共通バスに流れるデータや
プロセッサモジュール内部のローカルバスに流れるデー
タをトレースするバストレース実行方法に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus trace execution method for tracing data flowing on a common bus interconnecting a plurality of processor modules or data flowing on a local bus inside a processor module.

【0002】[0002]

【従来の技術】図4は従来のマルチプロセッサシステム
を示したブロック図であり、図4において、1は各プロ
セッサモジュールを相互に接続する共通バス、21はプ
ロセッサモジュールの1つであるメインプロセッサ、2
2,23はそれぞれ独立した機能を有するプロセッサモ
ジュールである単一プロセッサ、3はバス情報をトレー
スするトレース装置である。トレース装置3において、
4はトレースしたデータを記憶するトレースメモリ、5
はトレース動作を制御するトレース制御部、6はトレー
スデータと共にトレースメモリ4に記憶される時間情報
を生成するトレースタイマである。2はトレースメモリ
4に記憶されたトレース情報を表示したり、入力操作を
したりするマンマシンインターフェースである。
2. Description of the Related Art FIG. 4 is a block diagram showing a conventional multiprocessor system. In FIG. 4, 1 is a common bus for connecting processor modules to each other, 21 is a main processor which is one of the processor modules, Two
Reference numerals 2 and 23 are single processors which are processor modules each having an independent function, and 3 is a trace device for tracing bus information. In the trace device 3,
4 is a trace memory for storing the traced data, 5
Is a trace control unit for controlling the trace operation, and 6 is a trace timer for generating time information stored in the trace memory 4 together with the trace data. Reference numeral 2 denotes a man-machine interface for displaying the trace information stored in the trace memory 4 and performing an input operation.

【0003】次に動作について説明する。メインプロセ
ッサ21がトレース動作の開始をトレース装置3のトレ
ース制御部5へ知らせ、トレース制御部5は、トレース
タイマ6を起動させると共に、トレースメモリ4を起動
させ、共通バス1に流れるデータのトレースを開始す
る。そして、トレースメモリ4の同一アドレスにトレー
スデータとトレースタイマ6が出力するタイマ値を記憶
する。記憶されたトレースデータとタイム値はマンマシ
ンインターフェース2で確認できる。
Next, the operation will be described. The main processor 21 notifies the trace control unit 5 of the trace device 3 of the start of the trace operation, and the trace control unit 5 activates the trace timer 6 and the trace memory 4 to trace the data flowing on the common bus 1. Start. Then, the trace data and the timer value output by the trace timer 6 are stored at the same address in the trace memory 4. The stored trace data and the time value can be confirmed on the man-machine interface 2.

【0004】[0004]

【発明が解決しようとする課題】一般に、共通バスに接
続可能なプロセッサモジュールは物理的,電気的制約が
存在し、この制約により最大接続数が決定されている。
従来のマルチプロセッサシステムは前述のように構成さ
れているので、トレース装置とメインプロセッサを共通
バスに接続する必要があり、最大接続数を満たしたマル
チプロセッサシステムの場合にはトレース装置を接続で
きない。また、トレース装置はメインプロセッサから共
通バスを介して起動要求を受付なければ動作できないた
め、共通バスが完全に正常動作していることを前提とし
なければ、バストレースができない。更に、マルチプロ
セッサシステム全体にわたる不具合や弊害の原因を探る
場合、共通バス上の信号のみをトレースしただけでは共
通バスと共通バスに接続されているプロセッサモジュー
ル内部の動作との関連性がつかめないので、容易に原因
をつきとめることができない等の問題点があった。
Generally, the processor modules connectable to the common bus have physical and electrical restrictions, and the maximum number of connections is determined by these restrictions.
Since the conventional multiprocessor system is configured as described above, it is necessary to connect the trace device and the main processor to the common bus, and the trace device cannot be connected in the case of the multiprocessor system which has the maximum number of connections. Further, since the trace device cannot operate unless the activation request is received from the main processor via the common bus, bus trace cannot be performed unless it is premised that the common bus is operating normally. Furthermore, when searching for the cause of problems and adverse effects in the entire multiprocessor system, it is not possible to grasp the relationship between the common bus and the operation inside the processor module connected to the common bus by tracing only the signals on the common bus. However, there was a problem that the cause could not be found easily.

【0005】この発明は、上記の様な問題点を解消する
ためになされたもので、共通バスの最大接続数を満たし
たマルチプロセッサシステムに於いてもトレース動作さ
せることが可能であり、かつ共通バスのイニシャライズ
動作を含む全てのトレースを実行可能とし、共通バスと
共通バスに接続された各プロセッサモジュール内のロー
カルバスとの双方をトレース可能とするバストレース実
行方法を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to perform a trace operation even in a multiprocessor system in which the maximum number of common bus connections is satisfied, and the common operation is also possible. An object of the present invention is to provide a bus trace execution method capable of executing all traces including a bus initializing operation and tracing both a common bus and a local bus in each processor module connected to the common bus. .

【0006】[0006]

【課題を解決するための手段】請求項1の発明のバスト
レース実行方法は、プロセッサモジュール31,32,
33内のローカルバス20に流れるデータのトレース情
報もトレースメモリ4に記憶させるためのトレースイン
ターフェース8と、共通バス1に流れるデータ及びロー
カルバス20に流れるデータの双方を同時にトレース、
または任意選択した一方のトレースを実行させるための
タイマ値を設定するトレースタイマ6とをトレース装置
3に設け、トレースタイマ6をトレース制御部5により
制御して上記トレースを実行するものである。
A bus trace executing method according to a first aspect of the present invention is directed to a processor module 31, 32,
The trace interface 8 for storing the trace information of the data flowing in the local bus 20 in the 33 as well as the trace interface 8 simultaneously traces both the data flowing in the common bus 1 and the data flowing in the local bus 20,
Alternatively, a trace timer 6 for setting a timer value for executing one of the arbitrarily selected traces is provided in the trace device 3, and the trace timer 6 is controlled by the trace control unit 5 to execute the trace.

【0007】請求項2の発明のバストレース実行方法
は、プロセッサモジュール31,32,33内のローカ
ルバス20に流れるデータのトレース情報をトレースメ
モリ4に記憶させるためのトレースインターフェース8
をトレース装置3に設け、このトレースインターフェー
ス8をプロセッサ11により制御し、任意または全ての
プロセッサモジュール内のローカルバス20に流れるデ
ータのトレースを実行するものである。
A bus trace executing method according to a second aspect of the present invention includes a trace interface 8 for storing trace information of data flowing on the local bus 20 in the processor modules 31, 32 and 33 in the trace memory 4.
Is provided in the trace device 3, the trace interface 8 is controlled by the processor 11, and the trace of the data flowing to the local bus 20 in any or all of the processor modules is executed.

【0008】[0008]

【作用】請求項1の発明において、トレースインターフ
ェース8はプロセッサモジュール31,32,33内の
ローカルバス20に流れるデータのトレース情報をトレ
ースメモリ4へ転送し、これによりトレースメモリ4は
そのトレース情報を記憶する。トレース制御部5は、ト
レースタイマ6に設定されたタイマ値に基づいて共通バ
ス1に流れるデータ及びローカルバス20に流れるデー
タの双方を同時にトレースしたり、任意選択した一方の
トレースを実行する。
In the invention of claim 1, the trace interface 8 transfers the trace information of the data flowing on the local bus 20 in the processor module 31, 32, 33 to the trace memory 4, whereby the trace memory 4 receives the trace information. Remember. The trace controller 5 simultaneously traces both the data flowing through the common bus 1 and the data flowing through the local bus 20 based on the timer value set in the trace timer 6, or executes one of the arbitrarily selected traces.

【0009】請求項2の発明において、プロセッサ11
はトレースインターフェース8を制御して任意または全
てのプロセッサモジュール内のローカルバス20に流れ
るデータのトレースを実行する。
In the invention of claim 2, the processor 11
Controls the trace interface 8 to perform a trace of data flowing on the local bus 20 in any or all processor modules.

【0010】[0010]

【実施例】【Example】

実施例1(請求項1,2対応). 図1はこの発明の実施例1によるマルチプロセッサシス
テムのブロック図である。図1において、1は各プロセ
ッサモジュール31,32,33を相互に接続する共通
バス、3はこの実施例の特徴とするバスのトレース機能
を司るトレース装置、34はオペレータとのマンマシン
インターフェース機能を持ったホストコンピュータであ
る。各プロセッサモジュール31,32,33は、トレ
ースに関する処理を行なうプロセッサ15、それぞれ独
立した機能16、共通バス1との入出力を行なうバスイ
ンターフェース17、処理に必要なデータを記憶するメ
モリ18、およびローカルバス20との入出力を行なう
トレースインターフェース19を備えている。トレース
装置3は、トレースしたデータを記憶するトレースメモ
リ4、バストレースの制御を行なうトレース制御部5、
トレースデータと共にトレースメモリ4に記憶される時
間情報を生成するトレースタイマ6、処理に必要なデー
タを記憶するメモリ7、プロセッサモジュール31,3
2,33内のローカルバス20に流れるデータのトレー
ス情報をトレースメモリ4に記憶させるためのトレース
インターフェース8、共通バス1上のデータを取り込む
共通バスデータ入力部9、各プロセッサモジュール3
1,32,33内部のローカルバス20のデータを取り
込むローカルバスデータ入力部10、トレース制御部5
の初期化やトレース動作の起動や停止等を行なうプロセ
ッサ11、マンマシンインターフェースを司るホストコ
ンピュータ34とのインターフェースを行なうホストイ
ンターフェース12、および共通バス1からのデータを
バッファするバッファ回路13,14を備えている。
Example 1 (corresponding to claims 1 and 2). 1 is a block diagram of a multiprocessor system according to a first embodiment of the present invention. In FIG. 1, 1 is a common bus that interconnects the processor modules 31, 32 and 33 with each other, 3 is a trace device that controls the trace function of the bus, which is a feature of this embodiment, and 34 is a man-machine interface function with an operator. It is the host computer that I had. Each of the processor modules 31, 32, and 33 includes a processor 15 that performs processing related to trace, an independent function 16, a bus interface 17 that performs input / output with the common bus 1, a memory 18 that stores data necessary for processing, and a local. A trace interface 19 for performing input / output with the bus 20 is provided. The trace device 3 includes a trace memory 4 for storing traced data, a trace controller 5 for controlling a bus trace,
Trace timer 6 for generating time information stored in trace memory 4 together with trace data, memory 7 for storing data required for processing, processor modules 31, 3
A trace interface 8 for storing the trace information of the data flowing on the local bus 20 in the reference numerals 2, 33 in the trace memory 4, a common bus data input section 9 for taking in the data on the common bus 1, each processor module 3
The local bus data input unit 10 and the trace control unit 5 for taking in the data of the local bus 20 inside 1, 32, and 33.
A processor 11 for initializing and starting and stopping a trace operation, a host interface 12 for interfacing with a host computer 34 for man-machine interface, and buffer circuits 13, 14 for buffering data from the common bus 1. ing.

【0011】次に動作について説明する。例えば、共通
バス1の最大接続数を3とした場合、共通バス1にトレ
ース装置3を接続するには、プロセッサモジュール33
を一旦共通バス1から切り離し、代わりにトレース装置
3を共通バス1へ接続し、図1の様にプロセッサモジュ
ール33をトレース装置3に接続することで、プロセッ
サモジュール33は、トレース装置3を介して共通バス
1に接続されることになり、共通バス1にトレース装置
3を接続する前のマイクロプロセッサシステムと同様の
環境を実現する。オペレータからホストコンピュータ3
4とホストインターフェース12を介してトレース条件
やトレース開始などの起動情報をプロセッサ11へ伝え
る。プロセッサ11は、ホストコンピュータ34側から
の情報を処理し、トレース制御部5のトレース条件の設
定やバストレースの起動を喚起する。バストレースの起
動を受け取ったトレース制御部5は、トレースタイマ6
を起動すると共に、共通バス1から共通バスデータ入力
部9を介して取り込んだ共通バス1上のデータと、共通
バス1に相互に接続されたプロセッサモジュール31,
32,33内のローカルバス20からローカルバスデー
タ入力部10を介して取り込んだローカルバス20上の
データとを、トレースタイマ6が生成する時間情報と共
にトレースメモリ4へ記憶する動作を制御する。
Next, the operation will be described. For example, when the maximum number of connections of the common bus 1 is 3, the processor module 33 is used to connect the trace device 3 to the common bus 1.
Is temporarily disconnected from the common bus 1, the trace device 3 is connected to the common bus 1 instead, and the processor module 33 is connected to the trace device 3 as shown in FIG. Since it is connected to the common bus 1, an environment similar to that of the microprocessor system before the trace device 3 is connected to the common bus 1 is realized. Operator to host computer 3
The start information such as the trace condition and the trace start is transmitted to the processor 11 via 4 and the host interface 12. The processor 11 processes the information from the host computer 34 side, and prompts the setting of the trace condition of the trace control unit 5 and the activation of the bus trace. The trace control unit 5 that has received the activation of the bus trace operates the trace timer 6
The data on the common bus 1 fetched from the common bus 1 via the common bus data input unit 9 and the processor modules 31 mutually connected to the common bus 1.
It controls the operation of storing the data on the local bus 20 fetched from the local bus 20 in 32, 33 via the local bus data input unit 10 in the trace memory 4 together with the time information generated by the trace timer 6.

【0012】図2は上記トレースメモリ周辺を示すブロ
ック図である。図2において、9aは共通バスのデータ
入力信号であり、9bはデータ入力信号9aの共通バス
確定信号である。また、10aはローカルバスのデータ
入力信号であり、10bはデータ入力信号10aのロー
カルバス確定信号である。4a,4bはトレースメモリ
4内のトレースメモリ領域である。6a,6bはトレー
スタイマ6からのタイマ値を一時保持するスルーラッチ
制御方式のタイマデータバッファ回路である。
FIG. 2 is a block diagram showing the periphery of the trace memory. In FIG. 2, 9a is a data input signal of the common bus, and 9b is a common bus confirmation signal of the data input signal 9a. Further, 10a is a data input signal of the local bus, and 10b is a local bus confirmation signal of the data input signal 10a. Reference numerals 4a and 4b are trace memory areas in the trace memory 4. Reference numerals 6a and 6b are through latch control type timer data buffer circuits for temporarily holding the timer value from the trace timer 6.

【0013】図3はトレースタイマ値を共通バスデー
タ,ローカルバスデータと同時に取り込む概念を示すタ
イミングチャート図を示し、右から左へ時間が経過して
行く時のデータの変化を示す。図3に於いて、T1は図
2のトレースタイマ6からタイマデータバッファ回路6
a,6bへ送られるタイマ値であり、定周期で変化す
る。T2は図2のタイマデータバッファ回路6aからト
レースメモリ領域4aへ送られるタイマ値、T3は図2
のタイマデータバッファ回路6bからトレースメモリ領
域4bへ送られるタイマ値を示す。B1は図2の共通バ
スデータ入力部9からトレースメモリ領域4aに送られ
る共通バスのデータ入力信号、B2は図2の共通バスデ
ータ入出力部9からトレースメモリ領域4aに送られる
共通バスのデータ入力信号が確定したことを示す共通バ
ス確定信号である。B3は図2のローカルバスデータ入
力部10からトレースメモリ領域4bに送られるローカ
ルバスのデータ入力信号、B4は図2のローカルバスデ
ータ入力部10からトレースメモリ領域4bに送られる
ローカルバスのデータ入力信号が確定したことを示すロ
ーカルバス確定信号である。
FIG. 3 is a timing chart showing the concept of taking in the trace timer value at the same time as the common bus data and the local bus data, and shows the change of the data when the time elapses from right to left. In FIG. 3, T1 is the trace timer 6 to the timer data buffer circuit 6 of FIG.
It is a timer value sent to a and 6b, and changes in a fixed cycle. T2 is the timer value sent from the timer data buffer circuit 6a of FIG. 2 to the trace memory area 4a, and T3 is the timer value of FIG.
The timer value sent from the timer data buffer circuit 6b to the trace memory area 4b is shown. B1 is a common bus data input signal sent from the common bus data input section 9 of FIG. 2 to the trace memory area 4a, and B2 is common bus data sent from the common bus data input / output section 9 of FIG. 2 to the trace memory area 4a. It is a common bus decision signal indicating that the input signal has been decided. B3 is a data input signal of the local bus sent from the local bus data input unit 10 of FIG. 2 to the trace memory area 4b, and B4 is a data input signal of the local bus sent from the local bus data input unit 10 of FIG. 2 to the trace memory area 4b. It is a local bus confirmation signal indicating that the signal has been confirmed.

【0014】次に動作について説明する。共通バスのデ
ータ入力信号9aが確定したことで共通バスデータ入力
部9から共通バス確定信号9bがタイマデータバッファ
回路6aへ出力され、タイマデータバッファ回路6aは
トレースタイマ6から送られてくるタイマ値を一時保持
する。トレースメモリ4aには、共通バスのデータ入力
信号9aと、タイマデータバッファ6aにて一時保持さ
れたタイマ値とが書き込まれる。ローカルバス側も同様
に動作するので、ローカルバスのデータと共通バスのデ
ータとが共通のタイマ値と共にトレースメモリに書き込
まれるので、共通バスとローカルバスの動作を時系列的
に解析することが可能である。
Next, the operation will be described. When the common bus data input signal 9a is determined, the common bus determination signal 9b is output from the common bus data input unit 9 to the timer data buffer circuit 6a, and the timer data buffer circuit 6a outputs the timer value sent from the trace timer 6. Hold temporarily. The data input signal 9a of the common bus and the timer value temporarily held in the timer data buffer 6a are written in the trace memory 4a. Since the local bus side operates in the same way, the data of the local bus and the data of the common bus are written to the trace memory together with the common timer value, so the operations of the common bus and the local bus can be analyzed in time series. Is.

【0015】実施例2(請求項2対応). 尚、上記実施例1では各プロセッサモジュール31,3
2,33のローカルバス8からの全ローカルバストレー
スデータをトレースインターフェース8を介してローカ
ルバスデータ入力部10へ一括して入力してたものを示
したが、プロセッサ11によりトレースインターフェー
ス8を制御して任意のローカルバスデータのみをローカ
ルバスデータ入力部10へ入力してもよい。また、トレ
ースインターフェース8とローカルバスデータ入力部1
0の間に、ローカルバスデータ選択用のマルチプレクサ
等の入力データ選択機構を設けてもよい。更に、上記実
施例1ではプロセッサモジュール31,32,33を3
つ示しているが、この数量は複数でも単数でもかまわな
い。
Embodiment 2 (corresponding to claim 2). In the first embodiment, each processor module 31, 3
All the local bus trace data from the local buses 8 of 2, 33 are collectively input to the local bus data input unit 10 via the trace interface 8, but the processor 11 controls the trace interface 8. Therefore, only arbitrary local bus data may be input to the local bus data input unit 10. In addition, the trace interface 8 and the local bus data input unit 1
Between 0, an input data selection mechanism such as a multiplexer for local bus data selection may be provided. Furthermore, in the above-described first embodiment, the processor modules 31, 32, and 33 are set to three.
However, this quantity may be plural or singular.

【0016】上記実施例1,2によるマルチプロセッサ
システムは、トレース装置に、共通バスのカスケード機
構を設け、例えばバスの最大接続数を満たしたマルチプ
ロセッサシステムであっても、共通バスに接続されてい
る任意のノードを共通バスから取り外し、そこにトレー
ス装置を接続し、共通バスから取り外したノードをトレ
ース装置のカスケード機構に接続することで元のマルチ
プロセッサシステムと同様の環境を実現するように機能
する。また、トレース装置にプロセッサを備え、ホスト
インターフェースからのバストレース起動要求にてトレ
ース動作を実行することで、共通バスの状態に無関係に
トレース装置を動作させるように機能する。更に、共通
バスと共通バスに相互に接続されたプロセッサモジュー
ル内のローカルバスの各々に対するデータ入力部を設
け、双方のバスのトレースを関連性を持たせて実行可能
とし、この結果をホストインターフェースを介し、オペ
レータへ伝えるように機能する。
In the multiprocessor system according to the first and second embodiments, the trace device is provided with the cascade mechanism of the common bus, and even the multiprocessor system satisfying the maximum number of connections of the bus is connected to the common bus. Function to realize the same environment as the original multiprocessor system by removing any node from the common bus, connecting the trace device to it, and connecting the node removed from the common bus to the cascade mechanism of the trace device. To do. Further, the tracing device is provided with a processor, and the tracing operation is executed in response to a bus trace activation request from the host interface, whereby the tracing device operates regardless of the state of the common bus. Further, a data input unit for each of the common bus and each of the local buses in the processor module mutually connected to the common bus is provided, and the traces of both buses can be executed in association with each other. Function to communicate to the operator via.

【0017】以上の様に、上記実施例1,2によれば、
マルチプロセッサシステムの共通バスに接続可能な最大
接続数に関係無く、トレース装置を運用することが可能
となる。また、トレース装置にプロセッサを備えたこと
で、共通バスの接続数を減じることができ、共通バス経
由のバストレース起動が不要となり、トレース装置単独
でバストレース動作の実行が可能となるため、共通バス
の電源立ち上げからの全データをトレースすることがで
き、マルチプロセッサシステムの不具合発生時の原因究
明が容易となる。更に、マルチプロセッサシステムの共
通バスと、共通バスに相互に接続されたプロセッサモジ
ュール内のローカルバスの双方のトレースを実行するこ
とで、マルチプロセッサシステム全般にわたる不具合が
発生した場合に、共通バスとプロセッサモジュール内部
の動作との関連性を把握することを可能としたため、不
具合の原因究明が容易に実現できる。
As described above, according to the first and second embodiments,
The trace device can be operated regardless of the maximum number of connections that can be connected to the common bus of the multiprocessor system. In addition, since the trace device is equipped with a processor, the number of connections on the common bus can be reduced, bus trace activation via the common bus is unnecessary, and the trace device can execute bus trace operations independently. All data from the bus power up can be traced and the cause of troubles in the multiprocessor system can be easily investigated. Furthermore, by performing a trace of both the common bus of the multiprocessor system and the local bus in the processor module interconnected to the common bus, the common bus and the processor can be processed in the event of a general multiprocessor system failure. Since it is possible to understand the relationship with the internal operation of the module, the cause of the failure can be easily investigated.

【0018】[0018]

【発明の効果】以上のように請求項1の発明によれば、
プロセッサモジュール内のローカルバスに流れるデータ
のトレース情報もトレースメモリに記憶させるためのト
レースインターフェースと、共通バスに流れるデータ及
びローカルバスに流れるデータの双方を同時にトレー
ス、または任意選択した一方のトレースを実行させるた
めのタイマ値を設定するトレースタイマとをトレース装
置に設け、そのトレースタイマを制御することによりト
レースを実行するようにしたので、共通バスの最大接続
数を満たしたマルチプロセッサシステムにおいてもトレ
ース動作させることができ、かつ共通バスのイニシャラ
イズ動作を含む全てのトレースが実行でき、共通バスと
共通バスに接続された各プロセッサモジュール内のロー
カルバスとの双方または一方のトレースが可能となり、
したがってマルチプロセッサシステムの不具合の原因の
究明が容易にできるという効果がある。
As described above, according to the invention of claim 1,
Trace interface for storing the trace information of the data flowing on the local bus in the processor module in the trace memory, and tracing both the data flowing on the common bus and the data flowing on the local bus at the same time, or executing one of the selected traces. A trace timer that sets a timer value for setting the trace value is provided in the trace device, and the trace is executed by controlling the trace timer, so even in a multiprocessor system that satisfies the maximum number of common bus connections, trace operation is possible. All traces including the initialization operation of the common bus can be performed, and the trace of the common bus and / or the local bus in each processor module connected to the common bus becomes possible.
Therefore, there is an effect that the cause of the malfunction of the multiprocessor system can be easily investigated.

【0019】請求項2の発明によれば、プロセッサモジ
ュール内のローカルバスに流れるデータのトレース情報
もトレースメモリに記憶させるためのトレースインター
フェースを設け、このインターフェースを制御すること
により任意または全てのプロセッサモジュール内のロー
カルバスに流れるデータのトレースを実行するようにし
たので、特に各プロセッサモジュールの不具合の原因の
究明が容易にできるという効果がある。
According to the second aspect of the present invention, a trace interface for storing the trace information of the data flowing on the local bus in the processor module in the trace memory is provided, and by controlling this interface, any or all processor modules are provided. Since the trace of the data flowing to the local bus in the inside is executed, there is an effect that the cause of the failure of each processor module can be easily found.

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

【図1】この発明の実施例1を示すマルチプロセッサシ
ステムのブロック図である。
FIG. 1 is a block diagram of a multiprocessor system showing a first embodiment of the present invention.

【図2】図1中のトレースメモリ周辺のブロック図であ
る。
FIG. 2 is a block diagram around a trace memory in FIG.

【図3】この実施例のトレース動作を示すタイミングチ
ャートである。
FIG. 3 is a timing chart showing a trace operation of this embodiment.

【図4】従来のマルチプロセッサシステムのブロック図
である。
FIG. 4 is a block diagram of a conventional multiprocessor system.

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

1 共通バス 3 トレース装置 4 トレースメモリ 5 トレース制御部 6 トレースタイマ 7 メモリ 8 トレースインターフェース 9 共通バスデータ入力部 10 ローカルバスデータ入力部 11 プロセッサ 12 ホストインターフェース 13,14 バッファ回路 15 プロセッサ 16 機能 17 バスインターフェース 18 メモリ 19 トレースインターフェース 20 ローカルバス 31,32,33 プロセッサモジュール 34 ホストコンピュータ 4a,4b トレースメモリ領域 6a,6b タイマデータバッファ回路 1 common bus 3 trace device 4 trace memory 5 trace control unit 6 trace timer 7 memory 8 trace interface 9 common bus data input unit 10 local bus data input unit 11 processor 12 host interface 13, 14 buffer circuit 15 processor 16 function 17 bus interface 18 memory 19 trace interface 20 local bus 31, 32, 33 processor module 34 host computer 4a, 4b trace memory area 6a, 6b timer data buffer circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセッサモジュールを相互に接
続している共通バスに流れるデータのトレース情報を記
憶するトレースメモリと、このトレースメモリの動作を
制御するトレース制御部とを備えたトレース装置を有す
るマルチプロセッサシステムにおいて、上記プロセッサ
モジュール内のローカルバスに流れるデータのトレース
情報も上記トレースメモリに記憶させるためのトレース
インターフェースと、上記共通バスに流れるデータ及び
上記ローカルバスに流れるデータの双方を同時にトレー
ス、または任意選択した一方のトレースを実行させるた
めのタイマ値を設定するトレースタイマとを上記トレー
ス装置に設け、上記トレースタイマを制御することによ
り上記トレースを実行することを特徴とするバストレー
ス実行方法。
1. A trace device comprising: a trace memory for storing trace information of data flowing on a common bus interconnecting a plurality of processor modules; and a trace controller for controlling the operation of the trace memory. In a multiprocessor system, a trace interface for storing also trace information of data flowing on a local bus in the processor module in the trace memory, and tracing both data flowing on the common bus and data flowing on the local bus at the same time, Alternatively, a bus trace execution method characterized in that a trace timer for setting a timer value for executing one of the arbitrarily selected traces is provided in the trace device, and the trace is executed by controlling the trace timer.
【請求項2】 複数のプロセッサモジュールを相互に接
続している共通バスに流れるデータのトレース情報を記
憶するトレースメモリと、このトレースメモリの動作を
制御するトレース制御部とを備えたトレース装置を有す
るマルチプロセッサシステムにおいて、上記プロセッサ
モジュール内のローカルバスに流れるデータのトレース
情報も上記トレースメモリに記憶させるためのトレース
インターフェースを設け、このインターフェースを制御
することにより任意または全ての上記プロセッサモジュ
ール内のローカルバスに流れるデータのトレースを実行
することを特徴とするバストレース実行方法。
2. A trace device comprising a trace memory for storing trace information of data flowing on a common bus interconnecting a plurality of processor modules, and a trace controller for controlling the operation of the trace memory. In a multiprocessor system, a trace interface for storing the trace information of the data flowing on the local bus in the processor module in the trace memory is provided, and by controlling this interface, any or all of the local buses in the processor module are provided. A method of executing a bus trace, characterized by executing a trace of data flowing through the bus.
JP5028514A 1993-01-25 1993-01-25 Bus tracing execution method Pending JPH06223046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5028514A JPH06223046A (en) 1993-01-25 1993-01-25 Bus tracing execution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5028514A JPH06223046A (en) 1993-01-25 1993-01-25 Bus tracing execution method

Publications (1)

Publication Number Publication Date
JPH06223046A true JPH06223046A (en) 1994-08-12

Family

ID=12250799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5028514A Pending JPH06223046A (en) 1993-01-25 1993-01-25 Bus tracing execution method

Country Status (1)

Country Link
JP (1) JPH06223046A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519544B1 (en) 1999-09-29 2003-02-11 Fujitsu Limited Method and apparatus for IEEE 1394 bus analysis

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519544B1 (en) 1999-09-29 2003-02-11 Fujitsu Limited Method and apparatus for IEEE 1394 bus analysis

Similar Documents

Publication Publication Date Title
JP2886856B2 (en) Redundant bus connection method
JP3514651B2 (en) Reboot control device
JP3380827B2 (en) Emulator device
JPH06223046A (en) Bus tracing execution method
JPH08171504A (en) Emulation device
JP2003280998A (en) Device and method for testing internal bus
JPH0478902A (en) Bus controller
JP3511407B2 (en) Interface board and instruction processing device
JP3394834B2 (en) Debugging method for devices that make up a multiprocessor system
JPH07104795B2 (en) Error detection method
JP2003099397A (en) Data processing system
JPH05128279A (en) One-chip microcomputer
JP2978321B2 (en) Data processing device, control method thereof, and data processing system device
JP2579003B2 (en) Data transfer device between memories
JPH1139278A (en) Processor and memory access method
JPS59208666A (en) Multiprocessor system
JPS63167939A (en) Emulator for microcomputer with built-in plural processors
JPH08106432A (en) Dma control circuit
JPS6140658A (en) Data processor
JPS62269237A (en) Data processor
JPH10247185A (en) Fault diagnostic system for processor
JPH032988A (en) Microcomputer
JPH02260083A (en) Parallel processor and development supporting device
JPH05159042A (en) Picture processor
JPS62130437A (en) Lsi tracing system