JP2583602B2 - Debugging device in multiprocessor system - Google Patents

Debugging device in multiprocessor system

Info

Publication number
JP2583602B2
JP2583602B2 JP1046668A JP4666889A JP2583602B2 JP 2583602 B2 JP2583602 B2 JP 2583602B2 JP 1046668 A JP1046668 A JP 1046668A JP 4666889 A JP4666889 A JP 4666889A JP 2583602 B2 JP2583602 B2 JP 2583602B2
Authority
JP
Japan
Prior art keywords
interrupt signal
processor
trace
signal
transmitting
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 - Fee Related
Application number
JP1046668A
Other languages
Japanese (ja)
Other versions
JPH02228742A (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.)
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 JP1046668A priority Critical patent/JP2583602B2/en
Publication of JPH02228742A publication Critical patent/JPH02228742A/en
Application granted granted Critical
Publication of JP2583602B2 publication Critical patent/JP2583602B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、システムバスにより接続された複数のプ
ロセッサがその実行プログラムの履歴を表わすトレース
情報を記憶するためのトレースメモリをそれぞれ具備し
て成るマルチプロセッサシステムにおけるデバッグ装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention comprises a plurality of processors connected by a system bus each having a trace memory for storing trace information indicating a history of an execution program of the processor. The present invention relates to a debugging device in a multiprocessor system.

〔従来の技術〕[Conventional technology]

第2図は従来のマルチプロセッサシステムにおけるデ
バッグ装置の構成図であり、図において1−0〜1−4
はCPUから成るプロセッサ、2−0〜2−4は各プロセ
ッサ1−0〜1−4にそれぞれ具備されたトレースメモ
リ、4は各プロセッサ1−0〜1−4間を接続するシス
テムバス、5−0〜5−4は各プロセッサ1−0〜1−
4と各トレースメモリ2−0〜2−4を接続するトレー
ス情報出力線である。
FIG. 2 is a configuration diagram of a debugging device in a conventional multiprocessor system.
Is a processor composed of a CPU; 2-0 to 2-4 are trace memories provided in the processors 1-0 to 1-4 respectively; 4 is a system bus connecting the processors 1-0 to 1-4; −0 to 5-4 are the processors 1-0 to 1-
4 is a trace information output line connecting the trace memory 2 to each of the trace memories 2-0 to 2-4.

次に動作について説明する。各プロセッサ1−0〜1
−4は各々の実行プログラムの履歴を表わすトレース情
報をそれぞれ、自身のトレースメモリ2−0〜2−4に
対しトレース情報出力線5−0〜5−4を介し出力して
格納している。また複数のプロセッサ間において相互の
トレース情報を格納する場合には、例えばプロセッサ1
−0から他のプロセッサ1−1〜1−4に対してシステ
ムバス4を介して周期的にメッセージ信号を送信し、し
かして各プロセッサ1−1〜1−4は順次、このメッセ
ージ信号を受信するとそのとき自身のトレースメモリ2
−1〜2−4に該メッセージ信号を受信したことを示す
同期信号マークを書込む。これにより各プロセッサ1−
1〜1−4のトレース情報に含まれる同期信号マークか
ら、複数のプロセッサ1−0〜1−4間の実行プログラ
ムの相互の履歴を知り、デバッグ時に利用するようにし
ている。
Next, the operation will be described. Each processor 1-0 to 1
Reference numeral -4 indicates that trace information indicating the history of each execution program is output to and stored in its own trace memories 2-0 to 2-4 via trace information output lines 5-0 to 5-4. When mutual trace information is stored between a plurality of processors, for example, the processor 1
−0 to the other processors 1-1 to 1-4 periodically transmit a message signal via the system bus 4, and each processor 1-1 to 1-4 sequentially receives the message signal. Then, its own trace memory 2
A synchronization signal mark indicating that the message signal has been received is written in -1 to 2-4. Thereby, each processor 1-
Mutual histories of execution programs among a plurality of processors 1-0 to 1-4 are known from synchronization signal marks included in trace information 1 to 1-4, and are used for debugging.

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

従来のマルチプロセッサシステムにおけるデバッグ装
置は以上のように構成されているので、特定のプロセッ
サから他の各プロセッサに対し、同期信号マークをトレ
ース情報に付加するためのメッセージ信号をシステムバ
スを介して送信した場合に、各プロセッサにメッセージ
信号を順次送信してゆくことと、システムバス上の伝送
渋滞の発生とにより、各プロセッサのトレース情報に付
加される同期信号マークに互いに時間的なずれが発生し
てしまい、そのためにマルチプロセッサシステム全体に
おけるプログラム実行の履歴を正確に知りえなくなるな
どの問題点があった。
Since the debug device in the conventional multiprocessor system is configured as described above, a message signal for adding a synchronization signal mark to trace information is transmitted from a specific processor to each other processor via a system bus. In this case, due to the sequential transmission of the message signal to each processor and the occurrence of transmission congestion on the system bus, a time lag occurs between the synchronization signal marks added to the trace information of each processor. As a result, there has been a problem that the history of program execution in the entire multiprocessor system cannot be accurately known.

