JPH02252065A - Logical simulation method - Google Patents

Logical simulation method

Info

Publication number
JPH02252065A
JPH02252065A JP1072421A JP7242189A JPH02252065A JP H02252065 A JPH02252065 A JP H02252065A JP 1072421 A JP1072421 A JP 1072421A JP 7242189 A JP7242189 A JP 7242189A JP H02252065 A JPH02252065 A JP H02252065A
Authority
JP
Japan
Prior art keywords
event
evaluation
functional
time
storage means
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
JP1072421A
Other languages
Japanese (ja)
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 JP1072421A priority Critical patent/JPH02252065A/en
Publication of JPH02252065A publication Critical patent/JPH02252065A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To highly accurately and efficiently execute the simulation of the whole logical device by evaluating each individual block or function element constituting a logical device at a previously set different time interval in an event driving type logical simulation system. CONSTITUTION:An event to be generated within a fixed time is read out from the list of events recorded in an event/signal value schedule table 12 and a signal value indicating an event out of signal values stored in an internal state storage means 11 is updated and stored in an event storing means 15. Then, an evaluation timing deciding means 14 counts up respective elapsed time intervals by each unit time and indexes ID numbers and an evaluation condition storing means 13 successively obtains the valuation time intervals and the list of the IDs of the function elements or function blocks corresponding to the intervals. Then, respective IDs are successively inputted to a connecting information storing means 17, whether these IDs are stored in the means 15 or not is decided, and when the IDs are stored, the contents are deleted from the means 15.

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 or 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
By using I, it is possible to realize logic devices that are complex but have relatively low production costs (high added value).However, in the development of such logic devices, there are Therefore, the challenge is to reduce the increasing development and design costs.Furthermore, as the process progresses, modifications and changes become extremely difficult, so improving reliability from the initial stage of design has become a challenge.This background Under these circumstances, emphasis is placed on increasing the accuracy and speed of logic simulations that verify the functional design of logic devices and detailed gate-level logic designs.

一般に、論理装置は論理ゲート、フリップフロップ、レ
ジスタ、カウンタといった機能素子或いはより複雑な動
作をする機能ブロックの入出力間の接続関係を用いて表
現される。論理シミュレーションでは、このような論理
装置の仕様と論理装置への入力信号の時間的変化を表す
テストパターンを入力として、単位時間毎の論理装置の
各部分の信号の論理値が求められる。従来の論理シミュ
レーションは、論理装置の仕様をコンパイルして実行す
るコンパイル方式、または事象駆動方式で行われている
(例えばVLS I設計■ 岩波書店、1985年、第
193頁から第197頁)。コンパイル方式では、複雑
な処理を避け、論理装置を構成する各機能素子或いは機
能ブロックの評価手順、順序を固定して実行することに
より処理を単純にし高速化を図っている。しかし、帰還
ループや遅延の扱いが困難となっている。このため最近
では、任意の回路に適用でき、フリップフロップのセッ
トアツプタイムやホールドタイムやクロックスキューを
考慮するタイミング解析にも適した事象駆動方式が多く
採用されている。
In general, a logic device is expressed using a connection relationship between inputs and outputs of functional elements such as logic gates, flip-flops, 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 (for example, VLS I Design ■, Iwanami Shoten, 1985, pp. 193 to 197). In the compilation method, complicated processing is avoided, and the evaluation procedure and order of each functional element or functional block constituting the logical device are fixed and executed, thereby simplifying and speeding up the processing. However, handling feedback loops and delays becomes difficult. For this reason, recently, many event-driven methods have been adopted, which can be applied to any circuit and are suitable for timing analysis that takes into account flip-flop setup and hold times and clock skew.

事象駆動方式に於いていう事象とは、論理装置のどの敗
戦の信号の変化が起きたかを示すものである。また、事
象駆動とは、前記事象の発生と論理装置内部の接続関係
により、選択的に機能素子、機能ブロックの機能評価を
行うことである。事象駆動方式の論理シミュレーション
では、論理装置の入力端子と機能素子或いは機能ブロッ
クの入出力端子間を接続する配線上の信号値の変化に着
目している。何時、どの配線の信号値が変化するかはス
ケジュール表に記憶される。配線上の信号値が変化した
場合にのみ、配線先が入力となっている機能素子或いは
機能ブロックの動作を評価してこの出力信号値、内部状
態を求める。出力信号値が変化する場合には、これが伝
搬する配線とその信号値を遅延情報に基づいてスケジュ
ール表に記憶する。事象が発生する単位時間毎にこのよ
うな処理を繰り返すことにより、シミュレーションが行
われる。
In the event driven system, an event indicates which loss signal change of a logic device 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 the output signal value and internal state. When the output signal value changes, the wiring through which it propagates and its signal value are stored in a schedule table based on delay information. A simulation is performed by repeating such processing every unit time when an event occurs.

第10図は、以上のような従来の事象駆動方式に於ける
単位時間毎のシミュレーションにおいて、回路の動作を
評価する処理の一例を示す流れ図である。以下、第10
図を用いて処理の流れを説明する。
FIG. 10 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. Below, the 10th
The flow of processing will be explained using figures.

まず、事象の発生することをスケジュールされた最も近
い未来の時間に現在時間を設定する(ステップI)、ス
ケジュールされた事象のリストから、その時間に発生す
る予定の事象を読み出しくステップ2)、事象の示す信
号の値をスケジュール表に記憶されている信号値に更新
する(ステップ3)、続いて、論理装置を構成する機能
素子或いは機能ブロック間の接続関係に従って事象が伝
搬する機能素子或いは機能ブロック、即ち信号値に変化
が起きた信号線が入力として接続されている機能素子或
いは機能ブロックを選択する(ステップ24)。評価す
べき機能素子或いは機能ブロックが全く選択されなけれ
ば、次の未処理の事象の読み出しを行う(ステップ25
)。機能素子或いは機能ブロックが一つ以上選択された
場合は、その機能仕様と入力信号値から出力信号値を計
算する機能評価を行う(ステップ6)。評価の結果、機
能素子或いは機能ブロックの出力信号値に新たに事象が
発生したかを判定しくステップ7)、事象が発生した場
合は、機能素子、機能ブロック毎に与えられた遅延情報
に基づいて事象と事象が示す変化後の信号値のスケジュ
ールを行う(ステップ8)。新たな事象が発生していな
い場合は、そのまま現在時間に発生することを予定され
ている次の事象の読み出しを行い、以上の処理を繰り返
す(ステップ26)。その時間に発生することが予定さ
れた事象がなくなると、事象の発生することをスケジュ
ールされた最も近い未来の時間に現在時間を設定し、次
の単位時間の処理に移る。
First, set the current time to the nearest future time at which the event is scheduled to occur (Step I), read out the event scheduled to occur at that time from the list of scheduled events (Step 2), The value of the signal indicated by the event is updated to the signal value stored in the schedule table (step 3), and then the value of the signal indicated by the event is updated to the signal value stored in the schedule table.Next, the value of the signal indicated by the event is updated to the signal value stored in the schedule table, and then the function element or function to which the event is propagated is A block, ie, a functional element or a functional block to which the signal line whose signal value has changed is connected as an input is selected (step 24). If no functional element or functional block to be evaluated is selected, the next unprocessed event is read (step 25).
). If one or more functional elements or functional blocks are selected, a functional evaluation is performed to calculate an output signal value from the functional specifications and input signal values (step 6). As a result of the evaluation, it is determined whether a new event has occurred in the output signal value of the functional element or functional block (Step 7), and if an event has occurred, it is determined based on the delay information given for each functional element or functional block. The event and the signal value after the change indicated by the event are scheduled (step 8). If no new event has occurred, the next event scheduled to occur at the current time is read out, and the above process is repeated (step 26). When there are no more events scheduled to occur at that time, the current time is set to the nearest future time at which the event was scheduled to occur, and processing moves on to the next unit of time.

