JPH05313946A - Debugging back-up device for multiprocessor system - Google Patents

Debugging back-up device for multiprocessor system

Info

Publication number
JPH05313946A
JPH05313946A JP4113505A JP11350592A JPH05313946A JP H05313946 A JPH05313946 A JP H05313946A JP 4113505 A JP4113505 A JP 4113505A JP 11350592 A JP11350592 A JP 11350592A JP H05313946 A JPH05313946 A JP H05313946A
Authority
JP
Japan
Prior art keywords
clock
processors
processor
signal
system clock
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
JP4113505A
Other languages
Japanese (ja)
Inventor
Keiji Ishikawa
啓二 石川
Kyozo Takahashi
京三 高橋
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.)
N T T ELECTRON TECHNOL KK
Nippon Telegraph and Telephone Corp
NTT ElectronicsTechno Corp
Original Assignee
N T T ELECTRON TECHNOL KK
Nippon Telegraph and Telephone Corp
NTT ElectronicsTechno 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 N T T ELECTRON TECHNOL KK, Nippon Telegraph and Telephone Corp, NTT ElectronicsTechno Corp filed Critical N T T ELECTRON TECHNOL KK
Priority to JP4113505A priority Critical patent/JPH05313946A/en
Publication of JPH05313946A publication Critical patent/JPH05313946A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To grasp the internal states of all processors constructing a multiprocessor system and all hard modules at the time of a break point of the processor to be debugged. CONSTITUTION:The processors 11-1n are connected to each other and work synchronously with a system clock 301, and the hardware modules 21-2m are also connected to each other and work synchronously with the clock 301. The processors 11-1n output the stop signals 311-31n at the time of their break points, respectively. A clock control part 3 usually outputs a system clock 400 as it is as the clock 30 and stops the clock 301 when a stop signal is inputted from a debugging subject processor designated by a processor selection signal 401. Then, the clock 301 is started again with application of a restart signal 402.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数のプロセッサ及び
複数のハードウエアモジュールが相互にデータを転送し
ながら並列的に処理を実行するマルチプロセッサシステ
ムのデバグ支援装置に係わり、特にプロセッサ及びハー
ドウエアモジュール相互の間の動作関係を明確にでき、
マルチプロセッサシステム全体のデバグを容易に行える
ようにした、マルチプロセッサシステムのデバグ支援装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debug assisting device for a multiprocessor system in which a plurality of processors and a plurality of hardware modules execute processing in parallel while mutually transferring data, and more particularly to the processor and the hardware. You can clarify the operational relationship between modules,
The present invention relates to a debugging support device for a multiprocessor system, which facilitates debugging of the entire multiprocessor system.

【0002】[0002]

【従来の技術】一般にプログラムのデバグは、プログラ
ム中にブレークポイントを挿入しておき、該ブレークポ
イント毎にプロセッサの実行を停止させ、その時のプロ
セッサの状況を観測することで行われる。一方、マルチ
プロセッサシステムでは複数のプロセッサおよび複数の
ハードウエアモジュールを配備し、相互にデータを転送
しながら並列処理することで、高性能システムを構築し
ている。
2. Description of the Related Art Generally, a program is debugged by inserting a breakpoint in the program, stopping the execution of the processor for each breakpoint, and observing the state of the processor at that time. On the other hand, in a multiprocessor system, a high-performance system is constructed by deploying a plurality of processors and a plurality of hardware modules and performing parallel processing while transferring data mutually.

【0003】従来、このようなマルチプロセッサシステ
ムのデバグ作業を支援する技術としては、例えば特開昭
63−85942号公報に記載されているように、ブレ
ークポイントに到達したプロセッサからの停止信号によ
り他のプロセッサも停止させることにより、デバグ対象
のプロセッサの停止時に、全てのプロセッサのプログラ
ム状態の把握を容易にする方法が知られている。
Conventionally, as a technique for supporting the debug work of such a multiprocessor system, as described in, for example, Japanese Patent Laid-Open No. 63-85942, another technique is known in which a stop signal from a processor reaching a breakpoint is used. There is known a method of facilitating the grasp of the program states of all the processors when the debug target processors are stopped by also stopping the processors.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術において
は、ブレークポイント時、各プロセッサと同期して動作
している他のハードウエアモジュールを停止させること
については考慮していないため、各プロセッサの停止時
点での他のハードウエアモジュールの内部状態が把握で
きずシステム全体のデバグが困難であった。
In the above-mentioned prior art, since stopping the other hardware modules operating in synchronization with each processor at the time of a break point is not taken into consideration, stopping each processor. It was difficult to debug the entire system because the internal states of other hardware modules at that time could not be grasped.

【0005】本発明の目的は、デバグ対象となるプロセ
ッサの停止時点での、マルチプロセッサシステムを構成
する全てのプロセッサのプログラムおよび内部状態、並
びに他の全てのハードウエアモジュールの内部状態を把
握することが可能となるデバグ支援装置を提供すること
にある。
An object of the present invention is to grasp the programs and internal states of all the processors constituting the multiprocessor system and the internal states of all other hardware modules when the processor to be debugged is stopped. It is to provide a debug support device that enables the above.

【0006】[0006]

【課題を解決するための手段】本発明に係わるマルチプ
ロセッサシステムのデバグ支援装置は、システムクロッ
クに同期して動作し、相互に接続された複数のプロセッ
サと、同じくシステムクロックに同期して動作し、前記
複数のプロセッサと相互に接続された複数のハードウエ
アモジュールから構成されるシステムに、前記複数のプ
ロセッサのうちデバグ対象となる一つあるいは複数のプ
ロセッサから停止信号が入力されたら、当該プロセッサ
を含めて全ての前記プロセッサ及び全ての前記ハードウ
エアモジュールへの該システムクロックを停止し、外部
からのリスタート信号によりシステムクロックを再開す
るクロック制御手段を備えるものである。
A debug support device for a multiprocessor system according to the present invention operates in synchronization with a system clock, and operates in synchronization with a plurality of mutually connected processors in the same manner as the system clock. , If a stop signal is input from one or more processors to be debugged among the plurality of processors to a system composed of a plurality of hardware modules interconnected with the plurality of processors, A clock control means for stopping the system clocks to all the processors and all the hardware modules including the above and restarting the system clocks by a restart signal from the outside is provided.

【0007】[0007]

【作用】ユーザはデバグ対象となるプロセッサを一つ或
いは複数指定することができる。このデバグ対象プロセ
ッサのいずれか一つ或いは全てがブレークポイントに達
し停止信号を送出した時点で、クロック制御手段は、プ
ロセッサのマシンサイクルの切れ目等でシステムクロッ
クを停止し、システム全体の全ての構成要素の動作を同
時に停止させる。この停止時における全プロセッサのメ
モリ、レジスタの内容、並びに他のハードウエアモジュ
ールのレジスタの内容等を読み出すことにより、システ
ム内の動作状況を正確に観測することができる。その
後、外部からのリスタート信号によりシステムクロック
を再開すれば、システムの動作を正常に継続することが
でき、マルチプロセッサシステムの全ての構成要素の効
率的なトレース及びデバグが可能となる。
The user can specify one or more processors to be debugged. When any one or all of the debug target processors reach the breakpoint and send the stop signal, the clock control means stops the system clock at the break of the machine cycle of the processor and all the constituent elements of the entire system. Stop the operation at the same time. By reading the memory of all the processors, the contents of the registers, the contents of the registers of the other hardware modules, etc. at the time of this stop, the operating condition in the system can be accurately observed. After that, if the system clock is restarted by a restart signal from the outside, the system operation can be continued normally, and efficient tracing and debugging of all the components of the multiprocessor system are possible.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面により詳細に
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0009】図1は本発明を適用した第1の実施例を示
すブロック図であり、システムクロック301に同期し
て動作し相互に接続された複数のプロセッサ11〜1n
と、同じくシステムクロック301に同期して動作し前
記複数のプロセッサ11〜1nと相互に接続された複数
のハードウエアモジュール21〜2mと、各プロセッサ
11〜1nからの停止信号311〜31n、及び、外部
からのプロセッサ選択信号401、リスタート信号40
2によりシステムクロック400の停止/再開制御を行
い、各プロセッサ11〜1n及び各ハードウエアモジュ
ール21〜2mへシステムクロック301を出力するク
ロック制御部3から構成される。
FIG. 1 is a block diagram showing a first embodiment to which the present invention is applied, and a plurality of processors 11 to 1n which operate in synchronization with a system clock 301 and are connected to each other.
And a plurality of hardware modules 21 to 2m which operate in synchronization with the system clock 301 and are mutually connected to the plurality of processors 11 to 1n, stop signals 311 to 31n from the processors 11 to 1n, and External processor selection signal 401, restart signal 40
2, the system clock 400 is controlled to be stopped / restarted, and the clock control unit 3 outputs the system clock 301 to each of the processors 11 to 1n and each of the hardware modules 21 to 2m.

