JPH06295253A - Method and device for verifying microprogarm - Google Patents

Method and device for verifying microprogarm

Info

Publication number
JPH06295253A
JPH06295253A JP5080450A JP8045093A JPH06295253A JP H06295253 A JPH06295253 A JP H06295253A JP 5080450 A JP5080450 A JP 5080450A JP 8045093 A JP8045093 A JP 8045093A JP H06295253 A JPH06295253 A JP H06295253A
Authority
JP
Japan
Prior art keywords
verification
condition
microprogram
verifying
violation
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
JP5080450A
Other languages
Japanese (ja)
Inventor
Ayumi Nakamura
歩 中村
Junichi Tashiro
淳一 田代
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.)
Hitachi Computer Electronics Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Computer Electronics Co Ltd
Hitachi 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 Hitachi Computer Electronics Co Ltd, Hitachi Ltd filed Critical Hitachi Computer Electronics Co Ltd
Priority to JP5080450A priority Critical patent/JPH06295253A/en
Publication of JPH06295253A publication Critical patent/JPH06295253A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the method and the device for selecting and updating automatically a verifying condition for verifying a microprogram. CONSTITUTION:At the time of verifying a microprogram, a verifying condition extracting a violation is extracted from violation information 9 by a verifying condition selection processing 14, the same conditions are eliminated and stored in a verifying condition information table 18, and thereafter, a microprogram specification limit (verifying condition) information 2 file is updated to the verifying condition stored in the verifying condition information table by an updating processing 15. Accordingly, at the time of verifying the microprogram, its condition is always updated automatically to the absolutely minimum verifying condition, therefore, the verification can be performed efficiently and quickly without deteriorating the verification accuracy.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイクロプログラムの
論理検証方式に関し特にマイクロプログラム仕様制限違
反についてソースレベルでの検証を実施するのに好適な
マイクロプログラムの検証方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprogram logic verification method, and more particularly to a microprogram verification method and apparatus suitable for performing source level verification of violations of microprogram specification restrictions.

【0002】[0002]

【従来の技術】従来のマイクロプログラム検証方式は、
特開平02−083748号公報等に記載のように、マ
イクロプログラムの実行前にソースレベルで仕様制限違
反を検出するものである。この方法は、マイクロプログ
ラムソースより、その実行時に通過する可能性のある経
路を全て導き出し、この導出経路に対し、予め定められ
たマイクロプログラム仕様制限を検証条件として設定
し、条件に適合しているか否かを検証するものである。
2. Description of the Related Art A conventional microprogram verification method is
As described in Japanese Patent Application Laid-Open No. 02-083748, etc., specification restriction violation is detected at the source level before execution of a microprogram. This method derives from the microprogram source all the paths that may pass during its execution, sets a predetermined microprogram specification limit as a verification condition for this derived path, and checks whether the conditions are met. It is to verify whether or not.

【0003】[0003]

【発明が解決しようとする課題】マイクロプログラムの
検証は、1本のマイクロプログラムに対し1回の検証で
終了するものではなく、検証の結果検出された仕様制限
違反に対し修正を加えた後、再び検証を実施し、違反が
皆無になるまでこれを繰り返す場合が多い。この場合、
前記特開平公報記載の従来技術では、予め定められたマ
イクロプログラム仕様制限を検証条件として当初に設定
し、常にこの条件を用いて検証を繰り返す。
The verification of the microprogram does not end with one verification for one microprogram, but after correction is made to the specification restriction violation detected as a result of the verification, In many cases, the verification is conducted again, and this is repeated until there are no violations. in this case,
In the prior art described in the above-mentioned Japanese Patent Laid-Open Publication No. Hei 10 (1999) -264, a predetermined microprogram specification limit is initially set as a verification condition, and the verification is always repeated using this condition.

【0004】しかしながら、再検証を実施するにあたっ
ては、一旦違反として指摘された制限違反について修正
を加えた後の確認を目的とする訳であり、当初設定した
検証条件全てについて検証を実施することは過剰であ
る。すなわち、検証すべき条件が、一旦検証を実施する
ことで絞られたにも拘らず、再施にあたって当初と同じ
検証条件を用いることは、検証効率を低下させる要因と
なる。
However, when performing re-verification, the purpose is to confirm after correcting the restriction violation once pointed out as a violation, and it is not possible to perform verification for all the verification conditions initially set. Excess. That is, although the conditions to be verified have been narrowed down by performing the verification once, using the same verification conditions as in the initial stage in re-processing causes a reduction in verification efficiency.