発明が解決しようとする課題 上記のような方法を用いる事象駆動方式は、論理装置に
おいて事象の発生した部分の動作だけを選択して評価す
るという意味で効率的な方法である。しかし、従来の事
象駆動方式のシミュレーションは以下の様な非効率的な
面を持っている。
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, conventional event-driven simulations have the following inefficient aspects.

論理装置全体のシミュレーションを行う場合、設計の進
捗の違いや着目点の違いから論理装置を構成する一部の
機能ブロック或いは機能素子はタイミング精度の高いシ
ミュレーションが必要であるが、残りの他の機能ブロッ
ク或いは機能素子についてはその必要が無く、機能的な
シミュレーションで十分なことが多い。これに対し、従
来の方式のシミュレーションでは、すべて同一の精度で
処理を行っているため、余分な処理時間を費やさなけれ
ばならない。
When simulating the entire logic device, some functional blocks or functional elements that make up the logic device require simulation with high timing accuracy due to differences in design progress and points of focus, but other functions require simulation with high timing accuracy. This is not necessary for blocks or functional elements, and functional simulation is often sufficient. In contrast, in conventional simulation methods, all processes are performed with the same precision, so extra processing time must be spent.

本発明は上記課題に鑑み、事象駆動方式に於ける不要な
処理を削減し、精度が良く、かつ効率的な論理シミュレ
ーション方法を提供するものである。
In view of the above problems, the present invention provides a highly accurate and 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 logic simulation method of the present invention uses an event-driven method, and is a logic simulation method for a logic device, in which each functional element or As a condition for evaluating internal states and output signal values for functional blocks,
evaluation condition storage means for storing the time interval for executing the evaluation; and monitoring the passage of unit time and outputting data specifying the functional element or functional block for which the evaluation time interval stored in the evaluation condition storage means has elapsed. an event determining means for determining whether an event that drives a functional element or a functional block has occurred using the evaluation timing determining means and selecting a functional element or functional block to be evaluated; an event storage means for storing an article event, the event storage means stores an event that occurs, and the evaluation timing determination means stores an event for which the evaluation timing determination means has elapsed an evaluation time interval specified by the evaluation timing determination means. A logical simulation method characterized by using an image determining means to determine the presence or absence of an event that drives the functional element or functional block, select the functional element or functional block in which the event is stored, and execute the evaluation. It is.

作用 本発明は上記した方法によって、論理装置を構成する個
々の機能ブロック或いは機能素子毎に、あらかじめ設定
した異なる時間間隔で評価を行うことができる。
Operation According to the method described above, the present invention can evaluate each functional block or functional element constituting a logic device at different preset time intervals.

これにより、論理装置全体のシミュレーションを必要な
精度でかつ効率的に行うことが可能になる。
This makes it possible to simulate the entire logic device with the necessary precision and efficiency.

実施例 以下本発明の一実施例を図面を参照しながら説明する。Example An embodiment of the present invention will be described below with reference to the drawings.

第1図は、単位時間毎の論理シミュレーションの処理を
示す流れ図である。第2図は、第1図のステップ5の機
能評価を行う機能素子或いは機能ブロックを選択する処
理の流れ図である。第3図は、本実施例の論理シミュレ
ーションを実現するシミュレータの構成図である。第4
図は、第3図のシミュレータを構成する評価条件記憶手
段の構成図である。第5図は、第3図の評価タイミング
判定手段の構成図である。第6図は、第3図の事象判定
手段の構成図である。第7図は、本実施例による論理シ
ミュレーション例において用いる機能ブロックと評価条
件記憶手段の内容を示す図である。第8図は、本実施例
による論理シミュレーション例において用いる第7図の
機能ブロックの入出力信号値の変化を示すタイミングチ
ャートである。第9図は、本実施例による論理シミュレ
ーション例における評価タイミング判定手段及び事象記
憶手段の内部状態を示す図である。
FIG. 1 is a flowchart showing logical simulation processing for each unit time. FIG. 2 is a flowchart of the process of selecting a functional element or functional block to perform functional evaluation in step 5 of FIG. 1. FIG. 3 is a configuration diagram of a simulator that implements the logic simulation of this embodiment. Fourth
This figure is a block diagram of evaluation condition storage means that constitutes the simulator of FIG. 3. FIG. 5 is a block diagram of the evaluation timing determining means of FIG. 3. FIG. 6 is a block diagram of the event determination means of FIG. 3. FIG. 7 is a diagram showing the functional blocks used in the logic simulation example according to this embodiment and the contents of the evaluation condition storage means. FIG. 8 is a timing chart showing changes in input and output signal values of the functional blocks of FIG. 7 used in the logic simulation example according to this embodiment. FIG. 9 is a diagram showing the internal states of the evaluation timing determining means and the event storing means in the logic simulation example according to this embodiment.

はじめに本実施例のシミュレータの構成について第3図
、第4図、第5図、第6図を用いて説明する。
First, the configuration of the simulator of this embodiment will be explained using FIGS. 3, 4, 5, and 6.

第3図において、10はシミュレーションの時間の進行
を制御する時間制御手段である。時間制御手段10によ
りシミュレーション上の現在時間を参照できる。
In FIG. 3, 10 is a time control means for controlling the progression of simulation time. The current time on the simulation can be referred to by the time control means 10.

