JPH05204693A - Exceptional order guarantee testing system - Google Patents

Exceptional order guarantee testing system

Info

Publication number
JPH05204693A
JPH05204693A JP4013533A JP1353392A JPH05204693A JP H05204693 A JPH05204693 A JP H05204693A JP 4013533 A JP4013533 A JP 4013533A JP 1353392 A JP1353392 A JP 1353392A JP H05204693 A JPH05204693 A JP H05204693A
Authority
JP
Japan
Prior art keywords
exception
events
ccw
channel
exceptional
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.)
Withdrawn
Application number
JP4013533A
Other languages
Japanese (ja)
Inventor
Fumio Ichikawa
文男 市川
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 JP4013533A priority Critical patent/JPH05204693A/en
Publication of JPH05204693A publication Critical patent/JPH05204693A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide an exceptional order guarantee testing system capable of testing a computer system by combining all states of channels, CPUs, etc., in their normal operation and all exceptional events to be generated and inspecting the interruption priority order of plural exceptional events. CONSTITUTION:All exceptional events to be generated in a command or instruction string are integrated (step 1). Then the command or instruction string is executed (step 2), interruption validity is inspected in the ascending order of the interruption priority order to remove exceptional events (steps T3, T4). This test is repeated in the same command/instruction to test normality in the operation of the computer system. Consequently the normality of the priority order of plural exceptional events and the normality in the operation of the computer system for all the exceptional events can be tested.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は電子計算機システムの試
験方式に関し、特に、電子計算機システムのハード論理
の正常性をシステム的に検証することができる例外順序
保証試験方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test method for an electronic computer system, and more particularly to an exceptional order guarantee test method capable of systematically verifying the normality of the hardware logic of the electronic computer system.

【0002】[0002]

【従来の技術】近年、電子計算機システムの高性能化・
高速化の要求に伴い、複数のCPUを併用し、処理を分
散させることにより高性能化・高速化を実現する電子計
算機が増えてきている。また、VM(バーチャル・マシ
ン)化により1システムを複数のシステムにみせかける
ことにより、複数のOSを併用させ処理の効率化を進め
る傾向にもある。
2. Description of the Related Art Recently, the performance of electronic computer systems has been improved.
Along with the demand for higher speed, an increasing number of electronic computers have realized higher performance and higher speed by using a plurality of CPUs together and distributing the processing. In addition, there is a tendency that a single system is made to appear as a plurality of systems by using a virtual machine (VM) so that a plurality of OSs can be used together and processing efficiency can be improved.

【0003】このように、システム規模の拡大と、処理
の多様化を実現しているハード論理の正常性を検証する
には、単体での機能試験ではカバーすることが出来ず、
システム的に論理検証する必要がある。図7は電子計算
機システムの基本構成を示す図である。同図において、
101は主記憶装置、102は記憶制御装置、103は
中央処理装置、104はチャネル処理装置、105はブ
ロック・マルチプレクサ・チヤネル、106はバイト・
マルチプレクサ・チャネル、107はサービス・プロセ
ッサであり、ブロック・マルチプレクサ・チヤネル10
5には図示されているLANコントローラのほか、磁気
ドラム装置、ディスク・パック装置などの各種の入出力
装置が接続され、バイト・マルチプレクサ・チャネル1
06には図示のサービス・プロセッサ107などの入出
力装置が接続される。
As described above, in order to verify the normality of the hardware logic which realizes the expansion of the system scale and the diversification of processing, it is not possible to cover the functional test by itself.
It is necessary to systemically verify the logic. FIG. 7 is a diagram showing the basic configuration of an electronic computer system. In the figure,
Reference numeral 101 is a main storage device, 102 is a storage control device, 103 is a central processing unit, 104 is a channel processing device, 105 is a block multiplexer channel, and 106 is a byte.
Multiplexer channel, 107 is a service processor, block multiplexer channel 10
In addition to the LAN controller shown in the figure, various input / output devices such as a magnetic drum device and a disk pack device are connected to the reference numeral 5, and a byte multiplexer channel 1
An input / output device such as the illustrated service processor 107 is connected to 06.

【0004】上記した電子計算機システムのシステム検
証において、チャネル処理装置104は割込みが中央処
理装置103に依存せず、動作も中央処理装置103と
非同期であるため、特にシステム全体からチャネル処理
装置104(以下、チャネルと略記する)をとらえたハ
ード論理の検証が必要である。図8は従来のチャネルの
システム試験方式を示すフローチャートである。
In the system verification of the electronic computer system described above, the channel processor 104 does not depend on the central processor 103 for interrupts and its operation is asynchronous with the central processor 103. Below, abbreviated as channel), it is necessary to verify the hardware logic. FIG. 8 is a flowchart showing a conventional channel system test method.