この発明は上記のような問題点を解消するためになさ
れたもので、マルチプロセッサ間の実行プログラムの履
歴を時間的なずれなしに正確に知ることができ、確実な
デバッグが行えるようにしたマルチプロセッサシステム
におけるデバッグ装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has been made in consideration of the above-mentioned problems. An object of the present invention is to obtain a debugging device in a processor system.

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

請求項1の発明に係るマルチプロセッサシステムにお
けるデバッグ装置は、特定プロセッサから他のプロセッ
サに対して割込信号を送信する割込信号専用の割込信号
送信手段と、この割込信号送信手段による割込信号の同
時受信時に各プロセッサが自身のトレースメモリに同期
信号マークをトレース情報として同時に格納する同期信
号マーク格納機構手段とを備えたものである。
According to the first aspect of the present invention, there is provided a debugging device in a multiprocessor system, comprising: an interrupt signal transmitting unit dedicated to transmitting an interrupt signal from a specific processor to another processor; Synchronous signal mark storage mechanism means for each processor to simultaneously store a synchronous signal mark as trace information in its own trace memory at the time of simultaneous reception of embedded signals.

また、請求項2の発明に係るマルチプロセッサシステ
ムにおけるデバッグ装置は、各プロセッサが各々相互に
割込信号を送受信することが可能な割込信号専用の割込
信号送受手段と、この割込信号送受手段により任意のプ
ロセッサが割込信号を送信したとき、その他のプロセッ
サが上記割込信号を同時受信して、各プロセッサが自身
のトレースメモリに同期信号マークをトレース情報とし
て同時に格納する同期信号マーク格納機能手段とを備え
たものである。
Further, according to a second aspect of the present invention, there is provided a debugging apparatus for a multiprocessor system, comprising: an interrupt signal transmitting / receiving unit dedicated to an interrupt signal capable of transmitting / receiving an interrupt signal to / from each processor; When any processor transmits an interrupt signal by the means, other processors simultaneously receive the interrupt signal, and each processor simultaneously stores a synchronous signal mark in its own trace memory as trace information. And functional means.

〔作用〕[Action]

この発明における割込信号送受手段によってあるプロ
セッサが他のプロセッサに割込信号を同時に送信する
と、他のプロセッサはその割込信号の受信時に同時に、
各々のトレースメモリに同期信号マークを共に格納し、
正確なデバッグを可能とする。
When one processor simultaneously transmits an interrupt signal to another processor by the interrupt signal transmitting / receiving means of the present invention, the other processor simultaneously receives the interrupt signal when receiving the interrupt signal.
The synchronization signal mark is stored together in each trace memory,
Enables accurate debugging.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第
1図において、3は各プロセッサ1−0〜1−4が相互
に割込信号を送受するための割込信号送受手段としての
割込信号線である。しかして前記割込信号を同時に受信
した各プロセッサは、自身のトレースメモリに同時に、
自身のCPUが備えている同期信号マーク格納機能手段に
よって同期信号マークをトレース情報として格納する。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, reference numeral 3 denotes an interrupt signal line as an interrupt signal transmitting / receiving means for allowing the processors 1-0 to 1-4 to mutually transmit and receive an interrupt signal. Thus, each processor that has received the interrupt signal at the same time,
The synchronization signal mark is stored as trace information by the synchronization signal mark storage function means provided in the own CPU.

次に動作を説明する。各プロセッサ1−0〜1−4間
における相互のトレース情報を格納する際には、例えば
プロセッサ1−0が割込信号線3に対して割込信号を出
力して他のプロセッサ1−1〜1−4に例えば周期的に
送信する。したがって他のプロセッサ1−1〜1−4は
周期的にこの割込信号を各プロセッサ1−1〜1−4同
時に受信し、その受信時に各プロセッサ1−1〜1−4
は自身のトレースメモリ2−1〜2−4にトレース情報
として同期信号マークを同時に格納する。
Next, the operation will be described. When storing mutual trace information between the processors 1-0 to 1-4, for example, the processor 1-0 outputs an interrupt signal to the interrupt signal line 3 and outputs the other processors 1-1 to 1-4. For example, the data is periodically transmitted to 1-4. Therefore, the other processors 1-1 to 1-4 periodically receive this interrupt signal simultaneously with each of the processors 1-1 to 1-4.
Simultaneously stores a synchronization signal mark as trace information in its own trace memories 2-1 to 2-4.

したがって各プロセッサ1−0〜1−4のトレースメ
モリ2−0〜2−4には時間的なずれのない同期信号マ
ークが互いに記憶されて残されることになり、各プロセ
ッサ1−0〜1−4間の実行プログラムの履歴の時間的
なずれがなくなり、同期がとれて確実なデバッグが実行
可能となる。
Therefore, the synchronization signal marks having no time lag are stored and left in the trace memories 2-0 to 2-4 of the processors 1-0 to 1-4, respectively. There is no time lag in the history of the execution programs among the four programs, and synchronization can be ensured and reliable debugging can be performed.

尚、前記実施例では、特定のプロセッサから他の各プ
ロセッサへ周期的に割込信号を送信し、各トレースメモ
リに同期信号マークを付ける方式を取っているが、他の
ガードへメッセージ信号を送信するプロセッサがそのメ
ッセージ送信時に上記のように割込信号を送信しても前
記実施例と同様の効果を奏する。
In the above-described embodiment, a method of periodically transmitting an interrupt signal from a specific processor to each of the other processors and attaching a synchronization signal mark to each of the trace memories is adopted, but a message signal is transmitted to another guard. The same effect as that of the above embodiment can be obtained even if the processor that transmits the message transmits the interrupt signal as described above when transmitting the message.

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

以上のように請求項1の発明によれば、マルチプロセ
ッサシステムにおけるデバッグ装置を、特定のプロセッ
サから他の各プロセッサに割込信号を送信し、これに対
し各プロセッサがその割込信号を同時に受信したとき
に、各プロセッサは自身のトレースメモリに同期信号マ
ークをトレース情報として同時に格納するように構成し
たので、プロセッサ間における相互のトレース情報の格
納時に各トレース情報に同時性が保たれて同期がとられ
ているから、このトレース情報による複数のプロセッサ
のプログラム実行の履歴をそのデバッグ時に正確に読取
ることができる効果がある。
As described above, according to the first aspect of the present invention, the debug device in the multiprocessor system transmits an interrupt signal from a specific processor to each of the other processors, and each processor receives the interrupt signal simultaneously. At the same time, each processor is configured to simultaneously store the synchronization signal mark as its trace information in its own trace memory, so that when the mutual trace information is stored between the processors, the synchronization is maintained with the synchronization of each trace information. Therefore, there is an effect that the history of program execution of a plurality of processors based on the trace information can be accurately read at the time of debugging.

また、請求項2の発明によれば、各々のプロセッサが
割込信号を送信できるように構成したので、請求項1に
加えて、次のような効果を奏する。即ち、不具合のある
プロセッサAはそれ自身が原因で不具合を生じることも
あるが、他のプロセッサBから送信されてくるデータに
よって不具合を生じることもある。このような場合、プ
ロセッサBが割込信号を送信するよりは、プロセッサA
がそれ自身タイミングで割込信号を送信し、同期をとる
ことにより自身のプログラム履歴と他のプロセッサBの
状態を的確に把握することができる効果がある。
According to the second aspect of the present invention, since each processor is configured to be able to transmit an interrupt signal, the following effects are obtained in addition to the first aspect. That is, the faulty processor A may cause a fault due to itself, but may also cause a fault due to data transmitted from another processor B. In such a case, rather than the processor B sending an interrupt signal, the processor A
Transmits an interrupt signal at its own timing and synchronizes with each other, so that it is possible to accurately grasp its own program history and the state of another processor B.

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

