JP2990882B2 - Functional simulation device - Google Patents

Functional simulation device

Info

Publication number
JP2990882B2
JP2990882B2 JP3221491A JP22149191A JP2990882B2 JP 2990882 B2 JP2990882 B2 JP 2990882B2 JP 3221491 A JP3221491 A JP 3221491A JP 22149191 A JP22149191 A JP 22149191A JP 2990882 B2 JP2990882 B2 JP 2990882B2
Authority
JP
Japan
Prior art keywords
simulation
evaluation program
assignment
event
assignment statement
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
JP3221491A
Other languages
Japanese (ja)
Other versions
JPH0561932A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3221491A priority Critical patent/JP2990882B2/en
Publication of JPH0561932A publication Critical patent/JPH0561932A/en
Application granted granted Critical
Publication of JP2990882B2 publication Critical patent/JP2990882B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【 産業上の利用分野】本発明は論理装置の設計におい
て、設計された論理装置の動作検証を行う機能シミュレ
ーション装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a function simulation apparatus for verifying the operation of a designed logic device in designing the logic device.

【0002】[0002]

【従来の技術】近年、大規模、複雑化する論理装置、特
にLSIなどを効率的に開発するために、レジスタ転送
レベルで機能設計を行い、機能シミュレーション装置に
よって早期検証することが重要になっている。
2. Description of the Related Art In recent years, in order to efficiently develop a large-scale and complicated logic device, particularly an LSI, etc., it has become important to design a function at a register transfer level and to perform early verification by a function simulation device. I have.

【0003】レジスタ転送レベルの機能設計では、論理
装置を構成する機能素子として、レジスタ、ラッチ、バ
ス、加算器などを用いる。機能記述言語は、以上のよう
な機能素子を用いた回路の動作を記述する言語であり、
機能素子の信号値を機能素子に代入する代入文から構成
されている。これらの信号の流れを示す代入文には、代
入される信号値を保持する機能素子を選択する機能を付
加した記述や代入されるレジスタの同期信号の指定を付
加される。記述中の各代入文は、互いに平行な信号値の
代入を意味し、機能記述は、任意の時点の回路の並列な
動作を表すものである。
In the function design at the register transfer level, registers, latches, buses, adders, and the like are used as functional elements constituting a logic device. A function description language is a language that describes the operation of a circuit using the above functional elements,
It consists of an assignment statement for assigning the signal value of the functional element to the functional element. The assignment statement indicating the flow of these signals is accompanied by a description having a function of selecting a functional element holding a signal value to be substituted and designation of a synchronization signal of a register to be substituted. Each assignment statement in the description means the assignment of signal values parallel to each other, and the function description indicates a parallel operation of the circuit at an arbitrary time.

【0004】レジスタ転送レベルの機能記述言語によっ
て記述された設計結果をシミュレーションする方法とし
て、大きくイベント駆動法とコンパイル法がある。
As a method of simulating a design result described by a register transfer level function description language, there are mainly an event driving method and a compiling method.

【0005】イベント駆動法では、シミュレーションの
各時刻で、変化した信号値を代入する代入文のみを選択
して評価し、代入された機能素子において新たに信号値
の変化があれば、この機能素子を信号値の変化があった
ものとして記憶する。信号値の変化した機能素子と変化
した信号値をイベントと呼ぶ。次の時刻では、記憶され
たイベントに基づいて機能素子の信号値を更新し、代入
文を選択し評価を行なう。イベントはタイムホイールと
呼ばれるバッファに記憶され、指定された伝搬遅延時間
が経過すると取り出される。代入文を評価するために、
前処理で生成された逆ポーランド形式の評価用コードが
用いられる。
In the event driving method, at each time of a simulation, only an assignment statement for assigning a changed signal value is selected and evaluated. If there is a new signal value change in the assigned functional element, this functional element Is stored as if there was a change in the signal value. The functional element having a changed signal value and the changed signal value are called an event. At the next time, the signal value of the functional element is updated based on the stored event, and an assignment statement is selected and evaluated. Events are stored in a buffer called a time wheel, and are retrieved when a specified propagation delay time has elapsed. To evaluate an assignment statement,
The reverse Polish style evaluation code generated in the preprocessing is used.

【0006】この他、各代入文を機能素子と機能素子の
接続記述に展開して通常の論理シミュレーションの場合
と同様にイベント駆動法を適用する方法がある。
In addition, there is a method in which each assignment statement is developed into a description of connection between functional elements and the event driving method is applied in the same manner as in normal logic simulation.

【0007】イベント駆動法は、イベントに基づいて必
要な代入文のみを選択して評価する方法であるが、イベ
ントの処理や、評価する必要のある代入文を選択し、代
入文を逆ポーランド形式のコードを評価する時間がかか
るため、処理速度が遅くなっている。
The event-driven method is a method of selecting and evaluating only a necessary assignment statement based on an event. However, the processing of an event or an assignment statement that needs to be evaluated is selected, and the assignment statement is converted into a reverse Polish form. Because it takes time to evaluate the code, the processing speed is slow.

【0008】一方、シミュレーション精度をある程度落
してシミュレーションの高速化を図る方式としてコンパ
イル法がある。コンパイル法では、同一の同期信号で動
作する完全な同期回路としてモデル化された設計のみを
扱う。つまり、すべての信号変化は同期信号の変化点で
のみ起きるものとして、同期信号の変化点でのみ代入文
の評価を行なう。代入文の評価は、機能記述から生成さ
れたコンピュータプログラムよって一括して行なわれ
る。
On the other hand, there is a compiling method as a method for speeding up the simulation by lowering the simulation accuracy to some extent. The compilation method deals only with designs that are modeled as complete synchronous circuits that operate on the same synchronous signal. That is, assuming that all signal changes occur only at the synchronization signal change points, the assignment statement is evaluated only at the synchronization signal change points. The evaluation of the assignment statement is performed collectively by a computer program generated from the function description.

【0009】[0009]

【発明が解決しようとする課題】従来のイベント駆動法
を適用した機能シミュレーション装置では、非同期な回
路動作のシミュレーション、つまり非同期なタイミング
での信号値の代入の評価や遅延時間の評価が可能である
が、コンパイル法に比較して処理速度が遅い。一方のコ
ンパイル法は、処理は高速であるが、非同期な回路動作
や遅延時間を扱えない。従って非同期な回路動作や遅延
時間を扱うシミュレーション装置を実現するためには、
基本的にイベント駆動法を適用する必要がある。
The function simulation apparatus to which the conventional event driving method is applied can simulate asynchronous circuit operation, that is, evaluate signal value substitution and delay time at asynchronous timing. However, the processing speed is slower than the compiling method. On the other hand, the compile method is fast in processing, but cannot handle asynchronous circuit operation and delay time. Therefore, to realize a simulation device that handles asynchronous circuit operation and delay time,
Basically, it is necessary to apply the event driven method.

