JPH03245270A - Setting system for logic simulation environment - Google Patents

Setting system for logic simulation environment

Info

Publication number
JPH03245270A
JPH03245270A JP2043570A JP4357090A JPH03245270A JP H03245270 A JPH03245270 A JP H03245270A JP 2043570 A JP2043570 A JP 2043570A JP 4357090 A JP4357090 A JP 4357090A JP H03245270 A JPH03245270 A JP H03245270A
Authority
JP
Japan
Prior art keywords
logic
test instruction
source code
loader
pseudo
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
JP2043570A
Other languages
Japanese (ja)
Inventor
Kaoru Suzuki
薫 鈴木
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
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP2043570A priority Critical patent/JPH03245270A/en
Publication of JPH03245270A publication Critical patent/JPH03245270A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate highly accurate verification by setting the logical signal/ driving timing with the action description and simultaneously with production of a logic verification program source. CONSTITUTION:A data input part 103 converts a logic verification test instruction inputted via a keyboard 101 of a TSS terminal and the pseudo RAM initial data and the action description obtained at execution of the test instruction into each prescribed format and stores these formats in a source code master file 107. A source code analyzing part 106 reads out a source code and gives a logic verification test instruction train part to a compiler 104 to start it. A compiled load module is set to a pseudo memory 109 via a loader 105. At the same time, a pseudo RAM data part is set to a pseudo RAM of a logic simulation processor 110 via the loader 105. A logic description part is registered in an action description file 108. Then the processor 110 is started by the loader 105 when all setting operations are through.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理シミュレーションにおける論理信号及び
信号値の設定方式に関し、特に大規模論理回路の論理動
作をシミュレートする論理シミュレーション環境設定方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for setting logic signals and signal values in logic simulation, and particularly to a method for setting a logic simulation environment for simulating the logic operation of a large-scale logic circuit.

〔従来技術〕[Prior art]

従来から、シミュレーション対象となる計算機論理が正
常に動作することを確認するために、論理検証プログラ
ムを走行させて論理シミュレーションを行っている。
Conventionally, logic simulations have been performed by running a logic verification program in order to confirm that computer logic to be simulated operates normally.

このような論理検証プログラムは、多様な論理動作環境
をソフトウェア命令レベルによって設定したものである
Such a logic verification program sets various logic operating environments at the software command level.

なお、この種の装置としては、特開平1−266676
号公報に記載のように、論理信号の状態変化を記述する
動作記述言語により論理シミュレーション処理を行なう
論理シミュレーション装置がある。
Note that this type of device is disclosed in Japanese Patent Application Laid-Open No. 1-266676.
As described in the above publication, there is a logic simulation device that performs logic simulation processing using a behavioral description language that describes state changes of logic signals.

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

上記従来技術では、論理検証プログラムのソスコードの
作成および実行形式モジュールの作成と、論理シミュレ
ーション実行環境を操作する動作記述の作成が個別に行
われ、かつまた別形態で管理されているために、管理が
複雑になるばかりでなく、論理シミュレーション実行時
に、該プログラムと動作記述の整合性を採ることが難し
いという問題があった。
In the above conventional technology, the creation of the source code of the logic verification program, the creation of the executable format module, and the creation of the behavioral description for operating the logic simulation execution environment are performed separately and are managed in different formats. There is a problem that not only is the program complicated, but also that it is difficult to ensure consistency between the program and the behavioral description when executing a logic simulation.

本発明は、前記問題点を解決するためになされたもので
ある。
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 simultaneously creates a logic verification program and a behavioral description and centrally manages them as source code.

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

前記目的を達成するために、本発明によれば、テスト命
令列と初期設定条件と動作記述部を入力する手段と、該
テスト命令列をコンパイルする手段と、前記テスト命令
列と前記初期設定条件を擬似メモリにロードして論理シ
ミュレーションを実行する手段と、前記動作記述部を論
理シミュレション処理装置に引き渡す手段とを備えてい
る。
In order to achieve the above object, the present invention provides means for inputting a test instruction string, initial setting conditions, and a behavior description section, means for compiling the test instruction string, and inputting the test instruction string and the initial setting conditions. The method includes means for loading the behavioral description section into a pseudo memory and executing a logical simulation, and means for delivering the behavioral description section to a logical simulation processing device.

〔作 用〕[For production]

前述した手段によれば、論理検証プログラム作成時に、
ソフトウェアでは設定が困難であるか、または不可能な
論理シミュレーション環境を動作記述言語を用いること
によって設定できるので、容易に高精度な検証が可能と
なる。
According to the above-mentioned means, when creating a logic verification program,
Since a logical simulation environment that is difficult or impossible to set using software can be set using a behavioral description language, highly accurate verification is easily possible.

〔実施例〕〔Example〕

以下1本発明の一実施例を図面を用いて具体的に説明す
る。
An embodiment of the present invention will be specifically described below with reference to the drawings.

第1図は、本発明に係る論理シミュレーション環境設定
方式の一実施例の構成図を示す。第19図において、ホ
スト計算機102は、データ入力部103、コンパイラ
104、ローダ105、ソースコード解析部106より
なり、さらに該ホスト計算機102には、TS S 端
末101、ソースコードマスクファイル107、動作記
述ファイル108、擬似メモリ109、論理シミュレー
ション処理装置110が接続されている。
FIG. 1 shows a configuration diagram of an embodiment of a logic simulation environment setting method according to the present invention. In FIG. 19, the host computer 102 includes a data input section 103, a compiler 104, a loader 105, and a source code analysis section 106, and further includes a TSS terminal 101, a source code mask file 107, and a behavior description. A file 108, a pseudo memory 109, and a logic simulation processing device 110 are connected.

−3= データ入力部103は、TSS端末101のキーボドか
ら入力される論理検証用テスト命令列及びテスト命令列
実行時の擬似RA、 M初期データ(レジスタ、メモリ
)及び動作記述を所定のフォーマットに変換して、ソー
スコードマスクファイル107に格納する。
-3= The data input unit 103 converts the logic verification test instruction sequence, pseudo RA, M initial data (registers, memory) and operational description during execution of the test instruction sequence input from the keyboard of the TSS terminal 101 into a predetermined format. It is converted and stored in the source code mask file 107.

ソースコード解析部106は、ソースコードを読み出し
、論理検証用テスト命令列部分をコンパイラに引き渡し
、コンパイラ104を起動する。コンパイル後のロード
モジュールは、ローダ105を介して擬似メモリ109
へ設定される。又、レジスタデータ等の擬似RAMデー
タ部分は、直接ローダ105を介して論理シミュレーシ
ョン処理装置110側の擬似RAMへ設定される。動作
記述部分は、論理シミュレーション処理装置がデータ入
力の対象とする動作記述ファイル108へ登録される。
The source code analysis unit 106 reads the source code, passes the logic verification test instruction string portion to the compiler, and starts the compiler 104. The compiled load module is stored in the pseudo memory 109 via the loader 105.
is set to Further, the pseudo RAM data portion such as register data is directly set to the pseudo RAM on the logic simulation processing device 110 side via the loader 105. The behavioral description portion is registered in the behavioral description file 108 to which the logic simulation processing device inputs data.

全ての設定が終了した後、ローダが論理シミュレーショ
ン処理装置を起動する。
After all settings are completed, the loader starts the logic simulation processing device.

第2図は、第1図のソースコードマスクファイル107
のデータ形式の一実施例を示している。PSW201は
、論理シミュレーション開始アドレス及びシステム制御
マスク等を示している。lN5T202は、命令をロケ
ートする命令アドレス、命令ニモニックオペランドをそ
れぞれ示している。
Figure 2 shows the source code mask file 107 in Figure 1.
An example of the data format is shown. The PSW 201 indicates a logical simulation start address, a system control mask, and the like. 1N5T 202 indicates an instruction address for locating an instruction and an instruction mnemonic operand, respectively.