【0005】検証効率の低下を妨ぐには、再施の場合に
検証条件を、必要な条件のみ選択し、新たに設定すれば
よいことになるが、再施の度に設定が必要となること、
予め定められたマイクロプログラム仕様制限数は膨大
で、その中より違反検出結果を基に、必要な検証条件を
検索し設定しなければならないことなどにより、操作者
によってこの作業を行うことは多くの時間を必要とする
ことが想定され、検証効率の低下を妨ぐといった主旨と
は相反する。また、操作者によって検証条件の選択と設
定を行うことは、ミスにより検証条件が漏れる可能性が
出てくることになり、マイクロプログラム検証精度の面
でも問題がある。本発明は、上記問題点を解決し、マイ
クロプログラム検証において効率良く検証を実施するた
めに、検証条件の選択と設定を自動的に実現する方法を
提供することを目的とする。
In order to prevent the reduction of the verification efficiency, it is necessary to select only the necessary conditions and newly set the verification condition in the case of re-execution, but it is necessary to set the verification condition each time of re-execution.
The number of preset microprogram specifications is enormous, and it is often the case that the operator performs this task because the necessary verification conditions must be searched and set based on the violation detection result. It is expected that it will take time, which conflicts with the main idea of preventing a reduction in verification efficiency. Further, when the operator selects and sets the verification condition, the verification condition may be leaked due to a mistake, and there is a problem in terms of microprogram verification accuracy. An object of the present invention is to solve the above problems and to provide a method for automatically realizing selection and setting of verification conditions in order to efficiently carry out verification in microprogram verification.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するうえ
で本発明においては、予め定められた検証条件の中か
ら、再検証を実施する際に有効な検証条件のみを選出す
るために、検証条件とマイクロプログラムソースの情報
が適合するか否かを照合した結果、適合しなかった場合
の違反情報を用いる。
In order to achieve the above object, in the present invention, in order to select only valid verification conditions when re-verifying from the predetermined verification conditions, the verification is performed. As a result of checking whether the conditions and the information of the micro program source are matched, the violation information when they are not matched is used.

【0007】すなわち、本発明においては、違反を検出
した検証条件のみを、違反情報より抽出しテーブルに格
納する第1の手段と、この第1の手段により作成された
前記テーブルから、重複した情報を排除する第2の手段
と、予め定められた検証条件を、前記第2の手段を経て
テーブルに格納された検証条件に更新する第3の手段と
を備えており、以上の手段によって更新された有効な検
証条件のみを用いて検証を繰り返し実施するようにした
ものである。
That is, according to the present invention, duplicated information is extracted from the first means for extracting only the verification condition for detecting the violation from the violation information and storing it in the table, and the table created by the first means. And a third means for updating the predetermined verification condition to the verification condition stored in the table via the second means, which is updated by the above means. The verification is repeatedly performed using only valid verification conditions.

【0008】[0008]

【作用】前記手段によれば、マイクロプログラムの検証
過程において、予め定められた検証条件を、違反情報よ
り違反を検出した検証条件を抽出し格納した上で、重複
した情報の排除を実行した後の有効な検証条件へ更新す
ることにより、再検証に必要な検証条件を自動選出し設
定することができる。
According to the above means, in the verification process of the microprogram, after the predetermined verification condition is extracted and stored from the violation information, the verification condition for detecting the violation is extracted and the duplicate information is eliminated. By updating to the valid verification condition of, the verification condition required for re-verification can be automatically selected and set.

【0009】これにより、再検証を繰り返す場合常に有
効な検証条件のみで検証を実施することができ、効率良
く迅速に検証結果を得ることができる。
As a result, when re-verification is repeated, it is possible to carry out verification only with valid verification conditions, and it is possible to obtain verification results efficiently and promptly.

【0010】[0010]

【実施例】以下、本発明の一実施例を図面により説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】図1は、本発明の一実施例にかかるマイク
ロプログラム検証処理の流れを概略的に示す処理ブロッ
ク図である。図1において、3は被検証マイクロプログ
ラムソース、4はマイクロプログラム定義、2は、マイ
クロプログラム仕様1より作成した、マイクロプログラ
ム仕様制限すなわち検証条件と、以上入力情報を示す。
さらに、5はマイクロプログラムソース実行時において
通過する可能性のある全経路を導き出しテーブルに格納
する検証準備処理部分、6,7は、検証条件と導出経路
を照合し、適合するか否かを検証する部分、10は検証
の結果適合しなかった制限違反情報9を操作者に見易い
形に編集する部分である。編集後の制限違反情報は、出
力装置11および印刷装置12に出力され、これを操作
者は解析しマイクロプログラムソースの違反箇所を修正
する13。また検証の結果違反が全く無い場合は、検証
を終了8する。以上ふれた部分は、特開平02−083
748号公報に記載の処理であり、詳細な説明は略す。
FIG. 1 is a processing block diagram schematically showing the flow of a microprogram verification processing according to an embodiment of the present invention. In FIG. 1, 3 is a microprogram source to be verified, 4 is a microprogram definition, 2 is a microprogram specification restriction, that is, a verification condition created from the microprogram specification 1, and the above input information.
Further, 5 is a verification preparation processing part for deriving all paths that may pass through during execution of the microprogram source and storing them in a table, and 6, 7 collate the verification conditions with the derived paths and verify whether or not they match. A portion 10 for editing is a portion for editing the restriction violation information 9 that does not match as a result of verification in a form that is easy for the operator to see. The edited restriction violation information is output to the output device 11 and the printing device 12, and the operator analyzes this and corrects the violation part of the microprogram source 13. If there is no violation as a result of the verification, the verification is finished 8. The above-mentioned part is described in JP-A-02-083.
The process is described in Japanese Patent Publication No. 748, and detailed description thereof is omitted.

【0012】図1において、太線で示す部分が本発明の
一実施例にかかる検証条件の更新処理部分である。以
下、この部分について説明を行う。
In FIG. 1, a portion indicated by a thick line is a verification condition update processing portion according to an embodiment of the present invention. Hereinafter, this part will be described.

【0013】まず、検証条件と導出経路との照合6,7
が全て終了した後に、違反情報9を参照し、違反を検出
した検証条件情報を抽出し、重複情報を排除した上で、
再検証時に必要な検証条件情報を作成する14。
First, the verification condition and the derivation route are compared 6,7.
After all are completed, the violation information 9 is referred to, the verification condition information in which the violation is detected is extracted, and the duplicate information is eliminated.
Create verification condition information necessary for reverification 14.

【0014】さらに更新処理15により、マイクロプロ
グラム仕様制限(検証条件)ファイル2を選出した検証
条件に更新する。
Further, the update processing 15 updates the microprogram specification restriction (verification condition) file 2 to the selected verification condition.

【0015】再検証を実施の際には、この更新されたマ
イクロプログラム仕様制限(検証条件)2を入力とし検
証を上記説明と同様に行い、検証が終了8するまで繰り
返す。
When the re-verification is carried out, the updated micro-program specification restriction (verification condition) 2 is input and the verification is performed in the same manner as described above, and the verification is repeated until the end 8.

【0016】図2は、違反情報9より検証条件を選出す
る処理14を説明する図である。入力する違反情報に
は、違反を検出した検証条件情報16と、違反のあるマ
イクロプログラムソースの部分を示す情報17が格納さ
れている。検証条件選出処理14では、違反を検出した
検証条件情報16としてルールA、ルールB、ルール
A、ルールEを採取する。これらを検証条件情報テーブ
ル18へ格納するが、その時に重複するルールAは排除
する。このような処理によって、再検証時に必要な検証
条件が作成される。
FIG. 2 is a diagram for explaining a process 14 for selecting a verification condition from the violation information 9. The violation information to be input stores the verification condition information 16 that detects the violation and the information 17 that indicates the portion of the microprogram source that has the violation. In the verification condition selection processing 14, rule A, rule B, rule A, and rule E are collected as the verification condition information 16 for detecting the violation. These are stored in the verification condition information table 18, but rule A that is duplicated at that time is excluded. By such a process, the verification condition required at the time of re-verification is created.

【0017】図3は、マイクロプログラム仕様制限(検
証条件)情報ファイル2を、検証条件抽出・選択処理1
4によって作成した検証条件情報18を基に更新する処
理を詳細に説明する図である。更新前のマイクロプログ
ラム仕様制限(検証条件)情報ファイルには、検証実施
前に設定した検証条件としてルールA〜Eの5つの検証
条件が格納されている。更新処理15においては、検証
後に前記検証条件抽出・選択処理14において作成され
た検証条件情報テーブル18に格納されている情報をキ
ーに更新を実施する。すなわちルールA〜Eの5つの検
証条件のうち検証条件情報テーブル18に格納されてい
るルールA、ルールB、ルールEについてのみをマイク
ロプログラム仕様制限(検証条件)情報ファイル2に格
納する処理によって、更新が実施される。
FIG. 3 shows a verification condition extraction / selection process 1 for a microprogram specification restriction (verification condition) information file 2.
FIG. 6 is a diagram illustrating in detail the process of updating based on the verification condition information 18 created according to FIG. The microprogram specification restriction (verification condition) information file before update stores five verification conditions of rules A to E as the verification conditions set before the verification is performed. In the update process 15, after the verification, the information stored in the verification condition information table 18 created in the verification condition extraction / selection process 14 is used as a key for updating. That is, among the five verification conditions of rules A to E, only the rule A, the rule B, and the rule E stored in the verification condition information table 18 are stored in the microprogram specification restriction (verification condition) information file 2, Updates are implemented.

【0018】この更新処理15により、再検証実施時の
検証条件として、必要最少限が設定されることになり、
効率良い迅速な検証を実施することができる。
By this update processing 15, the minimum required is set as the verification condition at the time of re-verification,
Efficient and quick verification can be performed.

【0019】以上、本発明を実施例にもとづき具体的に
説明したが、本発明は前記実施例に限定されるものでは
なく、その要旨を逸脱しない範囲において種々変更可能
であることは言うまでもない。実施例では、検証条件を
違反情報ファイルより得たが、違反を検出した検証条件
を直接格納するテーブルもしくはファイルを設けること
も考えられる。
Although the present invention has been specifically described based on the embodiments, it is needless to say that the present invention is not limited to the embodiments and various modifications can be made without departing from the scope of the invention. In the embodiment, the verification condition is obtained from the violation information file, but it is conceivable to provide a table or file for directly storing the verification condition for detecting the violation.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
マイクロプログラム検証において、予め定められたマイ
クロプログラム仕様制限を検証条件として設定するだけ
で、操作者が検証を繰り返す度に、自動的に必要な検証
条件を選出し更新することで、過剰な検証を回避し、確
実に必要最少限の検証を実施することが可能となり、従
来の方式に比べ検証精度を落とすことなく、効率の良い
迅速な検証を実施できる。
As described above, according to the present invention,
In microprogram verification, simply by setting a predetermined microprogram specification limit as a verification condition, and each time the operator repeats verification, the necessary verification conditions are automatically selected and updated, thereby eliminating excessive verification. By avoiding this, it is possible to reliably carry out the minimum required verification, and it is possible to carry out efficient and quick verification without lowering the verification accuracy compared to the conventional method.

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

【図1】本発明の一実施例にかかるマイクロプログラム
検証における処理の流れを概略的に示す概括的な処理ブ
ロック図、
FIG. 1 is a general processing block diagram schematically showing a flow of processing in microprogram verification according to an embodiment of the present invention;

【図2】本発明に関する検証条件抽出・選択処理を説明
するための図、
FIG. 2 is a diagram for explaining a verification condition extraction / selection process according to the present invention;

【図3】本発明に関するマイクロプログラム仕様制限
(検証条件)情報の更新処理を説明する図である。
FIG. 3 is a diagram illustrating a process of updating microprogram specification restriction (verification condition) information according to the present invention.

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

