JPH03250225A - Logical simulation environment setting method - Google Patents

Logical simulation environment setting method

Info

Publication number
JPH03250225A
JPH03250225A JP2049048A JP4904890A JPH03250225A JP H03250225 A JPH03250225 A JP H03250225A JP 2049048 A JP2049048 A JP 2049048A JP 4904890 A JP4904890 A JP 4904890A JP H03250225 A JPH03250225 A JP H03250225A
Authority
JP
Japan
Prior art keywords
data
test instruction
environment setting
logic
instruction string
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
JP2049048A
Other languages
Japanese (ja)
Inventor
Kaoru Suzuki
薫 鈴木
Keisuke Osakabe
啓介 刑部
Ikumi Yoshikawa
吉川 郁巳
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 Ltd
Hitachi Higashi Shohin Engineering KK
Original Assignee
Hitachi Ltd
Hitachi Higashi Shohin Engineering KK
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 Ltd, Hitachi Higashi Shohin Engineering KK filed Critical Hitachi Ltd
Priority to JP2049048A priority Critical patent/JPH03250225A/en
Publication of JPH03250225A publication Critical patent/JPH03250225A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To eliminate the need for the preparation of a test instruction string or an initial environment setting condition at every logical simulation object by providing a means to set the converted test instruction string and the initial environment setting condition on a logic simulator. CONSTITUTION:A data file read part 4 reads out a test instruction train 200 for logical simulation stored by a data input part 2 and RAM initial value data 300 at the time of test instruction string execution from a data file group 11 and delivers the data to data conversion parts 51-5n corresponding to hardwares as the objects of the logical simulation. The data conversion parts 51-5n convert the prepared test instruction string 200 for logical simulation and RAM Initial value data 300 at the time of the test instruction string execution to the data specification of the hardwares as the objects of logical simulation. Thus, without preparing the test instruction string and initial environment setting condition depending on the internal specification of the logical simulation objects, logical inspection can be executed with high performance and high accuracy by stored and controlled logical inspection resources.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理シミュレータを用いて論理検証する際の
論理検証資産を再利用するようにした論理シミュレーシ
ョン環境設定方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic simulation environment setting method that reuses logic verification assets when logic verification is performed using a logic simulator.

〔従来技術〕[Prior art]

従来、論理シミュレータを用いて詳細な論理検証を実施
する際、論理シミュレーションテスト命令列と論理シミ
ュレーション初期環境設定条件を論理シミュレーション
対象の内部仕様に合わせて個々に作成していた。
Conventionally, when performing detailed logic verification using a logic simulator, logic simulation test instruction sequences and logic simulation initial environment setting conditions have been individually created in accordance with the internal specifications of the logic simulation target.

なお、この種の公知文献としては特開平1−20954
2号公報が挙げられる。
In addition, as a known document of this type, Japanese Patent Application Laid-Open No. 1-20954
Publication No. 2 is mentioned.

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

上記従来技術では、内部仕様の異なる複数の論理シミュ
レーション対象を論理シミュレータを用いて検証する点
について配慮がされておらず、論理シミュレーション対
象となる論理構成に対応した論理シミュレーションテス
ト命令列と論理シミュレーション初期環境設定条件をそ
れぞれ個別に作成しなければならないという問題があっ
た。
The above conventional technology does not take into consideration the fact that multiple logic simulation targets with different internal specifications are verified using a logic simulator, and the logic simulation test instruction sequence corresponding to the logic configuration to be the logic simulation target and logic simulation initial stage are not considered. There was a problem in that each environment setting condition had to be created individually.

本発明は、前記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、論理シミュレーション対象毎にテスト
命令列、初期環境設定条件を作成する必要がない論理シ
ミュレーション環境設定方式を提供することにある。
An object of the present invention is to provide a logic simulation environment setting method that does not require creating a test instruction sequence and initial environment setting conditions for each logic simulation target.

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

前記目的を達成するために、本発明は、論理シミュレー
ションテスト命令列と論理シミュレーション初期環境設
定条件を論理シミュレーション対象の仕様に依存しない
形式で作成、蓄積する手段と、該作成されたテスト命令
列と初期環境設定条件を論理シミュレーション対象の仕
様に変換する手段と、該変換されたテスト命令列と初期
環境設定条件を論理シミュレータに設定する手段とを有
することにより達成される。
In order to achieve the above object, the present invention provides a means for creating and storing a logic simulation test instruction string and logic simulation initial environment setting conditions in a format that does not depend on the specifications of the object of logic simulation, and a means for creating and storing a logic simulation test instruction string and logic simulation initial environment setting conditions, and This is achieved by having means for converting initial environment setting conditions into specifications for a logic simulation target, and means for setting the converted test instruction sequence and initial environment setting conditions in a logic simulator.

〔作 用〕[For production]

前述した手段によれば、テスト命令列と初期環境設定条
件を、論理シミュレーション対象の内部仕様に依存しな
い書式で作成・蓄積・管理することによって、異なる内
部仕様で設計された論理シミュレーション対象の論理検
証を行う際に、論理シミュレーション対象の内部仕様に
依存したテスト命令列と初期環境設定条件を作成するこ
となく、蓄積・管理された論理検証資産によって高性能
、高精度な論理検証ができる。
According to the above-mentioned means, by creating, storing, and managing test instruction sequences and initial environment setting conditions in a format that does not depend on the internal specifications of the logic simulation target, logic verification of the logic simulation target designed with different internal specifications is possible. When performing a logic simulation, it is possible to perform high-performance, high-precision logic verification using accumulated and managed logic verification assets without creating test instruction sequences and initial environment setting conditions that depend on the internal specifications of the logic simulation target.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1図は、本発明の一実施例に係る論理シミュレーショ
ン環境設定方式の全体構成を示す図、第2@は、論理シ
ミュレーション用テスト命令列を示す図、第3図は、テ
スト命令列実行時のRAM初期値データを示す図、第4
.5図は、論理シミュレーション対象ハードウェア用に
作成されたデータの一例を示す図である。
Fig. 1 is a diagram showing the overall configuration of a logic simulation environment setting method according to an embodiment of the present invention, Fig. 2 is a diagram showing a test instruction string for logic simulation, and Fig. 3 is a diagram showing the test instruction string execution time. Figure 4 showing RAM initial value data of
.. FIG. 5 is a diagram showing an example of data created for hardware to be subjected to logic simulation.

第1図において、ホスト計算機工は、データ入力部2、
システム制御部3.データファイル読み出し部4、デー
タ変換部5l−5n、fa連理シミュレータ制御6から
構成されている。さらにこのホスト計算機1には、論理
シミュレータ7、キーボード8、TSS端末9、プリン
タ!0.データファイル群11が接続されている。
In FIG. 1, the host computer engineer has a data input section 2,
System control unit 3. It is composed of a data file reading section 4, data converting sections 5l-5n, and a fa-coupling simulator control 6. Furthermore, this host computer 1 includes a logic simulator 7, a keyboard 8, a TSS terminal 9, and a printer! 0. A data file group 11 is connected.

データ入力部2は、TSS端末9にマンマシンインタフ
ェース画面を表示し、オペレータとの会話により論理シ
ミュレーション用テスト命令列200およびテスト命令
列実行時のRAM初期値データ300(プログラマブル
レジスタ、メモリ及びハードウェアレジスタ、メモリ)
の作成、更新を行い、作成されたデータをデータファイ
ル群11に蓄積する。
The data input unit 2 displays a man-machine interface screen on the TSS terminal 9 and, through conversation with the operator, inputs a logic simulation test instruction string 200 and RAM initial value data 300 (programmable registers, memory and hardware registers, memory)
is created and updated, and the created data is stored in the data file group 11.

データファイル読み出し部4は、データ入力部2により
蓄積された論理シミュレーション用テスト命令列200
およびテスト命令列実行時のRAM初期値データ300
をデータファイル群11から読み出し、論理シミュレー
ション対象ハードウェアに対応するデータ変換部51=
5nにデータを渡す。
The data file reading unit 4 reads the logic simulation test instruction sequence 200 accumulated by the data input unit 2.
and RAM initial value data 300 when executing a test instruction string
is read from the data file group 11, and the data conversion unit 51 =
Pass the data to 5n.

この時、論理シミュレーション対象ハードウェアの選択
はオペレータが指示する。
At this time, the operator instructs the selection of hardware to be subjected to logical simulation.

データ変換部51〜5nは、作成された論理シミュレー
ション用テスト命令列200およびテスト命令列実行時
のRAM初期値データ300を、論理シミュレーション
対象ハードウェアのデータ仕様に変換する。
The data conversion units 51 to 5n convert the created logic simulation test instruction string 200 and the RAM initial value data 300 at the time of execution of the test instruction string into data specifications of the logic simulation target hardware.

メモリ、キャシュメモリを除くハードウェアRAMへの
データ設定は、テスト命令列実行時のRAM初期値デー
タ300の中から、論理シミュレーション対象ハードウ
ェアのハードウェアRAMデータの作成に必要な要素3
01を抽出しデータを生成する方法と、論理シミュレー
ション用テスト命令列中の指定された個所201に設定
指示ビットを立てる方法によって行う。
Data setting to hardware RAM excluding memory and cache memory is performed using elements 3 necessary for creating hardware RAM data of hardware to be subjected to logic simulation from among RAM initial value data 300 during test instruction sequence execution.
01 to generate data, and a method of setting a setting instruction bit at a designated location 201 in a test instruction string for logic simulation.

メモリ、キャシュメモリへのデータ設定は、論理シミュ
レーション用テスト命令列中の指定された個所202に
設定指示ビットを立てることにより命令及びデータを設
定する方法と、前述したと同様にテスト命令列実行時の
RAM初期値データとして指定302する方法によって
行う。
Data can be set in the memory and cache memory by setting the setting instruction bit at a specified location 202 in the test instruction string for logic simulation, and by setting the instruction and data when the test instruction string is executed as described above. This is done by specifying 302 as RAM initial value data.

そして、変換後のデータは、使用した論理シミュレーシ
ョン用テスト命令列200およびテスト命令列実行時の
RAM初期値データ300が同じであっても、異なるデ
ータ変換部51〜5nを用いて作成されるハードウェア
RAM及びメモリ等のデータは異なるものとなる。
Even if the logic simulation test instruction sequence 200 used and the RAM initial value data 300 at the time of test instruction sequence execution are the same, the data after conversion is generated using different data conversion units 51 to 5n. The data in the hardware RAM, memory, etc. will be different.

第4図にシミュレーション対象ハードウェアをA機種と
した場合のデータの流れと、A機種用に変換されたデー
タ400を、第5図にシミュレーション対象ハードウェ
アをB機種とした場合のデータの流れと、B機種用に変
換されたデータ500をそれぞれ示す。
Figure 4 shows the data flow when the simulation target hardware is model A, and the data 400 converted for model A, and Figure 5 shows the data flow when the simulation target hardware is model B. , respectively show data 500 converted for model B.

A機種用に変換されたデータ400と、B機種用に変換
されたデータ500は、それぞれ異なっているが、各論
理シミュレーション対象ハードウェアからみると全く同
じ内容であり、A機種用に変換されたデータ400を用
いてA機種をシミュレートした場合と、B機種用に変換
されたデータ500を用いてB機種をシミュレートした
場合とでは1両輪環シミュレーション対象ハードウェア
に対して同じ動作をさせることができる。
The data 400 converted for model A and the data 500 converted for model B are different, but from the perspective of each logic simulation target hardware, they have exactly the same content, and the data 500 converted for model A are different. When simulating model A using data 400 and when simulating model B using data 500 converted for model B, the same behavior must be performed on the hardware to be simulated. I can do it.

論理シミュレータ制御部6は、所定の手順で、論理シミ
ユレータ7内部のRAMにデータ変換部51〜5nで変
換されたデータを書き込み、書き込んだデータをTSS
端末9、プリンタ10に出力する。
The logic simulator control unit 6 writes the data converted by the data conversion units 51 to 5n into the RAM inside the logic simulator 7 according to a predetermined procedure, and stores the written data in the TSS.
Output to terminal 9 and printer 10.

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

以上、説明したように、本発明によれば、論理シミュレ
ーション対象毎にテスト命令列、初期環境設定条件を作
成する必要がなく、またテスト命令列データ、初期環境
設定条件データの一元管理も可能となる。
As explained above, according to the present invention, there is no need to create test instruction strings and initial environment setting conditions for each logical simulation target, and it is also possible to centrally manage test instruction string data and initial environment setting condition data. Become.

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

第1図は、本発明の一実施例に係る論理シミュレーショ
ン環境設定方式の全体構成を示す図、第2図は、論理シ
ミュレーション用テスト命令列を示す図。 第3図は、テスト命令列実行時のRAM初期値データを
示す図、 第4図及び第5図は、論理シミュレーション対象ハード
ウェア用に作成されたデータの一例を示す図である。
FIG. 1 is a diagram showing the overall configuration of a logic simulation environment setting method according to an embodiment of the present invention, and FIG. 2 is a diagram showing a test instruction sequence for logic simulation. FIG. 3 is a diagram showing RAM initial value data at the time of execution of a test instruction sequence, and FIGS. 4 and 5 are diagrams showing an example of data created for logic simulation target hardware.

Claims (1)

【特許請求の範囲】[Claims] 1、論理シミュレータを用いて論理検証を行うシミュレ
ーション方式において、論理シミュレーションテスト命
令列と論理シミュレーション初期環境設定条件を論理シ
ミュレーション対象の仕様に依存しない形式で作成、蓄
積する手段と、該作成されたテスト命令列と初期環境設
定条件を論理シミュレーション対象の仕様に変換する手
段と、該変換されたテスト命令列と初期環境設定条件を
論理シミュレータに設定する手段とを有することを特徴
とする論理シミュレーション環境設定方式。
1. In a simulation method that performs logic verification using a logic simulator, a means for creating and storing a logic simulation test instruction sequence and logic simulation initial environment setting conditions in a format that does not depend on the specifications of the logic simulation target, and a test created by the method A logic simulation environment setting comprising means for converting an instruction string and initial environment setting conditions into specifications for a logic simulation target, and means for setting the converted test instruction string and initial environment setting conditions in a logic simulator. method.
JP2049048A 1990-02-27 1990-02-27 Logical simulation environment setting method Pending JPH03250225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2049048A JPH03250225A (en) 1990-02-27 1990-02-27 Logical simulation environment setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2049048A JPH03250225A (en) 1990-02-27 1990-02-27 Logical simulation environment setting method

Publications (1)

Publication Number Publication Date
JPH03250225A true JPH03250225A (en) 1991-11-08

Family

ID=12820203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2049048A Pending JPH03250225A (en) 1990-02-27 1990-02-27 Logical simulation environment setting method

Country Status (1)

Country Link
JP (1) JPH03250225A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05274385A (en) * 1992-03-25 1993-10-22 Hitachi Ltd Logic verification environment controlling device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05274385A (en) * 1992-03-25 1993-10-22 Hitachi Ltd Logic verification environment controlling device

Similar Documents

Publication Publication Date Title
JP3027009B2 (en) Design capture system
US5960182A (en) Hardware-software co-simulation system, hardware-software co-simulation method, and computer-readable memory containing a hardware-software co-simulation program
JPS5948424B2 (en) parallel computing system
JPS63145549A (en) Logic circuit simulation method
JP5056511B2 (en) Verification support program, recording medium storing the program, verification support apparatus, and verification support method
US6853968B2 (en) Simulation of data processing apparatus
JPH03250225A (en) Logical simulation environment setting method
JP3212709B2 (en) Logic simulation device
US6898562B2 (en) Method and system for efficiently overriding net values in a logic simulator machine
JP3302547B2 (en) Method and system for creating test vector in logic simulator
JP2009140028A (en) Hardware verification programming description generation apparatus, hardware verification programming description generation method, control program, and readable recording medium
CN116701190A (en) A PC software testing method, system and medium of a pre-test recording device
JPH021572A (en) Logical simulation method
JPH05266124A (en) Method for preparing circuit element library for logic circuit simulation
JPS5938859A (en) High speed logical simulating system
JPH05282395A (en) Bidirectional pin input/output switching method for hardware simulator
Dearth et al. Networked object oriented verification with C++ and Verilog
JPH0895817A (en) Testing method for information processing equipment
JPH04233605A (en) Robot language editor
JPH0434624A (en) Parity data initial condition setting device
JPH01209542A (en) Logical verification device
JPH05324754A (en) Gate logic circuit generation method for logic simulation
JP2005122636A (en) Simulation model generation apparatus and method
JPH04117566A (en) Logic circuit verifying system
JP2002334126A (en) A hardware design verification device that operates in parallel