【0010】各プロセッサ11〜1nはブレークポイン
トに達すると停止信号311〜31nを出力する。クロ
ック制御部3は、通常は外部からのシステムクロック4
00をスルーでシステムクロック301としてシステム
全体に供給しているが、各プロセッサ11〜1nからの
停止信号311〜31nのうち、デバグ対象のプロセッ
サを示すプロセッサ選択信号401で指定されたプロセ
ッサからの停止信号を入力すると、システムクロック3
01の出力を停止する。これにより、プロセッサ11〜
1n及びハードウエアモジュール21〜2mの全てのシ
ステム構成要素の動作が同時に停止する。従って、この
停止時における全プロセッサ11〜1nのメモリ、レジ
スタの内容、並び他のハードウエアモジュール21〜2
mのレジスタの内容等を読み出すことにより、マルチプ
ロセッサシステム内の全ての動作状況を正確に観測する
ことができる。その後、外部よりリスタート信号402
をアクティブにすると、クロック制御部3は再びシステ
ムクロック400をスルーでシステムクロック301と
してシステム全体に供給し、システムの動作を再開す
る。
Each of the processors 11 to 1n outputs a stop signal 311 to 31n when the break point is reached. The clock control unit 3 normally uses an external system clock 4
00 is supplied to the entire system as the system clock 301 through, but from the stop signals 311 to 31n from the respective processors 11 to 1n, the stop from the processor designated by the processor selection signal 401 indicating the debug target processor is stopped. When a signal is input, the system clock 3
The output of 01 is stopped. As a result, the processors 11 to 11
The operation of all system components of 1n and the hardware modules 21 to 2m is stopped at the same time. Therefore, the memory, register contents, and other hardware modules 21 to 2 of all the processors 11 to 1n at the time of this stop
By reading the contents of the m register and the like, it is possible to accurately observe all operating conditions in the multiprocessor system. After that, restart signal 402 from the outside
When is activated, the clock control unit 3 again supplies the system clock 400 to the entire system as the system clock 301 through, and restarts the operation of the system.

【0011】図2は、図1中のクロック制御部3の具体
的構成例を示したものである。図において、デコーダ4
1は外部から与えられるデバグ対象プロセッサを指定す
るためのプロセッサ選択信号401をデコードし、出力
信号411〜41nの少なくとも一つをアクティブにす
る。AND回路51〜5nには、それぞれデコーダ41
の出力信号411〜41n及びプロセッサ11〜1nか
らの停止信号311〜31nが入力されている。該AN
D回路51〜5nのうち、デコーダ41の出力信号のア
クティブになったAND回路における停止信号がアクテ
ィブになると、即ち、プロセッサ選択信号401で指定
されたプロセッサの停止信号がアクティブになると、O
R回路50を通してフリップフロップ42がセット状態
に切り替わる。通常、フリップフロップ42はリセット
状態にあり、その時はAND回路30を通してシステム
クロック400をそのままシステムクロック301とし
て出力しているが、セット状態になるとAND回路30
は閉じ、システムクロック301は停止する。その後、
外部よりリスタート信号402をアクティブにすると、
フリップフロップ42はリセット状態に戻ってAND回
路30が開き、再びシステムクロック400がAND回
路30を通してシステムクロック301として出力され
る。
FIG. 2 shows a concrete configuration example of the clock controller 3 in FIG. In the figure, the decoder 4
1 decodes a processor selection signal 401 for designating a debug target processor given from the outside, and activates at least one of output signals 411 to 41n. Each of the AND circuits 51 to 5n has a decoder 41.
Output signals 411 to 41n and stop signals 311 to 31n from the processors 11 to 1n are input. The AN
Of the D circuits 51 to 5n, when the stop signal in the AND circuit in which the output signal of the decoder 41 is activated becomes active, that is, when the stop signal of the processor designated by the processor selection signal 401 becomes active, O
The flip-flop 42 is switched to the set state through the R circuit 50. Normally, the flip-flop 42 is in the reset state, and at that time, the system clock 400 is directly output as the system clock 301 through the AND circuit 30, but when it is in the set state, the AND circuit 30
Is closed and the system clock 301 is stopped. afterwards,
When the restart signal 402 is activated from the outside,
The flip-flop 42 returns to the reset state, the AND circuit 30 opens, and the system clock 400 is output again as the system clock 301 through the AND circuit 30.

【0012】なお、デバグ対象となるプロセッサが複数
の場合は、デコーダ41の出力信号411〜41nの複
数のものが選択される。この場合、対応する複数のプロ
セッサからの停止信号のうち、最も早くアクティブにな
った停止信号の発生時点でフリップフロップ42がセッ
ト状態になり、システムクロック301の出力が停止す
ることになる。
When there are a plurality of processors to be debugged, a plurality of output signals 411 to 41n of the decoder 41 are selected. In this case, of the stop signals from the corresponding plurality of processors, the flip-flop 42 enters the set state when the stop signal that becomes active earliest is generated, and the output of the system clock 301 stops.

【0013】図3は、図2中の破線で囲った部分6の他
の実施例の構成図で、デバグ対象の複数のプロセッサの
停止信号が全てアクティプになった時点でシステムクロ
ックを停止させる場合の例である。図3では、デコーダ
41は出力信号411〜41nのうち、プロセッサ選択
信号401で指定されるデバグ対象プロセッサ以外の出
力信号をアクティブにする。OR回路61〜6nには、
それぞれデコーダ41の出力信号411〜41n及びプ
ロセッサ11〜1nからの停止信号311〜31nが入
力されており、プロセッサ選択信号401で指定される
デバグ対象プロセッサからの停止信号が全てアクティブ
になると、OR回路61〜6nの全ての出力がアクティ
ブになり、その結果、AND回路60の出力がアクティ
ブになって、図2のフリップフロップ42のセット条件
が成立することになる。
FIG. 3 is a block diagram of another embodiment of the portion 6 enclosed by a broken line in FIG. 2, in which the system clock is stopped when the stop signals of the plurality of debug target processors are all active. Is an example of. In FIG. 3, the decoder 41 activates the output signals of the output signals 411 to 41n other than the debug target processor designated by the processor selection signal 401. The OR circuits 61 to 6n include
When the output signals 411 to 41n of the decoder 41 and the stop signals 311 to 31n from the processors 11 to 1n are input, respectively, and when all the stop signals from the debug target processor designated by the processor selection signal 401 become active, the OR circuit All the outputs of 61 to 6n become active, and as a result, the output of the AND circuit 60 becomes active, and the set condition of the flip-flop 42 of FIG. 2 is satisfied.

【0014】図4は、図1中のハードウエアモジュール
21〜2mの具体例を示したものである。図4の(a)
はFIF0バッファモジュールの構成例で、複数のレジ
スタ(ここでは7個)を縦続に接続して、データ入力線
からの入力データを、順次、該入力順にデータ出力線側
へシフトするFIF0バッファ211、及び、該FIF
0バッファ211のシフト動作をシステムクロック30
1に同期して制御するシフト制御レジスタ212からな
るものである。また、図4の(b)はタイマモジュール
の構成例で、指定時刻を表わすデータがプリセットされ
るデータレジスタ221、システムクロック301に同
期して時刻をカウントするカウンタ222、データレジ
スタ221の値とカウンタ222のカウント値を比較
し、両者が一致した時、指定時刻報告信号を出力する比
較回路223、及び、データレジスタ221へのプリセ
ットのタイミングをとるためのゲート回路224からな
るものである。
FIG. 4 shows a concrete example of the hardware modules 21 to 2m in FIG. Figure 4 (a)
Is a configuration example of a FIFO0 buffer module. A plurality of registers (7 in this case) are connected in cascade, and an input data from a data input line is sequentially shifted to the data output line side in the input order. And the FIF
The shift operation of the 0 buffer 211 is performed by the system clock 30.
It is composed of a shift control register 212 which controls in synchronization with 1. 4B shows a configuration example of the timer module, which is a data register 221 in which data representing a designated time is preset, a counter 222 that counts time in synchronization with the system clock 301, a value of the data register 221, and a counter. It comprises a comparison circuit 223 which compares the count values of 222 and outputs a designated time report signal when they match each other, and a gate circuit 224 for setting a preset timing for the data register 221.

【0015】図5は、本発明を適用した第2の実施例を
示すブロック図であり、システムクロック301に同期
し、かつ、一周期のマシンサイクルで動作する相互に接
続された複数のプロセッサ11〜1nと同じくシステム
クロック301に同期して動作し、前記複数のプロセッ
サ11〜1nと相互に接続された複数のハードウエアモ
ジュール21〜2mと、各プロセッサ11〜1nからの
停止信号311〜31n、及び、外部からのプロセッサ
選択信号401、リスタート信号402及びマシンサイ
クル信号403により、システムクロック400の停止
/再開制御を行い、各プロセッサ11〜1n及び各ハー
ドウエアモジュール21〜2mへシステムクロック30
1を出力するクロック制御部3から構成される。
FIG. 5 is a block diagram showing a second embodiment to which the present invention is applied, and a plurality of mutually connected processors 11 which are synchronized with the system clock 301 and operate in one machine cycle. 1n, a plurality of hardware modules 21 to 2m which operate in synchronization with the system clock 301 and are mutually connected to the plurality of processors 11 to 1n, and stop signals 311 to 31n from the processors 11 to 1n, Also, the stop / restart control of the system clock 400 is performed by a processor selection signal 401, a restart signal 402, and a machine cycle signal 403 from the outside, and the system clock 30 is sent to each processor 11-1n and each hardware module 21-2m.
It is composed of a clock control unit 3 which outputs 1.

【0016】各プロセッサ11〜1nはブレークポイン
トに達すると、停止信号311〜31nを出力する。ク
ロック制御部3は、通常はシステムクロック400をス
ルーでシステムクロック301としてシステム全体に供
給しているが、各プロセッサ11〜1nからの停止信号
311〜31nのうち、プロセッサ選択信号401で指
定されたデバグ対象のプロセッサからの停止信号を入力
すると、実行中のマシンサイクルの終了点でシステムク
ロック301の出力を停止する。これにより、プロセッ
サ11〜1n及びハードウエアモジュール21〜2mの
全てのシステム構成要素が同時に停止するので、この停
止時における全プロセッサ11〜1nのメモリ、レジス
タの内容、並びに他のハードウエアモジュール21〜2
mのレジスタの内容等を読み出すことにより、マシンサ
イクルの終了時点での該マルチプロセッサシステム内の
全ての動作状況を正確に観測することができる。その
後、外部よりリスタート信号402をアクティブにする
と、クロック制御部3は、マシンサイクルの開始時点と
同期して、システムクロック400を再びシステムクロ
ック301としてシステム全体に供給し、システムの動
作を再開する。
When each of the processors 11 to 1n reaches a breakpoint, it outputs a stop signal 311 to 31n. The clock control unit 3 normally supplies the system clock 400 through to the entire system as the system clock 301, but it is designated by the processor selection signal 401 among the stop signals 311 to 31n from the processors 11 to 1n. When the stop signal is input from the debug target processor, the output of the system clock 301 is stopped at the end point of the machine cycle being executed. As a result, all the system constituent elements of the processors 11 to 1n and the hardware modules 21 to 2m are stopped at the same time. Therefore, the memories and registers of all the processors 11 to 1n and the contents of other hardware modules 21 to 21n at the time of the stop. Two
By reading the contents of the register of m or the like, it is possible to accurately observe all operating conditions in the multiprocessor system at the end of the machine cycle. After that, when the restart signal 402 is activated from the outside, the clock controller 3 supplies the system clock 400 as the system clock 301 again to the entire system in synchronization with the start time of the machine cycle, and restarts the system operation. ..

【0017】図5の構成によれば、プロセッサのプログ
ラムの命令単位でのシステムクロックの停止/再開が正
確に実施できるので、より効率的なトレースが可能とな
る。
According to the configuration of FIG. 5, the system clock can be accurately stopped / restarted in the instruction unit of the program of the processor, so that more efficient tracing is possible.

【0018】図6は、図5中のクロック制御部3の具体
的構成例を示したものである。図6において、6で示す
破線で囲った部分の動作は図2の同一部分と同様であ
る。即ち、各プロセッサ11〜1nの停止信号のうち、
プロセッサ選択信号401で指定されたデバグ対象のプ
ロセッサからの停止信号がアクティブになると、OR回
路50を通してフリップフロップ42がセット状態に切
り替わる。なお、この破線部分6は図3で置き換えるこ
とも可能である。この場合、プロセッサ選択信号401
で指定されたデバグ対象の複数のプロセッサからの停止
信号が全てアクティブとなった条件でフリップフロップ
42がセット状態に切り替わることになる。
FIG. 6 shows a concrete configuration example of the clock control unit 3 in FIG. In FIG. 6, the operation of the part surrounded by the broken line indicated by 6 is the same as the same part of FIG. That is, among the stop signals of the processors 11 to 1n,
When the stop signal from the debug target processor designated by the processor selection signal 401 becomes active, the flip-flop 42 is switched to the set state through the OR circuit 50. The broken line portion 6 can be replaced with that shown in FIG. In this case, the processor selection signal 401
The flip-flop 42 is switched to the set state under the condition that all the stop signals from the plurality of debug target processors designated by are activated.

【0019】上記フリップフロップ42がセット状態に
なると、その出力信号420がアクティブになる。マシ
ンサイクル同期化回路43は、図7に示すように、フリ
ップフロップ42の出力信号420がアクティブになる
と、マシンサイクル信号403と同期して出力信号43
0を0にする。マシンサイクル同期化回路43の出力信
号430が0になると、AND回路30が閉じ、システ
ムクロック301を停止させる。その後、リスタート信
号402をアクティブにすると、フリップフロップ42
がリセット状態に戻り、図7に示すように、マシンサイ
クル同期化回路43の出力信号430がマシンサイクル
信号403に同期して1となり、システムクロック30
1が再開する。
When the flip-flop 42 is set, its output signal 420 becomes active. As shown in FIG. 7, the machine cycle synchronization circuit 43 outputs the output signal 43 in synchronization with the machine cycle signal 403 when the output signal 420 of the flip-flop 42 becomes active.
Set 0 to 0. When the output signal 430 of the machine cycle synchronization circuit 43 becomes 0, the AND circuit 30 is closed and the system clock 301 is stopped. After that, when the restart signal 402 is activated, the flip-flop 42 is
Returns to the reset state, and as shown in FIG. 7, the output signal 430 of the machine cycle synchronization circuit 43 becomes 1 in synchronization with the machine cycle signal 403, and the system clock 30
1 resumes.

【0020】[0020]

【発明の効果】【The invention's effect】

(1)請求項1によれば、ユーザがデバグ対象となるプ
ロセッサを指定することにより、対象プロセッサのブレ
ークポイントに合わせて、プロセッサ及びそれ以外のハ
ードウエアモジュールを含めたシステム全体を同時に停
止することができるので、停止時における全プロセッサ
のメモリ、レジスタの内容、並びに他のハードウエアモ
ジュールの内容等を読み出すことにより、システム内の
動作状況を正確に観測することができる。さらに、この
停止時点から外部からのリスタート信号によりシステム
の動作を正常に継続することができ、マルチプロセッサ
システムの全構成要素の効率的なトレース及びデバグ作
業の容易化に大いに寄与することができる。
(1) According to claim 1, the user specifies a processor to be debugged, so that the entire system including the processor and other hardware modules is stopped at the same time according to the breakpoint of the target processor. Therefore, it is possible to accurately observe the operating status in the system by reading the memory of all the processors, the contents of the registers, the contents of other hardware modules, etc. at the time of stop. Further, the system operation can be normally continued by the restart signal from the outside from the stop point, and it can greatly contribute to the efficient tracing of all the constituent elements of the multiprocessor system and the facilitation of the debugging work. ..

【0021】(2)請求項2によれば、プロセッサのマ
シンサイクルの切れ目でシステムクロックを停止できる
ので、プロセッサのプログラムの命令単位での動作の停
止/再開が実施でき、正確なトレースが可能になる。
(2) According to the second aspect, since the system clock can be stopped at the break of the machine cycle of the processor, the operation of the processor program can be stopped / restarted in the unit of instruction, and an accurate trace can be performed. Become.

【0022】(3)請求項3によれば、デバグ対象とな
るプロセッサのうちの最初のブレークポイントでシステ
ムクロックを停止することができるため、プログラム中
にブレークポイントを多数挿入しても、効率的なトレー
スが可能になる。
(3) According to claim 3, the system clock can be stopped at the first breakpoint of the processor to be debugged. Therefore, even if many breakpoints are inserted in the program, it is efficient. Tracing is possible.

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

【図1】本発明を適用した第1の実施例を示すブロック
図である。
FIG. 1 is a block diagram showing a first embodiment to which the present invention is applied.

【図2】図1のロック制御部の具体的構成例を示す図で
ある。
FIG. 2 is a diagram showing a specific configuration example of a lock control unit in FIG.

【図3】図2中の一部構成の他の実施例を示す図であ
る。
FIG. 3 is a diagram showing another embodiment of a partial configuration in FIG.

【図4】ハードウエアモジュールの具体例を示す図であ
る。
FIG. 4 is a diagram showing a specific example of a hardware module.

【図5】本発明を適用した第2の実施例を示すブロック
図である。
FIG. 5 is a block diagram showing a second embodiment to which the present invention is applied.

【図6】図5中のクロック制御部の具体的構成例を示す
図である。
FIG. 6 is a diagram showing a specific configuration example of a clock control unit in FIG.

【図7】図6中のマシンサイクル同期化回路の動作を示
すタイムチャートである。
FIG. 7 is a time chart showing the operation of the machine cycle synchronization circuit in FIG.

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

11〜1n プロセッサ 21〜2m ハードウエアモジュール 3 クロック制御部 311〜31n 停止信号線 301、400 システムクロック信号線 401 プロセッサ選択信号線 402 リスタート信号線 403 マシンサイクル信号線 11-1n processor 21-2m hardware module 3 clock control unit 311 to 31n stop signal line 301, 400 system clock signal line 401 processor selection signal line 402 restart signal line 403 machine cycle signal line

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高橋 京三 東京都武蔵野市吉祥寺本町1丁目14番5号 エヌ・ティ・ティ・エレクトロニクステ クノロジー株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kyozo Takahashi 1-14-5, Kichijojihonmachi, Musashino-shi, Tokyo NTT Electronics Technology Co., Ltd.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセッサ及び複数のハードウエ
アモジュールが各々相互に接続され、システムクロック
に同期して動作するマルチプロセッサシステムのデバグ
支援装置であって、 デバグ対象の一つあるいは複数のプロセッサから停止信
号が入力されたら、当該プロセッサを含めて全ての前記
プロセッサ及び前記ハードウエアモジュールへのシステ
ムクロックを停止し、外部からのリスタート信号により
該システムクロックを再開するクロック制御手段を具備
してなるマルチプロセッサシステムのデバグ支援装置。
1. A debug support device for a multiprocessor system, wherein a plurality of processors and a plurality of hardware modules are connected to each other and operate in synchronization with a system clock. When a stop signal is input, it comprises clock control means for stopping the system clocks to all the processors and the hardware modules including the processor and restarting the system clocks by a restart signal from the outside. Debugging support device for multiprocessor system.
【請求項2】 前記複数プロセッサは同一周期のマシン
サイクルで動作し、前記クロック制御手段は、前記デバ
グ対象となるプロセッサからの前記停止信号を契機とし
て実行中のマシンサイクルの終了時点で前記システムク
ロックを停止し、外部からのリスタート信号によりマシ
ンサイクルの開始時点と同期して前記システムクロック
を再開することを特徴とする請求項1記載のマルチプロ
セッサシステムのデバグ支援装置。
2. The plurality of processors operate in a machine cycle having the same cycle, and the clock control means uses the stop signal from the processor to be debugged as a trigger to end the machine clock being executed. 2. The debugging support device for a multiprocessor system according to claim 1, wherein the system clock is restarted in synchronism with a start time of a machine cycle by an external restart signal.
【請求項3】 前記クロック制御手段は、前記デバグ対
象となるプロセッサのうちの最初の前記停止信号の入力
時点で前記システムクロックを停止することを特徴とす
る請求項1もしくは2記載のマルチプロセッサシステム
のデバグ支援装置。
3. The multiprocessor system according to claim 1, wherein the clock control means stops the system clock at the input of the first stop signal of the processors to be debugged. Debugging support device.
JP4113505A 1992-05-06 1992-05-06 Debugging back-up device for multiprocessor system Pending JPH05313946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4113505A JPH05313946A (en) 1992-05-06 1992-05-06 Debugging back-up device for multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4113505A JPH05313946A (en) 1992-05-06 1992-05-06 Debugging back-up device for multiprocessor system

Publications (1)

Publication Number Publication Date
JPH05313946A true JPH05313946A (en) 1993-11-26

Family

ID=14614033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4113505A Pending JPH05313946A (en) 1992-05-06 1992-05-06 Debugging back-up device for multiprocessor system

Country Status (1)

Country Link
JP (1) JPH05313946A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003162426A (en) * 2001-11-28 2003-06-06 Hitachi Ltd Computer system with cooperative debug circuit for multiple cpu and debug method
WO2004017204A3 (en) * 2002-08-14 2004-03-25 Elta Systems Ltd Parallel processing platform with synchronous system halt/resume
JP2010015534A (en) * 2008-06-30 2010-01-21 Hitachi Ltd Method and apparatus for simulating multicore microcomputer-based system
US7992042B2 (en) 2006-01-11 2011-08-02 Seiko Epson Corporation Debug support device, and program for directing computer to perform debugging method
JP2014203188A (en) * 2013-04-03 2014-10-27 理想科学工業株式会社 Drive control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003162426A (en) * 2001-11-28 2003-06-06 Hitachi Ltd Computer system with cooperative debug circuit for multiple cpu and debug method
WO2004017204A3 (en) * 2002-08-14 2004-03-25 Elta Systems Ltd Parallel processing platform with synchronous system halt/resume
US7992042B2 (en) 2006-01-11 2011-08-02 Seiko Epson Corporation Debug support device, and program for directing computer to perform debugging method
JP2010015534A (en) * 2008-06-30 2010-01-21 Hitachi Ltd Method and apparatus for simulating multicore microcomputer-based system
JP2014203188A (en) * 2013-04-03 2014-10-27 理想科学工業株式会社 Drive control device

Similar Documents

Publication Publication Date Title
US6718294B1 (en) System and method for synchronized control of system simulators with multiple processor cores
US5233615A (en) Interrupt driven, separately clocked, fault tolerant processor synchronization
JPH04257932A (en) Chip for emulation for digital signal processor
EP0633522B1 (en) Pipelined data processing system capable of stalling and resuming a pipeline operation without using an interrupt processing
JPH05313946A (en) Debugging back-up device for multiprocessor system
JPH1078887A (en) Debug system and debug method
JPH05128079A (en) Tracing system for multiprocessor system
JPS60124746A (en) Data processing unit
JPH01137340A (en) Microcomputer
JPH02157957A (en) Microprocessor
JPS62119663A (en) Information processing unit
JPH02272947A (en) Fault monitoring system
SU1183972A1 (en) Device for simulating failures of digital equipment
SU1174932A1 (en) Device for debugging programs
JPS61292757A (en) Tracing system for microprogram controller
JPS6364136A (en) Bus supervising device for information processor
JPH02242301A (en) Process control system having monitor function
JPH04152432A (en) Pipeline
JPS62197834A (en) Microprogram controller
JPH06131209A (en) Artificial error generating system
JPH01137339A (en) Microprocessor
JPH01175046A (en) Operation history storage device
JPH0820974B2 (en) Trace device starting method
JPS63197247A (en) Microprogram controller
KR20040073127A (en) Clock synchronizing apparatus and method for prototyping board