JPH01142946A - Logical simulating method - Google Patents

Logical simulating method

Info

Publication number
JPH01142946A
JPH01142946A JP62302218A JP30221887A JPH01142946A JP H01142946 A JPH01142946 A JP H01142946A JP 62302218 A JP62302218 A JP 62302218A JP 30221887 A JP30221887 A JP 30221887A JP H01142946 A JPH01142946 A JP H01142946A
Authority
JP
Japan
Prior art keywords
event
functional
events
buffer
function
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.)
Granted
Application number
JP62302218A
Other languages
Japanese (ja)
Other versions
JP2563399B2 (en
Inventor
Masanobu Mizuno
雅信 水野
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 JP30221887A priority Critical patent/JP2563399B2/en
Publication of JPH01142946A publication Critical patent/JPH01142946A/en
Application granted granted Critical
Publication of JP2563399B2 publication Critical patent/JP2563399B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To delete unnecessary processing by storing events which are not selected among events based upon an internal state temporarily and using them according to a change in the internal state. CONSTITUTION:Events stored in an event storage means 13 are added to a buffer 9. Then the events are read out in order as long as there are the events stored in the event buffer 9 and selected only at the time of a trailing edge of the clock signal. When an event is selected, connection information in a connection information memory 15 and a function evaluation selecting means 14 are used to find the identifier of a function evaluating means and transfer it to a function evaluation identifier buffer 16. When no event is selected, the event is stored in the event storage means 13. When the event buffer 9 becomes empty and there is the selected identifier of the function evaluating means in the function evaluation identifier buffer 16, an evaluating means 17 evaluates a function element or function block. Said operation is repeated.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は論理装置の設計に於いて、タイミングを含め、
論理装置の機能的、論理的な動作の検証を行うための論
理シミュレーションの方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is applicable to the design of logic devices, including timing,
The present invention relates to a logic simulation method for verifying the functional and logical operation of a logic device.

従来の技術 近年、集積回路技術の進歩に従い、LSIまたは超LS
Iを用いて、複雑であるが生産コストが低く付加価値の
高い論理装置を実現することが可能となっている。しか
し、こうした論理装置の開発においては、大規模化と複
雑さのため増大する開発設計コストの削減が課題となっ
ている。また、工程が進むに従って、修正、変更が極め
て困難になるため設計初期からの信頼性の向上が課題と
なっている。こうした背景のもとで、論理装置の機能及
び論理設計の検証を行う論理シミュレーションの高精度
化、高速化が重要視されている。
Conventional technology In recent years, with the progress of integrated circuit technology, LSI or ultra-LSI
Using I, it has become possible to realize a logic device that is complex but has low production costs and high added value. However, in the development of such logic devices, reducing development and design costs, which are increasing due to their increased scale and complexity, has become a challenge. Furthermore, as the process progresses, it becomes extremely difficult to modify or change the design, so improving reliability from the initial stage of design has become an issue. Against this background, emphasis has been placed on increasing the precision and speed of logic simulations for verifying the functions and logic designs of logic devices.

一般に、論理装置は論理ゲート、記憶素子、レジスター
、カウンターといった機能素子或いはより複雑な動作を
する機能ブロックの入出力間の接続関係を用いて表現さ
れる。論理シミュレーションでは、このような論理装置
の仕様と論理装置への入力信号の時間的変化を表すテス
トパターンを入力として、単位時間毎の論理装置の各部
分の信号の論理値が求められる。従来の論理シミュレー
ションは、論理装置の仕様をコンパイルして実行するコ
ンパイル方式、または事象駆動方式で行われている。コ
ンパイル方式では、複雑な処理を避け、処理を単純化し
高速であるが遅延の扱いが困難となっている。このため
最近では、任意の回路に適用でき、タイミング解析にも
適した事象駆動方式が多く採用されている。
In general, a logic device is expressed using a connection relationship between inputs and outputs of functional elements such as logic gates, memory elements, registers, and counters, or functional blocks that perform more complex operations. In logic simulation, the logic values of the signals in each part of the logic device are determined for each unit time by inputting the specifications of the logic device and a test pattern representing a temporal change in the input signal to the logic device. Conventional logic simulation is performed using a compilation method in which specifications of a logic device are compiled and executed, or an event-driven method. The compilation method avoids complicated processing, simplifies processing, and is fast, but it is difficult to handle delays. For this reason, recently, many event-driven methods have been adopted, which can be applied to any circuit and are suitable for timing analysis.

事象駆動方式に於いていう事象とは、論理装置のどの配
線の信号の変化が起きたかを示すものである。また、事
象駆動とは、前記事象の発生と論理装置内部の接続関係
により、選択的に機能素子、機能ブロックの機能評価を
行うことである。事象駆動方式の論理シミュレーション
では、論理装置の入力端子と機能素子或いは機能ブロッ
クの入出力端子間を接続する配線上の信号値の変化に着
目する。何時、どの配線の信号値が変化するかはスケジ
ュール表に記憶されている。配線上の信号値が変化した
場合にのみ、配線先が入力となっている機能素子或いは
機能ブロックの動作を評価してこの出力値、内部状態を
求める。出力値が変化する場合には、これが伝搬する配
線とその信号値を遅延情報に基づいてスケジュール表に
記憶する。
In the event driven system, an event indicates which wire of a logic device a signal change has occurred. Further, event-driven means to selectively evaluate the functions of functional elements and functional blocks based on the occurrence of the event and the connection relationship inside the logic device. Event-driven logic simulation focuses on changes in signal values on wiring that connects input terminals of a logic device and input/output terminals of functional elements or functional blocks. When and which wiring signal values change is stored in a schedule table. Only when the signal value on the wiring changes, the operation of the functional element or functional block to which the wiring destination is input is evaluated to determine its output value and internal state. When the output value changes, the wiring through which the output value is propagated and its signal value are stored in the schedule table based on the delay information.

単位時間毎にこのような処理を繰り返すことにより、シ
ミュレーションが行われる。
A simulation is performed by repeating such processing every unit time.

第4図は、以上のような従来の事象駆動方式に於ける単
位時間毎のシミュレーションにおいて、回路の動作を評
価する処理の一例を示す流れ図である。以下、第4図を
用いて処理の流れを説明する。
FIG. 4 is a flowchart showing an example of a process for evaluating the operation of a circuit in a simulation for each unit time in the conventional event-driven method as described above. The flow of processing will be explained below using FIG. 4.

まず、該当する時刻にあらかじめ発生することをスケジ
ュールされた事象があるか否かを判定する。事象がない
場合はシミュレーションを終了し、次の時刻のシミュレ
ーションに進む(ステップ1)。
First, it is determined whether there is an event scheduled to occur in advance at the relevant time. If there is no event, the simulation is ended and the simulation proceeds to the next time (step 1).

スケジュールされた事象がある場合は、スケジュールさ
れた事象のリストから順に事象を読み出しくステップ2
)、これに対応する信号値の変化に基づいて内部状態の
更新を行う(ステップ3)。
If there are scheduled events, read the events in order from the list of scheduled events Step 2
), the internal state is updated based on the change in the corresponding signal value (step 3).

続いて、論理装置を構成する機能素子、機能ブロック間
の接続関係に従って事象が伝搬する機能素子、機能ブロ
ックを評価する機能評価手段を選択する(ステップ19
)。機能評価手段が全く選択されなければ、次の事象の
読み出しを行う(ステップ5)。機能評価手段が一つ以
上選択された場合は、これを用いて機能評価を行う(ス
テップ6)。
Next, the functional elements constituting the logical device, the functional elements to which the event propagates according to the connection relationships between the functional blocks, and the functional evaluation means for evaluating the functional blocks are selected (step 19).
). If no function evaluation means is selected, the next event is read out (step 5). If one or more functional evaluation means are selected, functional evaluation is performed using them (step 6).

これにより、新たに事象が発生した場合は、該当する機
能素子、機能ブロックの遅延情報に基づいて事象のスケ
ジュールを行い、新たな事象が発生していない場合は、
そのまま当該時刻の次の事象の読み出しを行う(ステッ
プ7.8)。
As a result, when a new event occurs, the event is scheduled based on the delay information of the relevant functional element and functional block, and when no new event occurs,
The next event at that time is then read (step 7.8).

発明が解決しようとする問題点 上記のような方法を用いる事象駆動方式は、論理装置に
於いて事象の発生した部分の動作だけを選択して評価す
るという意味で効率的な方法である。しかしながら、論
理装置を構成する機能素子或いは機能ブロックにおいて
、制御信号が変化しない限りその内部状態と出力値が変
化しないことがあらかじめ解っている場合や完全な同期
回路である場合がある。この場合、他の入力信号の値が
変化しても該当する機能素子或いは機能ブロックの制御
信号やクロック信号が変化していない限りその内部状態
と出力値を評価する必要がない。従って、制御信号やク
ロック信号以外の入力信号に発生した事象に基づいてこ
れらの機能素子、機能ブロックを逐一評価するのは無駄
な処理である。
Problems to be Solved by the Invention The event-driven method using the method described above is an efficient method in the sense that it selects and evaluates only the operation of the part where the event occurs in the logic device. However, there are cases where it is known in advance that the internal state and output value of the functional elements or functional blocks that constitute the logic device do not change unless the control signal changes, or there are cases where the circuit is a completely synchronous circuit. In this case, even if the values of other input signals change, it is not necessary to evaluate the internal state and output value as long as the control signal or clock signal of the corresponding functional element or functional block does not change. Therefore, it is wasteful processing to evaluate these functional elements and functional blocks one by one based on events that occur in input signals other than control signals and clock signals.

このような無駄な処理は、評価する機能ブロックがcp
uのような複雑な動作をするもので、その動作の評価の
処理時間が大きい場合、特に問題となる。
Such wasteful processing is performed when the functional block to be evaluated is
This is particularly a problem when the processing time required to evaluate the motion is long when the motion is complex like u.

これに対して制御信号、またはクロック信号にだけ着目
して機能素子、機能ブロックを評価するようなシミュレ
ーションの制御方法が考えられる。
In contrast, a simulation control method may be considered in which functional elements and functional blocks are evaluated by focusing only on control signals or clock signals.

この方法では、前回評価をした時点からの入力信号の変
化の有無が不明なため、制御信号やクロック信号が変化
すると必ずその機能素子、機能ブロックを評価しなけれ
ばならない。これは、クロック信号の周波数が高い場合
など逆に不要な処理を増す恐れがある。
In this method, since it is unknown whether or not there has been a change in the input signal since the last evaluation, it is necessary to evaluate the functional element or functional block whenever the control signal or clock signal changes. This may conversely increase unnecessary processing when the frequency of the clock signal is high.

従来の事象駆動方式の論理シミュレーションは以上のよ
うな問題点を有していた。
Conventional event-driven logic simulation has the above-mentioned problems.

本発明は上記問題点に鑑み、事象駆動方式に於ける不要
な処理を削減し、効率的な論理シミュレーション方法を
提供するものである。
In view of the above problems, the present invention provides an efficient logic simulation method that reduces unnecessary processing in the event-driven method.

問題点を解決するための手段 上記問題点を解決するために本発明の論理シミュレーシ
ョン方法は、単位時間毎に発生した事象に対して、事象
に駆動される機能素子或いは機能ブロックを評価した場
合、内部状態または出力値が更新される可能性があるか
否かを、前記論理装置の内部状態に基づいて判定する起
動条件判定手段と、前記事象を入力として、事象が駆動
する機能素子、或いは機能ブロックを評価する機能評価
手段を選択する機能評価選択手段と、前記事象を記憶す
る事象記憶手段を備え、前記単位時間毎に発生する事象
と前記事象記憶手段に記憶されている過去の事象から前
記起動条件判定手段を用いて、機能評価手段を駆動する
事象のみを選択し、前記選択された事象を入力として、
前記機能評価選択手段を用いて実行すべき機能評価手段
の集合を求め、該当する機能素子、機能ブロックの評価
を行うとともに、前記起動条件判定手段による判定の結
果、選択されなかった事象については、前記事象記憶手
段に記憶させるという方法である。
Means for Solving the Problems In order to solve the above problems, the logical simulation method of the present invention evaluates functional elements or functional blocks driven by events with respect to events that occur every unit time. activation condition determining means for determining whether or not an internal state or an output value is likely to be updated based on the internal state of the logic device; and a functional element that receives the event as input and is driven by the event; Function evaluation selection means for selecting a function evaluation means for evaluating a functional block; and event storage means for storing the event; Selecting only the event that drives the function evaluation means from the events using the activation condition determination means, and using the selected event as input,
A set of function evaluation means to be executed is obtained using the function evaluation selection means, and the corresponding functional elements and functional blocks are evaluated, and for events that are not selected as a result of the determination by the activation condition determination means, This is a method of storing the event in the event storage means.

作用 本発明は上記した方法によって、制御信号がオフまたは
クロック信号が立ち上がりエツジでない場合は、機能素
子或いは機能ブロックの評価を省略することができる。
Operation According to the method described above, the present invention can omit evaluation of a functional element or a functional block when the control signal is off or the clock signal is not a rising edge.

制御信号がオンの場合やクロック信号が立ち上がりエツ
ジの場合には、記憶された過去の事象と現時点の事象に
より機能素子或いは機能ブロックを選択し評価する。こ
のように必要最小限の評価だけを行い論理シミュレーシ
ョンの効率化を図ることができる。
When the control signal is on or when the clock signal is on the rising edge, a functional element or functional block is selected and evaluated based on the stored past event and current event. In this way, it is possible to improve the efficiency of logic simulation by performing only the minimum necessary evaluation.

実施例 以下本発明の一実施例としてクロック信号に同期して動
作する機能ブロックを評価する機能評価手段を起動する
方法について図面を参照しながら説明する。
Embodiment Hereinafter, as an embodiment of the present invention, a method for activating a function evaluation means for evaluating a functional block that operates in synchronization with a clock signal will be described with reference to the drawings.

第1図は、単位時間毎の論理シミュレーションの処理を
示す流れ図である。第2図は、第1図のステップ4の事
象及び論理装置の内部状態に基づいて機能評価手段の選
択を行う処理の流れ図である。第3図は、本実施例の論
理シミュレーションを実現するシミュレータの構成図で
ある。第3図において、9は現時点での事象を保持する
事象バッファ、10は論理装置の内部状態を保持する内
部状態メモリである。本実施例の内部状態メモリ10は
、現時点のクロック信号の状態が立ち上がりエツジであ
るか否かを示すエツジフラグを持つものとする。11は
発生する時間順に事象及びその変化後の信号値をスケジ
ュールした事象・信号値予定表、12はクロック信号の
状態に基づいて事象が機能素子或いは機能ブロックを駆
動するか否かを判定する起動条件判定手段、13は事象
記憶手段である。14は事象が駆動する機能素子或いは
機能ブロックを評価する機能評価手段の識別子を選択す
る機能評価選択手段、15は論理装置を構成する機能素
子、機能ブロック間の接続情報を記憶する接続情報メモ
リ、16は機能評価手段の識別子を保持する機能評価識
別子バッファ、17は機能評価識別子バッファ16の識
別子に従って該当する機能評価手段による評価を実行す
る評価実行手段、18は新たな事象が生じた場合に遅延
情報に基づいて事象と信号値を事象・信号値予定表11
にスケジュールする事象・信号値スケジュール手段であ
る。
FIG. 1 is a flowchart showing logical simulation processing for each unit time. FIG. 2 is a flowchart of the process of selecting the function evaluation means based on the event in step 4 of FIG. 1 and the internal state of the logic device. FIG. 3 is a configuration diagram of a simulator that implements the logic simulation of this embodiment. In FIG. 3, 9 is an event buffer that holds current events, and 10 is an internal state memory that holds the internal state of the logic device. It is assumed that the internal state memory 10 of this embodiment has an edge flag indicating whether the current state of the clock signal is a rising edge. 11 is an event/signal value schedule that schedules events and signal values after their changes in the order of occurrence; 12 is an activation that determines whether an event drives a functional element or a functional block based on the state of a clock signal; The condition determining means and 13 are event storage means. 14 is a function evaluation selection means for selecting an identifier of a function evaluation means for evaluating a functional element or a functional block driven by an event; 15 is a connection information memory for storing connection information between functional elements and functional blocks constituting a logical device; 16 is a function evaluation identifier buffer that holds the identifier of the function evaluation means; 17 is an evaluation execution means that executes evaluation by the corresponding function evaluation means according to the identifier of the function evaluation identifier buffer 16; and 18 is a function that is delayed when a new event occurs. Event and signal value schedule table 11 for events and signal values based on information
This is an event/signal value scheduling means that schedules events and signal values.