【0005】従来のチャネルのシステム試験において
は、図1に示すように、まず、チャネルのCCW(チャ
ネル・コントロール・ワード、以下CCWと略記する)
列を無作為に抽出する(ステップS1)。ついで、チャ
ネルに起動をかけ、マルチ・タスクを行うため他のタス
クに制御を渡し、割込みを待つ(ステップS2、ステッ
プS3、ステップS4)。
In a conventional channel system test, as shown in FIG. 1, first, a CCW (channel control word, hereinafter abbreviated as CCW) of the channel.
A column is randomly extracted (step S1). Then, the channel is activated, control is passed to another task for multi-tasking, and an interrupt is awaited (step S2, step S3, step S4).

【0006】そして、割込みがあると、実行されたCC
Wとチャネルのステータスを比較して、その両者が対応
するか否かを調べ、チャネルの動作の正常性を検証して
いた。上記のようなチャネルのシステム試験方式は、チ
ャネルのとりうる状態の正常性の検証にはなるが、例外
的な事象を含んだチャネルの動作タイミングによるシス
テム検証が不足し、これがシステム試験としてのカバレ
ージが向上しない原因となっていた。
Then, when there is an interrupt, the executed CC
The status of W and the channel were compared to check whether or not they correspond to each other, and the normality of the operation of the channel was verified. Although the channel system test method as described above verifies the normality of the possible states of the channel, system verification by the operation timing of the channel including exceptional events is insufficient, and this is the coverage of the system test. Was not the cause of improvement.

【0007】中央処理装置103(以下、CPUと略記
する)のシステム試験については、従来、図9のフロー
チャートに示すような方式でシステム試験を行ってい
た。図9において、まず、無作為にデータを作成して
(ステップR1)、無作為データからテスト命令列とテ
スト・データを生成する(ステップR2)。ついで、上
記のようにして作成された命令列を実行する(ステップ
R3)。
As for the system test of the central processing unit 103 (hereinafter abbreviated as CPU), conventionally, the system test has been performed by the method shown in the flowchart of FIG. In FIG. 9, first, data is randomly created (step R1), and a test instruction sequence and test data are created from the random data (step R2). Then, the instruction sequence created as described above is executed (step R3).

【0008】そして、無作為に作成された命令列を実行
した結果、割込みが発生すると、実行された命令と割込
み原因を比較して、その割込みの妥当性を調べ(ステッ
プR4,ステップR5)、CPUの動作の正常性を検証
していた。上記のようなCPUのシステム試験方式は、
無作為データから命令列を生成し実行することにより、
命令列の取りうるあらゆる組み合わせを実現している
が、この方式は、各々の命令が例外事象を持つ場合と持
たない場合のどちらかに固定されてしまい、例外事象を
持つ命令のあらゆる面からのシステム検証が不足し、上
記したチャネルの試験と同様、システム試験としてのカ
バレージが向上しない原因となっていた。
When an interrupt is generated as a result of executing a randomly generated instruction sequence, the executed instruction is compared with the cause of the interrupt to check the validity of the interrupt (steps R4 and R5). The normality of the operation of the CPU was verified. The system test method of the CPU as described above is
By generating and executing a sequence of instructions from random data,
Although all possible combinations of instruction sequences are realized, this method is fixed in each case where each instruction has an exception event and when it does not have an exception event. System verification was insufficient, which caused the coverage as a system test to not be improved as in the above-mentioned channel test.

【0009】以上のように、従来のシステムの試験方式
は例外事象のあらゆる面からの検証が不足しており、ま
た、複数の例外事象について、その割込み優先順位の検
証を行うことが出来なかった。
As described above, the conventional system testing method lacks the verification from all aspects of the exceptional event, and cannot verify the interrupt priority of a plurality of exceptional events. ..

【0010】[0010]

【発明が解決しようとする課題】本発明は上記した従来
装置の欠点を改善するためになされたものであつて、計
算機システムのチャネルあるいはCPUなどが取りうる
正常動作における全ての状態、および、起こり得る全て
の例外事象を組み合わせてシステムの試験を行うことが
できるとともに、複数の例外事象について、その割込み
優先順位の検証をも行うことができる例外順序保証試験
方式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned drawbacks of the conventional apparatus. All the states and occurrences of normal operation that can be taken by a channel or a CPU of a computer system are generated. It is an object of the present invention to provide an exception sequence assurance test method that can test a system by combining all obtained exception events and can also verify the interrupt priority of a plurality of exception events.

【0011】[0011]

【課題を解決するための手段】図1は本発明の原理を示
すフローチャートである。本発明の請求項1の発明は、
図1に示すように、計算機システムのハード論理を検証
するため、試験の対象となる環境に対して、取り得る全
ての例外事象を組み込む(ステップT1)。
FIG. 1 is a flow chart showing the principle of the present invention. The invention of claim 1 of the present invention is
As shown in FIG. 1, in order to verify the hard logic of the computer system, all possible exception events are incorporated into the environment to be tested (step T1).