1…マイクロプログラム仕様書、 2…マイクロプログラム仕様制限(検証条件)、 3…マイクロプログラムソース、 4…マイクロプログラム定義、 5…検証データ作成処理、 6…検証条件との照合処理、 7…検証条件との適合判定、 9…違反情報、 10…違反情報編集処理、 11…端末装置、 12…印刷装置、 14…検証条件抽出・選択処理、 15…更新処理。 1 ... Micro program specification, 2 ... Micro program specification restriction (verification condition), 3 ... Micro program source, 4 ... Micro program definition, 5 ... Verification data creation process, 6 ... Verification process with verification condition, 7 ... Verification condition Matching determination with 9 ... Violation information, 10 ... Violation information editing process, 11 ... Terminal device, 12 ... Printing device, 14 ... Verification condition extraction / selection process, 15 ... Update process.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マイクロプログラムの検証において、同一
の被検証マイクロプログラムソースに対し違反が皆無に
なるまで検証を繰り返す過程で、予め定められた検証条
件の中より検証が必要な条件のみを自動生成する方式と
装置であって、検証の結果より違反を検出した有効な検
証条件のみを抽出しテーブルに格納する第1の手段と、
この第1の手段により作成された前記テーブルから、重
複した情報を排除する第2の手段と、予め定められた検
証条件を、前記第2の手段を経てテーブルに格納された
検証条件に更新する第3の手段とを備え、常に更新され
た有効な検証条件のみで検証を実施することを特徴とす
る、マイクロプログラム検証方法および装置。
1. In microprogram verification, in the process of repeating verification until there is no violation for the same microprogram source to be verified, only conditions requiring verification are automatically generated from the predetermined verification conditions. A method and a device for extracting a valid verification condition in which a violation is detected from the verification result and storing it in a table;
From the table created by the first means, the second means for eliminating duplicated information and the predetermined verification condition are updated to the verification condition stored in the table via the second means. A microprogram verifying method and apparatus, characterized in that the verification is carried out only with updated valid verification conditions, which is provided with the third means.
JP5080450A 1993-04-07 1993-04-07 Method and device for verifying microprogarm Pending JPH06295253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5080450A JPH06295253A (en) 1993-04-07 1993-04-07 Method and device for verifying microprogarm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5080450A JPH06295253A (en) 1993-04-07 1993-04-07 Method and device for verifying microprogarm

Publications (1)

Publication Number Publication Date
JPH06295253A true JPH06295253A (en) 1994-10-21

Family

ID=13718601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5080450A Pending JPH06295253A (en) 1993-04-07 1993-04-07 Method and device for verifying microprogarm

Country Status (1)

Country Link
JP (1) JPH06295253A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008242737A (en) * 2007-03-27 2008-10-09 Toshiba Corp Apparatus, method and program for creating program verification specification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008242737A (en) * 2007-03-27 2008-10-09 Toshiba Corp Apparatus, method and program for creating program verification specification
JP4607918B2 (en) * 2007-03-27 2011-01-05 株式会社東芝 Program verification specification generation apparatus, method and program

Similar Documents

Publication Publication Date Title
US9047260B2 (en) Model-based testing of a graphical user interface
JPH06295253A (en) Method and device for verifying microprogarm
JP2005276040A (en) Degrade confirming examining method and system, and program for the same
JPH1139363A (en) Data verification system
JPH05274467A (en) Data input device
US7886282B1 (en) Augmenting signature-based technologies with functional flow graphs
JP3219066B2 (en) Analog part deletion information addition system
JPH04271440A (en) System for automatically preparing test item
JP2595815B2 (en) Program correction amount judgment processing device
JPH11175473A (en) Method for confirming validity of input file
JPH05143547A (en) On-line system
CN113778758A (en) Data recovery method, device and equipment and readable storage medium
JPH04289928A (en) Microprogram verifying system
JPH0756732A (en) Method for preparing test result inspecting program and automatic test result inspecting method using the preparing method
JPH07200356A (en) Automatic check list delete system
JP2001312417A (en) Test route verifying device and stoage medium stored with program making computer perform processing of the same device
JP2002073373A (en) Program verification device to extract checking program to verify peripheral and similar functions based on confirmation and inspection item for modification
JPH0676016A (en) Logical simulation method
JPH0546552A (en) On-line environment addition system
JP2002073724A (en) Method and device for correcting test pattern
JPH06282678A (en) Character recognizing post-processor
JPH01244551A (en) Software specification verifying system
JPH10111803A (en) Logical interactive certification constructing device
JPH05241912A (en) Program processing confirming system
JPH04220787A (en) Character reader