【0010】従来のイベント駆動法を適用した場合、以
下の原因で処理速度が遅くなると考えられる。
When the conventional event driving method is applied, the processing speed is considered to be reduced due to the following reasons.

【0011】第1の原因は、代入文毎にイベントを用い
た評価の制御を行うためイベント処理のオーバヘッドが
大きいことである。回路中で実際に信号値が変化してい
る部分の割合に対して、イベントによって評価を制御さ
れる部分回路の規模が大きいとイベント処理のオーバヘ
ッドが大きくなる。同期回路では、同期信号の変化点で
回路のほとんどの部分が動作しており、代入文毎にイベ
ントによって評価を制御するとイベント処理のオーバヘ
ッドがコンパイル法に比較して極めて大きくなる。通常
の回路設計では、同期して動作する部分回路は全体の2
0%以上であるといわれている。
A first cause is that the overhead of event processing is large because control of evaluation using an event is performed for each assignment statement. If the scale of the partial circuit whose evaluation is controlled by the event is large relative to the ratio of the portion where the signal value actually changes in the circuit, the overhead of event processing increases. In a synchronous circuit, most parts of the circuit operate at the change points of the synchronous signal. If the evaluation is controlled by an event for each assignment statement, the overhead of event processing becomes extremely large as compared with the compile method. In a normal circuit design, a partial circuit operating synchronously has two
It is said to be more than 0%.

【0012】第2の原因は、各代入文の評価を行なう処
理が効率的でないことである。以上2点の原因によるシ
ミュレーション処理時間の増大は、非同期な回路動作の
シミュレーションを行なうためには改善が難しい点もあ
る。しかし、処理の高速化を可能とする改善点が、イベ
ント駆動法にはいくつか残されていた。
A second cause is that the process of evaluating each assignment statement is not efficient. The increase in the simulation processing time due to the above two points may be difficult to improve in order to simulate an asynchronous circuit operation. However, there are some improvements in the event-driven method that make the processing faster.

【0013】まず、非同期なタイミングでの信号値の代
入の評価は、代入文毎にイベントに基づいて評価する必
要があるが、同一の同期信号によって代入を行なう代入
文の評価は、個々の代入文毎にイベントを用いて評価す
る必要はない。このような同期信号に基づく代入文の評
価を個々に行なうためのイベント処理が処理上の無駄で
あった。
First, it is necessary to evaluate the assignment of a signal value at an asynchronous timing based on an event for each assignment statement. However, the evaluation of an assignment statement in which assignment is performed by the same synchronous signal is performed for each assignment statement. It is not necessary to evaluate each sentence using an event. Event processing for individually evaluating the assignment statements based on such a synchronization signal is useless in processing.

【0014】次に各代入文の評価、特に演算式の評価等
は、逆ポーランド形式などのコードを逐次読み出し評価
していた。このようなコードを読み出し、翻訳実行する
処理は、コンパイルされた機械語を直接実行する場合に
比べ処理速度が遅くなっていた。
Next, the evaluation of each assignment statement, particularly the evaluation of an arithmetic expression, etc., was performed by sequentially reading and evaluating a code in a reverse Polish format or the like. The processing of reading and translating such a code is slower than the processing of directly executing a compiled machine language.

【0015】さらに同期信号に従って代入を行なう代入
文は、同期信号に相当する機能素子の信号値が変化した
時点でのみ信号値を代入する動作を記述している。この
ため、代入される信号値が変化していても同期信号が変
化していない場合は、代入文を評価する必要がない。従
って、上記のような代入文に対する同期信号以外のイベ
ントの処理とこのイベントによる評価プログラムの実行
は無駄であった。
Further, an assignment statement for performing assignment in accordance with a synchronization signal describes an operation of assigning a signal value only when a signal value of a functional element corresponding to the synchronization signal changes. Therefore, if the signal value to be substituted has changed but the synchronization signal has not changed, it is not necessary to evaluate the substitution statement. Therefore, processing of an event other than the synchronization signal for the above assignment statement and execution of the evaluation program by this event are useless.

【0016】以上に述べた処理速度の問題は、機能記述
の仕方にも左右される。このため、より高速なシミュレ
ーションを行なうために、回路設計者が回路をモデル化
するという観点以外にシミュレーションの処理を意識し
て高速化という観点で機能記述をしなければならないと
いう問題にもつながっていた。
The problem of the processing speed described above also depends on how to describe functions. This has led to the problem that, in order to perform higher-speed simulations, circuit designers must describe functions in terms of speedup in consideration of simulation processing in addition to modeling circuits. Was.

【0017】従来の機能シミュレーション装置は以上の
ような数々の問題点を有していた。本発明は上記問題点
に鑑み、イベント駆動法を適用して高速に機能シミュレ
ーションを行なう機能シミュレーション装置を提供する
ものである。
The conventional function simulation apparatus has a number of problems as described above. SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides a function simulation apparatus that performs a function simulation at high speed by applying an event driving method.

【0018】[0018]

【課題を解決するための手段】上記問題点を解決するた
めに本発明では、機能記述言語による機能記述を構文解
析し、被シミュレーション対象の論理装置を構成する機
能素子に信号値を代入する代入文を抽出し、抽出された
前記代入文のうち同一の同期信号によって代入を行なう
代入文を選択し、同一の同期信号を持つ代入文を一括し
て評価する評価プログラムを生成するシミュレーション
データ生成手段を備え、シミュレーションデータ生成手
段によって評価プログラム群を生成し、イベント駆動法
により生成された前記評価用プログラムを起動して、
機能記述中の代入文を評価することを特徴とする機能シ
ミュレーション装置を提供する。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention analyzes the syntax of a functional description in a functional description language and substitutes a signal value for a functional element constituting a logic device to be simulated. Simulation data generating means for extracting a sentence, selecting an assignment statement to be assigned by the same synchronization signal from the extracted assignment statements, and generating an evaluation program for collectively evaluating assignment statements having the same synchronization signal the provided, by the simulation data generating means to generate an evaluation program group, start the evaluation program group generated by event-driven method,
Provided is a function simulation device that evaluates an assignment statement in a function description.

【0019】さらに、前評価プログラム生成手段によ
って生成された評価プログラムを駆動するイベントのう
ち、当該評価プログラムの同期信号イベントのみを選択
するイベント選択手段とを備え、機能記述から前記構文
解析手段を用いて代入文を抽出し、前記代入文選択手段
により機能記述で用いられる同期信号毎に代入文を選択
し、前記評価プログラム生成手段によって評価プログラ
ム群を生成し、前イベント選択手段によって評価プロ
グラムを駆動するイベントを選択し、シミュレーション
実行時に同期信号を持つ代入文の評価プログラムが、対
応する同期信号が変化したイベントによってのみ実行さ
れることを特徴とする機能シミュレーション装置を提供
する。
Furthermore, among the events that drive the evaluation program generated by the prior Symbol evaluation program generating means, and a event selection means for selecting only the synchronizing signal events of the evaluation program, the syntax analysis unit from the functional description It used to extract the assignment statement, select the assignment statement for each synchronization signal used in the function described by the assignment statement selecting means to generate an evaluation program group by the evaluation program generating means, evaluated by the prior SL event selection section program And a function simulation device for selecting an event that drives the, and executing an evaluation program for an assignment statement having a synchronization signal at the time of simulation execution only by an event in which the corresponding synchronization signal has changed.

【0020】[0020]

【作用】本発明の第1の機能シミュレーション装置で
は、同一の同期信号による代入文の評価を単一のコンピ
ュータプログラムによって一括して評価を行なう。これ
によって同一の同期信号のイベントを重複して処理する
オーバヘッドを削減でき、処理の高速化を図ることが可
能となる。また、このコンピュータプログラムは、あら
かじめ機械語レベルまでコンパイルされ実行されるの
で、逐次コードを読み出して評価する方法に比べ効率が
良い。
According to the first functional simulation apparatus of the present invention, the evaluation of assignment statements by the same synchronization signal is collectively evaluated by a single computer program. As a result, it is possible to reduce the overhead of processing the event of the same synchronization signal redundantly, and to speed up the processing. Further, since this computer program is compiled and executed up to the machine language level in advance, it is more efficient than a method of sequentially reading and evaluating codes.

【0021】さらにシミュレーション実行時に同期信号
に従って代入を行なう代入文は、同期信号のイベントで
のみ代入文を評価するため、同期信号以外のイベントに
よって同期信号を持つ代入文を評価する処理を削減し
た。
Further, in the case of an assignment statement that performs an assignment in accordance with a synchronization signal during execution of a simulation, the assignment statement is evaluated only by an event of the synchronization signal. Therefore, the process of evaluating an assignment statement having a synchronization signal by an event other than the synchronization signal is reduced.

【0022】上記の作用によって本発明の機能シミュレ
ーション装置では、高速に処理を行なう機能シミュレー
ションを可能としている。
With the above operation, the function simulation apparatus of the present invention enables a function simulation for performing high-speed processing.

【0023】[0023]

【実施例】まず本発明の第1の実施例における機能シミ
ュレーション装置について図面を参照しながら説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a functional simulation apparatus according to a first embodiment of the present invention will be described with reference to the drawings.

【0024】本実施例の目的は、同一の同期信号のイベ
ントを重複して処理するオーバヘッドを削減し、機能シ
ミュレーションの高速化を図ることにある。
An object of the present embodiment is to reduce the overhead of processing the event of the same synchronization signal redundantly and to speed up the function simulation.

【0025】図1は、本実施例の機能シミュレーション
装置の構成図である。図1において、11は機能記述を
入力としてシミュレーション用データを生成するシミュ
レーションデータ生成手段である。イベント駆動法によ
って機能シミュレーションを行なうためにシミュレーシ
ョンデータ生成手段11は、機能記述中で使用される機
能素子リストと機能記述中の各代入文を評価するコンピ
ュータプログラムである評価プログラムと駆動先リスト
を生成する。駆動先リストは、信号値が更新された機能
素子を意味するイベントとイベントにより駆動する評価
プログラムの対応を示すリストであり、イベントをキイ
とした評価プログラム識別子のリストである。
FIG. 1 is a configuration diagram of a function simulation apparatus according to the present embodiment. In FIG. 1, reference numeral 11 denotes simulation data generation means for generating simulation data by inputting a function description. In order to perform a function simulation by the event driving method, the simulation data generating means 11 generates a function element list used in the function description, an evaluation program which is a computer program for evaluating each assignment statement in the function description, and a drive destination list. I do. The drive destination list is a list indicating a correspondence between an event indicating a functional element whose signal value has been updated and an evaluation program driven by the event, and is a list of evaluation program identifiers using the event as a key.

【0026】次に図1の機能記述を入力としてシミュレ
ーション用データを生成するシミュレーションデータ生
成手段11の実現例を図2を用いて説明する。
Next, an implementation example of the simulation data generation means 11 for generating simulation data using the function description of FIG. 1 as an input will be described with reference to FIG.

【0027】図2において、21は入力される機能記述
の構文解析を行なう構文解析手段である。構文解析手段
21は、回路設計者が記述したテキストファイルを解析
し、機能記述中の機能素子のリストと、記述中の代入文
構成を示す代入文リストと、機能記述中の各機能素子に
対して、当該機能素子の信号値を参照して代入する、す
なわち入力信号とする代入文をリストした駆動先リスト
とを生成する。図3を用いて代入文リストの構成を説明
する。
In FIG. 2, reference numeral 21 denotes a syntax analysis means for performing syntax analysis of an input function description. The syntax analysis unit 21 analyzes the text file described by the circuit designer, and lists a list of functional elements in the function description, an assignment statement list indicating an assignment statement configuration in the description, and a function statement for each functional element in the function description. Then, a drive destination list that lists substitution statements to be substituted, that is, input signals, with reference to the signal value of the functional element is generated. The structure of the assignment statement list will be described with reference to FIG.

【0028】代入文リストは、機能記述中の各代入文の
構成・内容を示す代入文データ111を検索可能なリス
ト形式にしたデータである。各代入文データ111は、
代入の同期信号を示す同期信号データ1111と、代入
が実行される条件を示す代入条件式1112と、代入さ
れる信号間の演算式を示す代入式1113と代入先の機
能素子示す代入先機能素子1114から構成される。
The assignment statement list is data in which the assignment statement data 111 indicating the structure and contents of each assignment statement in the function description is in a searchable list format. Each assignment statement data 111 is
Synchronization signal data 1111 indicating a synchronization signal of substitution, an assignment condition expression 1112 indicating a condition for executing the assignment, an assignment expression 1113 indicating an operation expression between the signals to be assigned, and an assignment destination functional element indicating the assignment destination functional element. 1114.

【0029】以上の構文解析手段21は、コンピュータ
と構文解析ソフトウェアによって実現できる。
The above-mentioned parsing means 21 can be realized by a computer and parsing software.

【0030】22は、構文解析手段21が生成する代入
文のリストを記憶する代入文リスト記憶手段である。代
入文リスト記憶手段22は、コンピュータメモリを用い
て実現される。
Reference numeral 22 denotes an assignment statement list storage means for storing a list of assignment statements generated by the syntax analysis means 21. The assignment statement list storage unit 22 is realized using a computer memory.

【0031】23は、代入文リスト記憶手段22に記憶
された代入文リストから同一の同期信号によって代入を
行なう代入文を選択し、一つの同期信号の下で複数の代
入文データをリストした合成代入文リストの生成を行な
う同期代入文選択手段である。同期代入文選択手段23
によって生成される合成代入文リストを図4を用いて説
明する。
A synthesizing unit 23 selects an assignment statement to be assigned by the same synchronization signal from the assignment statement list stored in the assignment statement list storage unit 22, and lists a plurality of assignment statement data under one synchronization signal. Synchronous assignment statement selection means for generating an assignment statement list. Synchronous assignment statement selection means 23
Will be described with reference to FIG.

【0032】合成代入文リストは、機能記述中で記述さ
れる同期信号131を検索可能なリスト形式にしたデー
タある。さらに各同期信号131から当該の同期信号に
同期しての信号値を代入する全ての代入文データリスト
132を指すポインタを持つ。同期信号から検索される
代入文データは、図3において説明した代入条件式11
12と代入式1113と代入先機能素子から構成され
る。
The composite assignment statement list is data in which the synchronization signal 131 described in the function description is in a searchable list format. Further, it has pointers to all assignment statement data lists 132 for assigning signal values in synchronization with the synchronization signals from the respective synchronization signals 131. The substitution statement data retrieved from the synchronization signal is the substitution condition expression 11 described in FIG.
12, an assignment expression 1113, and an assignment destination functional element.

【0033】同期代入文選択手段23は、コンピュータ
上で実現することができる。この処理手順を図5を用い
て説明する。まず、代入文リスト記憶手段22に記憶さ
れる代入文をリスト順に検索し、未処理の代入文を入力
する。検索した代入文は処理済みとする(ステップS
1)。検索した代入文の同期信号を求める(ステップS
2)。この同期信号を元に既に生成された合成代入文リ
ストを検索し(ステップS3)、各合成代入文の同期信号
がステップS1で入力した代入文の同期信号と同一である
か否かを判定する(ステップS4)。同一の同期信号を持
つ合成代入文がある場合は、この合成代入文の代入デー
タとしてステップS1で入力した代入文の代入条件式、代
入式、代入先機能素子の各データを追加する(ステップ
S5)。初期状態で合成代入文リストが生成されていない
場合や同一の同期信号を持つ合成代入文が無い場合は、
ステップS1で入力した代入文データから合成代入文デー
タを生成し、合成代入文リストに追加する(ステップS
6)。以上を代入文リスト記憶手段22に記憶される全
ての代入文について実施する(ステップS7)。
The synchronous assignment statement selecting means 23 can be realized on a computer. This processing procedure will be described with reference to FIG. First, the assignment statements stored in the assignment statement list storage unit 22 are searched in the order of the list, and an unprocessed assignment statement is input. It is assumed that the retrieved assignment statement has been processed (step S
1). Find the synchronization signal of the searched assignment statement (step S
2). A composite assignment statement list that has already been generated based on this synchronization signal is searched (step S3), and it is determined whether or not the synchronization signal of each composite assignment statement is the same as the synchronization signal of the assignment statement input in step S1. (Step S4). If there is a composite assignment statement having the same synchronization signal, the data of the assignment condition expression, the assignment expression, and the assignment destination functional element of the assignment statement input in step S1 are added as the assignment data of this composite assignment statement (step
S5). If the composite assignment statement list is not generated in the initial state or if there is no composite assignment statement with the same synchronization signal,
Generate composite assignment statement data from the assignment statement data input in step S1, and add it to the composite assignment statement list (step S1).
6). The above is performed for all the assignment statements stored in the assignment statement list storage unit 22 (step S7).

【0034】24は、同期代入文選択手段23によって
合成された合成代入文リストを記憶する合成代入文リス
ト記憶手段である。合成代入文リスト記憶手段24は、
コンピュータメモリを用いて実現される。
Reference numeral 24 denotes a combined assignment statement list storage unit that stores the combined assignment statement list combined by the synchronous assignment statement selection unit 23. The composite assignment statement list storage means 24
This is realized using a computer memory.

【0035】25は、合成代入文リスト記憶手段24に
記憶された代入文を入力して、各代入文の評価を行なう
評価プログラムを生成する評価プログラム生成手段であ
る。評価プログラムは、一般的なコンピュータで実行さ
れる機械語にコンパイル可能な言語で記述されたプログ
ラムである。評価プログラムには、機能素子信号値の入
力と更新データを出力を行なう入出力回路制御ルーチ
ン、信号値の演算式を評価するルーチン、機能素子信号
値の変化を検出するルーチン、信号値を更新する機能素
子の遅延値を示すルーチン、更新データを生成するルー
チンが含まれる。
Numeral 25 denotes an evaluation program generating means for inputting the assignment statements stored in the composite assignment statement list storage means 24 and generating an evaluation program for evaluating each assignment statement. The evaluation program is a program written in a language that can be compiled into a machine language executed on a general computer. The evaluation program includes an input / output circuit control routine for inputting functional element signal values and outputting update data, a routine for evaluating arithmetic expressions of signal values, a routine for detecting changes in functional element signal values, and updating signal values. A routine indicating the delay value of the functional element and a routine for generating update data are included.

【0036】26は、同期代入文選択手段23が出力す
る合成代入文リストに基づいて、信号値が更新された機
能素子を意味するイベントとイベントにより駆動する評
価プログラムの対応を示す駆動先リストを生成する駆動
先リスト生成手段である。
Reference numeral 26 denotes a drive destination list indicating correspondence between an event indicating a functional element whose signal value has been updated and an evaluation program driven by the event, based on the composite assignment statement list output from the synchronous assignment statement selection means 23. This is a drive destination list generating means for generating.

【0037】次に図6を用いて駆動先リストの構成を説
明する。駆動先リスト161は、機能記述中で記述され
る機能素子を検索可能なリスト形式にしたデータ
る。さらに各機能素子から当該の機能素子の信号値を参
照して代入する全ての合成代入文を検索を可能とする代
入文IDリスト162を指すポインタを持つ。駆動先リ
ストから検索される代入文ID162は、同期代入文選
択手段23によって合成された合成代入文リスト上の対
応する代入文の位置を示す。
Next, the structure of the drive destination list will be described with reference to FIG. The drive destination list 161 is data in the form of a searchable list of functional elements described in the function description. Further, each of the functional elements has a pointer to an assignment statement ID list 162 that enables searching for all the combined assignment statements to be assigned by referring to the signal value of the functional element. The assignment statement ID 162 retrieved from the drive destination list indicates the position of the corresponding assignment statement on the combined assignment statement list synthesized by the synchronous assignment statement selection unit 23.

【0038】駆動先リスト生成手段26はコンピュータ
上で、合成代入文リストの各合成代入文を検索し、合成
代入文データの同期信号、条件式、代入式から機能素子
を抽出し、リストするプログラムによって実現する。
The drive destination list generating means 26 searches a computer for each composite assignment statement in the composite assignment statement list, and extracts and lists functional elements from a synchronizing signal, a conditional expression, and an assignment expression of the composite assignment statement data. It is realized by.

【0039】12は、シミュレーション時に用いるテス
トデータを入力するテストデータ入力手段である。回路
設計者は、テストデータ入力手段12を用いて被シミュ
レーション回路に入力される信号をシミュレーション装
置に設定する。テストデータは、コンピュータ上のエデ
ィタ等を用いて作成する電子ファイルデータとし、汎用
コンピュータと同様の入力手段を用いて入力することが
できる。入力されるデータは、模擬する回路の各機能素
子の特定のシミュレーション時刻において変化する信号
値を示す。信号値は変化する時刻毎にテストデータ入力
手段12に記憶され、シミュレーション時刻が変化時刻
になると変化する当該信号値を出力する。
Reference numeral 12 denotes test data input means for inputting test data used at the time of simulation. The circuit designer sets a signal input to the circuit to be simulated using the test data input means 12 in the simulation device. The test data is electronic file data created using an editor or the like on a computer, and can be input using the same input means as a general-purpose computer. The input data indicates a signal value that changes at a specific simulation time of each functional element of the circuit to be simulated. The signal value is stored in the test data input means 12 every time the time changes, and the signal value changes when the simulation time reaches the change time.

【0040】13は、イベントを制御して機能シミュレ
ーションを実施するシミュレーション実施手段である。
図7にシミュレーション実施手段13の構成を示す。
Numeral 13 denotes simulation execution means for executing a function simulation by controlling an event.
FIG. 7 shows the configuration of the simulation execution means 13.

【0041】31は、シミュレーションデータ生成手段
11によって生成された評価プログラムを記憶する評価
プログラム記憶手段である。評価プログラム記憶手段3
1は、コンピュータメモリを用いて実現し、各コンピュ
ータプログラムはメモリ上に順次記憶される。評価プロ
グラム記憶手段31は、要求があると指定されるアドレ
スの評価プログラムデータ331を出力する。
Reference numeral 31 denotes an evaluation program storage for storing the evaluation program generated by the simulation data generator 11. Evaluation program storage means 3
1 is realized using a computer memory, and each computer program is sequentially stored on the memory. The evaluation program storage means 31 outputs the evaluation program data 331 at the address designated to be requested.

【0042】32は、シミュレーションデータ生成手段
1によって生成された駆動先リストを記憶する駆動先リ
スト記憶手段である。駆動先リスト記憶手段32は、信
号値が更新された機能素子識別子すなわちイベントをキ
イとし、イベントに対応する評価プログラムの識別子の
リストを持つテーブルと評価プログラム識別子をキイと
し、評価プログラムロード情報を持つテーブルを持つ。
駆動先リスト記憶手段32は、イベント351またはシ
ミュレーションデータ入力手段2から出力されるイベン
ト322が入力されると、まず、第1のテーブルから実
行する評価プログラムの識別子を検索し、検索した評価
プログラムのロード情報321を第2のテーブルから求
め、出力する。ロード情報321には、評価プログラム
記憶手段31においる評価プログラムが記憶されるアド
レス、データサイズが含まれる。駆動先リスト記憶手段
32は、コンピュータメモリを用いて実現する。
Reference numeral 32 denotes a drive destination list storing means for storing the drive destination list generated by the simulation data generating means 1. The drive destination list storage means 32 has a function element identifier having an updated signal value, that is, an event as a key, a table having a list of evaluation program identifiers corresponding to the event as a key, and an evaluation program identifier as a key, and has evaluation program load information. Have a table.
When the event 351 or the event 322 output from the simulation data input unit 2 is input, the drive destination list storage unit 32 first searches the first table for the identifier of the evaluation program to be executed, and searches the identifier of the searched evaluation program. Load information 321 is obtained from the second table and output. The load information 321 includes an address where the evaluation program stored in the evaluation program storage unit 31 is stored and a data size. The drive destination list storage means 32 is realized using a computer memory.

【0043】33は、模擬される回路内の各機能素子の
信号値を記憶する信号値記憶手段である。信号値記憶手
段33は、シミュレーション実行中に当該シミュレーシ
ョン時刻の各機能素子信号値を記憶し、当該機能素子に
新たな信号値の変化が生じる時刻まで以前の信号値を保
持する。信号値記憶手段33は、シミュレーション結果
として生じる回路内部の変化した信号値を更新するとと
もにテストデータ入力手段2から入力される機能素子の
信号値データ331を入力して信号値の更新を行なう。
また、機能素子名をキイとする信号値の要求があると現
在のシミュレーション時刻の信号値を出力する。信号値
記憶手段33は、コンピュータメモリを用いて実現し、
機能素子識別子と信号値を記憶するメモリ領域を対応付
ける検索テーブルと信号値を保持する信号値テーブルか
ら構成される。
Reference numeral 33 denotes signal value storage means for storing a signal value of each functional element in the circuit to be simulated. The signal value storage unit 33 stores the signal values of the respective functional elements at the simulation time during the execution of the simulation, and retains the previous signal values until the time when a new signal value change occurs in the functional element. The signal value storage unit 33 updates the signal value changed inside the circuit as a result of the simulation, and updates the signal value by inputting the signal value data 331 of the functional element input from the test data input unit 2.
When there is a request for a signal value with the functional element name as a key, the signal value at the current simulation time is output. The signal value storage means 33 is realized using a computer memory,
It comprises a search table for associating functional element identifiers with memory areas for storing signal values, and a signal value table for holding signal values.

【0044】34は、評価プログラム実行手段である。
評価プログラム実行手段34は、選択された評価プログ
ラム311をロードするとともに、評価用データとして
必要な機能素子信号値333を入力し、プログラムを実
行することによって、機能記述文を評価する。評価結果
として、当該シミュレーション時刻の信号値と異なる信
号値を持つ機能素子に関して更新データ341を出力す
る。出力する更新データ341は、信号値が変化する機
能素子識別子とその信号値及び機能素子の遅延値を含
む。評価プログラム実行手段34は、一般のコンピュー
タと入出力回路を用いて実現し、ロードされる評価プロ
グラムには、機能素子信号値の入力と更新データを出力
を行なう入出力回路制御ルーチン、信号値の演算式を評
価するルーチン、機能素子信号値の変化を検出するルー
チン、信号値を更新する機能素子の遅延値を示すルーチ
ン、更新データを生成するルーチンが含まれる。
Reference numeral 34 denotes an evaluation program executing means.
The evaluation program executing means 34 loads the selected evaluation program 311 and inputs a necessary function element signal value 333 as evaluation data, and executes the program to evaluate the function description. As an evaluation result, update data 341 is output for a functional element having a signal value different from the signal value at the simulation time. The output update data 341 includes a functional element identifier whose signal value changes, its signal value, and a delay value of the functional element. The evaluation program executing means 34 is realized by using a general computer and an input / output circuit. The evaluation program to be loaded includes an input / output circuit control routine for inputting a functional element signal value and outputting update data, a signal value The routine includes a routine for evaluating an arithmetic expression, a routine for detecting a change in a functional element signal value, a routine indicating a delay value of a functional element for updating a signal value, and a routine for generating update data.

【0045】35は、更新データ341を入力して、当
該シミュレーション時刻から更新データ341が持つ遅
延値だけシミュレーション時間が経過すると信号値が更
新された機能素子識別子であるイベント351と更新信
号値データ352とを出力するタイムホイールである。
タイムホイール35は、コンピュータメモリ上で実現
し、シミュレーション時間の経過をカウントするカウン
タと各シミュレーション時刻に更新される機能素子情報
のリストから構成される。
Reference numeral 35 denotes an input of the update data 341, and when the simulation time elapses from the simulation time by the delay value of the update data 341, an event 351 as a functional element identifier whose signal value has been updated and the update signal value data 352. And a time wheel that outputs
The time wheel 35 is implemented on a computer memory, and includes a counter for counting the elapsed simulation time and a list of functional element information updated at each simulation time.

【0046】36は、シミュレーション時刻の更新と同
一時刻内での評価プログラム記憶手段31、駆動先リス
ト記憶手段32、信号値記憶手段33、評価プログラム
実行手段34、タイムホイール35の処理の実行タイミ
ングを制御するシミュレーション時刻及び処理タイミン
グ制御手段である。シミュレーション時刻及び処理タイ
ミング制御手段36は、321または351のイベント
の有無を検出して、当該時刻の各イベントに対して駆動
先リストの検索、評価プログラムの選択と評価プログラ
ム実行手段へのロード、プログラム実行、機能素子信号
値のタイムホイール35への登録等の一連の制御を順次
行う。シミュレーション時刻及び処理タイミング制御手
段36は、一般的な順序回路によって実現できる。
Reference numeral 36 denotes the execution timing of the processing of the evaluation program storage means 31, the drive destination list storage means 32, the signal value storage means 33, the evaluation program execution means 34, and the time wheel 35 within the same time as the update of the simulation time. It is a simulation time and processing timing control means for controlling. The simulation time and processing timing control means 36 detects the presence or absence of the event 321 or 351, searches the drive list for each event at the time, selects an evaluation program and loads it into the evaluation program execution means, A series of controls such as execution and registration of the functional element signal value in the time wheel 35 are sequentially performed. The simulation time and processing timing control means 36 can be realized by a general sequential circuit.

【0047】14は、シミュレーション結果を検証・評
価・解析するためのシミュレーション結果表示手段であ
る。シミュレーション結果表示手段は、汎用コンピュー
タ上で表示用モニタ、表示用ソフトウェアを用いて実現
できる。
Numeral 14 denotes simulation result display means for verifying, evaluating and analyzing the simulation result. The simulation result display means can be realized on a general-purpose computer using a display monitor and display software.

【0048】機能シミュレーション装置は、以上のシミ
ュレーションデータ生成手段11、シミュレーション実
施手段12、テストデータ入力手段13、シミュレーシ
ョン結果表示手段14によって構成される。本発明の実
施例のシミュレーション装置では、前処理としてシミュ
レーションデータ生成手段11及びテストデータ入力手
段13によって被シミュレーション情報の入力を行な
う。 機能シミュレーションは、テストデータ入力手段
13によって設定される入力信号を外部からのイベント
として有限時間の回路動作をイベント駆動法を適用して
実行する。設計者は、シミュレーション結果表示手段4
を用いてシミュレーション結果を得る。
The functional simulation device comprises the above-described simulation data generation means 11, simulation execution means 12, test data input means 13, and simulation result display means 14. In the simulation apparatus according to the embodiment of the present invention, the simulation data is input by the simulation data generating means 11 and the test data input means 13 as preprocessing. The function simulation executes a circuit operation for a finite time by applying an event driving method with an input signal set by the test data input unit 13 as an external event. The designer sets the simulation result display means 4
Is used to obtain simulation results.

【0049】以上の構成を持つ実施例の機能シミュレー
ション装置では、基本的に機能記述中の代入文毎にイベ
ント駆動で評価プログラムを実行するため、非同期に実
行される機能素子への代入をシミュレーションでき、か
つ同一の同期信号による機能素子への代入を自動的に生
成される同一の評価プログラムによって一括して実行す
るため、複数の評価プログラムを実行するオーバヘッド
を削減し、シミュレーションの高速化を図ることができ
る。
In the functional simulation apparatus of the embodiment having the above-described configuration, the evaluation program is basically executed by the event drive for each assignment statement in the function description, so that the assignment to the functional element executed asynchronously can be simulated. In addition, since the assignment to the functional element by the same synchronization signal is collectively executed by the same evaluation program that is automatically generated, the overhead of executing a plurality of evaluation programs is reduced and the simulation is speeded up. Can be.

【0050】次に本発明の第2の実施例における機能シ
ミュレーション装置について図面を参照しながら説明す
る。先に説明した第1の実施例における機能シミュレー
ション装置では、実施例の構成からわかるように、図2
の駆動先リスト生成手段26によって生成された駆動先
リストで合成代入文で参照する全ての機能素子に当該合
成代入文IDをリストする。このため、同期信号による
機能素子への代入を自動的に生成される同一の評価プロ
グラムによって一括して実行し、複数の評価プログラム
を実行するオーバヘッドを削減したが、対応する合成代
入文が参照する機能素子の信号値が変化する毎に、同期
信号が変化していなくても逐一対応する評価プログラム
がロードされ、実行されるオーバヘッドがあった。本実
施例は、以上を解決することを目的とするものであり、
第1の実施例における機能シミュレーション装置の図1
のシミュレーションデータ生成手段11を改善したもの
である。本実施例のシミュレーションデータ生成手段の
構成例を図8を用いて説明する。
Next, a function simulation apparatus according to a second embodiment of the present invention will be described with reference to the drawings. In the function simulation apparatus according to the first embodiment described above, as can be seen from the configuration of the embodiment, FIG.
In the drive destination list generated by the drive destination list generating means 26, the composite assignment statement ID is listed for all functional elements referenced by the composite assignment statement. For this reason, the assignment to the functional element by the synchronization signal is collectively executed by the same evaluation program that is automatically generated, and the overhead of executing a plurality of evaluation programs is reduced, but the corresponding composite assignment statement refers to. Each time the signal value of the functional element changes, the corresponding evaluation program is loaded and executed one by one even if the synchronization signal does not change. The purpose of this embodiment is to solve the above.
FIG. 1 of the function simulation apparatus according to the first embodiment.
Of the simulation data generating means 11 of FIG. An example of the configuration of the simulation data generating means of this embodiment will be described with reference to FIG.

【0051】図8において、構文解析手段21、代入文
リスト記憶手段22、同期代入文選択手段23、合成代
入文記憶手段24、評価プログラム生成手段25及び駆
動先リスト生成手段26は、図2において説明したもの
と同一である。
In FIG. 8, the syntax analysis means 21, the assignment statement list storage means 22, the synchronous assignment statement selection means 23, the combined assignment statement storage means 24, the evaluation program generation means 25, and the drive destination list generation means 26 are the same as those in FIG. Same as described.

【0052】27は、駆動先リスト生成手段26によっ
て生成された駆動先リストから、合成代入文記憶手段2
4に記憶される合成代入文リストに基づいて同期信号イ
ベントに対してのみ駆動する評価プログラムを設定する
イベント手段である。
Reference numeral 27 denotes a composite assignment statement storage unit 2 based on the drive destination list generated by the drive destination list generation unit 26.
Event means for setting an evaluation program to be driven only for a synchronization signal event based on the composite assignment statement list stored in No. 4.

【0053】イベント選択駆動先リスト生成手段27は
コンピュータ上で、合成代入文リストの各合成代入文を
検索し、合成代入文データの同期信号を抽出し、抽出し
た同期信号となる機能素子イベントに対してのみ当該合
成代入文IDをリストした駆動先リストを生成するプロ
グラムによって実現する。このとき、同期信号を持たな
い代入に対しては、条件式、代入式中の全ての機能素子
に当該合成代入文IDをリストする。
The event selection drive destination list generating means 27 searches the computer for each composite assignment statement in the composite assignment statement list, extracts a synchronizing signal of the composite assignment statement data, and converts the synchronizing signal into a functional element event which becomes the extracted synchronizing signal. This is realized only by a program that generates a drive destination list that lists the composite assignment statement ID. At this time, for an assignment having no synchronization signal, the composite assignment statement ID is listed in all functional elements in the conditional expression and the assignment expression.

【0054】本実施例の機能シミュレーション装置で
は、イベント選択駆動先リスト生成手段27によって生
成された駆動先リストを用いることによって、同期信号
に相当する機能素子の信号値が変化した時点でのみ合成
代入文を評価する評価プログラムがロードされ実行され
る。これは、同期信号以外のイベントに関するオーバヘ
ッドを削減できることを意味し、機能シミュレーション
の高速化を図ることができる。
In the functional simulation apparatus according to the present embodiment, by using the drive destination list generated by the event selection drive destination list generation means 27, the combination substitution is performed only when the signal value of the functional element corresponding to the synchronization signal changes. An evaluation program that evaluates the statement is loaded and executed. This means that overhead related to events other than the synchronization signal can be reduced, and the function simulation can be speeded up.

【0055】[0055]

【発明の効果】以上の説明から明らかのように、請求項
1記載の機能シミュレーション装置によれば、基本的に
機能記述の代入文毎イベント駆動で評価プログラムを
実行するため、非同期に実行される機能素子への代入を
シミュレーションでき、かつ同一の同期信号による機能
素子への代入を自動的に生成される同一の評価プログラ
ムによって一括して実行するため、複数の評価プログラ
ムを実行するオーバヘッドを削減し、シミュレーション
の高速化を図ることができる。
As is apparent from the above description, according to the functional simulation apparatus of the first aspect, the evaluation program is basically executed in an event-driven manner for each assignment statement of the function description, so that the evaluation program is executed asynchronously. Substitution to functional elements can be simulated, and assignment to functional elements by the same synchronization signal is executed collectively by the same evaluation program that is automatically generated, reducing the overhead of executing multiple evaluation programs Thus, the speed of the simulation can be increased.

【0056】また、請求項2記載の機能シミュレーショ
ン装置によれば、同期信号以外のイベントに関するオー
バヘッドを削減でき、さらに機能シミュレーションの高
速化を図ることができる。
Further, according to the function simulation apparatus of the second aspect, it is possible to reduce the overhead related to events other than the synchronization signal, and to speed up the function simulation.

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

【図1】本発明の第1の実施例における機能シミュレー
ション装置の構成図
FIG. 1 is a configuration diagram of a function simulation apparatus according to a first embodiment of the present invention.

【図2】同実施例におけるシミュレーション装置を実施
するシミュレーションデータ生成手段の構成図
FIG. 2 is a configuration diagram of a simulation data generation unit that executes the simulation apparatus according to the embodiment;

【図3】同実施例における機能記述を構文解析すること
によって生成される代入文リストのデータ構成を示す図
FIG. 3 is a diagram showing a data configuration of an assignment statement list generated by parsing the function description in the embodiment.

【図4】同実施例における同期信号に基づいて合成され
た合成代入文リストのデータ構成を示す図
FIG. 4 is a diagram showing a data configuration of a combined assignment statement list synthesized based on a synchronization signal in the embodiment.

【図5】同実施例における合成代入文リストを生成する
コンピュータ上のプログラムの手順を示す流れ図
FIG. 5 is a flowchart showing a procedure of a program on a computer for generating a composite assignment statement list in the embodiment.

【図6】同実施例における駆動先リストのデータ構成を
示す図
FIG. 6 is a diagram showing a data configuration of a drive destination list in the embodiment.

【図7】同実施例におけるシミュレーション実施手段の
構成図
FIG. 7 is a configuration diagram of simulation execution means in the embodiment.

【図8】本発明の第2の実施例における機能シミュレー
ション装置のシミュレーションデータ生成手段の構成図
FIG. 8 is a configuration diagram of a simulation data generation unit of the functional simulation device according to the second embodiment of the present invention.

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

11 シミュレーションデータ生成手段 12 テストデータ入力手段 13 シミュレーション実施手段 14 シミュレーション結果表示手段 21 構文解析手段 22 代入文リスト記憶手段 23 同期代入文選択手段 24 合成代入文リスト記憶手段 25 評価プログラム生成手段 26 駆動先リスト生成手段 27 イベント選択手段 DESCRIPTION OF SYMBOLS 11 Simulation data generation means 12 Test data input means 13 Simulation execution means 14 Simulation result display means 21 Syntax analysis means 22 Assignment sentence list storage means 23 Synchronous assignment sentence selection means 24 Synthetic assignment sentence list storage means 25 Evaluation program generation means 26 Driving destination List generation means 27 Event selection means

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 機能記述言語を用いて記述された論理装
置の動作模擬をイベント駆動法を用いて行なう機能シミ
ュレーション装置において、前記機能記述言語による機
能記述を構文解析し、被シミュレーション対象の論理装
置を構成する機能素子に信号値を代入する代入文を抽出
し、抽出された前記代入文のうち同一の同期信号によっ
て代入を行なう代入文を選択し、同一の同期信号を持つ
代入文を一括して評価する評価プログラムを生成するシ
ミュレーションデータ生成手段を備え、前記シミュレー
ションデータ生成手段によって評価プログラム群を生成
し、イベント駆動法により生成された前記評価用プログ
ラムを起動して、機能記述中の代入文を評価すること
を特徴とする機能シミュレーション装置。
1. A function simulation apparatus for simulating the operation of a logic device described using a function description language using an event driving method, wherein the function description in the function description language is parsed, and a logic device to be simulated is analyzed. Extract an assignment statement for assigning a signal value to a functional element constituting a component element, select an assignment statement to be assigned by the same synchronization signal among the extracted assignment statements, and collectively assign assignment statements having the same synchronization signal. It comprises a simulation data generation means for generating an evaluation program for evaluating Te, the simulation by the data generation means to generate an evaluation program group, start the evaluation program group generated by event-driven method, substituting in the functional description A function simulation device for evaluating a sentence.
【請求項2】 機能記述言語を用いて記述された論理装
置の動作模擬をイベント駆動法を用いて行なう機能シミ
ュレーション装置において、前記機能記述言語による機
能記述を構文解析し、被シミュレーション対象の論理装
置を構成する機能素子に信号値を代入する代入文を抽出
し、抽出された前記代入文のうち同一の同期信号によっ
て代入を行なう代入文を選択し、同一の同期信号を持つ
代入文を一括して評価する評価プログラムを生成するシ
ミュレーションデータ生成手段と、前記シミュレーショ
ンデータ生成手段によって生成された前記評価プログラ
ムを駆動するイベントのうち、前記評価プログラムの同
期信号イベントのみを選択するイベント選択手段とを備
え、前記シミュレーションデータ生成手段によって評価
プログラム群を生成するとともに前イベント選択手段
によって前記評価プログラムを駆動するイベントを選
択し、シミュレーション実行時に同期信号を持つ代入文
の前記評価プログラムが、対応する同期信号が変化した
イベントによってのみ実行されることを特徴とする機能
シミュレーション装置。
2. A function simulation apparatus for simulating the operation of a logic device described using a function description language by using an event driving method, wherein a function description in the function description language is analyzed and a logic device to be simulated is analyzed. Extract an assignment statement for assigning a signal value to a functional element constituting a component element, select an assignment statement to be assigned by the same synchronization signal among the extracted assignment statements, and collectively assign assignment statements having the same synchronization signal. Simulation data generating means for generating an evaluation program to be evaluated and evaluated, and event selecting means for selecting only a synchronization signal event of the evaluation program among events for driving the evaluation program generated by the simulation data generating means. Generating an evaluation program group by the simulation data generating means Select the events that drive the evaluation program group by the previous SL event selection means as well as, said evaluation program assignment statement with a synchronizing signal during simulation run is performed only by an event corresponding synchronizing signal changes A functional simulation device.
【請求項3】 イベント駆動法を用いて行なう論理装置
の機能シミュレーション方法において、機能記述言語に
よる被シミュレーション対象の論理装置の機能記述を構
文解析し、構成する機能素子に信号値を代入する代入文
を抽出し、抽出された前記代入文のうち同一の同期信号
によって代入を行なう代入文を選択し、同一の同期信号
を持つ代入文を一括して評価する評価プログラムを生成
することで評価プログラム群を生成し、イベント駆動法
により生成された前記評価用プロ グラム群を起動して、
機能記述中の代入文を評価することを特徴とする機能シ
ミュレーション方法。
3. A logic device implemented by using an event driving method.
Function simulation language
The function description of the logic device to be simulated
Assignment statement that analyzes the statement and assigns the signal value to the functional element to be configured
And the same synchronizing signal among the extracted assignment statements
Select an assignment statement to assign by using the same synchronization signal
Generates an evaluation program that evaluates assignment statements with
Generate an evaluation program group by using
Start the evaluation program group that is generated by,
A functional system characterized by evaluating an assignment statement in a functional description
Simulation method.
【請求項4】 評価プログラム群を生成するとともに、
評価プログラム群を駆動する同期信号のイベントを選択
し、シミュレーション実行時に同期信号を持つ代入文の
前記評価プログラムが、対応する同期信号が変化したイ
ベントによってのみ実行されることを特徴とする請求項
3記載の機能シミュレーション方法。
4. An evaluation program group is generated,
Select the event of the synchronization signal that drives the evaluation program group
When the simulation is executed, the
The evaluation program determines that the corresponding synchronization signal has changed.
Claims: Only performed by venting
3. The function simulation method according to 3.
JP3221491A 1991-09-02 1991-09-02 Functional simulation device Expired - Fee Related JP2990882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3221491A JP2990882B2 (en) 1991-09-02 1991-09-02 Functional simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3221491A JP2990882B2 (en) 1991-09-02 1991-09-02 Functional simulation device

Publications (2)

Publication Number Publication Date
JPH0561932A JPH0561932A (en) 1993-03-12
JP2990882B2 true JP2990882B2 (en) 1999-12-13

Family

ID=16767549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3221491A Expired - Fee Related JP2990882B2 (en) 1991-09-02 1991-09-02 Functional simulation device

Country Status (1)

Country Link
JP (1) JP2990882B2 (en)

Also Published As

Publication number Publication date
JPH0561932A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
US5809283A (en) Simulator for simulating systems including mixed triggers
US20040117168A1 (en) Global analysis of software objects generated from a hardware description
US5784593A (en) Simulator including process levelization
US6606734B2 (en) Simulation method and compiler for hardware/software programming
JP2001142937A (en) Scheduling correctness checking method and schedule verifying method for circuit
US5727187A (en) Method of using logical names in post-synthesis electronic design automation systems
JPH05342298A (en) Simulation device
US7350180B1 (en) Search algorithm for inheriting clock contexts in hardware description language translation tools
US5949993A (en) Method for the generation of ISA simulators and assemblers from a machine description
Tsui et al. Application-driven design automation for microprocessor design
Zheng Specification and compilation of timed systems
JP2990882B2 (en) Functional simulation device
JP2982418B2 (en) Functional simulation device
Ditzel et al. Using CAD Tools in the Design of CRISP
Meng et al. HDLcs1. 0: A Compiler and Simulator Framework for Hardware Description Language
Huang Computer-aided logic synthesis based on a new multi-level hardware design language---lalsd ii
Buschke et al. An approach to understanding evaluation of simulation results as an integrated task
JP2001022808A (en) Logic circuit reducing device, method and device for logic simulation
Park et al. Event suppression by optimizing VHDL programs
JP2902972B2 (en) Logic simulator and hardware description converter
Seceleanu VHDL for Synchronous Action Systems
JP3751410B2 (en) Logic circuit converter
Nagoya et al. Multi-level logic optimization for large scale ASICs
Li et al. HDL presynthesis optimizations using a tabular model
Milden An approach for selecting a language for computer hardware description and simulation

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081015

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees