JPH0315778B2 - - Google Patents

Info

Publication number
JPH0315778B2
JPH0315778B2 JP56050375A JP5037581A JPH0315778B2 JP H0315778 B2 JPH0315778 B2 JP H0315778B2 JP 56050375 A JP56050375 A JP 56050375A JP 5037581 A JP5037581 A JP 5037581A JP H0315778 B2 JPH0315778 B2 JP H0315778B2
Authority
JP
Japan
Prior art keywords
processor
data
address
simulation
sent
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 - Lifetime
Application number
JP56050375A
Other languages
Japanese (ja)
Other versions
JPS57164363A (en
Inventor
Atsushi Sugano
Kenichi Ueda
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 JP5037581A priority Critical patent/JPS57164363A/en
Publication of JPS57164363A publication Critical patent/JPS57164363A/en
Publication of JPH0315778B2 publication Critical patent/JPH0315778B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/261Functional testing by simulating additional hardware, e.g. fault simulation

Description

【発明の詳細な説明】 本発明は複数のプロセツサが1つの共通バスに
接続されるマルチプロセツサシステムにおいて、
1つあるいは複数のプロセツサの機能を模擬する
時のシミユレーシヨン装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a multiprocessor system in which a plurality of processors are connected to one common bus.
The present invention relates to a simulation device for simulating the functions of one or more processors.

従来この種のシミユレータは、実行する時点で
シミユレーシヨンデータの用意された順にシミユ
レーシヨンを行なうという方式がとられていたた
め、プロセツサの実存構成が変更される毎にそれ
に応じたシミユレーシヨンデータを用意しなけれ
ばならないという欠点があつた。
Conventionally, this type of simulator used a method in which simulations were performed in the order in which the simulation data was prepared at the time of execution, so whenever the actual configuration of the processor was changed, the simulation data was updated accordingly. The disadvantage was that it required preparation of

以下、その従来技術についてさらに具体例を上
げて説明する。
The prior art will be further described below with specific examples.

あるシステム(例えば、交通管制システム)に
は、A、B、C、Dなる各プロセツサを主体とす
る4枚のボードより成り立つとする。これを4人
の研究者A、B、C、Dが仕様に基づき別々に開
発する場合に、開発内容(開発の困難性)からい
つて、A、B、C、Dの順に開発が終了する見込
みを持つていれば、そのシミユレーシヨンデータ
としては、まずAに対するシミユレーシヨン、次
にA+Bに対するシユミレーシヨン、次にA+B
+Cに対するシミユレーシヨン、そして最終的に
A+B+C+Dに対するシミユレーシヨンが行わ
れるようにデータが組まれる。しかし、Bについ
てなんらかの理由でその開発が遅れてしまつた場
合、あるいはA、C、Dには影響を及ぼさないも
ののBの一部に仕様の変更が生じた場合などで
は、Bの完成を待たなければC、Dのシミユレー
シヨンを行なうことができない。C、Dの開発が
先に終了し、その後にBの開発が終了して、いざ
A+B+C+Dに対するシミユレーシヨンを実行
した結果、C、Dの一方にミスがあつてC、Dの
一方の再開発となつてしまつた様な場合は、期限
的にも大きなロスがある。
It is assumed that a certain system (for example, a traffic control system) consists of four boards each having processors A, B, C, and D as main components. If four researchers A, B, C, and D develop this separately based on the specifications, development will be completed in the order of A, B, C, and D based on the development content (difficulty of development). If you have an idea, the simulation data should be first the simulation for A, then the simulation for A+B, then the simulation for A+B.
The data is set so that simulation for +C and finally simulation for A+B+C+D are performed. However, if the development of B is delayed for some reason, or if there is a change in the specifications of part of B that does not affect A, C, or D, you will have to wait for the completion of B. In this case, simulations of C and D cannot be performed. The development of C and D was completed first, then the development of B was completed, and as a result of running the simulation for A + B + C + D, there was a mistake in one of C and D, and one of C and D had to be redeveloped. In such a case, there is a big loss in terms of deadline.

本発明はこれらの欠点を除去し、実存するプロ
セツサの構成とは独立にシミユレートが可能とな
る汎用的なマルチプロセツサシステムのシミユレ
ーシヨン装置を提供しようとするもので、その目
的を達成するために、 マルチプロセツサシステムとともに、クロツク
に同期して所定のタイミングで動作するマルチプ
ロセツサシステムにおけるシミユレーシヨン装置
において、 複数のプロセツサが共通に接続される共通バス
上に、現時点で接続されている実存プロセツサの
プロセツサアドレスを記憶するプロセツサ実存テ
ーブルと、 完成時のマルチプロセツサシステム間における
送受信データと同一のシミユレーシヨンデータ、
そのデータと対にして送信すべきプロセツサの送
信プロセツサアドレス、及び受信すべきプロセツ
サの受信プロセツサアドレスを記憶している記憶
手段と、 前記共通バス上にシミユレーシヨンデータが送
出される以前に、所定のタイミングで前記プロセ
ツサ実存テーブルに記憶されているプロセツサア
ドレスと、前記記憶手段から送出される前記送信
プロセツサアドレスとを比較して送信すべきプロ
セツサの実存を判断するするとともに、 前記共通バス上に送出されているシミユレーシ
ヨンデータを受信する以前に、所定のタイミング
で前記プロセツサ実存テーブルに記憶されている
プロセツサアドレスと、前記記憶手段から送出さ
れる前記受信プロセツサアドレスとを比較して受
信すべきプロセツサの実存を判断する比較回路
と、 前記比較回路により送信すべきプロセツサが実
存しないと判断されると、前記記憶手段に記憶さ
れている当該送信プロセツサアドレスに応じたシ
ミユレーシヨンデータを前記共通バスに送出し、
一方、実存すると判断されると、そのシミユレー
シヨンデータの送出を阻止する送信ゲート手段
と、 前記比較回路により受信すべきプロセツサが実
存しないと判断されると受信ステータスへの出力
を行い、一方、受信すべきプロセツサが実存する
と判断されると前記受信ステータスへの出力を阻
止すると同時に、 前記共通バス上を介して入力されるシミユレー
シヨンデータに対し、前記記憶手段が記憶するシ
ミユレーシヨンデータとのデータの一致状態を調
べた上で前記受信ステータスへの結果出力を行う
か否かを決定する受信一致・ゲート手段とを設け
たものである。
The present invention aims to eliminate these drawbacks and provide a general-purpose multiprocessor system simulation device that is capable of simulating independently of the configuration of existing processors. In a multiprocessor system, a simulation device for a multiprocessor system that operates at a predetermined timing in synchronization with a clock, the processors of the existing processors connected at the present time are connected to a common bus to which multiple processors are commonly connected. A processor existence table that stores processor addresses, and simulation data that is the same as the data sent and received between the multiprocessor systems when completed.
a storage means for storing a transmitting processor address of a processor to be transmitted in pair with the data and a receiving processor address of a processor to be received; and before the simulation data is transmitted onto the common bus. comparing the processor address stored in the processor existence table with the transmission processor address sent from the storage means at a predetermined timing to determine the existence of the processor to be transmitted; Before receiving the simulation data being sent out on the common bus, the processor address stored in the processor existence table and the receiving processor address sent out from the storage means at a predetermined timing. a comparison circuit that determines the existence of a processor to which the data should be received by comparing the data; and when it is determined by the comparison circuit that the processor to which the data should be sent does not exist, a comparison circuit that determines the existence of the processor to which the data should be sent is determined based on the address of the sending processor stored in the storage means; sending simulation data to the common bus;
On the other hand, if it is determined that the processor exists, the transmission gate means prevents the sending of the simulation data, and if the comparator circuit determines that the processor to receive the data does not exist, it outputs the reception status; , when it is determined that the processor to receive the data exists, it blocks the output to the reception status, and at the same time, outputs the simulation data stored in the storage means to the simulation data input via the common bus. The apparatus is provided with reception matching/gate means for determining whether or not to output the result to the reception status after checking the matching state of the data with the reception data.

第1図は本発明が適用されるマルチプロセツサ
システムの構成を示すものであり、共通バス1に
複数のプロセツサ21,22,…2N及びシミユ
レータ3が接続されており、シミユレータ3は共
通バス1を介して、予め準備されているデータを
プロセツサ21,22,…2Nと送受信を行な
う。
FIG. 1 shows the configuration of a multiprocessor system to which the present invention is applied, in which a plurality of processors 21, 22,...2N and a simulator 3 are connected to a common bus 1. Data prepared in advance is transmitted and received to and from the processors 21, 22, . . . 2N via the processors 21, 22, .

第2図は本発明に利用されるシミユレータ3の
構成例を示すものであり、以下本発明の詳細をこ
れに従つて説明する。
FIG. 2 shows an example of the configuration of the simulator 3 used in the present invention, and the details of the present invention will be explained below in accordance with this figure.

1は共通バスであり、4は共通バスへの送信バ
ツフア、5は受信バツフアである。共通バス1に
接続されているプロセツサのアドレスはプロセツ
サ実存テーブル6に保持されている。
1 is a common bus, 4 is a transmission buffer to the common bus, and 5 is a reception buffer. Addresses of processors connected to the common bus 1 are held in a processor existence table 6.

一方、記憶部には送信、受信を指定する各プロ
セツサアドレス8に対応させて各シミユレーシヨ
ンデータ7が記憶されている。第3図にそのデー
タ形式を示す。同図に示すように、受信プロセツ
サアドレスおよび送信プロセツサアドレス8はシ
ミユレーシヨンデータ7とともに共通バス1との
送受信データ中に含まれており、シミユレータ3
は共通バス1上のすべてのデータを受信できる構
成をとつている。比較回路9は、プロセツサ実存
テーブル6のアドレスとプロセツサアドレス8の
アドレスを比較して、共通バス1に接続された実
存するプロセツサへシミユレーシヨンデータ7を
送信するのかまたは実存するプロセツサからデー
タを受信するのかが判断され、これに応じて送信
ゲート10または受信ゲート11が制御される。
On the other hand, each simulation data 7 is stored in the storage section in association with each processor address 8 specifying transmission and reception. Figure 3 shows the data format. As shown in the figure, the receiving processor address and the transmitting processor address 8 are included in the data transmitted and received with the common bus 1 along with the simulation data 7, and the simulator 3
is configured to be able to receive all data on the common bus 1. The comparison circuit 9 compares the address of the processor existence table 6 with the address of the processor address 8, and determines whether to send the simulation data 7 to the existing processor connected to the common bus 1 or to send the data from the existing processor. The transmission gate 10 or the reception gate 11 is controlled accordingly.

次に動作を説明する。まずプロセツサ実存テー
ブル6のアドレスとプロセツサアドレス8の内容
が比較回路9で比較され、送信プロセツサが実存
するか否かが判定される。送信プロセツサが実存
するときは送信ゲート10は閉じておりシミユレ
ーシヨンデータ7は送信されず、実存する送信プ
ロセツサのデータが共通バス1に取り込まれる。
一方送信プロセツサが実存しないときは、比較回
路9の出力により送信ゲート10が開きシミユレ
ーシヨンデータ7が送信バツフア4を経て共通バ
ス1に出力される。こうして共通バス1上にデー
タが存在するようになる。
Next, the operation will be explained. First, the address of the processor existence table 6 and the contents of the processor address 8 are compared in the comparison circuit 9, and it is determined whether or not the transmitting processor exists. When a transmitting processor exists, the transmitting gate 10 is closed, the simulation data 7 is not transmitted, and the data of the existing transmitting processor is taken into the common bus 1.
On the other hand, when the transmitting processor does not exist, the transmitting gate 10 is opened by the output of the comparison circuit 9 and the simulation data 7 is outputted to the common bus 1 via the transmitting buffer 4. In this way, data is present on the common bus 1.

一方共通バス1上のデータを受信バツフア5は
常時取り込む。そして、プロセツサ実存テーブル
のアドレスとプロセツサアドレス8の内容が比較
回路9で比較され、受信プロセツサが実存するか
否かが判定される。受信プロセツサが実存する場
合は受信ゲート11は閉じており、共通バス1上
のデータが当該受信プロセツサに送られて処理が
行われるのみで、受信ステータス13にその結果
は送信されない。一方、実存しない場合は比較回
路9の出力により受信ゲート11が開いており、
受信バツフア5に取り込まれていたデータとシミ
ユレーシヨンデータ7が等しいかどうかが一致回
路12で調べられた結果(但し、一致回路12は
受信プロセツサが実存するか否かにはかかわら
ず、常時その一致を調べている。)が受信ゲート
11を経て受信ステータス13に状態を表わすビ
ツトとして格納される。この受信データとシミユ
レーシヨンデータとの比較は、実際の受信データ
と予め用意しておいた受信用のデータとが等しい
か否かを調べるために行われ、この結果により実
存プロセツサの機能の確認が行われる。
On the other hand, the reception buffer 5 always takes in data on the common bus 1. Then, the address of the processor existence table and the contents of the processor address 8 are compared by a comparison circuit 9, and it is determined whether or not the receiving processor exists. If a receiving processor exists, the receiving gate 11 is closed, and the data on the common bus 1 is only sent to the receiving processor for processing, but the result is not sent to the receiving status 13. On the other hand, if it does not exist, the reception gate 11 is opened by the output of the comparison circuit 9,
The matching circuit 12 checks whether the data loaded into the receiving buffer 5 and the simulation data 7 are equal (however, the matching circuit 12 always checks whether the receiving processor actually exists or not). ) is passed through the reception gate 11 and stored in the reception status 13 as a bit representing the state. The received data and simulation data are compared to see if the actual received data is equal to the received data prepared in advance. A confirmation will be made.

なお、実存プロセツサの確認については以下の
とおりである。すなわち、もし実存プロセツサに
おいて誤動作があれば、当然のことながら受信ス
テータス13に受信される結果においても本来の
結果と異なるものが受信される。あるいは、その
可能性が高いものと予測できる。そのような際に
その誤動作をおこしたプロセツサを見出すには、
実在プロセツサの中から最も誤動作を生じたと思
われるプロセツサを受信ステータス13に記憶さ
れた内容から予測し、そのプロセツサをシステム
から切り離して再度本発明のシミユレーシヨンを
実施してその結果(受信ステータス13に記憶さ
れる内容)を確認すれば良いということになる。
The confirmation of existing processors is as follows. That is, if there is a malfunction in the existing processor, the result received in the reception status 13 will naturally be different from the original result. Or, it can be predicted that this possibility is high. In such cases, to find the processor that caused the malfunction,
The processor that is most likely to have malfunctioned among the existing processors is predicted based on the contents stored in the reception status 13, and the processor is separated from the system and the simulation of the present invention is performed again to calculate the result (stored in the reception status 13). All you have to do is check the contents (the content provided).

以下、上述した本発明のシミユレーシヨン方式
の、より具体的な動作を第1図、並びに第3図b
を参照しながら説明する。
The more specific operation of the simulation method of the present invention described above is shown in FIG. 1 and FIG. 3b.
This will be explained with reference to.

なお、以下の説明では第1図において、システ
ムのプロセツサは21,22,23,24の4個
とし、その内の23のプロセツサがシステム上で
欠如しているものとする。よつて、プロセツサ実
在テーブル6には21,22,24の3つのプロ
セツサアドレスが保持されている。一方、記憶部
に記憶されているシミユレーシヨンデータ7とし
ては第3図bに示すように全てデータ長が「1」
のイ,ロ,ハ,ニの4つとする(但し、各シミユ
レーシヨンデータ7には、各受信プロセツサアド
レス及び送信プロセツサアドレスが対応して記憶
されている)とともに、各プロセツサ21,2
2,24には自己の送信に関して同一のシミユレ
ーシヨンデータを保持しており、受信に関しては
対応する一定の処理を実行するものとする。ま
た、当然のことながら、システム全体の同期は取
れているものとする。
In the following explanation, it is assumed that the system has four processors 21, 22, 23, and 24 in FIG. 1, of which 23 processors are missing in the system. Therefore, the processor existence table 6 holds three processor addresses 21, 22, and 24. On the other hand, the simulation data 7 stored in the storage section all have a data length of "1" as shown in FIG. 3b.
(However, in each simulation data 7, each reception processor address and transmission processor address are stored in correspondence), and each processor 21, 2
2 and 24 hold the same simulation data regarding their own transmission, and perform corresponding certain processing regarding reception. Also, it is assumed that the entire system is synchronized.

(1) シミユレーシヨンデータイの扱い まず、シミユレーシヨンデータイ、すなわち、
受信プロセツサアドレスの「22」及び送信プロセ
ツサアドレスの「21」が比較回路9に送出される
とともに、その各アドレスに対応するデータ長
「1」とデータ「A」が記憶部から送信ゲート1
0、及び一致回路12に送出される。
(1) Handling of simulation data First, the simulation data, that is,
The receiving processor address "22" and the transmitting processor address "21" are sent to the comparator circuit 9, and the data length "1" and data "A" corresponding to each address are sent from the storage section to the transmitting gate 1.
0, and sent to match circuit 12.

比較回路9ではその送出された受信プロセツサ
アドレス「22」及び送信プロセツサアドレス
「21」をプロセツサ実在テーブル6を参照しなが
ら、各アドレスが指し示すところのプロセツサが
システム上で実在するか否か調べる。その結果、
送信プロセツサ21は存在するため、送信ゲート
10は閉じられ、データ長「1」とデータ「A」
は送信バツフア4には送出されず、よつて共通バ
ス1にも送出されない。
The comparison circuit 9 uses the received processor address ``22'' and the transmitted processor address ``21'' to check whether or not the processor pointed to by each address actually exists on the system, while referring to the processor existence table 6. . the result,
Since the transmission processor 21 exists, the transmission gate 10 is closed and the data length "1" and data "A" are
is not sent to the transmission buffer 4 and therefore not sent to the common bus 1.

この間、実在するプロセツサ21は同じく実在
するプロセツサ22に向けてシミユレーシヨンデ
ータイを共通バス1上に送出している。
During this time, the existing processor 21 is sending simulation data onto the common bus 1 to the also existing processor 22.

この送出されたシミユレーシヨンデータイは実
在するプロセツサ22で受信され一定の処理が実
行されるとともに、シミユレータ3の受信バツフ
ア5にも受信される。一致回路12では予め記憶
部から送出されているシミユレーシヨンデータイ
と、受信バツフア5の出力(具体的には双方のデ
ータAに対応するもの)とを比較し、その一致、
不一致状態を、例えばフラグのような情報として
出力する。
The sent simulation data is received by the existing processor 22 and subjected to certain processing, and is also received by the reception buffer 5 of the simulator 3. The matching circuit 12 compares the simulation data sent out in advance from the storage section with the output of the receiving buffer 5 (specifically, the data corresponding to both data A), and determines if they match.
The mismatch state is output as information such as a flag.

ところで、予め比較回路9では受信プロセツサ
アドレス「22」に関してプロセツサ実在テーブル
6を参照しながら、アドレスが指し示すところの
プロセツサがシステム上で実在するか否か調べて
おり、その結果、受信プロセツサ22は存在する
ため、受信ゲート11は閉じており、一致回路1
2の結果は受信ステータス13には送出されな
い。
By the way, in advance, the comparison circuit 9 refers to the processor existence table 6 regarding the receiving processor address "22" to check whether the processor pointed to by the address actually exists on the system, and as a result, the receiving processor 22 Therefore, the receiving gate 11 is closed and the matching circuit 1
The result of 2 is not sent to the reception status 13.

この一連の処理が終了してから、次のステツプ
へ進む。
After this series of processing is completed, proceed to the next step.

(2) シミユレーシヨンデータロの扱い 次に、シミユレーシヨンデータロ、すなわち、
受信プロセツサアドレス「23」及び送信プロセツ
サアドレス「22」が比較回路9に送出されるとと
もに、その各アドレスに対応するデータ長「1」
とデータ「B」が記憶部から送信ゲート10、及
び一致回路12に送出される。
(2) Handling of simulation data Next, consider the simulation data, that is,
The receiving processor address "23" and the transmitting processor address "22" are sent to the comparator circuit 9, and the data length corresponding to each address is "1".
and data "B" are sent from the storage section to the transmission gate 10 and the matching circuit 12.

比較回路9ではその送出された受信プロセツサ
アドレス「23」及び送信プロセツサアドレス
「22」をプロセツサ実在テーブル6を参照しなが
ら、各アドレスが指し示すところのプロセツサが
システム上で実在するか否か調べる。その結果、
送信プロセツサ22は存在するため、送信ゲート
10は閉じられ、データ長「1」とデータ「B」
は送信バツフア4には送出されず、よつて共通バ
ス1にも送出されない。
The comparison circuit 9 uses the received processor address "23" and the transmitted processor address "22" to refer to the processor existence table 6 to check whether the processor pointed to by each address actually exists on the system. . the result,
Since the transmission processor 22 exists, the transmission gate 10 is closed and the data length "1" and the data "B" are transmitted.
is not sent to the transmission buffer 4 and therefore not sent to the common bus 1.

この間、実在するプロセツサ22は同じく実在
しないプロセツサ23に向けてシミユレーシヨン
データロを共通バス1上に送出している。
During this time, the existing processor 22 is sending simulation data onto the common bus 1 to the non-existent processor 23.

この送出されたシミユレーシヨンデータロはプ
ロセツサ23が実在しないため、シミユレータ3
の受信バツフア5のみに受信される。一致回路1
2では予め記憶部から送出されているシミユレー
シヨンデータロと、受信バツフア5の出力(具体
的には双方のデータBに対応するもの)とを比較
し、その一致、不一致状態を出力する。
Since the processor 23 does not exist, this sent simulation data row is processed by the simulator 3.
It is received only by the receiving buffer 5 of . Matching circuit 1
In step 2, the simulation data row sent out in advance from the storage unit is compared with the output of the receiving buffer 5 (specifically, the data corresponding to both data B), and the match or mismatch status is output. .

ところで、予め比較回路9では受信プロセツサ
アドレス「23」に関してプロセツサ実在テーブル
6を参照しながら、アドレスが指し示すところの
プロセツサがシステム上で実在するか否か調べて
おり、その結果、受信プロセツサ23は存在しな
いため、受信ゲート11は開かれており、一致回
路12の結果は受信ステータス13に送出され
る。
By the way, in advance, the comparison circuit 9 checks whether or not the processor pointed to by the address actually exists on the system by referring to the processor existence table 6 regarding the receiving processor address "23", and as a result, the receiving processor 23 Since it is not present, the receive gate 11 is open and the result of the matching circuit 12 is sent to the receive status 13.

この一連の処理が終了してから、次のステツプ
へ進む。
After this series of processing is completed, proceed to the next step.

(3) シミユレーシヨンデータハの扱い 次にシミユレーシヨンデータハ、すなわち、受
信プロセツサアドレス「24」及び送信プロセツサ
アドレス「23」が比較回路9に送出されるととも
に、その各アドレスに対応するデータ長「1」と
データ「C」が記憶部から送信ゲート10、及び
一致回路12に送出される。
(3) Handling of simulation data Next, the simulation data, that is, the receiving processor address "24" and the transmitting processor address "23" are sent to the comparator circuit 9, and each of the addresses Data length “1” and data “C” corresponding to the data length “1” and data “C” are sent from the storage section to the transmission gate 10 and the matching circuit 12.

比較回路9ではその送出された受信プロセツサ
アドレス「24」及び送信プロセツサアドレス
「23」をプロセツサ実在テーブル6を参照しなが
ら、各アドレスが指し示すところのプロセツサが
システム上で実在するか否か調べる。その結果、
送信プロセツサ23は存在しないため、送信ゲー
ト10は開かれ、データ長「1」とデータ「C」
は送信バツフア4を介して、共通バス1に送出さ
れる。
The comparison circuit 9 uses the received processor address "24" and the transmitted processor address "23" to refer to the processor existence table 6 to check whether the processor pointed to by each address actually exists on the system. . the result,
Since the transmission processor 23 does not exist, the transmission gate 10 is opened and the data length "1" and the data "C" are transmitted.
is sent to the common bus 1 via the transmission buffer 4.

そして、プロセツサ23は実在しないため、プ
ロセツサ24に向けてシミユレータ3から送出さ
れたシミユレーシヨンデータハのみが共通バス1
上に存在している。
Since the processor 23 does not exist, only the simulation data sent from the simulator 3 to the processor 24 is transferred to the common bus 1.
exists above.

この送出されたシミユレーシヨンデータハは実
在するプロセツサ24で受信され一定の処理が実
行されるとともに、シミユレータ3の受信バツフ
ア5にも受信される。一致回路12では予め記憶
部から送出されているシミユレーシヨンデータハ
と、受信バツフア5の出力(具体的には双方のデ
ータCに対応するもの)とを比較し、その一致、
不一致状態を出力する。
The sent simulation data is received by the existing processor 24 and subjected to certain processing, and is also received by the reception buffer 5 of the simulator 3. The matching circuit 12 compares the simulation data C sent from the storage unit in advance with the output of the receiving buffer 5 (specifically, the data corresponding to both data C), and determines whether they match or not.
Outputs mismatch status.

ところで、予め比較回路9では受信プロセツサ
アドレス「24」に関してプロセツサ実在テーブル
6を参照しながら、アドレスが指し示すところの
プロセツサがシステム上で実在するか否か調べて
おり、その結果、受信プロセツサ24は存在する
ため、受信ゲート11は閉じられており、一致回
路12の結果は受信ステータス13に送出されな
い。
By the way, in advance, the comparison circuit 9 refers to the processor existence table 6 regarding the receiving processor address "24" to check whether the processor pointed to by the address actually exists on the system.As a result, the receiving processor 24 Since it is present, the receive gate 11 is closed and the result of the matching circuit 12 is not sent to the receive status 13.

(4) シミユレーシヨンデータニの扱い 次に、シミユレーシヨンデータニ、すなわち、
受信プロセツサアドレスの「21」及び送信プロセ
ツサアドレスの「24」が比較回路9に送出される
とともに、その各アドレスに対応するデータ長
「1」とデータ「D」が記憶部から送信ゲート1
0、及び一致回路12に送出される。
(4) Treatment of simulation data Next, the simulation data, that is,
The receiving processor address "21" and the transmitting processor address "24" are sent to the comparator circuit 9, and the data length "1" and data "D" corresponding to each address are sent from the storage section to the transmitting gate 1.
0, and sent to match circuit 12.

比較回路9ではその送出された受信プロセツサ
アドレス「21」及び送信プロセツサアドレス
「24」をプロセツサ実在テーブル6を参照しなが
ら、各アドレスが指し示すところのプロセツサが
システム上で実在するか否か調べる。その結果、
送信プロセツサ24は存在するため、送信ゲート
10は閉じられ、データ長「1」とデータ「D」
は送信バツフア4には送出されず、よつて共通バ
ス1にも送出されない。
The comparison circuit 9 uses the received processor address ``21'' and the transmitted processor address ``24'' to check whether or not the processor pointed to by each address actually exists on the system, while referring to the processor existence table 6. . the result,
Since the transmission processor 24 exists, the transmission gate 10 is closed and the data length "1" and the data "D" are
is not sent to the transmission buffer 4 and therefore not sent to the common bus 1.

この間、実在するプロセツサ24は同じく実在
するプロセツサ21に向けてシミユレーシヨンデ
ータニを共通バス1上に送出している。
During this time, the existing processor 24 is sending simulation data onto the common bus 1 to the also existing processor 21.

この送出されたシミユレーシヨンデータニは実
在するプロセツサ21で受信され一定の処理が実
行されるとともに、シミユレータ3の受信バツフ
ア5にも受信される。一致回路12では予め記憶
部から送出されているシミユレーシヨンデータニ
と、受信バツフア5の出力(具体的には双方のデ
ータDに対応するもの)とを比較し、その一致、
不一致状態を出力する。
The sent simulation data is received by the existing processor 21 and subjected to certain processing, and is also received by the reception buffer 5 of the simulator 3. The matching circuit 12 compares the simulation data D sent out in advance from the storage section with the output of the receiving buffer 5 (specifically, the data corresponding to both data D), and determines whether they match or not.
Outputs mismatch status.

ところが、予め比較回路9では受信プロセツサ
アドレス「21」に関してプロセツサ実在テーブル
6を参照しながら、アドレスが指し示すところの
プロセツサがシステム上で実在するか否か調べて
おり、その結果、受信プロセツサ21は存在する
ため、受信ゲート11は閉じられており、一致回
路12の結果は受信ステータス13に送出されな
い。
However, in advance, the comparison circuit 9 refers to the processor existence table 6 regarding the receiving processor address "21" to check whether the processor pointed to by the address actually exists on the system, and as a result, the receiving processor 21 Since it is present, the receive gate 11 is closed and the result of the matching circuit 12 is not sent to the receive status 13.

以上本実施例ではこのような構造であるため
に、シミユレータに用意するデータはマルチプロ
セツサの構成とは独立に準備でき、さらにシミユ
レータとの入出力動作は、外部のプロセツサ構成
により自動的に決定される。
Since this embodiment has such a structure, the data prepared for the simulator can be prepared independently of the multiprocessor configuration, and input/output operations with the simulator are automatically determined by the external processor configuration. be done.

以上のように、本発明は、今後マイクロプロセ
ツサを主体としたマルチプロセツサシステムが多
方面に応答されてゆくと思われるが、この時途中
まで設計されたプロセツサの機能の確認におい
て、本発明によるシミユレーシヨン装置がシミユ
レーシヨンデータの準備の容易性、シミユレーシ
ヨン動作の汎用性からその工業的価値は大である
と言える。
As described above, it is expected that multiprocessor systems based on microprocessors will be used in many fields in the future. It can be said that the industrial value of the simulation device is great because of the ease with which simulation data can be prepared and the versatility of simulation operations.

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

第1図は本発明の適用されるマルチプロセツサ
システム構成を示すブロツク図、第2図は本発明
に使用されるシミユレータの構成例を示すブロツ
ク図、第3図は本発明におけるシミユレーシヨン
の対象となる共通バス上のデータ形式の実施例を
示す図である。 1……共通バス、3……シミユレータ、4……
送信バツフア、5……受信バツフア、6……プロ
セツサ実存テーブル、7……シミユレーシヨンデ
ータ、8……送受信プロセツサアドレス、9……
比較回路、10……送信ゲート、11……受信ゲ
ート、12……一致回路、13……受信ステータ
ス、21,22,…2N……プロセツサ。
Fig. 1 is a block diagram showing a multiprocessor system configuration to which the present invention is applied, Fig. 2 is a block diagram showing an example of the configuration of a simulator used in the present invention, and Fig. 3 is a block diagram showing an example of the configuration of a simulator used in the present invention. FIG. 2 is a diagram showing an example of a data format on a common bus. 1... common bus, 3... simulator, 4...
Sending buffer, 5...Receiving buffer, 6...Processor existence table, 7...Simulation data, 8...Sending/receiving processor address, 9...
Comparison circuit, 10...Transmission gate, 11...Reception gate, 12...Coincidence circuit, 13...Reception status, 21, 22,...2N...Processor.

Claims (1)

【特許請求の範囲】 1 マルチプロセツサシステムとともに、クロツ
クに同期して所定のタイミングで動作するマルチ
プロセツサシステムにおけるシミユレーシヨン装
置において、 複数のプロセツサが共通に接続される共通バス
上に、現時点で接続されている実存プロセツサの
プロセツサアドレスを記憶するプロセツサ実存テ
ーブルと、 完成時のマルチプロセツサシステム間における
送受信データと同一のシミユレーシヨンデータ、
そのデータと対にして送信すべきプロセツサの送
信プロセツサアドレス、及び受信すべきプロセツ
サの受信プロセツサアドレスを記憶している記憶
手段と、 前記共通バス上にシミユレーシヨンデータが送
出される以前に、所定のタイミングで前記プロセ
ツサ実存テーブルに記憶されているプロセツサア
ドレスと、前記記憶手段から送出される前記送信
プロセツサアドレスとを比較して送信すべきプロ
セツサの実存を判断するするとともに、 前記共通バス上に送出されているシミユレーシ
ヨンデータを受信する以前に、所定のタイミング
で前記プロセツサ実存テーブルに記憶されている
プロセツサアドレスと、前記記憶手段から送出さ
れる前記受信プロセツサアドレスとを比較して受
信すべきプロセツサの実存を判断する比較回路
と、 前記比較回路により送信すべきプロセツサが実
存しないと判断されると、前記記憶手段に記憶さ
れている当該送信プロセツサアドレスに応じたシ
ミユレーシヨンデータを前記共通バスに送出し、
一方、実存すると判断されると、そのシミユレー
シヨンデータの送出を阻止する送信ゲート手段
と、 前記比較回路により受信すべきプロセツサが実
存しないと判断されると受信ステータスへの出力
を行い、一方、受信すべきプロセツサが実存する
と判断されると前記受信ステータスへの出力を阻
止すると同時に、 前記共通バス上を介して入力されるシミユレー
シヨンデータに対し、前記記憶手段が記憶するシ
ミユレーシヨンデータとのデータの一致状態を調
べた上で前記受信ステータスへの結果出力を行う
か否かを決定する受信一致・ゲート手段と を具備するマルチプロセツサシステムにおけるシ
ミユレーシヨン装置。
[Scope of Claims] 1. In a simulation device for a multiprocessor system that operates at a predetermined timing in synchronization with a clock, a plurality of processors are currently connected to a common bus that is commonly connected. a processor existence table that stores the processor addresses of existing processors; and simulation data that is the same as the data sent and received between the multiprocessor systems when completed.
a storage means for storing a transmitting processor address of a processor to be transmitted in pair with the data and a receiving processor address of a processor to be received; and before the simulation data is transmitted onto the common bus. comparing the processor address stored in the processor existence table with the transmission processor address sent from the storage means at a predetermined timing to determine the existence of the processor to be transmitted; Before receiving the simulation data being sent out on the common bus, the processor address stored in the processor existence table and the receiving processor address sent out from the storage means at a predetermined timing. a comparison circuit that determines the existence of a processor to which the data should be received by comparing the data; and when it is determined by the comparison circuit that the processor to which the data should be sent does not exist, a comparison circuit that determines the existence of the processor to which the data should be sent is determined based on the address of the sending processor stored in the storage means; sending simulation data to the common bus;
On the other hand, if it is determined that the processor exists, the transmission gate means prevents the sending of the simulation data, and if the comparator circuit determines that the processor to receive the data does not exist, it outputs the reception status; , when it is determined that the processor to receive the data exists, it blocks the output to the reception status, and at the same time, outputs the simulation data stored in the storage means to the simulation data input via the common bus. 1. A simulation device for a multiprocessor system, comprising reception matching/gate means for determining whether or not to output the result to the reception status after checking the state of data matching with the processing data.
JP5037581A 1981-04-02 1981-04-02 Simulation system in multi-processor system Granted JPS57164363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5037581A JPS57164363A (en) 1981-04-02 1981-04-02 Simulation system in multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5037581A JPS57164363A (en) 1981-04-02 1981-04-02 Simulation system in multi-processor system

Publications (2)

Publication Number Publication Date
JPS57164363A JPS57164363A (en) 1982-10-08
JPH0315778B2 true JPH0315778B2 (en) 1991-03-01

Family

ID=12857128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5037581A Granted JPS57164363A (en) 1981-04-02 1981-04-02 Simulation system in multi-processor system

Country Status (1)

Country Link
JP (1) JPS57164363A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59161737A (en) * 1983-03-04 1984-09-12 Hitachi Ltd Microprocessor system
JP2590179B2 (en) * 1988-02-16 1997-03-12 富士通株式会社 Parallel logic simulation control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57141759A (en) * 1981-02-26 1982-09-02 Nec Corp Data processing system
JPS57143669A (en) * 1981-02-28 1982-09-04 Omron Tateisi Electronics Co Debugging device for multiprocessor system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57141759A (en) * 1981-02-26 1982-09-02 Nec Corp Data processing system
JPS57143669A (en) * 1981-02-28 1982-09-04 Omron Tateisi Electronics Co Debugging device for multiprocessor system

Also Published As

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

Similar Documents

Publication Publication Date Title
CA1233264A (en) Data processor having dynamic bus sizing
JPS6043767A (en) Interface circuit
JPH0315778B2 (en)
US6112229A (en) Secure terminal and method of communicating messages among processing systems internal thereto
JPS6019821B2 (en) Serial data reception method
EP0376003A2 (en) Multiprocessing system with interprocessor communications facility
JP2590179B2 (en) Parallel logic simulation control method
JPS6259825B2 (en)
JPS62135038A (en) Data communications system for slave processor
CA1309503C (en) Selective receiver for each processor in a multiple processor system
JPS62206657A (en) Inter-processor data transfer system
JPH0520783B2 (en)
JPS6130300B2 (en)
WO1992005489A1 (en) Method of nonsynchronous access to shared memory
US7478137B1 (en) Lightweight messaging with and without hardware guarantees
CN116701084A (en) Bus protocol verification method, device, equipment, storage medium and program product
JP2531207B2 (en) Channel device
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JP2586155B2 (en) Logic simulator
JPS54140439A (en) Composite computer device
JPS61100036A (en) Duplicated system data reception processing system
JP2659410B2 (en) Execution suspension method of data flow computer
JPS6152509B2 (en)
JPS5999841A (en) Code receiver
JPH02253402A (en) Programmable controller