JP2632964B2 - Test processing method of coaching device - Google Patents

Test processing method of coaching device

Info

Publication number
JP2632964B2
JP2632964B2 JP63234541A JP23454188A JP2632964B2 JP 2632964 B2 JP2632964 B2 JP 2632964B2 JP 63234541 A JP63234541 A JP 63234541A JP 23454188 A JP23454188 A JP 23454188A JP 2632964 B2 JP2632964 B2 JP 2632964B2
Authority
JP
Japan
Prior art keywords
test
logic
program
simulator
unit
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 - Fee Related
Application number
JP63234541A
Other languages
Japanese (ja)
Other versions
JPH0281236A (en
Inventor
浩巳 嶋田
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 JP63234541A priority Critical patent/JP2632964B2/en
Publication of JPH0281236A publication Critical patent/JPH0281236A/en
Application granted granted Critical
Publication of JP2632964B2 publication Critical patent/JP2632964B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔概要〕 ゲートレベルで記述された論理装置のシミュレーショ
ンを実行する論理シミュレータを用いて、設計された論
理装置の論理機能を試験するための論理装置の試験処理
方式に関し、 試験プログラムに従って実行される論理シミュレーシ
ョンを迅速に実行できるようにすることを目的とし、 試験対象となる論理装置と同じアーキテクチャで構成
されて、論理装置の論理機能に対してのシミュレーショ
ンをソフトウェア命令レベルで実行するソフトシミュレ
ータを備え、このソフトシミュレータが、試験プログラ
ム中の試験環境を設定するためのプログラム部分を実行
するよう処理し、そして、論理シミュレータが、このソ
フトシミュレータの実行処理に従って求められることに
なる論理装置の資源に関しての状態データを用いて、試
験プログラム中の試験に係るプログラム部分を実行する
よう構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a logic device test processing method for testing a logic function of a designed logic device using a logic simulator that executes a simulation of a logic device described at a gate level. The purpose of the simulation is to execute the logic simulation executed according to the test program quickly, and it is configured with the same architecture as the logic device to be tested, and simulates the logic function of the logic device at the software instruction level. A software simulator to execute, the software simulator processes a program part for setting a test environment in a test program, and a logic simulator is obtained according to the execution process of the soft simulator. Logical unit resource status It is configured to execute a program portion related to a test in the test program using the data.

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

本発明は、設計された論理装置の論理機能を試験する
ための論理装置の試験処理方式に関し、特に、論理シミ
ュレータを用いて試験を実行する際に、試験のための論
理シミュレーションが迅速に実行できるようにするため
の論理装置の試験処理方式に関するものである。
The present invention relates to a test processing method of a logic device for testing a logic function of a designed logic device, and particularly, when executing a test using a logic simulator, a logic simulation for the test can be quickly executed. The present invention relates to a test processing method of a logic device for performing the above.

計算機のような論理装置の開発にあたって、論理装置
の集積密度や実装密度が高まるに従って、設計段階で、
論理装置の論理機能が仕様通りのものになっているか否
かを試験していく必要がでてきている。近年、この目的
を実現するために、論理装置の論理機能のシミュレーシ
ョンを実行するための論理シミュレータが開発されてき
た。しかるに、この論理シミュレータ実行処理速度は、
実機での実行処理速度に比べて格段に遅いのが実状であ
る。これから、この論理シミュレータによる論理シミュ
レーションを迅速に実行できるようにするための論理装
置の試験処理方式の提供が望まれているのである。
In the development of logic devices such as computers, as the integration density and packaging density of logic devices increase, at the design stage,
It is necessary to test whether the logic function of the logic device is as specified. In recent years, logic simulators for performing simulations of logic functions of logic devices have been developed to achieve this purpose. However, this logic simulator execution speed is
In fact, the actual processing speed is much slower than the actual processing speed. From now on, it is desired to provide a test processing method for a logic device so that a logic simulation by the logic simulator can be executed quickly.

〔従来の技術〕[Conventional technology]

論理シミュレータを用いて設計された論理装置の論理
機能を試験していくためには、論理シミュレータに、シ
ミュレーションの対象となる設計された論理装置の回路
モデルを展開するとともに、この展開された論理装置の
論理機能を試験するための試験プログラムを入力するこ
とになる。そして、論理シミュレータが、この入力され
た試験プログラムに従って論理シミュレーションしてい
くことで、論理装置の試験を実行するのである。
In order to test the logic function of a logic device designed using a logic simulator, a circuit model of the designed logic device to be simulated is developed in the logic simulator, and the developed logic device is developed. A test program for testing the logical function of the above is input. Then, the logic simulator executes a logic device test by performing a logic simulation according to the input test program.

この入力される試験プログラムは、大きく分類して、
試験環境を設定するための初期化プログラム部分と、実
際の試験を実行するための試験プログラム部分に分けら
れることになる。この初期化プログラム部分及び試験プ
ログラム部分は、論理シミュレーションを実行していく
上で欠くことのできないものである。これから、従来技
術では、初期化プログラム部分と試験プログラム部分の
いずれのプログラム部分も、試験プログラムとして論理
シミュレータに入力していく構成を採っていたのであ
る。
This input test program can be broadly classified,
The test program is divided into an initialization program for setting a test environment and a test program for executing an actual test. The initialization program portion and the test program portion are indispensable for executing the logic simulation. From this, the prior art adopts a configuration in which both the initialization program portion and the test program portion are input as test programs to the logic simulator.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、初期化プログラム部分には、真の試験
プログラムであるところの試験プログラム部分の命令列
を動的に生成するための命令列生成プログラムが含まれ
ている。この命令列生成プログラムは、現実には、かな
りなステップ数を要するプログラムとなっている。これ
がために、従来技術では、論理シミュレータの実行処理
速度が大きく遅れることになり、論理装置の試験が迅速
に実行できないという問題があった。
However, the initialization program portion includes an instruction sequence generation program for dynamically generating an instruction sequence of a test program portion that is a true test program. This instruction sequence generation program is actually a program that requires a considerable number of steps. For this reason, in the related art, there is a problem that the execution processing speed of the logic simulator is greatly delayed, and a test of the logic device cannot be executed quickly.

本発明はかかる事情に鑑みてなされたものであって、
論理シミュレータを用いて設計された論理装置の論理機
能を試験する際に、論理シミュレーションを迅速に実行
できるようにすることで、迅速な試験処理が実現できる
ようにする論理装置の試験処理方式の提供を目的とする
ものである。
The present invention has been made in view of such circumstances,
When testing the logic function of a logic device designed using a logic simulator, a logic device test processing method is provided that enables quick execution of a logic simulation, thereby realizing a quick test process. It is intended for.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理構成図である。 FIG. 1 is a diagram illustrating the principle of the present invention.

図中、1は試験対象となる設計された論理装置、10は
論理シミュレータであって、ゲートレベルで記述された
論理装置1の論理機能のシミュレーションを実行するも
の、20は試験プログラムであって、論理装置1の試験の
ためのプログラムであるもの、30はソフトシミュレータ
であって、論理装置1と同じアーキテクチャで構成され
て、論理装置1の論理機能に対してのシミュレーション
をソフトウェア命令レベルで実行するものである。論理
シミュレータ10は、試験実行プログラム実行部11と論理
装置モデル部12と状態データ設定部13とを備え、試験プ
ログラム20は、初期化実行プログラム21と試験実行プロ
グラム22とを備え、ソフトシミュレータ30は、初期化実
行プログラム実行部31と状態データ格納部32とを備え
る。
In the figure, 1 is a designed logic device to be tested, 10 is a logic simulator that simulates the logic function of the logic device 1 described at the gate level, 20 is a test program, A program 30 for testing the logic device 1 is a software simulator, which has the same architecture as the logic device 1 and executes a simulation for a logic function of the logic device 1 at a software instruction level. Things. The logic simulator 10 includes a test execution program execution unit 11, a logic device model unit 12, and a state data setting unit 13.The test program 20 includes an initialization execution program 21 and a test execution program 22. , An initialization execution program execution unit 31 and a state data storage unit 32.

この試験実行プログラム実行部11は、試験実行プログ
ラム22を実行することで、論理装置1の論理機能のシミ
ュレーションを実行し、論理装置モデル部12は、試験実
行プログラム実行部11がシミュレーション処理の実行の
ために必要とするところのゲートレベルで記述された論
理装置1の回路モデル図であり、状態データ設定部13
は、初期化実行プログラム実行部31の処理の終了に伴っ
て定まる状態データ格納部32の格納データを、対応する
論理装置モデル部12の資源部分に設定するよう処理し、
初期化実行プログラム21は、試験プログラム20中の試験
環境を設定するためのプログラム部分であり、試験実行
プログラム22は、試験プログラム20中の実際の試験に係
るプログラム部分であり、初期化実行プログラム実行部
31は、初期化実行プログラム21を実行することで試験環
境を設定し、状態データ格納部32は、初期化実行プログ
ラム実行部31による実行に従って求められることになる
論理装置モデル部12の資源に関しての状態データを格納
する。
The test execution program execution unit 11 executes the test execution program 22 to execute a simulation of the logical function of the logical device 1, and the logical device model unit 12 determines that the test execution program execution unit 11 executes the simulation process. FIG. 3 is a circuit model diagram of the logic device 1 described at the gate level and required for the
Processing to set the storage data of the state data storage unit 32 determined with the end of the processing of the initialization execution program execution unit 31 in the resource part of the corresponding logical device model unit 12,
The initialization execution program 21 is a program part for setting a test environment in the test program 20, and the test execution program 22 is a program part related to an actual test in the test program 20. Department
31 sets the test environment by executing the initialization execution program 21, and the state data storage unit 32 stores the resources related to the resources of the logical device model unit 12 which are obtained according to the execution by the initialization execution program execution unit 31. Stores state data.

〔作用〕[Action]

本発明では、初期化実行プログラム実行部31が初期化
実行プログラム21を実行し、状態データ設定部13が、こ
の実行に伴って状態データ格納部32に格納されることに
なる論理装置モデル部12部の資源についての状態データ
を、対応する論理装置モデル部12の資源部分に設定す
る。そして、試験実行プログラム実行部11が、この設定
された状態データを起点にして、試験実行プログラム22
を実行することで、論理装置モデル部12のシミュレーシ
ョンを実行する。
In the present invention, the initialization execution program execution unit 31 executes the initialization execution program 21, and the state data setting unit 13 stores the logical device model unit 12 to be stored in the state data storage unit 32 with this execution. The status data on the resource of the unit is set in the resource portion of the corresponding logical device model unit 12. Then, the test execution program execution unit 11 starts the test execution program 22 based on the set state data.
Is executed, the simulation of the logical device model unit 12 is executed.

このように、本発明によれば、論理シミュレータ10
は、試験プログラム20の中の初期化実行プログラム21を
実行する必要がなくなる。従って、論理シミュレータ10
は、迅速に論理装置モデル部12のシミュレーションを実
行できることとなって、設計された論理装置1の試験が
迅速に実行できるようになるのである。
Thus, according to the present invention, the logic simulator 10
Eliminates the need to execute the initialization execution program 21 in the test program 20. Therefore, the logic simulator 10
Thus, the simulation of the logical device model unit 12 can be executed quickly, and the test of the designed logical device 1 can be executed quickly.

〔実施例〕〔Example〕

以下、計算機の論理シミュレーションに対する実施例
に従って、本発明を詳細に説明する。
Hereinafter, the present invention will be described in detail with reference to an embodiment for logic simulation of a computer.

第2図に、本発明の実施例構成図を示す。図中、2は
論理仕様書であって、設計されることになる試験対象計
算機の論理仕様について記述してあるもの、3は論理設
計データファイルであって、論理仕様書2に基づいて設
計されたゲートレベルで記述される試験対象計算機の論
理回路に関しての回路情報を格納するものである。
FIG. 2 shows a configuration diagram of an embodiment of the present invention. In the figure, 2 is a logical specification, which describes the logical specification of the computer to be designed, and 3 is a logical design data file, which is designed based on the logical specification 2. It stores circuit information about the logic circuit of the computer to be tested described at the gate level.

10は第1図でも説明した論理シミュレータであって、
ゲートレベルで記述される試験対象計算機の論理機能の
シミュレーションを実行するもの、10aは論理シミュレ
ータ10の入力部であって、試験対象計算機の論理シミュ
レーションのために必要となる状態データと試験プログ
ラムの受付処理を実行するもの、10bは論理シミュレー
タ10上に展開される試験対象計算機モデルであって、ゲ
ートレベルで記述される試験対象計算機の回路モデルで
あり、入力部10aが受け付けた試験プログラムに従って
試験対象計算機の論理機能の論理シミュレーションを実
行するもの、10cは論理シミュレータ10の制御部であっ
て、試験対象計算機モデル10bが実行する論理シミュレ
ーションを制御するものである。
10 is the logic simulator described in FIG.
A simulator for simulating the logic function of the computer under test described at the gate level. Reference numeral 10a denotes an input unit of the logic simulator 10, which receives state data and a test program required for the logic simulation of the computer under test. A computer that executes processing, 10b is a computer model to be tested that is developed on the logic simulator 10, and is a circuit model of the computer to be tested described at the gate level, and is a test model according to the test program received by the input unit 10a. A controller for executing a logic simulation of the logic function of the computer, 10c is a control unit of the logic simulator 10, and controls a logic simulation executed by the computer model 10b to be tested.

20は第1図で説明した試験プログラムであって、第1
図で説明したように、初期化実行プログラム21と試験実
行プログラム22とを備える。30は同じく第1図で説明し
たソフトシミュレータであって、オペレーティングシス
テム配下の1つのジョブとして動作し、論理仕様書2に
記述された試験対象計算機の論理機能に対してのシミュ
レーションをソフトウェア命令レベルで実行するもの、
30aはソフトシミュレータ30の実行部であって、試験対
象計算機のアーキテクチャの論理を実行することで、試
験プログラム20に従って試験環境の設定のための初期化
処理を実行するもの、30bはソフトシミュレータ30の資
源部であって、試験対象計算機の主記憶・レジスタ類等
の資源を表現するもの、30cはソフトシミュレータ30の
出力部であって、実行部30aの実行処理の終了に伴って
定まる資源部30bの状態データと、初期化処理以降の試
験プログラム20、すなわち試験実行プログラム22を出力
するものである。
Reference numeral 20 denotes the test program described in FIG.
As described with reference to the figure, an initialization execution program 21 and a test execution program 22 are provided. Numeral 30 denotes a software simulator also described in FIG. 1, which operates as one job under the operating system and simulates, at the software instruction level, a logical function of the computer under test described in the logical specification 2. What to do,
Reference numeral 30a denotes an execution unit of the software simulator 30, which executes initialization logic for setting a test environment according to the test program 20 by executing the logic of the architecture of the computer under test, and 30b denotes an execution unit of the software simulator 30. A resource unit, which represents resources such as a main memory and registers of the computer to be tested; 30c is an output unit of the software simulator 30, and is a resource unit 30b determined upon completion of the execution process of the execution unit 30a. , And the test program 20 after the initialization process, that is, the test execution program 22.

40はシミュレーションデータファイルであって、ソフ
トシミュレータ30から出力される状態データ及び試験実
行プログラム22を格納するもの、50は変換プログラムで
あって、論理設計データファイル3に格納される試験対
象計算機の論理回路情報を変換して、論理シミュレータ
10上に試験対象計算機モデル10bとして展開するもので
ある。
Numeral 40 denotes a simulation data file which stores the status data output from the software simulator 30 and the test execution program 22, and numeral 50 denotes a conversion program which stores the logic of the computer under test stored in the logical design data file 3. Converts circuit information to a logic simulator
It is developed as a test target computer model 10b on FIG.

まだ、101は試験対象計算機モデル10bを構成するCPU
ユニット、102は同じく試験対象計算機モデル10bを構成
するメモリユニット、301は資源部30bで表現されるCPU
ユニット、302は同じく資源部30bで表現されるメモリユ
ニットである。論理シミュレータ10とソフトシミュレー
タ30とは、同じ試験対象計算機のアーキテクチャを展開
しているので、表現上に違いはあるものの、CPUユニッ
ト101とCPUユニット301とは同一のものであり、メモリ
ユニット102とメモリユニット302とは同一のものであ
る。
Still, 101 is the CPU that constitutes the computer model 10b under test.
Unit, 102 is a memory unit that also constitutes the computer model under test 10b, and 301 is a CPU represented by the resource unit 30b.
The unit 302 is a memory unit also represented by the resource unit 30b. The logic simulator 10 and the software simulator 30 have the same architecture of the computer to be tested, so the CPU unit 101 and the CPU unit 301 are the same, although there is a difference in expression, and the memory unit 102 The memory unit 302 is the same.

次に、第3図に示すフローチャートに従って、本発明
の試験処理方式の処理内容について説明する。
Next, the processing content of the test processing method of the present invention will be described with reference to the flowchart shown in FIG.

試験対象計算機の論理機能の試験を実行するために、
最初に、ステップ1で示すように、ソフトシミュレータ
30の資源部30bのメモリユニット302に、試験プログラム
20をローディングする。続いて、ステップ2で、実行部
30aは、このローディングされた試験プログラム20の1
命令ステップを解読して実行する。そして、次のステッ
プ3で、この実行により求まるCPUユニット301のレジス
タ類やメモリユニット302等に関しての状態データを資
源部30bの対応する箇所に設定する。実行部30aは、続く
ステップ4で、初期化処理が終了したか否かを判断す
る。この判断は、次の実行処理用として読み出した試験
プログラム20の命令が、初期化実行プログラム21と試験
実行プログラム22との境界を表す命令であるものなのか
否かにより行われることになる。この境界を表す命令
は、初期化処理が終了したことをソフトシミュレータ30
に通知するために試験プログラム20中に埋め込まれるも
のであって、アーキテクチャ上はノーオペレーションと
して定義され、特殊なオペランドをもつことになる。
In order to execute a test of the logical function of the computer under test,
First, as shown in step 1, a soft simulator
The test program is stored in the memory unit 302 of the 30 resource units 30b.
Load 20. Subsequently, in step 2, the execution unit
30a is one of the loaded test programs 20
Decode and execute instruction steps. Then, in the next step 3, status data on the registers of the CPU unit 301, the memory unit 302, and the like obtained by this execution are set in the corresponding locations of the resource unit 30b. The executing unit 30a determines in a subsequent step 4 whether or not the initialization processing has been completed. This determination is made based on whether or not the instruction of the test program 20 read for the next execution processing is an instruction indicating the boundary between the initialization execution program 21 and the test execution program 22. The instruction indicating this boundary indicates that the initialization process has been completed.
, Which is embedded in the test program 20 to be notified, and is architecturally defined as a no-operation and has a special operand.

ステップ4の判断で、初期化処理が未だ終了していな
いと判断するときには、ステップ2に戻り、次の実行命
令として読み出してある試験プログラム20の命令ステッ
プを実行するように処理する。このようにして、ステッ
プ2ないしステップ4の処理を繰り返していくことで、
ステップ4の判断で、初期化処理が終了したことが判断
されることになる。すなわち、試験プログラム20の初期
化実行プログラム21に係る部分の実行が終了すること
で、論理シミュレータ10のための試験環境が求められた
と判断されることになる。このときには、ステップ5に
進み、出力部30cは、資源部30bに設定されている状態デ
ータと、試験プログラム20中の未処理部分である試験実
行プログラム22とをシミュレーションデータファイル40
に格納するよう処理することになる。
If it is determined in step 4 that the initialization process has not been completed, the process returns to step 2 to execute the instruction step of the test program 20 read as the next execution instruction. In this way, by repeating the processing of step 2 to step 4,
By the determination in step 4, it is determined that the initialization process has been completed. That is, when the execution of the portion related to the initialization execution program 21 of the test program 20 ends, it is determined that the test environment for the logic simulator 10 has been required. At this time, the process proceeds to step 5, and the output unit 30c compares the state data set in the resource unit 30b and the test execution program 22 which is an unprocessed part in the test program 20 with the simulation data file 40.
Will be processed to be stored.

以上に説明したこのステップ5までの処理は、ソフト
シミュレータ30が実行することになる。なお、初期化処
理により実行される処理としては、上述した命令列の生
成処理の他に、試験対象が計算機であるときには、アド
レス変換テーブルの生成処理等がある。
The processing up to step 5 described above is executed by the software simulator 30. Note that the processing executed by the initialization processing includes, in addition to the above-described instruction string generation processing, generation processing of an address conversion table when the test target is a computer.

このようにして、ソフトシミュレータ30による初期化
処理が終了すると、論理シミュレータ10の入力部10a
は、ステップ6で、シミュレーションデータファイル40
の格納内容を順次変換して、試験対象計算機モデル10b
に展開する。すなわち、ソフトシミュレータ30の資源部
30bの状態データを、対応する論理シミュレータ10の試
験対象計算機モデル10b部分に設定するとともに、未処
理の試験実行プログラム22を試験対象計算機モデル10b
のメモリユニット102に格納するよう処理する。この処
理により、CPUユニット301の状態データがCPUユニット1
01に設定され、また、メモリユニット302の状態データ
がメモリユニット102に設定されることになる。
In this way, when the initialization process by the software simulator 30 is completed, the input unit 10a of the logic simulator 10
In step 6, the simulation data file 40
Of the computer model to be tested 10b
Expand to That is, the resource section of the software simulator 30
The state data of the target computer model 10b of the logic simulator 10 is set, and the unprocessed test execution program 22 is set in the target computer model 10b.
To be stored in the memory unit 102. With this processing, the status data of the CPU unit 301 is
01 is set, and the status data of the memory unit 302 is set in the memory unit 102.

次のステップ7で、ステップ6の展開処理が終了した
ことを判断すると、試験対象計算機モデル10bは、続く
ステップ8で、ソフトシミュレータ30が処理を中断した
点から、試験プログラム20の実行を続行することにな
る。この処理により、試験実行プログラム22に従って試
験対象計算機モデル10bの論理シミュレーションが実行
され、論理設計データファイル3に格納される試験対象
計算機の論理回路情報が、論理仕様書2通りのものに設
計されているか否かが試験されることになる。そして、
続くステップ9で、この試験結果を出力することにな
る。
When it is determined in the next step 7 that the development processing in step 6 has been completed, the computer model to be tested 10b continues the execution of the test program 20 from the point in the subsequent step 8 where the software simulator 30 interrupted the processing. Will be. With this processing, the logic simulation of the computer model 10b to be tested is executed in accordance with the test execution program 22, and the logic circuit information of the computer to be tested stored in the logic design data file 3 is designed in accordance with the two logical specifications. Will be tested. And
In the following step 9, this test result is output.

このように、本発明では、ソフトシミュレータ30が試
験環境を設定するための処理を実行し、そして、論理シ
ミュレータ10が、この設定された試験環境をベースにし
て、論理シミュレーションを実行するというように構成
するものである。
As described above, in the present invention, the software simulator 30 executes the processing for setting the test environment, and the logic simulator 10 executes the logic simulation based on the set test environment. Make up.

〔発明の効果〕〔The invention's effect〕

以上に説明したように、本発明によれば、論理シミュ
レータを用いて論理装置の論理機能の試験を実行する際
に、論理シミュレータが、真の試験部分のみを実行する
よう構成するものであることから、シミュレーション処
理時間が短縮され、論理装置の論理機能の試験を迅速に
実行できるようになるのである。
As described above, according to the present invention, when a test of a logic function of a logic device is performed using the logic simulator, the logic simulator is configured to execute only a true test portion. Therefore, the simulation processing time is shortened, and the test of the logic function of the logic device can be executed quickly.

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

第1図は本発明の原理構成図、 第2図は本発明の実施例構成図、 第3図は本発明の実行するフローチャートである。 図中、1は論理装置、2は論理仕様書、3は論理設計デ
ータファイル、10は論理シミュレータ、10aは入力部、1
0bは試験対象計算機モデル、10cは制御部、11は試験実
行プログラム実行部、12は論理装置モデル部、13は状態
データ設定部、20は試験プログラム、21は初期化実行プ
ログラム、22は試験実行プログラム、30はソフトシミュ
レータ、30aは実行部、30bは資源部、30cは出力部、31
は初期化実行プログラム実行部、32は状態データ格納
部、40はシミュレーションデータファイル、50は変換プ
ログラム、101はCPUユニット、102はメモリユニット、3
01はCPUユニット、302はメモリユニットである。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a flowchart executed by the present invention. In the figure, 1 is a logic device, 2 is a logic specification, 3 is a logic design data file, 10 is a logic simulator, 10a is an input unit, 1
0b is a computer model to be tested, 10c is a control unit, 11 is a test execution program execution unit, 12 is a logic device model unit, 13 is a state data setting unit, 20 is a test program, 21 is an initialization execution program, and 22 is a test execution. Program, 30 is a software simulator, 30a is an execution unit, 30b is a resource unit, 30c is an output unit, 31
Is an initialization execution program execution unit, 32 is a state data storage unit, 40 is a simulation data file, 50 is a conversion program, 101 is a CPU unit, 102 is a memory unit, 3
01 is a CPU unit and 302 is a memory unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ゲートレベルで記述された論理回路のシミ
ュレーションを実行する論理シミュレータ(10)を用意
し、この論理シミュレータ(10)に、試験対象となるゲ
ートレベルで記述された論理装置(1)を展開するとと
もに、この展開された論理装置(1)の論理機能を試験
するための試験プログラム(20)を入力することで、試
験対象となる論理装置(1)の試験を実行する試験処理
方式において、 上記論理装置(1)と同じアーキテクチャで構成され
て、上記論理装置(1)の論理機能に対してのシミュレ
ーションをソフトウェア命令レベルで実行するソフトシ
ミュレータ(30)を備え、 このソフトシミュレータ(30)が、上記試験プログラム
(20)中の試験環境を設定するためのプログラム部分を
実行するよう処理し、そして、上記論理シミュレータ
(10)が、このソフトシミュレータ(30)の実行処理に
従って求められることになる上記論理装置(1)の資源
に関しての状態データを用いて、上記試験プログラム
(20)中の試験に係るプログラム部分を実行するよう処
理することで、 上記論理装置(1)の試験を実行してなることを特徴と
する論理装置の試験処理方式。
A logic simulator (10) for executing a simulation of a logic circuit described at a gate level is prepared, and a logic device (1) described at a gate level to be tested is provided in the logic simulator (10). And a test processing method for executing a test of the logical device (1) to be tested by inputting a test program (20) for testing the logical function of the developed logical device (1). And a software simulator (30) configured with the same architecture as the logic device (1) and executing a simulation for the logic function of the logic device (1) at a software instruction level. ) Executes a program part for setting a test environment in the test program (20), and The logical simulator (10) uses the state data relating to the resources of the logical device (1) to be obtained in accordance with the execution processing of the software simulator (30), and uses the state data relating to the test in the test program (20). A test processing method for a logic device, characterized in that a test of the logic device (1) is performed by processing to execute a part.
JP63234541A 1988-09-19 1988-09-19 Test processing method of coaching device Expired - Fee Related JP2632964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63234541A JP2632964B2 (en) 1988-09-19 1988-09-19 Test processing method of coaching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63234541A JP2632964B2 (en) 1988-09-19 1988-09-19 Test processing method of coaching device

Publications (2)

Publication Number Publication Date
JPH0281236A JPH0281236A (en) 1990-03-22
JP2632964B2 true JP2632964B2 (en) 1997-07-23

Family

ID=16972644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63234541A Expired - Fee Related JP2632964B2 (en) 1988-09-19 1988-09-19 Test processing method of coaching device

Country Status (1)

Country Link
JP (1) JP2632964B2 (en)

Also Published As

Publication number Publication date
JPH0281236A (en) 1990-03-22

Similar Documents

Publication Publication Date Title
US10929584B1 (en) Environmental modification testing for design correctness with formal verification
JPS5975347A (en) Simulation device of logical circuit
JPH0869447A (en) Data processing device
US20020072889A1 (en) Efficient array tracing in a logic simulator machine
US7016826B2 (en) Apparatus and method of developing software for a multi-processor chip
CN116090403A (en) Command processing system supporting multiple simulators
JP2632964B2 (en) Test processing method of coaching device
JP2861962B2 (en) Computer program simulation apparatus and method
WO2025130756A1 (en) Circuit model simulation method and device, and computer-readable storage medium
US6813751B2 (en) Creating standard VHDL test environments
JP2828590B2 (en) Microprogram verification method
JP2020144509A (en) Automatic code generation method and automatic code generation program
JP7336775B2 (en) Verification system, verification method and program
CN111338761A (en) A 51 single-chip virtual interrupt controller and its realization method
CN117933155B (en) Multi-process joint simulation system and method, electronic equipment and storage medium
JP3424548B2 (en) Software logic simulator for embedded devices
JP5390464B2 (en) Simulation apparatus, simulation apparatus control method, and program
JP2000276502A (en) Software simulator
JP2001236247A (en) Software simulator and simulation processing method
KR0161763B1 (en) Design Information Editing Method Using OM Technique
JPH04333171A (en) Device for simulation
KR20000061819A (en) Aparatus for simulating a coding program and method therefor
JPH05266124A (en) Method for preparing circuit element library for logic circuit simulation
JPH02257339A (en) Logical verification system
JP2729061B2 (en) Zero-delay operation processing method for simulation equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees