JPH02297114A - Method for inspecting computer - Google Patents

Method for inspecting computer

Info

Publication number
JPH02297114A
JPH02297114A JP1046925A JP4692589A JPH02297114A JP H02297114 A JPH02297114 A JP H02297114A JP 1046925 A JP1046925 A JP 1046925A JP 4692589 A JP4692589 A JP 4692589A JP H02297114 A JPH02297114 A JP H02297114A
Authority
JP
Japan
Prior art keywords
instructions
vector
common device
individual devices
scalar
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
JP1046925A
Other languages
Japanese (ja)
Inventor
Kenichi Shimada
憲一 島田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1046925A priority Critical patent/JPH02297114A/en
Publication of JPH02297114A publication Critical patent/JPH02297114A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To test the multiplex processing function of a common device and to easily detect a design error and the fault of the device by counting the number of the specified kinds of instructions executed by means of the common device for respective individual devices. CONSTITUTION:In a system having plural individual devices 1 and 2 and the common device 3, a transfer means 4 sequentially transfers the specified kinds of instructions from the individual devices 1 and 2 as to the individual devices 1 and 2 in terms of prescribed numbers based on a signal in a synchronous means 7, and a counting means 5 counts the number of the specified kinds of instructions executed by the common device 3 for respective individual devices 1 and 2. Thus, respective inspection programs 9 can inspect whether the common device 3 accurately executes the instructions for the number included in the specified kinds of instruction groups 8 by inspecting the discrete value of the counting means 5.

Description

【発明の詳細な説明】 〔概要〕 複数の装置によって共有される装置の検査方式複数の装
置に共有され、指定された特定の処理を行う装置の多重
処理機能の検査方式を提供することを目的とし、 プログラム中に検出した特定種類の命令を転送する複数
の個別装置と、該転送された特定種類の命令を実行する
共通装置とを有するシステムにおいて、前記特定種類の
命令群を含み該個別装置により実行される検査プログラ
ムと、同期用信号を発生する同期手段と、該同期手段の
信号に基づいて該個別装置からの該特定種類の命令を所
定数単位で該個別装置について順番に該共通装置に転送
する手段と、該共通装置によって実行された前記特定種
類の命令の数を該個別装置ごとに計数する手段とを設け
、該各検査プログラムは該計数手段の計数値を読取って
、実行された特定種類の命令の数を検査するように構成
する。
[Detailed Description of the Invention] [Summary] Inspection method for a device shared by a plurality of devices An object of the present invention is to provide a test method for the multiprocessing function of a device that is shared by a plurality of devices and performs specified specific processing. In a system having a plurality of individual devices that transfer instructions of a specific type detected in a program and a common device that executes the transferred instructions of the specific type, the individual devices include a group of instructions of the specific type. a synchronizing means for generating a synchronizing signal; and a synchronizing means for generating a synchronizing signal, and transmitting the specific type of command from the individual device to the common device in order for the individual devices in a predetermined number of units based on the signal of the synchronizing means. and means for counting the number of instructions of the specific type executed by the common device for each individual device, and each inspection program reads the count value of the counting device and is executed. configured to check the number of instructions of a particular type.

〔産業上の利用分野〕[Industrial application field]

本発明は、複数の装置によって共有される装置の検査方
式に関する。
The present invention relates to a testing method for a device shared by multiple devices.

近年、複数の計算機に共有され、特定の処理を専用に行
う計算機から成るシステム構成、例えば、2台のスカラ
計算機、又は汎用計算機に接続され、スカラ計算機から
転送されるベクトル命令を処理するベクトル計算機を有
するシステムなどが広く採用されるようになってきた。
In recent years, system configurations consisting of a computer that is shared by multiple computers and dedicated to specific processing, such as two scalar computers, or a vector computer that is connected to a general-purpose computer and processes vector instructions transferred from the scalar computer, have been introduced. Systems with

ベクトル計算機はスカラ計算機から転送される命令を逐
次、バッファリングし、2台のスカラ計算機からのベク
トル命令がバッファに混在するときは、2台のスカラ計
算機について交互に、多重処理することによってシステ
ムの処理効率を向上するように構成される。従って、ベ
クトル計算機など専用計算機の多重処理機能を的確に検
査する方式が望まれている。
The vector computer sequentially buffers instructions transferred from the scalar computer, and when vector instructions from two scalar computers are mixed in the buffer, the system is improved by performing multiple processing on the two scalar computers alternately. Configured to improve processing efficiency. Therefore, there is a need for a method for accurately testing the multiprocessing function of a dedicated computer such as a vector computer.

〔従来の技術〕[Conventional technology]

第3図は従来例を示すブロック図である。全図を通じて
同一符号は同一対象物を示す。
FIG. 3 is a block diagram showing a conventional example. The same reference numerals indicate the same objects throughout the figures.

従来のベクトル計算機の検査方式は、例えば、スカラ計
算機1a及び2a間に設けられた通信インタフェースを
使用して相互に同期を取り、ベクトル命令実行の多重処
理機能を検査していた。即ち、検査プログラムのヘクト
ル命令群(数〜十数ステップ)の前に配置した同期用命
令により通信・インタフェースを介し通信し、検査プロ
グラムの実行を同期化し゛ζベクトル命令の転送を同期
化し、ベクトル計算機3aにスカラ計算機1a及び2a
からのベクトル命令を同時に実行させ、ヘクトル命令群
の実行終了時点で実行結果と期待値とを比較することに
よってベクトル計算機3aの多重処理機能を検査してい
た。
A conventional vector computer testing method uses, for example, a communication interface provided between the scalar computers 1a and 2a to synchronize them with each other and test the multiprocessing function of vector instruction execution. In other words, a synchronization instruction placed before a group of vector instructions (several to dozens of steps) of the inspection program communicates via a communication interface, synchronizes the execution of the inspection program, and synchronizes the transfer of vector instructions. Calculator 3a has scalar calculators 1a and 2a
The multiprocessing function of the vector computer 3a was tested by simultaneously executing the vector instructions from the hector instruction group and comparing the execution result with the expected value at the end of execution of the hector instruction group.

〔発明が解決しようとする課題] 上記のように従来方法によると、ベクトル命令群の前に
配置した同期用命令により検査プログラム間の同期をと
ってベクトル命令の転送を同期化し、ベクトル計算機3
aの実行結果を期待値と比較することによって検査した
が、実際には、スカラ計算機1a及び2aからベクトル
命令群が同時にベクトル計算機に転送されたか不明であ
る。たとえ同時に転送されたとしても、実行結果からは
1命令ずつ交互に実行(多重処理)したか、又は一方の
スカラ計算機からの命令を複数まとめて実行した後で他
方からの命令を実行したかを判定することはできず、多
重処理機能を的確に検査することができないという問題
点があった。
[Problems to be Solved by the Invention] As described above, according to the conventional method, the synchronization instructions placed before the vector instruction group synchronize the inspection programs and synchronize the transfer of vector instructions.
Although it was checked by comparing the execution result of a with the expected value, it is unclear whether the vector instructions were actually transferred from the scalar computers 1a and 2a to the vector computer at the same time. Even if they are transferred at the same time, the execution results will show whether the instructions were executed alternately one by one (multiple processing), or whether multiple instructions from one scalar computer were executed at once and then instructions from the other. There was a problem in that the multiprocessing function could not be accurately tested.

本発明は、複数の装置に共有され、指定された特定の処
理を行う装置の多重処理機能の検査方式を提供すること
を目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for testing the multiprocessing function of a device that is shared by a plurality of devices and that performs specified specific processing.

〔課題を解決するための手段] 第1図は本発明の原理ブロック図を示す。[Means to solve the problem] FIG. 1 shows a block diagram of the principle of the present invention.

図において、 l、2はプログラム中に検出した特定種類の命令を転送
する複数の個別装置、 3は転送された特定種類の命令を実行する共通装置、 9は特定種類の命令群8を含み個別装置l、2により実
行される検査プログラム、 7は同期用信号を発生する同期手段、 4は同期手段7の信号に基づいて個別装置1.2からの
特定種類の命令を所定数単位で個別装置l、2について
順番に共通装置3に転送する手段、5は共通装置3によ
って実行された特定種類の命令の数を個別装置1.2ご
とに計数する手段、従って、各検査プログラム9は計数
手段5の計数値を読取って、実行された特定種類の命令
の数を検査するように構成されている。
In the figure, 1 and 2 are a plurality of individual devices that transfer a specific type of instruction detected in a program, 3 is a common device that executes the transferred specific type of instruction, and 9 is an individual device that includes a specific type of instruction group 8. 7 is a synchronizing means for generating a synchronizing signal; 4 is a synchronizing means for generating a synchronizing signal; and 4 is a synchronizing means for transmitting a specific type of command from the individual device 1.2 in units of a predetermined number of individual devices based on the signal of the synchronizing means 7. 5 means for counting the number of instructions of a specific type executed by the common device 3 for each individual device 1.2, and therefore each inspection program 9 is a counting means. It is configured to read a count of 5 to check the number of instructions of a particular type that have been executed.

〔作用〕[Effect]

本発明によれば、複数の個別装置l、2と共通装置3と
を有するシステムにおいて、転送手段4は同期手段7の
信豊に基づいて、個別装置l、2からの特定種類の命令
を所定数単位で個別装置1.2について順番に共通装置
3に転送し、計数手段5は共通装置3によって実行され
た特定種類の命令の数を個別装置1.2ごとに計数する
ので、各検査プログラム9は計数手段5の計数値を検査
することにより、特定種類の命令群8に含まれる数だけ
の命令が正しく共通袋W3によって実行されたか否かを
検査することができる。
According to the present invention, in a system having a plurality of individual devices 1, 2 and a common device 3, the transfer means 4 transmits a specific type of command from the individual devices 1, 2 based on the synchronization means 7. The individual devices 1.2 are sequentially transferred to the common device 3 in units of numbers, and the counting means 5 counts the number of instructions of a specific type executed by the common device 3 for each individual device 1.2, so that each inspection program By checking the count value of the counting means 5, 9 can check whether or not the number of instructions included in the specific type of instruction group 8 has been correctly executed by the common bag W3.

〔実施例〕〔Example〕

以下、本発明の実施例を第2図を参照して説明する。全
図を通じて同一符号は同一対象物を示す。
Hereinafter, embodiments of the present invention will be described with reference to FIG. The same reference numerals indicate the same objects throughout the figures.

第2図で第1図に対応するものは一点鎖線で囲んである
Components in FIG. 2 that correspond to those in FIG. 1 are surrounded by dashed lines.

第2図において、 スカラ計算機1b及び2bは主メモI月0に格納された
プログラムからスカラ命令を読み出したときは通常の汎
用計算機と同様にスカラ演算を実行し、ベクトル命令を
読み出したときはベクトル計算機3Bに転送し、その演
算結果を受領することによってプログラムを続行する。
In Figure 2, when the scalar computers 1b and 2b read out a scalar instruction from the program stored in the main memory I/month 0, they execute a scalar operation like a normal general-purpose computer, and when they read out a vector instruction, they execute a vector operation. The program is continued by transferring the calculation result to the computer 3B and receiving the calculation result.

ベクトル計算機3Bのベクトル処理部3bは転送された
ベクトル命令を、転送元のスカラ計算機1b又は2bを
識別する符号を付して、図示省略するバッファへ格納す
ると共に、並行してバッファから命令を読み出して実行
する。
The vector processing unit 3b of the vector computer 3B stores the transferred vector instructions in a buffer (not shown) with a code identifying the scalar computer 1b or 2b that is the transfer source, and reads the instructions from the buffer in parallel. and execute it.

命令の読出し時にバッファ中にスカラ計算機1b及び2
bからの命令が混在するときはシステムのスループット
を向上するように、それらを交互に実行(多重処理)す
るように構成されている。
Scalar calculators 1b and 2 are stored in the buffer when reading instructions.
When instructions from b are mixed, they are configured to be executed alternately (multi-processing) in order to improve the throughput of the system.

検査プログラム92は、スカラ計算機2bによって実行
され、ベクトル計算機3bによって実行されるベクトル
命令群82及び検査用スカラ命令から構成される。
The inspection program 92 is executed by the scalar computer 2b, and includes a vector instruction group 82 and inspection scalar instructions executed by the vector computer 3b.

検査プログラム91は、スカラ計算機1bによって実行
され、検査プログラム92と同様の構成を有し、ベクト
ル命令群81の前に同期用命令7bを有する。
The test program 91 is executed by the scalar computer 1b, has the same configuration as the test program 92, and has a synchronization instruction 7b before the vector instruction group 81.

選択制御部4bは、同期用命令7bの実行によって動作
状態になり、以降、スカラ計算機1b及び2bからのベ
クトル命令の転送要求に対して交互に応答してベクトル
命令を交互に取り込んでベクトル処理部3bに転送する
ことにより、スカラ計算機1b及び2bからベクトル命
令が同時に転送された環境条件を模擬する。
The selection control unit 4b enters the operating state by executing the synchronization instruction 7b, and thereafter responds alternately to vector instruction transfer requests from the scalar computers 1b and 2b, alternately takes in vector instructions, and operates the vector processing unit. 3b simulates an environmental condition in which vector instructions are simultaneously transferred from the scalar computers 1b and 2b.

カウンタ5bは、ベクトル処理部3bからベクトル命令
の演算終了信号を選択制御部4bを介して受信し、実行
された命令数をスカラ計算機1b及び2b別に計数する
The counter 5b receives the computation end signal of the vector instruction from the vector processing section 3b via the selection control section 4b, and counts the number of executed instructions for each of the scalar computers 1b and 2b.

従って、選択制御部4bは同期用命令7bを受けるまで
は転送要求に応答することなく、同期用命令7bを受け
た後はスカラ計算機1b及び2bから交互にベクトル命
令を受は取ってベクトル処理部3bに転送することによ
り、スカラ計算機1b及び2bから同時にベクトル命令
が転送された環境を模擬する。
Therefore, the selection control unit 4b does not respond to a transfer request until it receives the synchronization command 7b, and after receiving the synchronization command 7b, it alternately receives and receives vector commands from the scalar computers 1b and 2b, and the vector processing unit 3b simulates an environment in which vector instructions are transferred from the scalar computers 1b and 2b at the same time.

ベクトル処理部3bは転送されるベクトル命令をバッフ
ァに格納するのと並行して命令をスカラ計算機1b及び
2bについて交互に読み出して実行(多重処理)する。
The vector processing unit 3b stores the transferred vector instructions in a buffer and, in parallel, reads the instructions alternately from the scalar computers 1b and 2b and executes them (multi-processing).

1つのベクトル命令の実行終了毎にカウンタ5bは計数
値を更新する。検査プログラム91及び92は夫々、ベ
クトル命令群81及び82の実行終了時にカウンタ5b
の内容を読み取り、プログラム中のベクトル命令の数と
比較することにより、スカラ計算機1b及び2bからの
ベクトル命令が錯綜する環境下においても、ベクトル処
理部3bがベクトル命令の発信元を混乱することなく正
常に処理を行うことを確認する。また、ベクトル命令群
81及び82を構成する命令の数を1.2.3・・・と
変化してカウンタ5bの内容と比較することにより、ベ
クトル処理部3bの多重処理機能が正常に機能したか否
かを判定するように構成されている。
The counter 5b updates the count value every time execution of one vector instruction is completed. The inspection programs 91 and 92 start the counter 5b at the end of the execution of the vector instruction groups 81 and 82, respectively.
By reading the contents of and comparing it with the number of vector instructions in the program, even in an environment where vector instructions from the scalar computers 1b and 2b are mixed, the vector processing unit 3b can avoid confusing the source of the vector instructions. Confirm that the process is performed correctly. Also, by changing the number of instructions constituting the vector instruction groups 81 and 82 to 1, 2, 3, etc. and comparing them with the contents of the counter 5b, it was confirmed that the multiprocessing function of the vector processing unit 3b functioned normally. It is configured to determine whether or not.

なお、本実施例においては同期用命令7bによって同期
を取る例について説明したが、タイマ信号に従ってベク
トル命令を所定数ずつ転送する方法によっても同様の作
用及び効果を奏する。
In this embodiment, an example in which synchronization is achieved using the synchronization command 7b has been described, but the same operation and effect can be achieved by a method of transferring a predetermined number of vector commands in accordance with a timer signal.

また、本実施例においては2台のスカラ計算機を有する
システムについて説明したが、3台以上のスカラ計算機
を有するシステムについても、本発明は同様に適用でき
、同様の作用及び効果を奏する。
Further, in this embodiment, a system having two scalar computers has been described, but the present invention can be similarly applied to a system having three or more scalar computers, and the same operation and effect can be obtained.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、複数の個別装置に
よって共用されて指定された処理を行う共通装置を有す
るシステムにおいて、共通装置の多重処理機能を容易に
検証することができ、設計誤りや装置の故障を容易に検
出してシステムの信頼性を向上することができるという
効果がある。
As explained above, according to the present invention, in a system having a common device that is shared by a plurality of individual devices to perform specified processing, the multiprocessing function of the common device can be easily verified, and design errors can be avoided. This has the effect of easily detecting device failures and improving system reliability.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例を示すブロック図、第3図は従
来例を示すブロック図である。 図において、 1.2は個別装置、 lb、 2bはスカラ計算機、 3は共通装置、 3Bはベクトル計算機、 3bベクトル処理部、 4は転送手段、 4bは選択制御部、 5は計数手段、 5bはカウンタ、 7は同期手段、 7bは同期用命令、 8は特定種類の命令群、 81.82はベクトル命令群、 9.91.92は検査プログラム、 10は主メモリ を示ず。 茅・亮日月npA王里プロ・、り回 第  1  図 木杷明の笑施g′1+Lネ1フ゛ロ、20袷 2 日
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a block diagram showing a conventional example. In the figure, 1.2 is an individual device, lb, 2b is a scalar computer, 3 is a common device, 3B is a vector computer, 3b is a vector processing section, 4 is a transfer means, 4b is a selection control section, 5 is a counting means, 5b is a A counter, 7 is a synchronization means, 7b is a synchronization instruction, 8 is a specific type of instruction group, 81.82 is a vector instruction group, 9.91.92 is a test program, and 10 does not indicate main memory. Kaya Ryoichi NPA Ori Pro, Episode 1 Umeki's smile g'1 + L net 1 file, 20 lines 2 days

Claims (1)

【特許請求の範囲】 プログラム中に検出した特定種類の命令を転送する複数
の個別装置(1、2)と、該転送された特定種類の命令
を実行する共通装置(3)とを有するシステムにおいて
、 前記特定種類の命令群(8)を含み該個別装置(1、2
)により実行される検査プログラム(9)と、同期用信
号を発生する同期手段(7)と、 該同期手段(7)の信号に基づいて該個別装置(1、2
)からの該特定種類の命令を所定数単位で該個別装置(
1、2)について順番に該共通装置(3)に転送する手
段(4)と、 該共通装置(3)によって実行された前記特定種類の命
令の数を該個別装置(1、2)ごとに計数する手段(5
)とを設け、 該各検査プログラム(9)は該計数手段(5)の計数値
を読取って、実行された特定種類の命令の数を検査する
ことを特徴とする計算機の検査方式。
[Claims] In a system having a plurality of individual devices (1, 2) that transfer specific types of instructions detected in a program, and a common device (3) that executes the transferred specific types of instructions. , including the specific type of instruction group (8) and the individual device (1, 2)
); a synchronization means (7) for generating a synchronization signal;
) from the individual device (
1, 2) in order to the common device (3); and means (4) for sequentially transferring the instructions of the specific type executed by the common device (3) for each individual device (1, 2). Counting means (5
), and each of the test programs (9) reads the count value of the counting means (5) to test the number of executed instructions of a specific type.
JP1046925A 1989-02-28 1989-02-28 Method for inspecting computer Pending JPH02297114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1046925A JPH02297114A (en) 1989-02-28 1989-02-28 Method for inspecting computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1046925A JPH02297114A (en) 1989-02-28 1989-02-28 Method for inspecting computer

Publications (1)

Publication Number Publication Date
JPH02297114A true JPH02297114A (en) 1990-12-07

Family

ID=12760908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1046925A Pending JPH02297114A (en) 1989-02-28 1989-02-28 Method for inspecting computer

Country Status (1)

Country Link
JP (1) JPH02297114A (en)

Similar Documents

Publication Publication Date Title
Mahmood et al. Concurrent error detection using watchdog processors-a survey
EP0180128B1 (en) User interface processor for computer network
EP0179425B1 (en) Maintenance subsystem for computer network
US4493078A (en) Method and apparatus for testing a digital computer
JPH0517579B2 (en)
EP0190034A2 (en) Multi-channel redundant processing systems
IE842859L (en) Self-testing of floating point accelerator processors
JPH05158902A (en) Testing method and apparatus for multiprocessor system
JPH06149762A (en) Competitive behavior test method for computer system
KR940006834B1 (en) Method of generating the diagnosing and recovery data file in multiprocessor system
JPH0561734A (en) Non-deterministic behavior test method for parallel programs
JPS6270958A (en) Test system for input and output processor
JPH0335327A (en) Majority decision fault processor
JPH03250240A (en) Broadcast communication system
JPS61220049A (en) Trouble processing system for channel
JPH021571A (en) Faulty simulation device
JPS63193235A (en) Inspecting method for condition code
JP2544416B2 (en) Test data generation processing method
CN114116468A (en) Application testing method and device, electronic equipment and storage medium
Geitz et al. BFS—realization of a fault-tolerant architecture
JPS61175737A (en) Parallel trouble simulation system
HLAVIČKA CONCURRENT DIAGNOSTICS IN MULTIPROCESSOR SYSTEMS
JPS6139136A (en) Inspection system of information processor
JPH01134539A (en) Trace system for microprogram
JPS63111554A (en) Test system for shared memory