第1図はこの発明の一実施例の構成図、第2図は従来装
置の構成図である。 1−0〜1−4はプロセッサ、2−0〜2−4はトレー
スメモリ、3は割込信号送受手段(割込信号線)、4は
システムバス。 尚、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of a conventional apparatus. 1-0 to 1-4 are processors, 2-0 to 2-4 are trace memories, 3 is interrupt signal transmitting / receiving means (interrupt signal lines), and 4 is a system bus. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】システムバスにより接続された複数のプロ
セッサが実行する実行プログラムの履歴を表わすトレー
ス情報を記憶するトレースメモリをそれぞれ具備して成
るマルチプロセッサシステムにおけるデバッグ装置にお
いて、特定プロセッサから他のプロセッサに対して割込
信号を送信する割込信号専用の割込信号送信手段と、こ
の割込信号送信手段による割込信号の同時受信時に各プ
ロセッサが自身のトレースメモリに同期信号マークをト
レース情報として同時に格納する同期信号マーク格納機
構手段とを備えたことを特徴とするマルチプロセッサシ
ステムにおけるデバッグ装置。
1. A debugging device in a multiprocessor system comprising a trace memory for storing trace information indicating a history of an execution program executed by a plurality of processors connected by a system bus. An interrupt signal transmitting means dedicated to the interrupt signal for transmitting an interrupt signal to the processor, and when each interrupt signal is simultaneously received by the interrupt signal transmitting means, each processor stores a synchronization signal mark in its own trace memory as trace information. A debug device in a multiprocessor system, comprising: a synchronous signal mark storage mechanism for simultaneously storing.
【請求項2】システムバスにより接続された複数のプロ
セッサが実行する実行プログラムの履歴を表わすトレー
ス情報を記憶するトレースメモリをそれぞれ具備して成
るマルチプロセッサシステムにおけるデバッグ装置にお
いて、各プロセッサが各々相互に割込信号を送受信する
ことが可能な割込信号専用の割込信号送受手段と、この
割込信号送受手段により任意のプロセッサが割込信号を
送信したとき、その他のプロセッサが上記割込信号を同
時受信して、各プロセッサが自身のトレースメモリに同
期信号マークをトレース情報として同時に格納する同期
信号マーク格納機能手段とを備えたことを特徴とするマ
ルチプロセッサシステムにおけるデバッグ装置。
2. A debug device in a multiprocessor system comprising a trace memory for storing trace information indicating a history of an execution program executed by a plurality of processors connected by a system bus. An interrupt signal transmitting / receiving means dedicated to an interrupt signal capable of transmitting / receiving an interrupt signal, and when any processor transmits an interrupt signal by the interrupt signal transmitting / receiving means, the other processors transmit the interrupt signal. Synchronous signal mark storing function means for simultaneously receiving and simultaneously storing synchronous signal marks in its own trace memory as trace information, and a synchronous signal mark storing function means.
JP1046668A 1989-03-01 1989-03-01 Debugging device in multiprocessor system Expired - Fee Related JP2583602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1046668A JP2583602B2 (en) 1989-03-01 1989-03-01 Debugging device in multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1046668A JP2583602B2 (en) 1989-03-01 1989-03-01 Debugging device in multiprocessor system

Publications (2)

Publication Number Publication Date
JPH02228742A JPH02228742A (en) 1990-09-11
JP2583602B2 true JP2583602B2 (en) 1997-02-19

Family

ID=12753735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1046668A Expired - Fee Related JP2583602B2 (en) 1989-03-01 1989-03-01 Debugging device in multiprocessor system

Country Status (1)

Country Link
JP (1) JP2583602B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5260576A (en) * 1990-10-29 1993-11-09 National Recovery Technologies, Inc. Method and apparatus for the separation of materials using penetrating electromagnetic radiation
USRE36537E (en) * 1990-10-29 2000-02-01 National Recovery Technologies, Inc. Method and apparatus for sorting materials using electromagnetic sensing
JPH06110739A (en) * 1992-09-25 1994-04-22 Nitto Kohki Co Ltd Computer system
WO2008023323A2 (en) 2006-08-21 2008-02-28 Nxp B.V. Multiprocessor system and method for synchronizing a debugging process of a multiprocessor system
JPWO2010097875A1 (en) * 2009-02-24 2012-08-30 パナソニック株式会社 Data processing apparatus and method
JP5874433B2 (en) * 2012-02-20 2016-03-02 富士通株式会社 Trace coupling device and program

Also Published As

Publication number Publication date
JPH02228742A (en) 1990-09-11

Similar Documents

Publication Publication Date Title
JPH02109153A (en) Inter-processor data transmission system
JP3797491B2 (en) Data interface and high-speed communication system using the same
JPS6230466B2 (en)
JP2583602B2 (en) Debugging device in multiprocessor system
US4371926A (en) Input/output information indication system
JPH11232211A (en) Dma control device and its method
JPH0520782B2 (en)
JP2580558B2 (en) Interface device
JPS6126706B2 (en)
JPH0281259A (en) Fault information freezing system
JP2729184B2 (en) Output synchronization method in control device using a plurality of data processing devices
JPH01140360A (en) Time out detecting system
JPH0115100B2 (en)
JP2883091B2 (en) Multiprocessor system
JPS62204358A (en) Data communication processing system
KR930002857B1 (en) System formation table making-up method for multi-processor system
KR101371506B1 (en) Method for dead-lock avoidance for 2-processor data communication system
JPH0375856A (en) Applied protocol machine testing system
JPH0122300Y2 (en)
JP2580311B2 (en) Mutual monitoring processing method of multiplex system
JPH0213871B2 (en)
JPH0398140A (en) Parallel bus system
JPH01116747A (en) Cache lsi
JPH04175857A (en) Trouble information transfer system
JPH0410037A (en) Sequential access memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees