JPS6239792B2 - - Google Patents

Info

Publication number
JPS6239792B2
JPS6239792B2 JP56050372A JP5037281A JPS6239792B2 JP S6239792 B2 JPS6239792 B2 JP S6239792B2 JP 56050372 A JP56050372 A JP 56050372A JP 5037281 A JP5037281 A JP 5037281A JP S6239792 B2 JPS6239792 B2 JP S6239792B2
Authority
JP
Japan
Prior art keywords
processors
control circuit
data
signals
signal
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
Application number
JP56050372A
Other languages
Japanese (ja)
Other versions
JPS57164362A (en
Inventor
Kenichi Ueda
Atsushi Sugano
Kunio Pponda
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP56050372A priority Critical patent/JPS57164362A/en
Publication of JPS57164362A publication Critical patent/JPS57164362A/en
Publication of JPS6239792B2 publication Critical patent/JPS6239792B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Description

【発明の詳細な説明】 本発明は、マルチプロセツサーシステム、特に
マルチマイクロプロセツサーシステムにおけるプ
ログラムのデバツグ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program debugging device for a multiprocessor system, particularly a multimicroprocessor system.

従来、マイクロプロセツサーシステムのデバツ
グ装置は、単一プロセツサーシステムのデバツグ
制御に限られていた。第1図はかかる従来例のデ
バツグ装置の単一プロセツサーシステムとの接続
図の一例を示す。図において、1はプロセツサ
ー,2はローカルメモリー,3はデバツグ装置で
ある。プロセツサー1とローカルメモリー2によ
りプロセツサーシステムが構成されている。第1
図におけるデバツグ装置3は、単一プロセツサー
システムのアドレス信号、データ信号、制御信号
を受信し、アドレス信号のチエツク、メモリーデ
ータ信号のチエツクを行い、チエツク結果に従つ
て制御信号を生成し、単一プロセツサーシステム
へ割込みを発生させるように構成されている。
Conventionally, debugging devices for microprocessor systems have been limited to debugging and controlling single processor systems. FIG. 1 shows an example of a connection diagram of such a conventional debugging device with a single processor system. In the figure, 1 is a processor, 2 is a local memory, and 3 is a debug device. A processor system is composed of a processor 1 and a local memory 2. 1st
The debugging device 3 in the figure receives the address signal, data signal, and control signal of a single processor system, checks the address signal, checks the memory data signal, and generates a control signal according to the check results. Configured to generate interrupts to a single processor system.

ところで、このような構成をもとにしてn個の
プロセツサーが、各々独立にローカルメモリーを
所有して、独立にプログラムの実行を行なうマル
チプロセツサーシステムのデバツグを行う場合に
は、前記デバツグ装置が各プロセツサーシステム
に対応してn台必要となり、構成および取扱いが
複雑になる。本発明はこのような従来のデバツグ
装置の欠点をなくし、複数のプロセツサーの制御
を同時に行うことが出来るデバツグ装置を提供せ
んとするものである。以下図面を用いて本発明の
一実施例を詳細に説明する。
By the way, when debugging a multiprocessor system based on such a configuration in which n processors each independently own local memory and execute programs independently, the debugging device n units are required for each processor system, making the configuration and handling complicated. The present invention aims to eliminate these drawbacks of conventional debugging devices and to provide a debugging device that can control a plurality of processors simultaneously. An embodiment of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の実施例におけるマルチプロセ
ツサーシステムとデバツグ装置との接続を示す図
である。図において、デバツグ装置30は、n個
のプロセツサー10,11,……1nのアドレス
信号、データ信号、制御信号と接続されている。
20,21,……2nは各々ローカルメモリーで
ある。
FIG. 2 is a diagram showing the connection between a multiprocessor system and a debugging device in an embodiment of the present invention. In the figure, a debugging device 30 is connected to address signals, data signals, and control signals of n processors 10, 11, . . . 1n.
20, 21, . . . 2n are local memories, respectively.

第3図は、本発明の実施例の詳細な構成を示す
ブロツク線図を示す。図において、10,11,
……1nは、マルチプロセツサーシステムのプロ
セツサー、20,21,……2nは、マルチプロ
セツサーシステムのローカルメモリー、30はデ
バツグ装置である。31は選択制御回路、34は
キー入力装置、35は表示装置、36は比較制御
回路、40,41,……4nはデータバツフア、
50,51,……5nは比較回路を示す。
FIG. 3 shows a block diagram showing the detailed structure of an embodiment of the present invention. In the figure, 10, 11,
. . 1n is a processor of the multiprocessor system, 20, 21, . . . 2n is a local memory of the multiprocessor system, and 30 is a debugging device. 31 is a selection control circuit, 34 is a key input device, 35 is a display device, 36 is a comparison control circuit, 40, 41, . . . 4n is a data buffer,
50, 51, . . . 5n indicate comparison circuits.

次に、第3図に示す実施例の動作について説明
する。第3図において、プロセツサーCP010,
CP111,……CPo1nが各々独立の各々の内部
メモリーに格納されているプログラムを実行して
いる時に、たとえば、プロセツサーCP010のプ
ログラムの実行をa0というメモリーアドレスの所
まできたら停止させたいとし、プロセツサーCP1
11のプログラムの実行をa1というメモリーアド
レスで停止させたいとし、以下同様にしてプロセ
ツサーCPo1nのプログラムの実行をaoという
アドレスで停止させたいとする。そして、各プロ
セツサーCP010,CP111,……CPo1mのう
ちで、たとえば、プロセツサーCPi1iのプログ
ラムがメモリアドレスaiに最初に到達したとす
ると、その時点で全体のプロセツサーを停止さ
せ、その時に残りのプロセツサーがどういう状態
になつているかを調べるという場合について考え
る。この時、キー入力装置34によりデータバツ
フアBUF040,……BUFo4nへ前記a0,……a
oのアドレス情報を格納しておく。そして、キー
入力装置3により、マルチプロセツサーシステム
のプログラムの実行コマンドが入力されると、シ
ステム制御回路33により、共通制御出力信号3
7が生成され、n個のプロセツサー10,11,
……1nへの制御信号が発生し、これらn個のプ
ロセツサー10,11,……1nの各々のプログ
ラムが実行される。各々のプログラムが実行され
ると、前記選択制御回路31により、n個のプロ
セツサー10,11,……1nのデータ信号が選
択されて、記憶装置32へ格納されるとともに、
n個のプロセツサー10,11,……1nのアド
レス信号と、前記n個のデータバツフア40,4
1,……4nの内容が、前記n個の比較回路5
0,51,……5nにより一致検出がなされ、両
者が一致したとき一致状態を示すn個の制御信号
が前記比較制御回路36に送出される。比較制御
回路36は、前記一致状態を示すn個の信号を受
信し、一致状態を示す信号が1個以上存在する場
合には、共通制御出力信号38を生成し、n個の
プロセツサー10,11,……1nへ制御信号を
送出してn個のプロセツサー10,11,……1
nへ割込みを発生させ、n個のプロセツサー1
0,11,……1nのプログラムの実行を停止さ
せる。一方一致状態を示す信号が存在しない場合
は、比較制御回路36は共通制御出力信号38を
生成せず、n個のプロセツサー10,11,……
1nは処理を継続する。
Next, the operation of the embodiment shown in FIG. 3 will be explained. In FIG. 3, processor CP 0 10,
For example, when CP 1 11, ...CP o 1n are executing programs stored in their respective independent internal memories, for example, if the execution of the program of processor CP 0 10 reaches the memory address a 0, If you want to stop the processor CP 1
Suppose that we want to stop the execution of the program No. 11 at the memory address a1, and in the same way, we want to stop the execution of the program No. 11 of the processor CP o 1n at the address a o . For example, if the program of processor CP i 1i reaches memory address a i first among the processors CP 0 10, CP 1 11, ... CP o 1m, all processors are stopped at that point. Consider the case where you want to check the state of the remaining processors at that time. At this time, the key input device 34 is used to input the data buffers BUF 0 40, . . . BUF o 4n to the a 0 , . . . a
Store o 's address information. When a command to execute a program of the multiprocessor system is input through the key input device 3, the system control circuit 33 outputs a common control output signal 3.
7 is generated and n processors 10, 11,
. . 1n is generated, and the programs of each of these n processors 10, 11, . . . 1n are executed. When each program is executed, the selection control circuit 31 selects the data signals of the n processors 10, 11, . . . 1n, and stores them in the storage device 32.
n address signals of the processors 10, 11, . . . 1n, and the n data buffers 40, 4.
The contents of 1,...4n are the n comparison circuits 5.
0, 51, . . . 5n, and when they match, n control signals indicating a matching state are sent to the comparison control circuit 36. The comparison control circuit 36 receives the n signals indicating the matching state, and when there is one or more signals indicating the matching state, generates a common control output signal 38 and outputs the common control output signal 38 to the n processors 10, 11. ,...1n to send control signals to n processors 10, 11,...1
Generates an interrupt to n processors 1
The execution of programs 0, 11, . . . 1n is stopped. On the other hand, if there is no signal indicating a matching state, the comparison control circuit 36 does not generate the common control output signal 38, and the n processors 10, 11, . . .
1n continues processing.

キー入力装置34により、マルチプロセツサー
システムのプログラムの実行停止コマンドが入力
されると、システム制御回路33により、共通制
御信号37が生成され、n個のプロセツサー1
0,11,……1nの制御信号が発生し、n個の
プロセツサー10,11,……1nの各々のプロ
グラムの実行が停止され、前記記憶装置32に格
納されているデータが、表示装置35に出力され
る。
When a command to stop the execution of a program in the multiprocessor system is input through the key input device 34, the system control circuit 33 generates a common control signal 37, and
0, 11, . . . 1n control signals are generated, the execution of the programs of each of the n processors 10, 11, . is output to.

以上説明したように、本発明は、複数のプロセ
ツサーに共通制御信号を送出して、複数個のプロ
セツサーのプログラムの実行、停止を同時に行な
わせ、選択制御回路により任意のプロセツサーの
データを受信して記憶装置へ格納し、表示装置へ
表示することにより、複数個のプロセツサーから
構成されるマルチプロセツサーシステムのデバツ
グが可能となり、構成および取扱いが著しく簡単
になる。
As explained above, the present invention sends a common control signal to a plurality of processors to simultaneously execute and stop the programs of the plurality of processors, and receives data from an arbitrary processor using a selection control circuit. By storing the information in a storage device and displaying it on a display device, it is possible to debug a multiprocessor system consisting of a plurality of processors, and the configuration and handling are significantly simplified.

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

第1図は従来のデバツグ装置と単一プロセツサ
ーシステムとの接続を示す結線図、第2図および
第3図は本発明の一実施例におけるデバツグ装置
とマルチプロセツサーシステムとの接続を示すブ
ロツク図である。 10,11,……1n……プロセツサー、2
0,21,……2n……ローカルメモリー、30
……デバツグ装置、31……選択制御回路、32
……記憶装置、33……システム制御回路、34
……キー入力装置、35……表示装置、36……
比較制御回路、40,41,……4n……データ
バツフア、50,51,……5n……比較回路。
FIG. 1 is a wiring diagram showing the connection between a conventional debugging device and a single processor system, and FIGS. FIG. 10,11,...1n...Processor, 2
0,21,...2n...Local memory, 30
... Debugging device, 31 ... Selection control circuit, 32
... Storage device, 33 ... System control circuit, 34
...Key input device, 35...Display device, 36...
Comparison control circuit, 40, 41,...4n...data buffer, 50,51,...5n...comparison circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 n個(n≧2)のプロセツサーが各々独立に
ローカルメモリーを所有し、独立にプログラムの
実行を行うマルチプロセツサーシステムにおい
て、n個のプロセツサーのアドレス信号を指定す
るn個のデータバツフアと、前記アドレス信号と
データバツフアの内容を比較し、その一致状態を
示す制御信号を発生するn個の比較回路と、前記
n個の制御信号を受信し、前記n個のプロセツサ
ーへの共通制御出力信号を発生する比較制御回路
と、前記n個のプロセツサーのデータ信号を選択
受信する選択制御回路と、前記選択制御回路によ
り受信したデータを格納する記憶装置と、キー入
力装置と、表示装置と、前記キー入力装置により
入力されたデータの内容に従つて制御信号を発生
するシステム制御回路とを備え、前記n個のプロ
セツサーのアドレス信号を受信して前記n個のデ
ータバツフアの内容と各々比較し、一致している
ものが一個以上存在する場合には、前記比較制御
回路により前記共通制御出力信号を生成して前記
n個のプロセツサーへ割込みを発生してn個のプ
ロセツサーのプログラムの実行を停止させ、一致
しているものがない場合には、前記選択制御回路
によりn個のプロセツサーのデータ信号を選択受
信して前記記憶装置へ格納するようにしたことを
特徴とするマルチプロセツサーシステムにおける
デバツグ装置。
1. In a multiprocessor system in which n (n≧2) processors each independently own a local memory and execute programs independently, n data buffers specify address signals of n processors; n comparison circuits that compare the address signal and the contents of the data buffer and generate a control signal indicating a matching state; and a common control output signal that receives the n control signals and outputs a common control output signal to the n processors. a comparison control circuit for generating data; a selection control circuit for selectively receiving data signals from the n processors; a storage device for storing data received by the selection control circuit; a key input device; a display device; a system control circuit that generates a control signal according to the contents of data inputted by an input device, receives the address signals of the n processors, compares them with the contents of the n data buffers, and determines whether they match. If there is one or more of them, the comparison control circuit generates the common control output signal and generates an interrupt to the n processors to stop the execution of the programs of the n processors. 2. A debugging device for a multiprocessor system, wherein if there is no matching data signal, the selection control circuit selectively receives data signals from n processors and stores them in the storage device.
JP56050372A 1981-04-02 1981-04-02 Debugging device in multi-processor system Granted JPS57164362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56050372A JPS57164362A (en) 1981-04-02 1981-04-02 Debugging device in multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56050372A JPS57164362A (en) 1981-04-02 1981-04-02 Debugging device in multi-processor system

Publications (2)

Publication Number Publication Date
JPS57164362A JPS57164362A (en) 1982-10-08
JPS6239792B2 true JPS6239792B2 (en) 1987-08-25

Family

ID=12857050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56050372A Granted JPS57164362A (en) 1981-04-02 1981-04-02 Debugging device in multi-processor system

Country Status (1)

Country Link
JP (1) JPS57164362A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61282937A (en) * 1985-06-07 1986-12-13 Matsushita Electric Ind Co Ltd Information processing device
JP2771979B2 (en) * 1987-11-30 1998-07-02 株式会社東芝 Parallel processing method
JP2010117813A (en) * 2008-11-12 2010-05-27 Nec Electronics Corp Debugging system, debugging method, debugging control method, and debugging control program
US8112677B2 (en) 2010-02-26 2012-02-07 UltraSoC Technologies Limited Method of debugging multiple processes

Also Published As

Publication number Publication date
JPS57164362A (en) 1982-10-08

Similar Documents

Publication Publication Date Title
US4138732A (en) Data transfer control system
US5210828A (en) Multiprocessing system with interprocessor communications facility
GB1588929A (en) Priority vectored interrupt using direct memory access
US4905145A (en) Multiprocessor
GB1373828A (en) Data processing systems
US4152763A (en) Control system for central processing unit with plural execution units
US4467454A (en) High-speed external memory system
US6184904B1 (en) Central processing unit for a process control system
JPS6239792B2 (en)
US4814977A (en) Apparatus and method for direct memory to peripheral and peripheral to memory data transfers
IE61307B1 (en) Method to execute two instruction sequences in an order determined in advance
US4740892A (en) Microcomputer having peripheral functions
US6134642A (en) Direct memory access (DMA) data transfer requiring no processor DMA support
JPH0731666B2 (en) Inter-processor communication method
EP0376003A2 (en) Multiprocessing system with interprocessor communications facility
JPH05289987A (en) Bus right arbitrating circuit
JPH056333A (en) Multi-processor system
JPS61292752A (en) Virtual computer system
JPH02183342A (en) Interruption controller
JP2667285B2 (en) Interrupt control device
JPH0520253A (en) Data processor
JPH05241986A (en) Input/output instruction retrying system
JPS5849903B2 (en) Computer parallel connection system
JPS6231386B2 (en)
Cluley Program Interrupts