以下、本実施例の単位時間毎の論理シミュレーションの
処理の流れを第1図、第2図の流れ図、及び第3図の構
成図を用いて説明する。
Hereinafter, the flow of the logical simulation processing for each unit time of this embodiment will be explained using the flowcharts of FIGS. 1 and 2 and the configuration diagram of FIG. 3.

まず、該当する時刻に発生することをあらかじめスケジ
ュールされた事象が事象・信号値予定表11にスケジュ
ールさ−れているか否かを判定する。
First, it is determined whether an event scheduled in advance to occur at the relevant time is scheduled in the event/signal value schedule table 11.

事象がない場合はシミュレーションを終了し、次の時刻
のシミュレーションに進む(ステップ1)。
If there is no event, the simulation is ended and the simulation proceeds to the next time (step 1).

スケジュールされた事象がある場合は、事象・信号値予
定表11から事象を読み出し、事象バッファ9に転送す
る(ステップ2)、同時に、事象と共にスケジュールさ
れた信号値に基づいて内部状態メモリ10の更新を行う
。立ち上がりエツジであることを示すエツジフラグにつ
いては、内部状態を更新する前にリセットしておく。特
にクロック信号の論理値が0から1に更新された場合に
、エツジフラグを立てる(ステップ3)。続いて、論理
装置の内部状態及び機能素子、機能ブロック間の接続関
係に従って事象が伝搬する機能素子、機能ブロックを評
価する機能評価手段を選択する(ステップ4)。
If there is a scheduled event, read the event from the event/signal value schedule 11 and transfer it to the event buffer 9 (step 2); at the same time update the internal state memory 10 based on the signal value scheduled with the event. I do. The edge flag indicating a rising edge is reset before updating the internal state. In particular, when the logical value of the clock signal is updated from 0 to 1, an edge flag is set (step 3). Next, a function evaluation means for evaluating the functional elements and functional blocks to which the event propagates is selected according to the internal state of the logic device and the connection relationship between the functional elements and functional blocks (step 4).

この処理の説明は第2図の流れ図を用いる。This process will be explained using the flowchart shown in FIG.

まず、事象記憶手段13に記憶された事象を事象バッフ
ァ9に追加する(ステップ41)。
First, the event stored in the event storage means 13 is added to the event buffer 9 (step 41).

事象バッファ9に事象があるか否かを判定しくステップ
42)、事象がある限り、これを順に読みだす(ステッ
プ43)。
It is determined whether or not there is an event in the event buffer 9 (step 42), and as long as there is an event, it is read out in order (step 43).

内部状態メモリ10のエツジフラグを参照してクロック
信号が立ち上がりエツジであるか否かを決める。クロッ
ク信号が立ち上がりエツジの場合は前記事象を選択し、
それ以外の場合は選択しない。
The edge flag in the internal state memory 10 is referred to to determine whether the clock signal is a rising edge. If the clock signal is a rising edge, select the event;
Otherwise, do not select it.

この処理は起動条件判定手段12によって行う(ステッ
プ44)。
This process is performed by the activation condition determining means 12 (step 44).

事象が選択された場合は、接続情報メモリ15の接続情
報と機能評価選択手段14を用いて事象の起動する機能
評価手段の識別子を求め、これを機能評価識別子バッフ
ァに転送する(ステップ45.46)。
If an event is selected, the connection information in the connection information memory 15 and the function evaluation selection means 14 are used to obtain the identifier of the function evaluation means activated by the event, and this is transferred to the function evaluation identifier buffer (steps 45 and 46). ).

事象が選択されなかった場合は、事象記憶手段13によ
りその事象を記憶する(ステップ45.47)。
If no event is selected, the event is stored by the event storage means 13 (step 45.47).

引続き、事象バッファ9が空でない限り次の事象を読み
出す(ステップ48)。
Subsequently, unless the event buffer 9 is empty, the next event is read (step 48).

事象バッファ9が空になった時点で機能評価識別子バッ
ファ16が空であれば、処理を終了する(ステップ5)
If the function evaluation identifier buffer 16 is empty when the event buffer 9 is empty, the process ends (step 5).
.

機能評価識別子バッファ16に選択された機能評価手段
の識別子がある場合は、対応する機能評価手段を用いて
機能素子或いは機能ブロックの評価を行う。この処理は
評価実行手段17にて行う(ステップ6)。
If the function evaluation identifier buffer 16 contains the identifier of the selected function evaluation means, the corresponding function evaluation means is used to evaluate the functional element or functional block. This process is performed by the evaluation execution means 17 (step 6).

この結果、新たな事象が発生していない場合は、その単
位時間のシミュレーションを終了し次の単位時間のシミ
ュレーションに進む(ステップ7)。A新たに事象が発
生した場合は、事象・信号値スケジュール手段18によ
り事象と信号値を事象・信号値予定表11にスケジュー
ルして終了する(ステップ8)。
As a result, if no new event has occurred, the simulation for that unit time is ended and the simulation proceeds to the next unit time (step 7). A: If a new event occurs, the event and signal value are scheduled in the event/signal value schedule table 11 by the event/signal value scheduling means 18, and the process ends (step 8).

なお、起動条件判定手段12の起動条件としては、エツ
ジトリガクロック信号立ち上がりエツジ以外に、クロッ
ク信号の状態が立ち下がりエツジ、レベルトリガクロッ
クのオンレベル状態、制御信号のオン状態などがある。
The activation conditions for the activation condition determining means 12 include, in addition to the rising edge of the edge trigger clock signal, the falling edge of the clock signal, the on-level state of the level trigger clock, and the on-state of the control signal.

また、多相クロックの場合などは、事象毎に異なるクロ
ック信号を参照する起動条件で判定する。
Furthermore, in the case of a multi-phase clock, the determination is made based on activation conditions that refer to different clock signals for each event.

発明の効果 以上のように本発明は、事象駆動方式の論理シミュレー
ション方法であって、内部状態に基づく事象の選択と選
択されなかった事象を一旦記憶しておき内部状態の変化
に応じてこれを用いることにより、従来の事象駆動方式
の論理シミュレーション方法の不要な処理を削減し、効
率的な論理シミュレーションを実現するものである。
Effects of the Invention As described above, the present invention is an event-driven logic simulation method, which selects events based on internal states, temporarily stores unselected events, and changes them according to changes in internal states. By using this method, unnecessary processing in conventional event-driven logic simulation methods can be reduced and efficient logic simulation can be realized.

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

第1図は、本発明の一実施例の論理シミュレーション方
法に於ける単位時間毎の論理シミュレーションの処理を
示す流れ図、第2図は、第1図のステップ4に於ける事
象及び論理装置の内部状態に基づいて機能評価手段の選
択を行う処理の流れ図、第3図は、本発明の一実施例の
論理シミュレーション方法を実現する論理シミュレータ
の構成図、第4図は、従来の事象駆動方式の論理シミュ
レーション方法に置ける各時刻毎の論理シミュレーショ
ンの処理を示す流れ図である。 9・・・・・・事象バッファ、10・・・・・・内部状
態メモリ、11・・・・・・事象・信号値予定表、12
・・・・・・起動条件判定手段、13・・・・・・事象
記憶手段、14・・・・・・機能評価選択手段、15・
・・・・・接続情報メモリ、16・・・・・・機能評価
識割子バッファ、17・・・・・・評価実行手段、18
・・・・・・事象・信号値スケジュール手段。 代理人の氏名 弁理士 中屋敷男 はか1名第1図 第2図 第 3 図
FIG. 1 is a flowchart showing the logic simulation processing for each unit time in the logic simulation method according to an embodiment of the present invention, and FIG. 2 shows the events and internal parts of the logic device in step 4 of FIG. FIG. 3 is a flowchart of a process for selecting a function evaluation means based on the state. FIG. 3 is a block diagram of a logic simulator that implements a logic simulation method according to an embodiment of the present invention. FIG. 3 is a flowchart showing logical simulation processing at each time in a logical simulation method. 9...Event buffer, 10...Internal state memory, 11...Event/signal value schedule, 12
...Starting condition determining means, 13...Event storage means, 14...Function evaluation selection means, 15.
... Connection information memory, 16 ... Function evaluation identifier buffer, 17 ... Evaluation execution means, 18
...Event/signal value scheduling means. Name of agent: Patent attorney Hakao Nakayashiki Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 事象駆動方式を用いた論理装置の論理シミュレーション
を行う方法において、単位時間毎に発生した事象に対し
て、事象に駆動される機能素子或いは機能ブロックを評
価した場合、内部状態または出力値が更新される可能性
があるか否かを、前記論理装置の内部状態に基づいて判
定する起動条件測定手段と、前記事象を入力として、事
象が駆動する機能素子、或いは機能ブロックを評価する
機能評価手段を選択する機能評価選択手段と、前記事象
を記憶する事象記憶手段とを備え、前記単位時間毎に発
生する事象と前記事象記憶手段に記憶されている過去の
事象から前記起動条件判定手段を用いて、機能評価手段
を駆動する事象のみを選択し、前記選択された事象を入
力として、前記機能評価選択手段を用いて機能評価手段
の集合を求め、該当する機能素子、機能ブロックの評価
を行うとともに、前記起動条件判定手段による判定の結
果、選択されなかった事象については、前記事象記憶手
段に記憶させることを特徴とする論理シミュレーション
方法。
In a method of performing logic simulation of a logic device using an event-driven method, when a functional element or a functional block driven by an event is evaluated for an event that occurs every unit time, the internal state or output value is updated. activation condition measuring means that determines whether or not there is a possibility of the event occurring based on the internal state of the logic device; and function evaluation means that receives the event as input and evaluates a functional element or functional block driven by the event. function evaluation selection means for selecting the event; and event storage means for storing the event; is used to select only the events that drive the functional evaluation means, and using the selected events as input, obtain a set of functional evaluation means using the functional evaluation selection means, and evaluate the corresponding functional elements and functional blocks. A logic simulation method characterized in that the events not selected as a result of the determination by the activation condition determination means are stored in the event storage means.
JP30221887A 1987-11-30 1987-11-30 Logical simulation method Expired - Fee Related JP2563399B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30221887A JP2563399B2 (en) 1987-11-30 1987-11-30 Logical simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30221887A JP2563399B2 (en) 1987-11-30 1987-11-30 Logical simulation method

Publications (2)

Publication Number Publication Date
JPH01142946A true JPH01142946A (en) 1989-06-05
JP2563399B2 JP2563399B2 (en) 1996-12-11

Family

ID=17906378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30221887A Expired - Fee Related JP2563399B2 (en) 1987-11-30 1987-11-30 Logical simulation method

Country Status (1)

Country Link
JP (1) JP2563399B2 (en)

Also Published As

Publication number Publication date
JP2563399B2 (en) 1996-12-11

Similar Documents

Publication Publication Date Title
US6097885A (en) Digital system simulation
US4787062A (en) Glitch detection by forcing the output of a simulated logic device to an undefined state
KR19980032933A (en) Method and apparatus for design verification using emulation and simulation
JPH08503794A (en) Electronic circuit simulation model generation system and method with improved accuracy
US5650946A (en) Logic simulator which can maintain, store and use historical event records
JPH05128199A (en) Simulation device
US6077305A (en) Latch inference using dataflow analysis
KR0167876B1 (en) Integrated circuit simulator and method for simulation of integrated circuit
JP2002312410A (en) Logically designed circuit layout design, method, device for controlling timing, and program for executing the method, and outline flow chart showing processing order by computer readable program recorded with the program
US6237117B1 (en) Method for testing circuit design using exhaustive test vector sequence
US6378113B1 (en) Black box transparency in a circuit timing model
JPH01142946A (en) Logical simulating method
US6028993A (en) Timed circuit simulation in hardware using FPGAs
US7197445B1 (en) Atomic transaction processing for logic simulation
Huang On speeding up extended finite state machines using catalyst circuitry
JPH10261002A (en) Method and device for supporting design
US20050177357A1 (en) Static timing model for combinatorial gates having clock signal input
JPH02252065A (en) Logical simulation method
JPH06148293A (en) Test circuit for logical circuit
JPH1027185A (en) Logical simulation device
KR100312732B1 (en) Timing analysis system for digital circuits
JPH11143915A (en) Cycle base simulation method
Yakovlev et al. Petri nets and asynchronous circuit design
JP2972499B2 (en) Logic circuit delay simulator
JP3678656B2 (en) Interface circuit, logic circuit verification method, logic device, information processing device

Legal Events

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