LAは、ロードアドレス命令、Lはロード命令、STは
、ストア命令、BCTは、分岐命令を示し、これらが論
理検証プログラムの試験命令列となるものである。
LA indicates a load address instruction, L indicates a load instruction, ST indicates a store instruction, and BCT indicates a branch instruction, and these are the test instruction string of the logic verification program.

F N C203は動作記述である。すなわち、DS文
は、D M、 Yと言う名称の信号を宣言し、初期値を
ゼロに設定している。次のON文は、C8ADがLとな
った場合、以下に続<EX文をそのタイミングで実行す
る事を意味しており、該EX文は、TLB (トランス
レーション・ルック・アサイド・バッファ)をキャンセ
ルする処理を実行する擬似論理T L B M I S
 Sを起動しており、次のEX文は、DMY信号値を1
0サイクルの間1に固定する。次のON文及びEX文は
、DATEND及びDMY信号が共に1となった場合、
5TBUSY信号を5サイクルの間1に設定するという
、動作を記述したものである。
FNC203 is a behavioral description. That is, the DS statement declares signals named DM, Y, and sets the initial value to zero. The next ON statement means that when C8AD becomes L, the following < EX statement will be executed at that timing, and this EX statement uses the TLB (Translation Look Aside Buffer). Pseudo-logic T L B M I S that executes the process to cancel
S is running, and the next EX statement sets the DMY signal value to 1.
Fixed to 1 during 0 cycles. In the following ON statement and EX statement, when both the DATEND and DMY signals become 1,
This describes the operation of setting the 5TBUSY signal to 1 for 5 cycles.

F記した設定によって、論理検証プログラム試験命令列
が論理シミュレーション処理装置」二で実行されると、
前述した動作記述によってT L Bキャンセル及びア
ドレス変換処理及びストア動作ビジー状態が同時に発生
し、該試験命令列のみでは実行できない複雑な環境での
試験が可能となる。
When the logic verification program test command sequence is executed by the logic simulation processing device 2 according to the settings described in F,
The above-mentioned behavioral description causes TLB cancellation, address translation processing, and store operation busy state to occur simultaneously, making it possible to test in a complex environment that cannot be executed using only the test instruction sequence.

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

以上、説明したように、本発明によれば、論理シミュレ
ーターLで動作する論理検証プログラムソース作成時に
、同時に動作記述によって論理信号の設定、駆動タイミ
ングの設定等ができるので、プログラムソースとシミュ
レーション環境設定情報の一元管理が可能となり、また
高精度な論理検証を効率よく行うことができる。
As described above, according to the present invention, when creating the logic verification program source that runs on the logic simulator L, it is possible to simultaneously set the logic signals, drive timing, etc. using the behavioral description, so the program source and simulation environment settings can be made. It becomes possible to centrally manage information and efficiently perform highly accurate logic verification.

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

第1図は、本発明の論理シミュレーション環境設定方式
の一実施例の構成図、 第2図は、ソースコードマスクファイルのデータ形式の
一実施例を示す図である。 図中、103・・・データ入力部、104・・・コンパ
イラ、105・・・ローダ、106・・・ソースコード
解析部、107・・・ソースコードマスクファイル、1
08・・・動作記述ファイル、110・・・論理シミュ
レーション処理装置。
FIG. 1 is a block diagram of an embodiment of the logical simulation environment setting method of the present invention, and FIG. 2 is a diagram showing an embodiment of the data format of a source code mask file. In the figure, 103... data input section, 104... compiler, 105... loader, 106... source code analysis section, 107... source code mask file, 1
08...Behavior description file, 110...Logic simulation processing device.

Claims (1)

【特許請求の範囲】 1、論理回路の動作をシミュレートする論理シミュレー
ションにおいて、テスト命令列と初期設定条件と動作記
述部を入力する手段と、該テスト命令列をコンパイルす
る手段と、前記テスト命令列と前記初期設定条件を擬似
メモリにロードして論理シミュレーションを実行する手
段と、前記動作記述部を論理シミュレーション処理装置
に引き渡す手段とを有することを特徴とする論理シミュ
レーション環境設定方式。 2、前記テスト命令列と前記動作記述部は、ソースコー
ドマスタファイル中に同一のソースコードとして管理さ
れていることを特徴とする請求項1記載の論理シミュレ
ーション環境設定方式。 3、前記動作記述部は、論理信号名とその論理値、およ
び駆動タイミングを設定することを特徴とする請求項1
記載の論理シミュレーション環境設定方式。
[Claims] 1. In a logic simulation that simulates the operation of a logic circuit, means for inputting a test instruction string, initial setting conditions, and a behavior description section, means for compiling the test instruction string, and the test instruction A logical simulation environment setting method comprising: means for loading the sequence and the initial setting conditions into a pseudo memory to execute a logical simulation; and means for delivering the behavioral description part to a logical simulation processing device. 2. The logic simulation environment setting method according to claim 1, wherein the test instruction sequence and the behavioral description section are managed as the same source code in a source code master file. 3. Claim 1, wherein the behavior description section sets a logical signal name, its logical value, and drive timing.
The logical simulation environment setting method described.
JP2043570A 1990-02-22 1990-02-22 Setting system for logic simulation environment Pending JPH03245270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2043570A JPH03245270A (en) 1990-02-22 1990-02-22 Setting system for logic simulation environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2043570A JPH03245270A (en) 1990-02-22 1990-02-22 Setting system for logic simulation environment

Publications (1)

Publication Number Publication Date
JPH03245270A true JPH03245270A (en) 1991-10-31

Family

ID=12667408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2043570A Pending JPH03245270A (en) 1990-02-22 1990-02-22 Setting system for logic simulation environment

Country Status (1)

Country Link
JP (1) JPH03245270A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01209542A (en) * 1988-02-17 1989-08-23 Hitachi Ltd Logical verification device
JPH01266676A (en) * 1988-04-18 1989-10-24 Hitachi Ltd Logical simulation processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01209542A (en) * 1988-02-17 1989-08-23 Hitachi Ltd Logical verification device
JPH01266676A (en) * 1988-04-18 1989-10-24 Hitachi Ltd Logical simulation processor

Similar Documents

Publication Publication Date Title
US6467082B1 (en) Methods and apparatus for simulating external linkage points and control transfers in source translation systems
US5363501A (en) Method for computer system development verification and testing using portable diagnostic/testing programs
JPH03188535A (en) Assembly language programming error detecting process
JPH11505645A (en) Apparatus and method for simulating a digital system based on a processor
JPH08314760A (en) Program development supporting device
JP2828590B2 (en) Microprogram verification method
JPH03245270A (en) Setting system for logic simulation environment
JPS6349851A (en) Simulation system
JP2943590B2 (en) Interpreted simulation method
JPH10260865A (en) Simulation system
JP2882876B2 (en) Program test method
JPS6334644A (en) Simulator with functional level
JPH07121405A (en) Simulation system
JP3137094B2 (en) Simulation method, simulation device, and recording medium therefor
JPS6091455A (en) Simulation system of logical circuit
JPH0561934A (en) Logical simulation system
JPH05250221A (en) Simulator execution system
JPH11282693A (en) Mcu simulation device, its simulation method and computer redable recording medium recording simulation program
JPS6299837A (en) Check system for input and output processor
JPH04184569A (en) Method for processing simulation of logic system
JPS63126043A (en) Logic simulator
JPS6143347A (en) Simulation method of vector instruction
JPH01209542A (en) Logical verification device
JPH04333171A (en) Device for simulation
JPH0352038A (en) Debugging device