【0012】ついで、試験を実行するごとに、割込み優
先順位の高い順から例外事象を排除しつつ、同一の試験
を繰り返す(ステップT2,T3,T4) 。本発明の請
求項2の発明は、請求項1の発明を計算機システムのチ
ャネルのハード論理の検証に適用したものであって、図
1に示すように、チャネル・コマンドにチャネルの取り
うる全ての状態の例外事象を組み込む(ステップT
1)。
Next, each time the test is executed, the same test is repeated while excluding the exceptional events from the highest interrupt priority order (steps T2, T3, T4). The invention of claim 2 of the present invention is an application of the invention of claim 1 to the verification of the hard logic of a channel of a computer system, and as shown in FIG. Incorporate state exceptions (step T
1).

【0013】ついで、割込み優先順位の高い順から組み
込まれた例外事象を排除しつつ同一のチャネル・コマン
ドの実行を繰り返す(ステップT2,T3,T4) 。本
発明の請求項3の発明は、請求項1の発明を計算機シス
テムのCPUのハード論理の検証に適用したものであっ
て、図1に示すように、命令列に全ての例外事象を組み
込む(ステップT1)。
Then, execution of the same channel command is repeated while excluding the exception events incorporated from the highest priority order (steps T2, T3, T4). The invention of claim 3 of the present invention is an application of the invention of claim 1 to the verification of the hardware logic of the CPU of a computer system. As shown in FIG. 1, all exception events are incorporated in the instruction sequence ( Step T1).

【0014】ついで、割込み優先順位の高い順から組み
込まれた例外事象を排除しつつ同一の命令列の実行を繰
り返す(ステップT2,T3,T4) 。
Then, the execution of the same instruction sequence is repeated while excluding the incorporated exception events from the highest priority order (steps T2, T3, T4).

【0015】[0015]

【作用】計算機システムのチャネルやCPUのコマンド
もしくは命令に、取りうる全ての例外事象を組み込み、
割込み優先順位の高い順から組み込まれた例外事象を排
除しつつ同一のチャネル・コマンドの実行を繰り返すこ
とにより、複数の例外事象の優先順位の正常性を確認す
ることができる。また、それとともに、全ての例外事象
に対する計算機システムの動作の正常性を検証すること
が可能となる。
Operation: Incorporate all possible exception events into the computer system channel or CPU command or instruction,
It is possible to confirm the normality of the priority order of a plurality of exception events by repeating the execution of the same channel command while excluding the exception events incorporated from the highest interrupt priority order. Also, along with that, it becomes possible to verify the normality of the operation of the computer system for all exceptional events.

【0016】[0016]

【実施例】図2は本発明の第1の実施例を示すフローチ
ャートであり、同図により、本発明の第1の実施例であ
るチャネルの試験方式について説明する。まず、ステッ
プH1において、チャネルのCCW列を無作為に抽出す
る。CCW列の抽出はつぎの手順で行う。 (1)CCW列の選択 まず、基本となるCCW列を事前に用意する。この
場合、1組のCCW列で一連の動作を終了まで行うCC
W列を選択する(例えば、DASDの制御において、C
Eシリンダのヘッドに0のデータを書き、書いたデータ
を再度読む等)。また、バイト・カウント(以下、BC
と略記する)は必要な値をあらかじめセットしておく。
また、フラグ部でONにする必要のあるビットはあらか
じめONにしておく。 上記のようにして選択されたI/Oに対して種々の
動作をさせる複数のCCW列の中から1つのCCW列を
無作為に選択する。
FIG. 2 is a flow chart showing a first embodiment of the present invention, and the channel testing method which is the first embodiment of the present invention will be described with reference to FIG. First, in step H1, a CCW sequence of channels is randomly extracted. The CCW sequence is extracted in the following procedure. (1) Selection of CCW sequence First, a basic CCW sequence is prepared in advance. In this case, a CC that performs a series of operations on one CCW sequence until the end
Select column W (for example, in DASD control, C
Write 0 data to the head of E cylinder and read the written data again.) Also, the byte count (hereinafter BC
(Abbreviated as)) sets the necessary values in advance.
Bits that need to be turned on in the flag section are turned on in advance. One CCW sequence is randomly selected from a plurality of CCW sequences that perform various operations for the I / O selected as described above.

【0017】ついで、ステップH2において、抽出され
たCCWにおけるCCWの開始アドレス、CCWフラグ
部、CCWデータ・アドレス、IDAW(間接データ・
アドレス・ワード)情報、チャネルDAT(チャネル動
的アドレス変換)を修飾し、ステップH3において、例
外事象を修飾する。図3はCCWおよびその例外事象の
修飾を説明する図であり、また、図4は例外事象を修飾
した場合に復旧するときの正常な値を書き込んでおくた
めのリカバリ・テーブルを示す図である。なお、リカバ
リ・テーブルは例外事象を組み込んだCCWの1つにつ
いて1つずつ用意する。
Then, in step H2, the CCW start address, CCW flag portion, CCW data address, IDAW (indirect data.
The address word) information, the channel DAT (channel dynamic address translation) are modified, and the exception event is modified in step H3. FIG. 3 is a diagram for explaining the modification of the CCW and its exception event, and FIG. 4 is a diagram showing a recovery table for writing a normal value for recovery when the exception event is modified. .. One recovery table is prepared for each CCW that incorporates an exceptional event.

【0018】図3および図4によりCCWおよびその例
外事象の修飾について説明する。 (2)CCW列の修飾 選択されたCCW列を正常終了の形を壊さない範囲で修
飾する。 チャネルDATを使い、CCWとデータの論理アド
レスを無作為に割り当てる。例えば、図3aにおいて、
CCWとデータのセグメント・テーブル201における
セグメントSSおよびページ・テーブル202における
ページPPのアドレスを無作為に選択し割り当てる。 フラグ部を無作為に修飾する。また、この場合、フ
ラグ部のIDA(間接データ・アドレス)がONのとき
は、図3bに示すようにCCWデータ・アドレス210
に対応するIDAW用のテーブル220を用意する。
Modification of CCW and its exceptional event will be described with reference to FIGS. (2) Modification of CCW sequence The selected CCW sequence is modified within a range that does not destroy the shape of the normal end. Use channel DAT to randomly assign logical addresses for CCW and data. For example, in FIG. 3a
Addresses of segment SS in CCW and data segment table 201 and page PP in page table 202 are randomly selected and assigned. Randomly modify the flag part. Further, in this case, when the IDA (indirect data address) of the flag portion is ON, as shown in FIG. 3b, the CCW data address 210
A table 220 for IDAW corresponding to is prepared.

【0019】また、フラグ部のデータ・チェインがON
の時は、そのBCで指定されたカウントを分割し新たに
データ・チェイン用のCCWを追加する。例えば、図3
cに示すように、CCW230のBCが4096の場合
には、CCWを同図の231に示すようにBC=102
4,BC=2048,BC=1024に分割し、分割さ
れたBCについて、データ・チェイン用のCCWを2個
追加する。
Further, the data chain of the flag part is turned on.
In the case of, the count specified by the BC is divided and a CCW for the data chain is newly added. For example, in FIG.
When the BC of the CCW 230 is 4096 as shown in FIG. 7C, the CCW is BC = 102 as shown by 231 in FIG.
4, BC = 2048, BC = 1024, and two CCWs for a data chain are added to the divided BC.

【0020】また、その他のフラグ部、例えば、プログ
ラム制御割込みフラグPCI,主記憶へのデータ転送を
スキップするスキップ・フラグSKIP等、を無作為に
選択する。 ページ内アドレスを修飾する。例えば、図3dに示
すように、4KBのページ内実アドレス241の中から
CCW240の開始アドレスを無作為に選択する。 (3)例外事象の修飾 ステップH2において、修飾されたCCW列に例外事象
を組み込む。 チャネルDATを使い、CCWとデータの論理アド
レスを無作為に割り当てた各アドレスについて、例外事
象を組み込む。例えば、図3aにおいて、セグメント・
テーブル201におけるセグメントSS、ページ・テー
ブル202におけるページPPがインバリッドになるよ
うなアドレスを割り当てたり、また、指定できる実アド
レスの範囲外の実アドレスを割り当てるなどの例外事象
の組み込みを行う。実アドレスについては、プロテクシ
ョン要因に例外事象を組み込み、主記憶の保護領域を表
すKEY値に修飾を行う。
Further, other flag parts such as the program control interrupt flag PCI and the skip flag SKIP for skipping data transfer to the main memory are randomly selected. Qualify the in-page address. For example, as shown in FIG. 3d, the start address of the CCW 240 is randomly selected from the in-page real address 241 of 4 KB. (3) Exception event modification In step H2, an exceptional event is incorporated into the modified CCW sequence. Using the channel DAT, incorporate an exception event for each randomly assigned logical address of CCW and data. For example, in FIG.
An exception event such as assigning an address such that the segment SS in the table 201 and the page PP in the page table 202 are invalid, or assigning a real address outside the specifiable real address is incorporated. For a real address, an exception event is incorporated in the protection factor, and the KEY value representing the protected area of the main memory is modified.

【0021】また、上記例外事象を組み込んだ場合に
は、図4aに示すリカバリ・テーブル250を用意し、
復旧するときのために正常な値を書き込んでおく。例え
ば範囲外の実アドレスを割り当てた場合には正しいアド
レスなどをリカバリ・テーブル250に書き込んでお
く。 フラグ部を無作為に修飾したのちに例外事象を組み
込む。
When the above-mentioned exceptional event is incorporated, the recovery table 250 shown in FIG. 4a is prepared,
Write the normal value in case of restoration. For example, when a real address out of the range is assigned, a correct address or the like is written in the recovery table 250. Randomly modify the flag part before incorporating the exception event.

【0022】例えば、IDAがONの場合には、図3b
に示すようにIDWA用のテーブル220を用意し、I
DAWのアドレスが8のバウンダリでないような事象を
設定する(CCWのアドレスは8ビット目から始まらな
ければならないが、8ビット目からCCWのアドレスが
始まらないようにCCWアドレスを設定)。また、実ア
ドレスについては、2番目のIDAWポインタが2Kバ
ウンダリでないような事象を設定する(2番目のIDA
Wポインタは2Kバイト・ブロックの先頭アドレスまた
は最終アドレスでなければならないが、IDAWポイン
タが2Kバイト・ブロックの先頭アドレスまたは最終ア
ドレスでないように設定)。
For example, if the IDA is ON, then FIG.
Prepare a table 220 for IDWA as shown in
An event is set such that the DAW address is not the boundary of 8 (the CCW address must start from the 8th bit, but the CCW address is set so that the CCW address does not start from the 8th bit). For the real address, an event is set such that the second IDAW pointer is not 2K boundary (second IDAW).
The W pointer must be the start or end address of the 2K byte block, but the IDAW pointer is set not to be the start or end address of the 2K byte block).

【0023】同時に、と同様に正しいIDAWのアド
レスなどを図4aに示すリカバリ・テーブル250に書
き込んでおく。また、データ・チェインがONのとき
は、CCWの修飾において説明したようにCCWのBC
を分割しデータ・チェイン用のCCWを追加した後に、
例えば図4bに示すようにCCW251のBCを0に設
定する。同時に、と同様に正しいBC値を図4bに示
すようにリカバリ・テーブル250に書き込んでおく。
At the same time, the correct IDAW address and the like are written in the recovery table 250 shown in FIG. Also, when the data chain is ON, the CCW BC is as described in the CCW modification.
After splitting and adding CCW for data chain,
For example, BC of CCW 251 is set to 0 as shown in FIG. 4b. At the same time, the correct BC value is written in the recovery table 250 as shown in FIG.

【0024】例外事象を組み込み、復旧するときの正常
な値をリカバリ・テーブル250に書き込んだ場合に
は、図4aに示すリカバリ・テーブル250の例外埋め
込みフラグ部250aの該当するビットに1を立ててお
く。また、リカバリ・テーブル250の例外埋め込みフ
ラグ部250aには例外事象の優先順位が高い順にビッ
トを定義しておく。
When a normal value at the time of incorporating and recovering an exceptional event is written in the recovery table 250, 1 is set to the corresponding bit of the exception embedding flag part 250a of the recovery table 250 shown in FIG. 4a. deep. Bits are defined in the exception embedding flag portion 250a of the recovery table 250 in the order of priority of exception events.

【0025】以上のように例外事象を修飾したのち、図
2のフローチャートのステップH4において、チャネル
に起動をかけ、マルチ・タスクを行うためステップH5
において、タスク・チェンジを行い、他のタスクに制御
を移す。ついで、ステップH6において、割込み待ちを
し、割込みがあるとステップH7にいき、ステップH7
において、例外事象ステータスか否かを判別し、例外事
象ステータスの場合にはステップH8に行く。
After modifying the exceptional event as described above, in step H4 of the flow chart of FIG. 2, step H5 is performed to activate the channel and perform multitasking.
At, a task change is performed and control is transferred to another task. Next, in step H6, an interrupt is waited, and if there is an interrupt, the process proceeds to step H7, and step H7
In step S8, it is determined whether or not it is the exceptional event status.

【0026】例外事象ステータスが検出された場合、ス
テップH8において、つぎのCCWアドレスから例外事
象を検出したCCWを割り出し、そのCCW内を例外事
象の優先度の高い順にサーチし、例外事象が設定されて
いることを確認するとともに、その正当性を確認する。
ステップH9において、検出した例外事象を正常状態に
リカバリする。リカバリする場合には、図4に示すリカ
バリ・テーブル250を参照して、リカバリ情報をリカ
バリ・テーブル250より抽出し、CCWの例外事象の
排除を行うとともに、リカバリ・テーブル250の該当
情報を0にクリアしてステップH4に戻る。
When the exceptional event status is detected, in step H8, the CCW in which the exceptional event is detected is determined from the next CCW address, and the CCW is searched in the order of higher priority of the exceptional event to set the exceptional event. And confirm the legitimacy.
In step H9, the detected exceptional event is recovered to the normal state. When recovering, referring to the recovery table 250 shown in FIG. 4, the recovery information is extracted from the recovery table 250, the exception event of CCW is eliminated, and the corresponding information in the recovery table 250 is set to 0. Clear and return to step H4.

【0027】例えば、BC=0に設定した場合には、図
4aに示すリカバリ・テーブル250のBCの位置から
BC=1024を抽出し、例外事象の組み込まれたCC
WのBC値を修正するとともに、リカバリ・テーブル2
50の例外埋め込みフラグ部250a情報のBCのフラ
グを0にクリアする。以上のステップH4からH9の手
順を繰り返し、全てのCCWに組み込まれた例外事象が
リカバリされると、例外ステータスが排除されるので、
ステップH7からステップH10にいき、正常ステータ
スであることを確認して、ステップH1に戻る。
For example, when BC = 0 is set, BC = 1024 is extracted from the BC position of the recovery table 250 shown in FIG.
The BC value of W is corrected and the recovery table 2
The flag of BC of the exception embedding flag portion 250a information of 50 is cleared to 0. When the exception events incorporated in all CCWs are recovered by repeating the above steps H4 to H9, the exception status is excluded.
The process proceeds from step H7 to step H10, confirms that the status is normal, and returns to step H1.

【0028】図5は図2のフローチャートにおいて、ス
テップH6において割込みが発生した後、ステップH7
において、例外ステータスと判別されてから、ステップ
H9までの処理手順を示したフローチャートであり、同
図により、例外事象の処理について説明する。例外ステ
ータスにより割込みが発生すると、ステップJ1におい
て、割込み要因がCCWの例外事象による割込みか否か
を比較し、CCWの例外事象による割込みの場合には、
ステップJ2において、直前までのCCWに例外事象が
ないことをリカバリ・テーブル250の内容が0である
ことから確認する。
FIG. 5 shows the flow chart of FIG. 2 in which after an interrupt occurs in step H6, step H7
11 is a flowchart showing a processing procedure from determination of an exception status to step H9. Processing of an exceptional event will be described with reference to FIG. When an interrupt occurs due to the exception status, in step J1, it is compared whether or not the interrupt factor is an interrupt due to a CCW exception event. If the interrupt is due to a CCW exception event,
At step J2, it is confirmed from the fact that the contents of the recovery table 250 are 0 that there is no exceptional event in the CCW up to immediately before.

【0029】ついで、J3において例外事象の発生した
CCWについて、つぎのステップJ4からステップJ7
までの手順で、リカバリ・テーブル250の例外埋め込
みフラグ部250aを参照して割込み要因と例外事象を
比較する。すなわち、ステップJ4において、CCWア
ドレスの変換処理で例外事象を組み込んでいるか否かを
判別し、YESの場合にはステップJ9にいき、NOの
場合にはステップJ5に行く。ステップJ5において、
CCW内の情報で例外事象を組み込んでいるか否かを判
別し、YESの場合にはステップJ9にいき、NOの場
合にはステップJ6に行く。ステップJ6において、I
DAW情報で例外事象を組み込んでいるか否かを判別
し、YESの場合にはステップJ9にいき、NOの場合
にはステップJ7に行く。ステップJ7において、デー
タに例外事象を組み込んでいるか否かを判別し、YES
の場合にはステップJ9にいき、NOの場合にはステッ
プJ8に行く。
Next, for the CCW in which the exceptional event has occurred in J3, the following steps J4 to J7 are performed.
In the procedure up to, the interrupt factor and the exception event are compared by referring to the exception embedding flag portion 250a of the recovery table 250. That is, in step J4, it is determined whether or not an exceptional event is incorporated in the CCW address conversion process. If YES, then go to step J9, and if NO, go to step J5. In Step J5,
It is determined whether or not the exceptional event is incorporated by the information in the CCW. If YES, the process proceeds to step J9, and if NO, the process proceeds to step J6. In step J6, I
It is determined whether or not the exceptional event is incorporated in the DAW information. If YES, go to step J9, and if NO, go to step J7. In step J7, it is determined whether or not the exceptional event is incorporated in the data, and YES
If NO, go to step J9, and if NO, go to step J8.

【0030】以上のステップJ4からJ7において、い
ずれもNOの場合には、例外事象が組み込まれていない
にも係わらず割込みが発生したこととなるから、ステッ
プJ8に行きエラー処理を行う。また、J4からJ7に
おいて、いずれかのステップでYESの場合には、ステ
ップJ9に行き、組み込まれている例外事象と割込み要
因を比較して一致するか否か判別し、一致しない場合に
はエラー処理を行う。
If NO in any of the above steps J4 to J7, it means that the interrupt has occurred even though the exceptional event is not incorporated, so the process goes to step J8 to perform the error processing. If YES in any of J4 to J7, the process goes to step J9 to compare the built-in exception event with the interrupt factor to determine whether they match, and if they do not match, an error occurs. Perform processing.

【0031】また、組み込まれている例外事象と割込み
要因を比較して一致する場合にはステップJ10に行
き、リカバリ・テーブル250の情報に基づき例外事象
を削除するとともに、リカバリ・テーブル250の該当
する例外埋め込みフラグ部250aを0クリアする。上
記のように、無作為に選択されたCCW列についての検
証が終了すると、ステップH1に戻り、再び、無作為に
CCW列を選択して上記のような検証を繰り返す。
If the built-in exception event and the interrupt factor are compared and if they match, the process goes to step J10, the exception event is deleted based on the information in the recovery table 250, and the corresponding recovery table 250 is deleted. The exception embedding flag portion 250a is cleared to 0. When the verification of the randomly selected CCW sequence is completed as described above, the process returns to step H1 and the CCW sequence is randomly selected again and the above verification is repeated.

【0032】以上のように、本実施例によれば、基本と
なるCCW列のうちから無作為に選択したCCW列につ
いて、例外事象を組み込み、例外事象の優先度の高い順
からその優先度を確認しつつ、例外事象をリカバリし、
すべての例外事象がクリアするまで繰り返し処理するの
で、基本となるCCW列について、例外事象の優先度の
検証を行いつつ、すべての例外事象の検証を行うことが
出来る。
As described above, according to this embodiment, exception events are incorporated into CCW sequences randomly selected from the basic CCW sequences, and the priority levels of the exception events are assigned in descending order. While confirming, recover the exception event,
Since it is repeatedly processed until all exception events are cleared, it is possible to verify all exception events while verifying the priority of the exception event for the basic CCW sequence.

【0033】図6は本発明の第2の実施例を示すフロー
チャートであり、同図はCPUの試験方式を示すフロー
チャートである。CPUの試験においてもチャネルの試
験と同様な考え方で試験を行うことが可能であり、同図
により、本発明の第2の実施例であるCPUの試験方式
について説明する。
FIG. 6 is a flow chart showing the second embodiment of the present invention, and this figure is a flow chart showing the test system of the CPU. It is possible to perform a test in the CPU test in the same way as in the channel test, and a CPU test method according to the second embodiment of the present invention will be described with reference to FIG.

【0034】図6において、まず、ステップC1におい
て、無作為にデータを作成して、ステップC2におい
て、無作為データからテスト命令列とテスト・データを
生成する。ついで、ステップC3において、上記のよう
にして作成された命令列を実行する。そして、無作為に
作成された命令列を実行した結果、割込みが発生する
と、ステップC4において、実行された命令と割込み原
因を比較する。
In FIG. 6, first, in step C1, data is randomly created, and in step C2, a test instruction string and test data are created from the random data. Then, in step C3, the instruction sequence created as described above is executed. When an interrupt occurs as a result of executing the randomly generated instruction sequence, the executed instruction is compared with the cause of the interrupt in step C4.

【0035】ついで、チャネルの場合と同様に、ステッ
プC5において、割込み命令と割込みコードから割込み
原因を排除し、ステップC6において、割込み原因アド
レスにインストラクションを戻し、ステップC3に戻り
以上の手順を繰り返す。上記のようにして、全ての割込
み原因が排除されたらステップC7にいき、タスクを切
替え、ステップC1に戻る。
Then, as in the case of the channel, the cause of the interrupt is removed from the interrupt instruction and the interrupt code in step C5, the instruction is returned to the interrupt cause address in step C6, and the process returns to step C3 to repeat the above procedure. When all the causes of interruption have been eliminated as described above, the process proceeds to step C7, the task is switched, and the process returns to step C1.

【0036】以上のように、CPUの試験においても、
チャネルの試験と同様、無作為に生成された命令列が持
つ例外事象の優先度の検証を行いつつ、すべての例外事
象の検証を行うことが出来る。
As described above, even in the CPU test,
Similar to the channel test, it is possible to verify all exception events while verifying the priority of exception events possessed by randomly generated instruction sequences.

【0037】[0037]

【発明の効果】以上説明したことから明らかなように、
本発明においては、CCWもしくは命令に組み込まれた
複数の例外事象を、その割込み優先順位を確認しつつ、
排除して、全ての例外事象が排除されるまで繰り返すよ
うに構成したので、チャネルおよびCPU系の取りうる
全ての正常および例外状態の組み合わせにおけるハード
論理の正常性を確認することが出来、システムとしての
計算機のハード・ウェアの動作が保証され、電子計算機
システムの信頼性の向上に寄与するところが大きい。
As is clear from the above description,
In the present invention, while checking the interrupt priority of a plurality of exception events incorporated in the CCW or the instruction,
Since it is configured to be excluded and to be repeated until all exceptional events are eliminated, it is possible to confirm the normality of the hardware logic in all combinations of normal and exceptional states that can be taken by the channel and CPU system. The operation of the hardware of the computer is guaranteed, and it greatly contributes to the improvement of the reliability of the electronic computer system.

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

【図1】本発明の原理フローチャートである。FIG. 1 is a flowchart of the principle of the present invention.

【図2】本発明の1の実施例を示すフローチャートであ
る。
FIG. 2 is a flowchart showing an embodiment of the present invention.

【図3】CCWの修飾および例外事象の組み込みを説明
する図である。
FIG. 3 is a diagram illustrating modification of CCW and incorporation of exceptional events.

【図4】リカバリ・テーブルの構成を示す図である。FIG. 4 is a diagram showing a configuration of a recovery table.

【図5】本発明の第1の実施例における割込み処理を示
す図である。
FIG. 5 is a diagram showing interrupt processing in the first embodiment of the present invention.

【図6】本発明の第2の実施例を示すフローチャートで
ある。
FIG. 6 is a flowchart showing a second embodiment of the present invention.

【図7】電子計算機システムの基本構成を示す図であ
る。
FIG. 7 is a diagram showing a basic configuration of an electronic computer system.

【図8】従来のチャネルの試験方式を示す図である。FIG. 8 is a diagram showing a conventional channel test system.

【図9】従来のCPUの試験方式を示す図である。FIG. 9 is a diagram showing a conventional CPU testing method.

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

220 IDWA用のテーブル 250 リカバリ・テーブル 250a 例外埋め込みフラグ部 220 table for IDWA 250 recovery table 250a exception embedding flag part

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 計算機システムのハード論理を検証する
試験方式において、試験の対象となる環境に対して、取
り得る全ての例外事象を組み込み(ステップT1)、 試験を実行するごとに、割込み優先順位の高い順から例
外事象を排除しつつ、同一の試験を繰り返すことにより
(ステップT2,T3,T4) 、 複数の例外事象の優先順位の正常性を確認しつつ、全て
の例外事象に対するシステムの動作を検証することを特
徴とする例外順序保証試験方式。
1. In a test method for verifying the hard logic of a computer system, all possible exception events are incorporated into the environment to be tested (step T1), and the interrupt priority is set every time the test is executed. By excluding the exception events from the highest order, and repeating the same test (steps T2, T3, T4), while confirming the normality of the priority of multiple exception events, the system operation for all exception events Exception order guarantee test method characterized by verifying.
【請求項2】 計算機システムのチャネルのハード論理
を検証する試験方式において、チャネル・コマンドにチ
ャネルの取りうる全ての状態の例外事象を組み込み(ス
テップT1)、 割込み優先順位の高い順から組み込まれた例外事象を排
除しつつ同一のチャネル・コマンドの実行を繰り返すこ
とにより(ステップT2,T3,T4) 、 複数の例外事象の優先順位の正常性を確認しつつ、全て
の例外事象に対するシステムの動作を検証することを特
徴とする例外順序保証試験方式。
2. In a test method for verifying a hard logic of a channel of a computer system, exception events of all possible states of the channel are incorporated in a channel command (step T1), and they are incorporated in descending order of interrupt priority. By repeating the execution of the same channel command while excluding exception events (steps T2, T3, T4), while confirming the normality of priority of multiple exception events, the system operation for all exception events can be confirmed. Exception order guarantee test method characterized by verification.
【請求項3】 計算機システムの処理装置のハード論理
を検証する試験方式において、命令列に全ての例外事象
を組み込み(ステップT1)、 割込み優先順位の高い順から組み込まれた例外事象を排
除しつつ同一の命令列の実行を繰り返すことにより(ス
テップT2,T3,T4) 、 複数の例外事象の優先順位の正常性を確認しつつ、全て
の例外事象に対する処理装置の動作を検証することを特
徴とする例外順序保証試験方式。
3. In a test method for verifying the hard logic of a processing unit of a computer system, all exception events are incorporated in an instruction sequence (step T1), and exception events incorporated in descending order of interrupt priority are excluded. By repeating the execution of the same instruction sequence (steps T2, T3, T4), while confirming the normality of the priority of multiple exception events, the operation of the processing unit for all exception events is verified. Exception order assurance test method.
JP4013533A 1992-01-29 1992-01-29 Exceptional order guarantee testing system Withdrawn JPH05204693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4013533A JPH05204693A (en) 1992-01-29 1992-01-29 Exceptional order guarantee testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4013533A JPH05204693A (en) 1992-01-29 1992-01-29 Exceptional order guarantee testing system

Publications (1)

Publication Number Publication Date
JPH05204693A true JPH05204693A (en) 1993-08-13

Family

ID=11835803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4013533A Withdrawn JPH05204693A (en) 1992-01-29 1992-01-29 Exceptional order guarantee testing system

Country Status (1)

Country Link
JP (1) JPH05204693A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011512591A (en) * 2008-02-14 2011-04-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method, and computer program for providing indirect data addressing in an input / output processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011512591A (en) * 2008-02-14 2011-04-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method, and computer program for providing indirect data addressing in an input / output processing system

Similar Documents

Publication Publication Date Title
US7376887B2 (en) Method for fast ECC memory testing by software including ECC check byte
JP2772391B2 (en) Bad data algorithm
EP0217068A2 (en) Method of emulating the instructions of a target computer
TW200912647A (en) System and method for managing memory errors in an information handling system
JP2004514184A (en) Method and apparatus for correcting soft errors in digital data
JP2012099035A (en) Operation verification method for processor, operation verification device for processor and operation verification program for processor
JP2002312340A (en) Allocation releasing method of plural processor cores for l2 correctable error
JP2002278707A (en) Disk controller
JPH05204693A (en) Exceptional order guarantee testing system
US6144930A (en) Method for providing a memory model of a memory device for use in simulation
US7130784B2 (en) Logic simulation
US20040193785A1 (en) System for improving the performance of read/write testing in a hard drive
US5146458A (en) Data transfer checking system
US20040193812A1 (en) Method for improving the performance of read/write testing in a hard drive
US5243601A (en) Apparatus and method for detecting a runaway firmware control unit
JP2915680B2 (en) RISC processor
JPS60142759A (en) Error detection system of lru deciding storage device
JP3988740B2 (en) Parallel processing device, instruction retry method, and program
JPH01194046A (en) Memory access system
JP2512931B2 (en) ECC circuit test pattern generator
JPH02126340A (en) Data processing system
JP2006202329A (en) Method for designing system lsi and recording medium storing the same
JPH01243136A (en) Logic simulation system
KR0124548B1 (en) A protecting apparatus for program
JPH0619720B2 (en) Information processing equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990408