JPH0137771B2 - - Google Patents

Info

Publication number
JPH0137771B2
JPH0137771B2 JP59193001A JP19300184A JPH0137771B2 JP H0137771 B2 JPH0137771 B2 JP H0137771B2 JP 59193001 A JP59193001 A JP 59193001A JP 19300184 A JP19300184 A JP 19300184A JP H0137771 B2 JPH0137771 B2 JP H0137771B2
Authority
JP
Japan
Prior art keywords
test
language
svp
ras
program
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
JP59193001A
Other languages
Japanese (ja)
Other versions
JPS6170641A (en
Inventor
Shuko Asada
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 JP59193001A priority Critical patent/JPS6170641A/en
Publication of JPS6170641A publication Critical patent/JPS6170641A/en
Publication of JPH0137771B2 publication Critical patent/JPH0137771B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、サービスプロセツサ(以下、SVP
と云う)と、障害処理(RAS)回路を備えた複
数個の処理ユニツト(PU)で構成された本体装
置とからなるデータ処理装置において、SVPか
ら上記本体装置の処理ユニツト(PU)を診断す
る為のテストプログラムを自動生成する方法に関
する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is directed to a service processor (hereinafter referred to as SVP).
In a data processing device consisting of a main unit consisting of a plurality of processing units (PUs) equipped with a failure handling (RAS) circuit, the SVP diagnoses the processing units (PUs) of the main unit. This paper relates to a method for automatically generating test programs for

最近のデータ処理装置は、実時間で運用される
ことが多くなるに従つて、信頼度の向上が要求さ
れるようになり、本体装置の運転、保守操作の制
御を専用に行う為のSVPを設け、該SVPから上
記本体装置側に設けられているスキヤンイン、ス
キヤンアウト機能を備えたRAS回路をアクセス
することにより、本体装置を診断することができ
るようになつている。
As modern data processing equipment is increasingly operated in real time, improved reliability is required, and SVP is required to exclusively control the operation and maintenance of the main equipment. The main device can be diagnosed by accessing the RAS circuit provided on the main device side from the SVP and having scan-in and scan-out functions.

上記RAS回路を備えたデータ処理装置の構成
例を第3図に示す。
FIG. 3 shows an example of the configuration of a data processing device equipped with the above RAS circuit.

本図において、1は複数個の処理ユニツト
(PU)〔例えば、中央処理装置(CPU)、主記憶
装置(MEM)、チヤンネル装置(CH)、等〕か
らなる本体装置、11は各処理ユニツト(PU)
に設けられているRAS回路、2はサービスプロ
セツサ(SVP)、21はサービスプロセツサリン
クアダプタ(以下、SLAと云う)、22はSVPリ
ンクであり、該SVP2から本体装置1に対する
診断は総て、上記SLA21、SVPリンク22を
通して実行されるように構成されている。
In this figure, 1 is a main unit consisting of a plurality of processing units (PU) (for example, a central processing unit (CPU), a main memory (MEM), a channel device (CH), etc.), and 11 is each processing unit (PU). (PU)
2 is a service processor (SVP), 21 is a service processor link adapter (hereinafter referred to as SLA), and 22 is an SVP link, and all diagnostics from the SVP 2 to the main unit 1 are performed. , the SLA 21 and the SVP link 22.

上記本体装置1側の各処理ユニツト(PU)に
設けられているRAS回路11には、複数個のス
キヤンポイントがあり、それぞれのスキヤンポイ
ントに対してスキヤンアドレスが与えられてお
り、複数個のスキヤンポイントを1群として複数
個のスキヤングループに分けられている。
The RAS circuit 11 provided in each processing unit (PU) on the main unit 1 side has a plurality of scan points, and a scan address is given to each scan point. Each point is divided into a plurality of scan groups.

従つて、例えばSVP2からの指示に基づいて、
上記SLA21、SVPリンク22を通して、各ス
キヤングループの特定のスキヤンポイントに対し
て特定の値をスキヤンインすることにより、エラ
ーが発生するような場合、該エラーの発生によつ
て特定のスキヤンポイントが“1”となること
を、スキヤンアウト手段によりSVPが認識する
ことで、当該処理ユニツト(PU)の特定機能
(例えば、エラー検出回路)の正常性を診断する
ことができる。
Therefore, for example, based on instructions from SVP2,
If an error occurs when a specific value is scanned in to a specific scan point in each scan group through the SLA 21 and SVP link 22, the occurrence of the error causes the specific scan point to become "1". ” By the SVP recognizing this using the scan-out means, it is possible to diagnose the normality of a specific function (for example, an error detection circuit) of the processing unit (PU).

このようなハードウエア機構を備えたデータ処
理装置において、上記本体装置1のRAS回路1
1に対して、SVP2がSLA21、SVPリンク2
2を通してアクセスを行う為には、一般には、本
体装置1の個々の処理ユニツト(PU)に対する
テスト手順をハードウエア設計者が仕様書の形に
文書化し、該文書化された仕様書を基に、ソフト
ウエア担当者が、上記SVPリンク22に接続さ
れた各処理ユニツト(PU)内のスキヤンポイン
トをアクセスする為のプログラムを、専用のプロ
グラム言語(SDL言語と云う)と、SVP2のア
センブラ言語とで記述し、該記述されたプログラ
ムを、例えば計算機処理によつて、SVP2内で
実行できるオブジエクトプログラムに翻訳して実
行した。
In a data processing device equipped with such a hardware mechanism, the RAS circuit 1 of the main device 1 is
1, SVP2 has SLA21, SVP link 2
2, generally, the hardware designer documents the test procedure for each processing unit (PU) of the main unit 1 in the form of a specification, and then performs the test procedure based on the documented specification. , the software person writes a program to access the scan points in each processing unit (PU) connected to the SVP link 22 using a dedicated programming language (called SDL language) and the SVP2 assembler language. The written program was translated into an object program that can be executed within SVP2 by computer processing, for example, and executed.

従つて、これ迄は、例えば計算機で翻訳処理が
可能な言語によるテストプログラムを生成するの
に、ハードウエア設計者による、本体装置1のハ
ードウエア構成に基づいた上記仕様書の作成と、
該仕様書に基づいて、SVP2がSLA21、SVP
リンク22を通して、各処理ユニツト(PU)の
RAS回路11をアクセスすることができるプロ
グラムを、計算機処理に入力できる特定の言語で
作成すると云う2段構成をとつていた為、上記本
体装置1側でハードウエアの変更があると、上記
テスト手順書(仕様書)と、上記テストプログラ
ムとの内容が不一致になつたり、上記ハードウエ
アの変更に伴う修正作業に多くの工数を必要とす
る問題があり、効果的なテストプログラム生成方
法が待たれていた。
Therefore, until now, for example, in order to generate a test program in a language that can be translated by a computer, a hardware designer has to create the above specifications based on the hardware configuration of the main device 1.
Based on the specifications, SVP2 is SLA21, SVP
Through link 22, each processing unit (PU)
Since it had a two-stage structure in which a program that can access the RAS circuit 11 was created in a specific language that can be input into computer processing, if there was a hardware change on the main unit 1 side, the above test There are problems such as discrepancies between the procedure manual (specifications) and the above test program, and the need for a lot of man-hours to make corrections due to changes in the above hardware, so an effective test program generation method is awaited. It was

〔従来の技術〕[Conventional technology]

従来、データ処理装置の障害処理回路、即ち前
記RAS回路をアクセスするテストプログラムは、
ハードウエア設計者が仕様書を手書きして、その
仕様書に基づいてテストプログラムを作成してい
た。
Conventionally, a test program that accesses the fault handling circuit of a data processing device, that is, the RAS circuit, is
Hardware designers handwritten specifications and created test programs based on those specifications.

上記、テストプログラムの生成手順の概略を模
式的に示すと、第4図のようになる。
FIG. 4 schematically shows the above test program generation procedure.

本図において、1は本体装置、11はRAS回
路、3は仕様書作成処理、4はコーデイング処
理、5はSVP2で実行できる機械語に翻訳する
アセンブル処理、である。
In this figure, 1 is a main unit, 11 is a RAS circuit, 3 is a specification creation process, 4 is a coding process, and 5 is an assemble process for translating into machine language that can be executed by the SVP2.

上記仕様書作成処理3において作成される仕様
書の1例を第5図に示す。本図において、 はテスト項番。
FIG. 5 shows an example of a specification created in the above specification creation process 3. In this figure, is the test item number.

は上記テスト項番‘2100'の中でのテスト項
目で、ここではチヤネル装置(CH)のモードエ
ラー検出回路が正しく動作するかどうかをテスト
することを示している。
is a test item in the above test item number '2100', which indicates testing whether the mode error detection circuit of the channel device (CH) operates correctly.

は上記チヤネル装置(CH)のモードエラー
検出回路をテストする為に必要な初期設定条件
で、スキヤングループ9に属するレジスタA,B
(1ビツト)に‘1'をスキヤンインすることを示
している。
is the initial setting condition necessary to test the mode error detection circuit of the channel device (CH) above, and registers A and B belonging to scan group 9.
This indicates that '1' is scanned into (1 bit).

は上記テストを行う為に、当該処理ユニツト
(PU)に、クロツクを1つだけ供給することを示
している。
indicates that only one clock is supplied to the processing unit (PU) in order to perform the above test.

は上記テスト結果の確認処理であつて、上記
スキヤンインを行つたスキヤングループと同じグ
ループ9に属するレジスタC(1ビツト)をスキ
ヤンアウトして、その値が‘1'であれば、当該モ
ードエラー検出回路は正しく動作したと認識する
ことを示している。
is a confirmation process for the above test result, which scans out the register C (1 bit) belonging to the same group 9 as the scan group that performed the above scan-in, and if the value is '1', the mode error is detected. This indicates that the circuit is recognized to have operated correctly.

このような、テスト手順が折り込まれている仕
様書に基づいて、第4図で示した手順でテストプ
ログラムが生成される。
A test program is generated in accordance with the procedure shown in FIG. 4 based on the specifications in which test procedures are included.

先ず、ハードウエア設計者31によつて、仕様
書作成処理3が実行され、上記仕様書(テスト手
順書)が生成される。次に、ソフトウエア設計者
(コーダ)41が、該仕様書の内容に基づいて、
前記SDL言語、或いはSVP向きアセンブラ言語
を使用して、コーデイング処理4を実行し、テス
トプログラムが生成される。この場合のテストプ
ログラムは大別して、次の3つに分類される。
First, the hardware designer 31 executes a specification creation process 3 to generate the above specification (test procedure manual). Next, the software designer (coder) 41, based on the contents of the specification,
The coding process 4 is executed using the SDL language or the SVP-compatible assembler language to generate a test program. Test programs in this case can be broadly classified into the following three types.

(1) テストデータ: スキヤンイン、スキヤンアウトすべきデータ
値と、該テスト動作に必要なスキヤンイン、シ
ングルクロツクスタート、スキヤンアウトのプ
ログラム(アクセス手順)のラベル指定等が、
上記アセンブラ言語で記述される。
(1) Test data: The data values to be scanned in and scanned out, and the label specifications for the scanin, single clock start, and scanout programs (access procedures) necessary for the test operation, etc.
Written in the above assembler language.

(2) アクセス手順: 上記テストデータ内のラベルで指定されたア
クセス手順、 * スキヤンイン動作、 * シングルクロツクスタート動作、 * スキヤンアウト動作、 等をSVP2のSLA21、SVPリンク22を通
して、本体装置1のRAS回路11に直接アク
セスできるSDL言語で記述する。
(2) Access procedure: The access procedure specified by the label in the above test data, *scan-in operation, *single clock start operation, *scan-out operation, etc., is performed on main unit 1 through SVP2's SLA21 and SVP link 22. It is written in SDL language that allows direct access to the RAS circuit 11.

(3) テスト手順: 上記テストデータと、アクセス手順とを使用
して、前記仕様書で示されたテスト手順が上記
アセンブラ言語で記述される。
(3) Test procedure: Using the test data and access procedure, the test procedure indicated in the specification is written in the assembler language.

このようにして、SDL言語、或いはSVP向
きアセンブラ言語でコーデイングされたテスト
プログラムが、アセンブル処理5において、例
えば計算機処理により、実際にSVP2におい
て、実行できる機械語に翻訳され、オブジエク
ルプログラムとして、SVP2のフアイルメモ
リに格納される。
In this way, a test program coded in the SDL language or an assembler language suitable for SVP is translated into machine language that can actually be executed in the SVP 2 in the assemble processing 5, for example, by computer processing, and as an object program. Stored in the file memory of SVP2.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従つて、従来方式においては、仕様書作成処理
3とコーデイング処理4とが、それぞれ別の設計
者31と41とによつて行われるので、本体装置
1側に設計変更があると、仕様書の修正を仕様書
作成処理3で行い、テストプログラムの修正をコ
ーデイング処理4で行う必要があり、結果として
該仕様書とテストプログラムの内容が不一致にな
つたり、該修正作業に多くの工数を必要とすると
云う問題があつた。
Therefore, in the conventional method, the specification creation process 3 and the coding process 4 are performed by different designers 31 and 41, respectively, so that if there is a design change on the main unit 1 side, the specification It is necessary to modify the specifications in the specification creation process 3, and to modify the test program in the coding process 4. As a result, the specifications and the test program may not match, or a lot of man-hours are required for the modification work. There was a problem that I needed it.

本発明は上記従来の欠点を鑑み、ハードウエア
設計者がテスト手順を仕様書の形に文書化すると
同じ手順で、上記テスト手順を、直接仕様書言語
(RAS言語)で記述し、該記述されたテスト手順
を、例えば計算機処理により、上記仕様書とテス
トプログラムを自動的に生成することにより、テ
ストプログラム作成工数を削減させ、且つ設計変
更が生じても、RAS言語で記述されたテスト手
順を修正するだけで、自動的に仕様書とテストプ
ログラムとを新たに生成する方法を提供すること
を目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention describes the test procedure directly in a specification language (RAS language) using the same procedure as when a hardware designer documents a test procedure in the form of a specification. By automatically generating the above specifications and test programs using computer processing, for example, the man-hours required to create test programs can be reduced, and even if design changes occur, test procedures written in the RAS language can be easily used. The purpose of this invention is to provide a method for automatically generating new specifications and test programs simply by modifying them.

〔問題点を解決する為の手段〕[Means for solving problems]

この目的は、サービスプロセツサ(SVP)と、
RAS回路を備えた複数個の処理ユニツト(PU)
で構成されている本体装置とからなるデータ処理
装置において、サービスプロセツサ(SVP)か
らの指示に基づいて、サービスプロセツサリンク
アダプタ(SLA)を通して、上記本体装置を構
成する処理ユニツト(PU)を診断する為のテス
ト手順を、直接記述する為の専用の仕様書言語を
設け、該仕様書言語を用いて、サービスプロセツ
サ(SVP)から上記本体装置の各処理ユニツト
(PU)を診断する為のテスト手順を記述し、該記
述された上記仕様書言語によるテスト手順をサー
ビスプロセツサ(SVP)で実行できるプログラ
ムに翻訳し、且つアセンブルすると共に、上記テ
スト手順を特定のフオーマツトの仕様書に編集し
て、プリントアウトするようにした本発明のテス
トプログラム自動生成方法によつて達成される。
This purpose is based on the service processor (SVP) and
Multiple processing units (PU) with RAS circuitry
In a data processing device consisting of a main unit consisting of A dedicated specification language is provided to directly describe test procedures for diagnosis, and the service processor (SVP) uses this specification language to diagnose each processing unit (PU) of the main unit. The test procedure written in the above specification language is translated into a program that can be executed by a service processor (SVP), and assembled, and the above test procedure is edited into a specification in a specific format. This is achieved by the automatic test program generation method of the present invention, which prints out the test program.

〔作用〕[Effect]

即ち、本発明によれば、サービスプロセツサ
(SVP)と、RAS回路を備えた複数個の処理ユニ
ツト(PU)で構成される本体装置とからなるデ
ータ処理装置において、該SVPからSLA、SVP
リンクを通して、上記本体装置の処理ユニツト
(PU)を診断する為のテスト手順を、ハードウエ
ア設計者が、実際にテストしたい手順通りに、専
用の仕様書言語(以下、RAS言語という)で記
述し、該記述されたテスト手順を、例えば計算機
処理によつて、実際に上記SVPで実行できるプ
ログラムに翻訳し、且つアセンブルすると共に、
該テスト手順を仕様書の形式にプリントアウトす
るようにしたものであるので、ハードウエア設計
者が、上記RAS言語により、本体装置の各処理
ユニツト(PU)のRAS回路に対するテストプロ
グラムの作成と、変更を行うことが可能となり、
該RAS言語で記述されたテスト手順を、例えば
計算機処理に入力するだけで、上記テスト手順の
仕様書とテストプログラムが同時に作成でき、該
仕様書とテストプログラムの一致性が保障される
効果がある。
That is, according to the present invention, in a data processing device consisting of a service processor (SVP) and a main unit constituted by a plurality of processing units (PUs) equipped with RAS circuits, SLA, SVP
Through the link, the hardware designer can write the test procedure for diagnosing the processing unit (PU) of the main unit mentioned above in a dedicated specification language (hereinafter referred to as RAS language) according to the procedure that they actually want to test. , Translate the written test procedure into a program that can actually be executed on the SVP, for example, by computer processing, and assemble it,
Since the test procedure is printed out in the form of a specification, the hardware designer can create a test program for the RAS circuit of each processing unit (PU) of the main unit using the RAS language, and It is possible to make changes,
By simply inputting the test procedure written in the RAS language into computer processing, for example, the specifications for the test procedure and the test program can be created at the same time, which has the effect of ensuring consistency between the specifications and the test program. .

〔実施例〕〔Example〕

以下本発明の実施例を図面によつて詳述する。
第1図は本発明を実施して、テストプログラムを
自動生成する場合の処理を模式的に示したもの
で、第4図と同じ記号は同一の対象物を示し、
3′,6′,7が本発明を実施するのに必要な処理
を示している。
Embodiments of the present invention will be described in detail below with reference to the drawings.
FIG. 1 schematically shows the process of automatically generating a test program by implementing the present invention, and the same symbols as in FIG. 4 indicate the same objects.
3', 6', and 7 indicate the processing necessary to carry out the present invention.

先ず、本発明を実施するのに必要な前記RAS
言語について、概略を説明する。
First, the RAS necessary to carry out the present invention
I will give an overview of the language.

RAS言語は、第3図で説明したSVPリンク2
2に接続される本体装置1の各処理ユニツト
(PU)のRAS回路11に対して、該SVPリンク
22を通してアクセスできる機能を、ハードウエ
ア設計者が、第4図で説明した仕様書作成処理3
と同じようにして、直接記述できる専用言語であ
る。
The RAS language is the SVP link 2 explained in Figure 3.
The hardware designer specifies the functions that can be accessed through the SVP link 22 for the RAS circuit 11 of each processing unit (PU) of the main unit 1 connected to
It is a dedicated language that can be written directly in the same way as .

該RAS言語の主なものをコード別に列記する
と以下の通りとなる。
The main RAS languages are listed by code as follows.

(A) 宣言文: PNO :プログラム番号の指定、RAS言語の
開始。
(A) Declaration statement: PNO: Specifies program number, starts RAS language.

PEND:RAS言語の終了。 PEND: End of RAS language.

UTNO:ユニツト番号の指定等。 UTNO: Specify unit number, etc.

MSG :メツセージの変数指定。 MSG: Message variable specification.

MSGC:共通メツセージの指定。 MSGC: Common message specification.

〓 (B) コメント文(略) (C) SCAN系文: SCANIN:スキヤンフリツプフロツプ(FF)
にスキヤンインする。
〓 (B) Comment text (omitted) (C) SCAN text: SCANIN: Scan flip-flop (FF)
Scan in to.

SCANOT:スキヤンアウトしたデータと期待
値とを比較して、不一致ならば指定されたラ
ベルへ分岐する。
SCANOT: Compare the scanned out data with the expected value, and if there is a mismatch, branch to the specified label.

〓 (D) 条件設定文(略) (E) 制御文: CLKSTP :クロツク停止。 〓 (D) Condition setting statement (omitted) (E) Control statement: CLKSTP: Clock stop.

CLKSRT :クロツクスタート。 CLKSRT: Clock start.

SCLKSRT:シングルクロツクスタート。 SCLKSRT: Single clock start.

INTRST :初期リセツト。 INTRST: Initial reset.

〓 (F) RAM系文(略) (G) レジスタ系文(略) 上記説明から明らかな如く、RAS言語はRAS
回路11をアクセスする為の手段が、ハードウエ
ア設計者に良く分かるレベルで、忠実に表現され
ている言語であることが分かる。
〓 (F) RAM-related statements (omitted) (G) Register-related statements (omitted) As is clear from the above explanation, the RAS language is RAS
It can be seen that the means for accessing circuit 11 is faithfully expressed in language at a level that is well understood by hardware designers.

上記RAS言語を使用して、第5図で説明した
仕様書に示されているテスト手順を記述すると、
第2図のようになる。
Using the above RAS language to describe the test procedure shown in the specifications explained in Figure 5, we get:
It will look like Figure 2.

本記述例において、 “UTNO2100”はテスト項目番号‘2100'を
宣言しており、第5図のを記述している。
In this description example, "UTNO2100" declares the test item number '2100', and describes the one shown in Figure 5.

“*CH MODE ERROR1/3”はコメント文
で、テスト内容を説明しており、第5図のを記
述している。
“*CH MODE ERROR1/3” is a comment text that explains the test content and describes the one in Figure 5.

は診断結果をメツセージとしてプリントアウ
トすることを宣言しており、“L1 MSGC CH
MODE ERROR”は共通メツセージの指定で、
該メツセージがチヤネル(CH)モードエラー検
出回路の診断結果であることを示し、“MSG
L1、1/3”は上記ラベル‘L1'で指定した共通メ
ツセージの中の変数指定、即ち、3ビツトからな
るチヤネルモードエラー検出回路の第1ビツト目
の診断結果であることを示していて、第5図の
を記述している。
declares that the diagnosis results will be printed out as a message, and “L1 MSGC CH
MODE ERROR” is a common message specification,
Indicates that the message is a diagnosis result of the channel (CH) mode error detection circuit, and “MSG
L1, 1/3" indicates the variable specification in the common message specified by the label 'L1' above, that is, the diagnosis result of the first bit of the channel mode error detection circuit consisting of 3 bits, The one in Figure 5 is described.

“SCANIN9、A、1”、“SCANIN9、B、
1”は、それぞれスキヤングループ9のニツクネ
ームA,Bで示されるフリツプフロツプ(FF)
に‘1'をスキヤンインすることを示し、第5図の
を記述している。
“SCANIN9, A, 1”, “SCANIN9, B,
1” are flip-flops (FF) indicated by nicknames A and B of scan group 9, respectively.
It shows that '1' is scanned in, and is described in Fig. 5.

“SCLKSRT”はのスキヤンインを実行し
た後で、クロツクを1つ当該処理ユニツト(PU)
に供給することを指示するもので、第5図のを
記述している。
“SCLKSRT” scans one clock to the corresponding processing unit (PU) after executing a scan-in.
This is an instruction to supply the same amount of water, and the one shown in Fig. 5 is described.

“SCANOT9、C、1”はスキヤングルー
プ9のニツクネームCで示されるフリツプフロツ
プ(FF)をスキヤンアウトして、期待値‘1'と
比較することを示し、第5図のを記述してい
る。
"SCANOT9, C, 1" indicates that the flip-flop (FF) indicated by the nickname C of scan group 9 is scanned out and compared with the expected value '1', and is described in FIG.

このように、本発明のポイントとなるRAS言
語を使用すれば、ハードウエア設計者が手書き
で、第5図に示したテスト手順書(仕様書)を記
述するのと同じようにして、テスト手順を記述で
きる所に特徴がある。
In this way, by using the RAS language, which is the key point of the present invention, a hardware designer can write a test procedure manual (specification document) by hand in the same way as the test procedure manual (specification document) shown in FIG. It is characterized by being able to describe.

このようにして記述(コーデイング)された
RAS言語によるテスト手順を、例えば計算機処
理により、実際にSVP2で実行できるプログラ
ムに翻訳し、且つアセンブルしたり、該テスト手
順を特定のフオーマツトの仕様書に編集してプリ
ントアウトする過程を示したものが、第1図の5
〜7で示した処理である。
Written (coded) in this way
This shows the process of translating a test procedure in the RAS language into a program that can actually be executed by SVP2 through computer processing, assembling it, editing the test procedure into a specification in a specific format, and printing it out. However, 5 in Figure 1
This is the process shown in 7.

先ず、RAS言語によるコーデイング処理3′
で、上記第2図で説明したRAS言語によるテス
ト手順が生成されると、プリントアウト処理6に
おいて、特定のフオーマツトのテスト手順書(即
ち、第5図の仕様書相当)がプリントアウトされ
ると共に、翻訳処理7において、上記ハードウエ
ア言語のテスト手順がSDL言語、或いはSVP向
きアセンブラ言語に翻訳される。
First, coding process 3' using RAS language
Then, when the test procedure in the RAS language explained in FIG. , In the translation process 7, the test procedure in the hardware language is translated into the SDL language or the assembler language suitable for SVP.

SDL言語、或いはアセンブラ言語に落とされ
たテスト手順は、アセンブル処理5において、
SVP2で実際に実行できる機械語に翻訳される。
The test procedure translated into SDL language or assembler language is performed in assemble processing 5.
It is translated into machine language that can actually be executed by SVP2.

こうして、本発明においては、ハードウエア設
計者が、従来手書きでテスト手順書(即ち、仕様
書)を書いていたのと同じ要領で、RAS言語を
用いて、該テスト手順を記述(即ち、コーデイン
グ)するだけで、後は一連の、例えば計算機によ
る翻訳処理によつて、自動的に特定フオーマツト
の仕様書と、テストプログラムのオブジエクルプ
ログラムが生成される所に特徴がある。
In this way, in the present invention, hardware designers can write test procedures (i.e., code code) using the RAS language in the same way that they traditionally wrote test procedure manuals (i.e., specifications) by hand. The feature is that a specification in a specific format and an object program for a test program are automatically generated by a series of translation processes, for example, by a computer.

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

以上、詳細に説明したように、本発明のテスト
プログラム自動生成方法は、サービスプロセツサ
(SVP)と、RAS回路を備えた複数個の処理ユニ
ツト(PU)で構成される本体装置とからなるデ
ータ処理装置において、該SVPからSLA、SVP
リンクを通して、上記本体装置の処理ユニツト
(PU)を診断する為のテスト手順を、ハードウエ
ア設計者が、実際にテストしたい手順通りに、専
用のRAS言語で記述し、該記述されたテスト手
順を、例えば計算機処理によつて、実際に上記
SVPで実行できるプログラムに翻訳し、且つア
センブルすると共に、該テスト手順を仕様書の形
式にプリントアウトするようにしたものであるの
で、ハードウエア設計者が、上記RAS言語によ
り、本体装置の各処理ユニツト(PU)のRAS回
路に対するテストプログラムを作成、変更するこ
とが可能となり、該RAS言語で記述されたテス
ト手順を、例えば計算機処理に入力するだけで上
記テスト手順の仕様書とテストプログラムが同時
に作成でき、該仕様書とテストプログラムの一致
性が保障される効果がある。
As explained above in detail, the test program automatic generation method of the present invention is a data processing system consisting of a service processor (SVP) and a main unit consisting of a plurality of processing units (PUs) equipped with RAS circuits. In the processing device, from the SVP to SLA, SVP
Through the link, the hardware designer can write the test procedure for diagnosing the processing unit (PU) of the main unit mentioned above in the dedicated RAS language according to the procedure they actually want to test, and then write the written test procedure. , for example, by computer processing, the above can actually be achieved.
The test procedure is translated and assembled into a program that can be executed by SVP, and the test procedure is printed out in a specification format, so that the hardware designer can use the RAS language mentioned above to program each process of the main unit. It is now possible to create and change test programs for the RAS circuit of the unit (PU), and by simply inputting the test procedure written in the RAS language into a computer, the specifications for the test procedure and the test program can be created at the same time. This has the effect of ensuring consistency between the specifications and the test program.

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

第1図は本発明を実施して、テストプログラム
を自動生成する場合の処理を模式的に示した図、
第2図はRAS言語でテスト手順を記述した1例
を示した図、第3図はRAS機能を備えたデータ
処理装置の構成の概略をブロツク図で示した図、
第4図は従来方式によつて、テストプログラムを
生成する場合の処理を模式的に示した図、第5図
は手書きによる仕様書の一例を示した図、であ
る。 図面において、1は本体装置(CPU、MEM、
CH、…)、11はRAS回路、2はサービスプロ
セツサ(SVP)、21はサービスプロセツサリン
クアダプタ(SLA)、22はSVPリンク、3は仕
様書作成処理、3′はRAS言語によるコーデイン
グ処理、4はコーデイング処理、5はアセンブル
処理、6は仕様書プリントアウト処理、7は翻訳
処理、〜は手書き、又はコーデイング処理に
よるテスト手順作成処理、をそれぞれ示す。
FIG. 1 is a diagram schematically showing the process of automatically generating a test program by implementing the present invention.
Figure 2 is a diagram showing an example of a test procedure written in the RAS language, Figure 3 is a block diagram showing the outline of the configuration of a data processing device equipped with RAS functions,
FIG. 4 is a diagram schematically showing the process of generating a test program using the conventional method, and FIG. 5 is a diagram showing an example of a handwritten specification. In the drawing, 1 indicates the main unit (CPU, MEM,
CH,...), 11 is a RAS circuit, 2 is a service processor (SVP), 21 is a service processor link adapter (SLA), 22 is an SVP link, 3 is a specification creation process, 3' is coding in the RAS language 4 is a coding process, 5 is an assembling process, 6 is a specification printout process, 7 is a translation process, .about. is a test procedure creation process by handwriting or coding process, respectively.

Claims (1)

【特許請求の範囲】[Claims] 1 サービスプロセツサ(SVP)と、RAS回路
とを備えた複数個の処理ユニツト(PU)で構成
されている本体装置とからなるデータ処理装置に
おいて、サービスプロセツサ(SVP)からの指
示に基づいて、サービスプロセツサリンクアダプ
タ(SLA)を通して、上記本体装置を構成する
処理ユニツト(PU)を診断する為のテスト手順
を、直接記述する為の専用の仕様書言語を設け、
該仕様書言語を用いて、サービスプロセツサ
(SVP)から上記本体装置の各処理ユニツト
(PU)を診断する為のテスト手順を記述し、該記
述された上記仕様書言語によるテスト手順をサー
ビスプロセツサ(SVP)で実行できるプログラ
ムに翻訳し、且つアセンブルすると共に、上記テ
スト手順を特定のフオーマツトの仕様書に編集し
て、プリントアウトするようにしたことを特徴と
するテストプログラム自動生成方法。
1 In a data processing device consisting of a service processor (SVP) and a main unit consisting of a plurality of processing units (PUs) equipped with RAS circuits, , we have created a dedicated specification language to directly describe test procedures for diagnosing the processing units (PUs) that make up the main unit, through the service processor link adapter (SLA).
Using the specification language, write a test procedure for diagnosing each processing unit (PU) of the main unit from the service processor (SVP), and then write the test procedure using the written specification language to the service processor. A test program automatic generation method characterized in that the test program is translated and assembled into a program that can be executed by Setsa (SVP), and the test procedure is edited into a specification in a specific format and printed out.
JP59193001A 1984-09-14 1984-09-14 Automatic generating method of test program Granted JPS6170641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59193001A JPS6170641A (en) 1984-09-14 1984-09-14 Automatic generating method of test program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59193001A JPS6170641A (en) 1984-09-14 1984-09-14 Automatic generating method of test program

Publications (2)

Publication Number Publication Date
JPS6170641A JPS6170641A (en) 1986-04-11
JPH0137771B2 true JPH0137771B2 (en) 1989-08-09

Family

ID=16300558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59193001A Granted JPS6170641A (en) 1984-09-14 1984-09-14 Automatic generating method of test program

Country Status (1)

Country Link
JP (1) JPS6170641A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63198133A (en) * 1987-02-13 1988-08-16 Fujitsu Ltd Fault diagnosing system
JP2527354B2 (en) * 1988-03-07 1996-08-21 富士通株式会社 Automatic test program generation method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5985543A (en) * 1982-11-08 1984-05-17 Fujitsu Ltd Automatic production system of program controlled constitution diagram

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5985543A (en) * 1982-11-08 1984-05-17 Fujitsu Ltd Automatic production system of program controlled constitution diagram

Also Published As

Publication number Publication date
JPS6170641A (en) 1986-04-11

Similar Documents

Publication Publication Date Title
CA1336206C (en) Diagnostic expert system
US6173440B1 (en) Method and apparatus for debugging, verifying and validating computer software
JPS5851292B2 (en) Diagnosis/debug calculation system
JP3825572B2 (en) Semiconductor integrated circuit design verification apparatus, method, and storage medium
US4108360A (en) Method of error analysis and diagnosis in electronic data processing systems
KR100329253B1 (en) Scan test apparatus
JPH0137771B2 (en)
US6611924B1 (en) Reducing code size of debug output statements
Andrews Theory and practice of log file analysis
Schöpp et al. Requirements-based code model checking
Ousterhout Tcl/Tk Engineering Manual
US20010011214A1 (en) CPU core development support system, method for development support and recording medium storing a development support program thereof
Chisolm et al. The use of computer language compilers in legacy code migration
JP2003058392A (en) Software development environmental program, its recording medium, program debugging device and method
JPH11154093A (en) Program compiler and storage medium recording compiler program
KR100299623B1 (en) How to Debug Integrated Client and Server Programs
Almy et al. Using error latch trace to obtain diagnostic information
JPS63198133A (en) Fault diagnosing system
JPS62145174A (en) Digital pattern generation device
JPH05197539A (en) Matching system for program source code
Taouil-Traverson et al. Preliminary analysis cycle for B-method software development
JP2001084162A (en) Program testing method and storage medium
JPH04162149A (en) Electronic computer
JPH0444292B2 (en)
JPH05100857A (en) Information processor fault analysis system