11は論理装置を構成する機能素子及び機能ブロックの
内部状態、入出力端子の信号値と配線上の信号値を保持
する内部状態記憶手段である。内部状態記憶手段11は
、機能素子、機能ブロック、配線の識別子を索引として
検索でき、各々の内部状態や入出力信号値を読み書きで
きるデータ表である。
Reference numeral 11 denotes an internal state storage means for holding internal states of functional elements and functional blocks constituting the logic device, signal values of input/output terminals, and signal values on wiring. The internal state storage means 11 is a data table that can be searched using the identifiers of functional elements, functional blocks, and wiring as indexes, and that can read and write the internal states and input/output signal values of each.

12は、時間制御手段の10の示す現在時間から相対的
な未来の各時間に発生する事象及びその変化後の信号値
を記憶する事象・信号値スケジュール表である。事象・
信号値スケジュール表12には、相対的時間を索引とし
て事象の発生する信号とその信号値が記憶される。また
、事象・信号値スケジュール表12では、時間制御手段
10により現在時間が更新されると同期して、未来の各
事象の発生する相対的な時間が更新される。
Reference numeral 12 is an event/signal value schedule table that stores events occurring at respective future times relative to the current time indicated by 10 of the time control means and signal values after their changes. phenomenon·
The signal value schedule table 12 stores signals in which events occur and their signal values using relative times as indexes. Further, in the event/signal value schedule table 12, when the current time is updated by the time control means 10, the relative time at which each future event will occur is updated in synchronization.

13は論理装置を構成する各機能素子或いは機能ブロッ
クに関して、評価を実行する時間間隔を記憶する評価条
件記憶手段である。評価条件記憶手段13の構成は、第
4図に示される。
Reference numeral 13 denotes evaluation condition storage means for storing time intervals for performing evaluation regarding each functional element or functional block constituting the logical device. The configuration of the evaluation condition storage means 13 is shown in FIG.

14は評価条件記憶手段13に保持される評価時間間隔
を参照して、現在時間に評価する機能素子或いは機能ブ
ロックを指定する信号を出力する評価タイミング判定手
段である。評価タイミング判定手段14の構成は、第5
図に示される。
Reference numeral 14 denotes an evaluation timing determining means that refers to the evaluation time interval held in the evaluation condition storage means 13 and outputs a signal specifying a functional element or functional block to be evaluated at the current time. The configuration of the evaluation timing determining means 14 is as follows.
As shown in the figure.

15は事象を記憶する事象記憶手段である。事象記憶手
段15は、各信号に対して、事象があるか無いかを示す
フラグのデータ表と事象の有無の検索や事象の登録削除
を行う入出力手段から実現される。
15 is an event storage means for storing events. The event storage means 15 is realized by a data table of flags indicating whether or not an event exists for each signal, and input/output means for searching for the presence or absence of an event and deregistering an event.

16は評価タイミング判定手段15によって指定された
機能素子或いは機能ブロックに事象が発生しているか否
かを判定する事象判定手段である。事象判定手段16の
構成は第6図に示される。
Reference numeral 16 denotes an event determining means for determining whether an event has occurred in the functional element or functional block specified by the evaluation timing determining means 15. The configuration of the event determining means 16 is shown in FIG.

17は論理装置を構成する機能素子、機能ブロック間の
接続情報を記憶する接続情報記憶手段である。接続情報
記憶手段17は、機能素子或いは機能ブロックの識別子
を索引として、各々に接続している入力信号のリスト、
即ち各々の機能素子、機能ブロックを駆動する事象のリ
ストを検索できるデータ表である。
Reference numeral 17 denotes connection information storage means for storing connection information between functional elements and functional blocks constituting the logical device. The connection information storage means 17 stores a list of input signals connected to each functional element or functional block using the identifier of the functional element or functional block as an index.
That is, it is a data table from which a list of events that drive each functional element and functional block can be searched.

1日は、事象判定手段16によって選択された各機能素
子或いは機能ブロックについて、内部状態記憶手段11
に保持される現在の内部状態と入力信号値を参照して内
部状態と出力信号値を評価する機能評価手段である。機
能評価手段18は、機能素子或いは機能ブロック毎の機
能評価手続きを記憶する手段とその実行手段、及び与え
られる機能素子或いは機能ブロックの識別子と実行すべ
き手続きとその対応表から実現される。
On the 1st, the internal state storage means 11 is stored for each functional element or functional block selected by the event determination means 16.
This function evaluation means evaluates the internal state and output signal value by referring to the current internal state and input signal value held in the controller. The function evaluation means 18 is realized by means for storing the function evaluation procedure for each functional element or functional block, means for executing the same, and a correspondence table between the identifier of the given functional element or functional block, the procedure to be executed, and the same.

19は機能評価手段18により機能評価を行った結果、
新たな事象が生じた場合に遅延情報に基づいて事象と信
号値を事象・信号値スケジュール表12にスケジュール
する事象・信号値スケジュール手段である。事象・信号
値スケジュール手段19は、機能評価手段18による機
能評価の結果骨られる信号値と内部状態記憶手段9に記
憶される信号値を比較し、信号値の変化が生じたか否か
を判定する比較器と各機能素子、機能ブロックまたは配
線の識別子を索引として検索される遅延時間を記憶する
データ記憶手段と時間制御手段10の示す現在時間と前
記データ記憶手段から得られる遅延時間から事象の発生
する相対時間を計算する演算器から構成できる。
19 is the result of the functional evaluation performed by the functional evaluation means 18,
This is an event/signal value scheduling means that schedules events and signal values in the event/signal value schedule table 12 based on delay information when a new event occurs. The event/signal value scheduling means 19 compares the signal value obtained as a result of the functional evaluation by the function evaluation means 18 with the signal value stored in the internal state storage means 9, and determines whether a change in the signal value has occurred. Occurrence of an event based on the comparator and the data storage means for storing the delay time searched using the identifier of each functional element, functional block or wiring as an index, the current time indicated by the time control means 10, and the delay time obtained from the data storage means. It can be constructed from a computing unit that calculates the relative time.

第4図は、第3図のシミュレータを構成する評価条件記
憶手段14の構成図である。第4図において141は、
等しい時間間隔で評価する機能素子或いは機能ブロック
の識別子のリストを評価時間間隔に対応させて記憶させ
るデータ記憶手段である。
FIG. 4 is a block diagram of the evaluation condition storage means 14 that constitutes the simulator of FIG. 3. In FIG. 4, 141 is
This data storage means stores a list of identifiers of functional elements or functional blocks to be evaluated at equal time intervals in correspondence with the evaluation time intervals.

データ記憶手段141の各項目には、検索用の識別番号
が設定される。142は、識別番号を索引としてデータ
記憶手段141から評価時間間隔或いは機能素子、機能
ブロックの識別子リストを読み出す入出力制御手段であ
る。以上の構成により、評価条件として与える各時間間
隔でどの機能素子或いは機能ブロックを評価するかを、
識別番号を介して得ることができる。
An identification number for search is set in each item of the data storage means 141. Reference numeral 142 denotes input/output control means for reading out the evaluation time interval or the identifier list of functional elements or functional blocks from the data storage means 141 using the identification number as an index. With the above configuration, it is possible to determine which functional element or functional block is to be evaluated at each time interval given as an evaluation condition.
can be obtained via the identification number.

第5図は、第3図の評価タイミング判定手段15の構成
図である。第5図において、151は、前記各評価時間
間隔に対して与えた識別番号と第4図のデータ記憶手段
141における識別番号毎に、各機能素子、機能ブロッ
クを最も最近に評価した時間からの経過時間間隔を記憶
するデータ記憶手段である。152は、カウントアツプ
信号をトリガとしてデータ記憶手段151の各経過時間
間隔を1単位時間カウントアツプするカウント手段であ
る。
FIG. 5 is a block diagram of the evaluation timing determining means 15 of FIG. 3. In FIG. 5, reference numeral 151 indicates the time from which each functional element and functional block was most recently evaluated for each identification number given to each evaluation time interval and the identification number in the data storage means 141 of FIG. It is a data storage means for storing elapsed time intervals. 152 is a counting means that counts up each elapsed time interval of the data storage means 151 by one unit time using the count up signal as a trigger.

153は、識別番号と評価時間間隔を入力として、デー
タ記憶手段151を検索し、データ照合を行い、セレク
タ154にセレクト信号155を出力する入出力制御手
段である。入出力制御手段153は、入力と一致する識
別番号を持つ項目の経過時間間隔と入力の評価時間間隔
を比較する。比較結果が一致した場合は、当該経過時間
間隔をOにリセットし、セレクト信号155に1を出力
する。不一致の場合は、セレクト信号155に0を出力
する。セレクタ154には、入出力制御手段153に入
力される識別番号に対応する機能素子或いは機能ブロッ
クの識別子のリストが入力され、入出力制御手段153
の出力するセレクト信号155が1の場合はその入力リ
ストを出力する。セレクト信号155がOの場合は、選
択された識別子が無いことを示すデータを出力する。
Reference numeral 153 denotes input/output control means that inputs the identification number and evaluation time interval, searches the data storage means 151, performs data collation, and outputs a selection signal 155 to the selector 154. The input/output control means 153 compares the elapsed time interval of the item having the identification number matching the input with the evaluation time interval of the input. If the comparison results match, the elapsed time interval is reset to O and 1 is output to the select signal 155. If they do not match, 0 is output to the select signal 155. A list of identifiers of functional elements or functional blocks corresponding to the identification numbers input to the input/output control means 153 is input to the selector 154 , and
When the select signal 155 output by is 1, the input list is output. When the select signal 155 is O, data indicating that there is no selected identifier is output.

第6図は、第3図の事象判定手段16の構成図である。FIG. 6 is a block diagram of the event determination means 16 of FIG. 3.

161は、機能素子、機能ブロックの識別子のリストか
ら各識別子を順次出力するバッファである。162は、
接続情報記憶手段17の出力する事象のリストと事象記
憶手段15に記憶される事象リストを照合する事象照合
手段である。事象照合手段162は、接続情報記憶手段
17の出力する事象リストの内生なくとも一つの事象が
事象記憶手段15に記憶されている場合は、セレクト信
号165に1を出力し、同時に該当する事象を事象記憶
手段15から削除する。接続情報記憶手段17の出力す
る事象リストの事象がまったく事象記憶手段15に記憶
されていない場合は、セレクト信号165にOを出力す
る。セレクタ163は、セレクト信号165が1の場合
、バッファ161から出力された識別子を、バッファ1
64に出力する。セレクト信号165が0の場合は、選
択された識別子がないことを示すデータを出力する。
A buffer 161 sequentially outputs each identifier from a list of identifiers of functional elements and functional blocks. 162 is
This is an event checking means that compares the event list output from the connection information storage means 17 and the event list stored in the event storage means 15. If at least one event in the event list output by the connection information storage unit 17 is stored in the event storage unit 15, the event matching unit 162 outputs 1 to the select signal 165, and simultaneously selects the corresponding event. is deleted from the event storage means 15. If no event in the event list output by the connection information storage means 17 is stored in the event storage means 15, O is output to the select signal 165. When the select signal 165 is 1, the selector 163 transfers the identifier output from the buffer 161 to the buffer 1.
64. When the select signal 165 is 0, data indicating that there is no selected identifier is output.

次に本実施例の単位時間毎の論理シミュレーションの処
理の流れを主に第1図と第2図を用いて説明する。
Next, the flow of the logical simulation processing for each unit time of this embodiment will be explained using mainly FIGS. 1 and 2.

まず、事象の発生することをスケジュールされた最も近
い未来の時間に現在時間を設定する(ステップ1)。事
象・信号値スケジュール表12にスケジュールされた事
象のリストから、その時間に発生する予定の事象を読み
出しくステップ2)、内部状態記憶手段10に記憶され
る信号値のうち、事象の示す信号値を事象・信号値スケ
ジュール表12に記憶されている信号値に更新する(ス
テップ3)。事象を事象記憶手段15により記憶する(
ステップ4)、続いて、機能評価時間間隔と事象の有無
によって評価する機能素子或いは機能ブロックを選択す
る(ステップ5)。
First, the current time is set to the nearest future time at which the event is scheduled to occur (step 1). From the list of events scheduled in the event/signal value schedule table 12, the event scheduled to occur at that time is read out. Step 2): Among the signal values stored in the internal state storage means 10, the signal value indicated by the event is read out. is updated to the signal value stored in the event/signal value schedule table 12 (step 3). The event is stored by the event storage means 15 (
Step 4), and then select a functional element or functional block to be evaluated based on the functional evaluation time interval and the presence or absence of an event (step 5).

ステップ5の処理を第2図を用いて説明する。The process of step 5 will be explained using FIG.

まず、評価タイミング判定手段14において記憶されて
いる各経過時間間隔を1単位時間カウントアツプする(
ステップ51)0次に識別番号を索引として、評価条件
記憶手段13により順次評価時間間隔とこれに対応する
機能素子、機能ブロックの識別子のリストを得る。得ら
れた識別番号と評価時間間隔と機能素子、機能ブロック
の各組に対して、順次評価タイミング判定手段14を用
いて、評価時間間隔が経過した機能素子或いは機能ブロ
ックの識別子リストを選択する(ステップ52)。
First, each elapsed time interval stored in the evaluation timing determining means 14 is counted up by one unit time (
Step 51) Next, using the identification number as an index, the evaluation condition storage means 13 sequentially obtains a list of evaluation time intervals and identifiers of functional elements and functional blocks corresponding thereto. For each set of the obtained identification number, evaluation time interval, functional element, and functional block, the evaluation timing determining means 14 is used to select the identifier list of the functional element or functional block for which the evaluation time interval has elapsed ( Step 52).

ステップ52にて選択された各機能素子、機能ブロック
の識別子リストの各々の識別子を順次、接続情報記憶手
段17に入力し、識別子の示す機能素子或いは機能ブロ
ックを駆動する事象のリストを得る(ステップ53)。
Each identifier in the identifier list of each functional element or functional block selected in step 52 is input in sequence into the connection information storage means 17 to obtain a list of events that drive the functional element or functional block indicated by the identifier (step 53).

各事象のリストに対して、事象照合手段162により事
象リスト中の少なくとも一つの事象が事象照合手段工5
に記憶されているか否かを判定する(ステップ54)。
For each event list, the event matching means 162 determines that at least one event in the event list is detected by the event matching means 5.
It is determined whether or not it is stored in (step 54).

少なくとも一つ以上、事象リスト中の事象が事象記憶手
段15に記憶されている場合はセレクタ163により、
当該事象リストに対応する機能素子或いは機能ブロック
の識別子が選択される(ステップ56)。同時に事象記
憶手段15から事象リスト中にある事象が削除される(
ステップ57)。以上で第1図のステップ5の説明を終
わり、次にステツブ6からの説明を行う。
If at least one event in the event list is stored in the event storage means 15, the selector 163 selects
The identifier of the functional element or functional block corresponding to the event list is selected (step 56). At the same time, the events in the event list are deleted from the event storage means 15 (
Step 57). This concludes the explanation of step 5 in FIG. 1, and next, explanation will be given from step 6.

ステップ5において選択された識別子の示す機能素子或
いは機能ブロックの機能評価を機能評価手段18を用い
て行う(ステップ6)。
Functional evaluation of the functional element or functional block indicated by the identifier selected in step 5 is performed using the functional evaluation means 18 (step 6).

評価の結果、新たな事象が発生していない場合は、その
単位時間のシミュレーションを終了し次の単位時間のシ
ミュレーションに進む(ステップ7)。新たに事象が発
生した場合は、事象・信号値スケジュール手段18によ
り事象と信号値を事象・信号値予定表11にスケジュー
ルして(ステップ8)終了する(ステップ9)。
As a result of the evaluation, 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). When 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 (step 8), and the process ends (step 9).

次に、本実施例のシミュレーション方法による論理シミ
ュレーションの例を主に第7図、第8図、第9図を用い
て説明する。
Next, an example of logic simulation using the simulation method of this embodiment will be explained using mainly FIGS. 7, 8, and 9.

第7図(a) (b)は、シミュレーションの対象とな
る機能ブロックとその評価条件を記憶するデータ図であ
る。
FIGS. 7(a) and 7(b) are data diagrams for storing functional blocks to be simulated and their evaluation conditions.

第7図において、20は、二つの8ビット信号AとBを
入力し、乗算を行い16ビツトの信号Cを出力する機能
ブロックである。機能ブロック20には、識別子として
番号1が与えられている。1411は、機能ブロック2
0の評価条件を記憶する評価条件記憶手段におけるデー
タ表を示す。データ表1411の識別番号iの評価条件
には、評価時間間隔としてTと、機能ブロック20の識
別子1を含んだ識別子のリストとが記憶されている。
In FIG. 7, 20 is a functional block that inputs two 8-bit signals A and B, performs multiplication, and outputs a 16-bit signal C. The functional block 20 is given the number 1 as an identifier. 1411 is functional block 2
11 shows a data table in an evaluation condition storage means that stores evaluation conditions of 0. In the evaluation condition of the identification number i of the data table 1411, T as the evaluation time interval and a list of identifiers including the identifier 1 of the functional block 20 are stored.

第8図は、前記機能ブロック20の入力信号に発生する
事象と機能評価の結果生じる出力信号の事象の発生を示
すタイミングチャートである。21は、機能ブロック2
0の入力信号Bに時間む0で事象が発生したことを示す
。同様に22は時間t1で入力信号Aに事象が発生し、
23には時間t2で出力信号Cに事象が発生することを
示す事象21.22は、あらかじめ事象・信号値スケジ
ュール手段によって事象・信号値スケジュール表の各々
時間to、時間t1に発生する事象として登録されてい
るとする。
FIG. 8 is a timing chart showing events occurring in the input signal of the functional block 20 and events occurring in the output signal resulting from functional evaluation. 21 is functional block 2
This indicates that an event has occurred at time 0 for input signal B of 0. Similarly, in 22, an event occurs in the input signal A at time t1,
In 23, event 21.22 indicating that an event occurs in the output signal C at time t2 is registered in advance by the event/signal value scheduling means as an event occurring at time to and time t1 in the event/signal value schedule table, respectively. Suppose that

第9図は、第8図のタイミングチャートの各時間におけ
る事象記憶手段に記憶される事象と評価タイミング判定
手段のデータ表での識別番号iの経過時間間隔を示す。
FIG. 9 shows the elapsed time interval between the event stored in the event storage means and the identification number i in the data table of the evaluation timing determination means at each time in the timing chart of FIG.

13L 132.133.134.135゜136は、
各々第8図のタイミングチャートにおける時間1、時間
to、時間t1、時間T、時間t2、時間2Tでの事象
記憶手段に記憶される事象を示す。1511.1512
.1513.1514.1515.1516は、各々第
8図のタイミングチャートにおける時間1、時間LO1
時間L1、時間T、時間t2、時間2Tでの評価タイミ
ング判定手段のデータ表での識別番号iを持つ項目の経
過時間間隔を示す。
13L 132.133.134.135°136 is
Events stored in the event storage means at time 1, time to, time t1, time T, time t2, and time 2T in the timing chart of FIG. 8 are shown, respectively. 1511.1512
.. 1513.1514.1515.1516 are time 1 and time LO1 in the timing chart of FIG. 8, respectively.
The elapsed time intervals of the item having the identification number i in the data table of the evaluation timing determining means at time L1, time T, time t2, and time 2T are shown.

以上を用いて、評価時間間隔Tを指定した機能ブロック
20に対する時間lから時間2Tまでのシミュレーショ
ンの処理を説明する。
Using the above, a simulation process from time 1 to time 2T for the functional block 20 with the specified evaluation time interval T will be described.

まず、時間1では、初期設定として識別番号iの経過時
間間隔1511は1に設定され、事象記憶手段131に
は事象が記憶されていない。時間toになるまで事象・
信号値スケジュール表に事象が登録されていないので、
評価タイミング判、定手段のデータ表の各経過時間間隔
の1単位時間カウントアツプのみを行って現在時間を更
新する。時間toでは、機能ブロック20の入力信号B
の事象21を事象・信号値スケジュール表から読み出し
、内部状態記憶手段に記憶される信号Bの信号値を更新
する。事象21は、事象記憶手段により記憶される。
First, at time 1, the elapsed time interval 1511 of the identification number i is set to 1 as an initial setting, and no event is stored in the event storage means 131. Events and events until time to
Since the event is not registered in the signal value schedule table,
The current time is updated by only counting up one unit of time for each elapsed time interval in the data table of the evaluation timing judgment and determination means. At time to, input signal B of function block 20
event 21 is read out from the event/signal value schedule table, and the signal value of signal B stored in the internal state storage means is updated. Event 21 is stored by the event storage means.

事象記憶手段の内容は第9図132のようになる。The contents of the event storage means are as shown in FIG. 9, 132.

評価タイミング判定手段のデータ表の各経過時間間隔を
1単位時間カウントアツプする。
Each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time.

次に評価タイミング判定手段により評価時間間隔が経過
した機能素子、機能ブロックの識別子のリストを検索す
る処理を説明する。まず評価条件記憶手段のデータ表1
411において識別番号iとその評価時間間隔T、機能
ブロック20の識別子1を含む機能素子、機能ブロック
の識別子リストが得られる。評価タイミング判定手段で
は、識別番号Iと評価時間間隔Tから、機能ブロック2
0の識別子1を含む識別子のリストを選択するか否かを
判定する。この場合、経過時間間隔1512の値がt。
Next, a process of searching a list of identifiers of functional elements and functional blocks for which the evaluation time interval has elapsed by the evaluation timing determining means will be described. First, data table 1 of evaluation condition storage means.
In step 411, an identifier list of functional elements and functional blocks including the identification number i, its evaluation time interval T, and the identifier 1 of the functional block 20 is obtained. The evaluation timing determining means determines the function block 2 from the identification number I and the evaluation time interval T.
It is determined whether a list of identifiers including 0 and 1 is to be selected. In this case, the value of elapsed time interval 1512 is t.

であり、評価時間間隔Tが経過していないため、この機
能ブロック20の識別子1を含む識別子のリストは選択
されない。以上で時間toのシミュレーションの処理は
終了し、現在時間の更新を行う。
Since the evaluation time interval T has not elapsed, the list of identifiers including identifier 1 of this functional block 20 is not selected. This completes the simulation process for time to, and updates the current time.

以降、時間t1までの各時間の処理では評価タイミング
判定手段のデータ表の各経過時間間隔が1単位時間づつ
カウントアツプされる。時間t1では、機能ブロック2
0の入力信号Aの事象22を事象・信号値スケジュール
表から読み出す。時間LOの場合と同様に処理が行われ
、事象22は、事象記憶手段により記憶される。事象記
憶手段の内容は第9図133のようになる。
Thereafter, in the processing at each time up to time t1, each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time. At time t1, function block 2
Event 22 of input signal A of 0 is read from the event/signal value schedule table. Processing is carried out in the same manner as in the case of time LO, and event 22 is stored by the event storage means. The contents of the event storage means are as shown in FIG. 9, 133.

同様に時間Tまでの各時間の処理では評価タイミング判
定手段のデータ表の各経過時間間隔を1単位時間づつカ
ウントアツプする。時間Tでは、評価タイミング判定手
段のデータ表の各経過時間間隔を1単位時間カウントア
ツプし、識別番号iの経過時間間隔がTとなる。続いて
、評価条件記憶手段のデータ表1411から識別番号i
とその評価時間間隔T、機能ブロック20の識別子1を
含む機能素子、機能ブロックの識別子リストを求め、評
価タイミング判定手段によって、識別番号iと評価時間
間隔Tから、機能ブロック20の識別子1を含む識別子
のリストを選択するか否かを判定する。
Similarly, in processing each time up to time T, each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time. At time T, each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time, and the elapsed time interval of identification number i becomes T. Next, the identification number i is entered from the data table 1411 of the evaluation condition storage means.
and its evaluation time interval T, the functional element including the identifier 1 of the functional block 20, and the identifier list of the functional block are obtained, and the evaluation timing determining means calculates the identifier including the identifier 1 of the functional block 20 from the identification number i and the evaluation time interval T. Determine whether to select a list of identifiers.

この場合、評価時間間隔Tが経過しているので、機能ブ
ロック20の識別子1を含む機能素子、機能ブロックの
識別子リストが選択される。同時に評価タイミング判定
手段のデータ表の識別番号iの経過時間間隔がOにリセ
ットされる。時間Tでの識別番号iの経過時間間隔は、
第9図1515のようになる。
In this case, since the evaluation time interval T has elapsed, the identifier list of functional elements and functional blocks including the identifier 1 of the functional block 20 is selected. At the same time, the elapsed time interval of the identification number i in the data table of the evaluation timing determining means is reset to O. The elapsed time interval of identification number i at time T is
The result will be as shown in FIG. 9 1515.

次に識別子リストの各識別子について、事象判定手段に
よって選択が行われる。事象判定手段による機能ブロッ
ク20の識別子lの選択は以下のように行われる。
Next, each identifier in the identifier list is selected by the event determining means. The selection of the identifier l of the functional block 20 by the event determination means is performed as follows.

まず、機能ブロック20を駆動する事象のリストを接続
情報記憶手段によって求める。事象リストは、第7図の
ブロック図から、入力信号名A、 Bが得られるとする
。次に事象照合手段によって前記の事象リスト中の少な
くとも−の事象が事象記憶手段により記憶されているか
否かを判定する。
First, a list of events that drive the functional block 20 is obtained by the connection information storage means. Assume that the event list is obtained from the input signal names A and B from the block diagram of FIG. Next, the event checking means determines whether at least the negative event in the event list is stored in the event storage means.

この場合、事象としてASBがともに事象記憶手段に記
憶されているので、機能ブロック20の識別子1が選択
される。同時に事象リスト中の事象A、Bが事象記憶手
段より削除される。この結果、事象記憶手段の内容は第
9図134のようになる。
In this case, since ASB is also stored as an event in the event storage means, identifier 1 of the functional block 20 is selected. At the same time, events A and B in the event list are deleted from the event storage means. As a result, the contents of the event storage means become as shown in FIG. 9 134.

識別子が選択されると識別子に対応する機能素子或いは
機能ブロックの機能評価を機能評価手段によって行う。
When an identifier is selected, a functional evaluation means performs a functional evaluation of the functional element or functional block corresponding to the identifier.

識別番号1に対して、機能ブロック20の評価手続きが
起動されて出力信号Cが計算される。このとき、本シミ
ュレーション例では、信号線Cに信号値が変化すること
が判明し、機能ブロック20に与えられた遅延時間で事
象・信号値スケジュール表に新たな事象が登録される。
For identification number 1, the evaluation procedure of function block 20 is activated and output signal C is calculated. At this time, in this simulation example, it is found that the signal value changes on the signal line C, and a new event is registered in the event/signal value schedule table at the delay time given to the functional block 20.

以上で時間Tのシミュレーションの処理は終了し、現在
時間の更新を行う。
This completes the simulation process for time T, and updates the current time.

続いて時間L2までの各時間の処理では評価タイミング
判定手段のデータ表の各経過時間間隔が1単位時間づつ
カウントアツプされる。時間t2では、機能ブロック2
0の出力信号Cの事象22を事象・信号値スケジュール
表から読み出す。時間toの場合と同様に処理が行われ
、事象22は、事象記憶手段により記憶される。事象記
憶手段の内容は第9図135のようになる。
Subsequently, in processing each time up to time L2, each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time. At time t2, function block 2
Event 22 of output signal C of 0 is read from the event/signal value schedule table. Processing is performed in the same manner as at time to, and event 22 is stored by the event storage means. The contents of the event storage means are as shown in FIG. 9, 135.

再び時間2Tまで各時間の処理では評価タイミング判定
手段のデータ表の各経過時間間隔が1単位時間づつカウ
ントアツプされる。最後に時間2Tでは、時間Tの場合
と同様に、評価タイミング判定手段のデータ表の各経過
時間間隔を1単位時間カウントアツプし、識別番号iの
経過時間間隔がTとなる。続いて、評価条件記憶手段の
データ表1411から識別番号iとその評価時間間隔T
、機能ブロック20の識別子1を含む機能素子、機能ブ
ロックの識別子リストを求める。評価タイミング判定手
段によって、識別番号iと評価時間間隔Tから、機能ブ
ロック20の識別子1を含む識別子のリストを選択する
か否かを判定し、評価時間間隔Tが経過しているので、
機能ブロック20の識別子1を含む機能素子、機能ブロ
ックの識別子リストが選択される。この場合は、機能ブ
ロック20を駆動する事象のASBのどちらも事象記憶
手段に記、憶されていないため、機能ブロック20の機
能評価を行うことなくシミュレーションを終了する。
In processing each time up to time 2T again, each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time. Finally, at time 2T, as in the case of time T, each elapsed time interval in the data table of the evaluation timing determining means is counted up by one unit time, and the elapsed time interval of identification number i becomes T. Next, the identification number i and its evaluation time interval T are obtained from the data table 1411 of the evaluation condition storage means.
, a list of identifiers of functional elements and functional blocks including the identifier 1 of the functional block 20 is obtained. The evaluation timing determining means determines whether to select the list of identifiers including the identifier 1 of the functional block 20 from the identification number i and the evaluation time interval T, and since the evaluation time interval T has elapsed,
An identifier list of functional elements and functional blocks including the identifier 1 of the functional block 20 is selected. In this case, since neither ASB of the event that drives the functional block 20 is stored in the event storage means, the simulation is ended without functional evaluation of the functional block 20.

発明の効果 以上のように本発明は、事象駆動方式の論理シミュレー
ション方法であって、論理装置を構成する個々の機能ブ
ロック或いは機能素子毎に、あらかじめ設定した異なる
時間間隔で評価を行うことにより、論理装置全体のシミ
ュレーションを必要な精度でかつ効率的に行うことがで
きる。
Effects of the Invention As described above, the present invention is an event-driven logic simulation method that evaluates each functional block or functional element constituting a logic device at different time intervals set in advance. The entire logic device can be simulated with the necessary precision and efficiency.

これによって、特に大規模化するLSIをはじめとする
論理装置の機能・論理設計の設計検証に要する時間が削
減されるため、システムレベルから品質の高い設計がで
き、設計期間全体の短縮が図れるものと考えられる。
This reduces the time required to verify the functional and logical design of logical devices, including LSIs, which are becoming increasingly large in scale, enabling high-quality designs from the system level and shortening the overall design period. it is conceivable that.

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

第1図は、本発明の一実施例の論理シミュレーション方
法に於ける単位時間毎の論理シミュレーションの処理を
示す流れ図、第2図は、第1図のステップ5に於ける機
能評価を行う機能素子或いは機能ブロックの選択を行う
処理の流れ図、第3図は、本発明の一実施例の論理シミ
ュレーション方法を実現する論理シミュレータの構成図
、第4図は、各々第3図の評価条件記憶手段の構成図、
第5図は評価タイミング判定手段の構成図、第6図は事
象判定手段の構成図、第7図は、本発明の実施例による
論理シミュレーションの例において、シミュレーション
の対象となる機能ブロックとその評価条件を記憶するデ
ータ図、第8図は、第7図の機能ブロックの入力信号に
発生する事象と機能評価の結果生じる出力信号の事象の
発生を示すタイミングチャート、第9図は、第8図のタ
イミングチャートの各時間における事象記憶手段に記憶
される事象と評価タイミング判定手段のデータ表の識別
番号iの経過時間間隔を示す図、第10図は、従来の事
象駆動方式の論理シミュレーション方法に於ける各時刻
毎の論理シミュレーションの処理を示す流れ図である。 10・・・・・・時間制御手段、11・・・・・・内部
状態記憶手段、12・・・・・・事象・信号値スケジュ
ール表、13・・・・・・評価条件記憶手段、14・・
・・・・評価タイミング判定手段、15・・・・・・事
象記憶手段、16・・・・・・事象判定手段、17・・
・・・・接続情報記憶手段、18・・・・・・機能評価
手段、19・・・・・・事象・信号値スケジュール手段
。 渠 図 第2図 斗中 ;四 、、1IJ− 第 図 ! 2丁 錫 図 時 間 t+ 時 間 時 間 太2 鍔 間 2丁
FIG. 1 is a flowchart showing the logic simulation process for each unit time in the logic simulation method according to an embodiment of the present invention, and FIG. 2 shows the functional elements that perform the functional evaluation in step 5 of FIG. Alternatively, FIG. 3 is a flow chart of a process for selecting a functional block, FIG. 3 is a block diagram of a logic simulator that implements a logic simulation method according to an embodiment of the present invention, and FIG. Diagram,
5 is a block diagram of the evaluation timing determining means, FIG. 6 is a block diagram of the event determining means, and FIG. 7 is a functional block to be simulated and its evaluation in an example of logic simulation according to an embodiment of the present invention. 8 is a data diagram for storing conditions, and FIG. 8 is a timing chart showing events occurring in the input signal of the functional block in FIG. 7 and events in the output signal resulting from functional evaluation. FIG. FIG. 10 is a diagram showing the elapsed time interval between the event stored in the event storage means and the identification number i of the data table of the evaluation timing determination means at each time in the timing chart of FIG. 3 is a flowchart showing logical simulation processing at each time. 10... Time control means, 11... Internal state storage means, 12... Event/signal value schedule table, 13... Evaluation condition storage means, 14・・・
...Evaluation timing determining means, 15...Event storage means, 16...Event determining means, 17...
... connection information storage means, 18 ... function evaluation means, 19 ... event/signal value scheduling means. Channel map 2nd map; 4th, 1IJ- Figure! 2-cho tin diagram time t + time time ta 2 Tsubama 2-cho

Claims (1)

【特許請求の範囲】[Claims] 事象駆動方式を用いた論理装置の論理シミュレーション
を行う方法において、シミュレーションを行う論理装置
を構成する各機能素子或いは機能ブロックに対して、内
部状態と出力信号値の評価を実行する条件として、前記
評価を実行する時間間隔を記憶する評価条件記憶手段と
、単位時間の経過を監視し、前記評価条件記憶手段に記
憶される評価時間間隔が経過した機能素子或いは機能ブ
ロックを指定するデータを出力する評価タイミング判定
手段と、前記評価タイミング判定手段により機能素子或
いは機能ブロックを駆動する事象が発生しているか否か
を判定し、評価を行う機能素子或いは機能ブロックを選
択する事象判定手段と、前記事象を記憶する事象記憶手
段とを備え、発生する事象を前記事象記憶手段により記
憶するとともに、前記評価タイミング判定手段の指定し
た評価時間間隔が経過した機能素子或いは機能ブロック
に対し、前記事象判定手段を用いて、前記機能素子或い
は機能ブロックを駆動する事象の有無を判定し、事象が
記憶されている機能素子或いは機能ブロックを選択して
評価を実行することを特徴とする論理シミュレーション
方法。
In a method for performing logic simulation of a logic device using an event-driven method, the above-mentioned evaluation is performed as a condition for evaluating the internal state and output signal value for each functional element or functional block that constitutes the logic device to be simulated. an evaluation condition storage means for storing a time interval for performing the evaluation, and an evaluation for monitoring the passage of unit time and outputting data specifying the functional element or functional block for which the evaluation time interval stored in the evaluation condition storage means has elapsed. a timing determination means; an event determination means for determining whether an event that drives a functional element or a functional block has occurred using the evaluation timing determining means and selecting a functional element or functional block to be evaluated; and an event storage means for storing an event that occurs, the event storage means stores an event that occurs, and the event judgment is performed for a functional element or functional block for which an evaluation time interval specified by the evaluation timing judgment means has elapsed. A logic simulation method characterized in that the presence or absence of an event that drives the functional element or functional block is determined using means, and the functional element or functional block in which the event is stored is selected and evaluated.
JP1072421A 1989-03-24 1989-03-24 Logical simulation method Pending JPH02252065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1072421A JPH02252065A (en) 1989-03-24 1989-03-24 Logical simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1072421A JPH02252065A (en) 1989-03-24 1989-03-24 Logical simulation method

Publications (1)

Publication Number Publication Date
JPH02252065A true JPH02252065A (en) 1990-10-09

Family

ID=13488806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1072421A Pending JPH02252065A (en) 1989-03-24 1989-03-24 Logical simulation method

Country Status (1)

Country Link
JP (1) JPH02252065A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07191957A (en) * 1993-12-27 1995-07-28 Nec Corp Hardware simulator
JPH0863516A (en) * 1994-08-22 1996-03-08 Nec Corp Event scheduling system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07191957A (en) * 1993-12-27 1995-07-28 Nec Corp Hardware simulator
JPH0863516A (en) * 1994-08-22 1996-03-08 Nec Corp Event scheduling system

Similar Documents

Publication Publication Date Title
JP3872954B2 (en) System and method for identifying finite state machines and inspecting circuit designs
KR100521289B1 (en) Method of extracting timing characteristics of transistor circuits, storage medium storing timing characteristic library, lsi designing method, and gate extraction method
US8060847B2 (en) Clock model for formal verification of a digital circuit description
US8306802B2 (en) Method for modeling an HDL design using symbolic simulation
CN109901049A (en) Detect the method, apparatus of asynchronous paths in integrated circuit timing path
CN107844678B (en) Spice simulation method containing IP/Memory time sequence path
CN107784185B (en) Method and device for extracting pseudo path in gate-level netlist and terminal equipment
US6879948B1 (en) Synchronization of hardware simulation processes
JPH02252065A (en) Logical simulation method
US7197445B1 (en) Atomic transaction processing for logic simulation
CN104636509B (en) The system and method for sequence problem is verified in Gate Level Simulation
CN102788950B (en) Cycle-accurate converter and integrated circuit validation method and system thereof
Oh et al. Efficient logic-level timing analysis using constraint-guided critical path search
JP2970600B2 (en) Logic simulation method
JP2563399B2 (en) Logical simulation method
JP3654941B2 (en) Logic simulation method and logic simulator
JPH10254914A (en) Logic simulated result analyzer
CN117725866A (en) Verification method, verification device, electronic equipment and readable storage medium
JP2616541B2 (en) Logic simulator
JP3012546B2 (en) Simulation apparatus and method
JPH0195365A (en) Analyzing processing system for critical path
JP2996153B2 (en) ASIC verification method
JPS6398042A (en) Simulation method
JPH04211872A (en) Timing inspection method for logic circuit
JP2005182093A (en) System and method for supporting verification of circuit function, control program and readable recording medium