JPH07129636A - Logical simulation method - Google Patents

Logical simulation method

Info

Publication number
JPH07129636A
JPH07129636A JP5279251A JP27925193A JPH07129636A JP H07129636 A JPH07129636 A JP H07129636A JP 5279251 A JP5279251 A JP 5279251A JP 27925193 A JP27925193 A JP 27925193A JP H07129636 A JPH07129636 A JP H07129636A
Authority
JP
Japan
Prior art keywords
event
value
identifier
propagation
time
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
JP5279251A
Other languages
Japanese (ja)
Inventor
Takashi Suzuki
敬 鈴木
Toru Shonai
亨 庄内
Konagi Uchibe
こなぎ 内部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5279251A priority Critical patent/JPH07129636A/en
Publication of JPH07129636A publication Critical patent/JPH07129636A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently detect an event to be invalid and to accurately perform logical simulation. CONSTITUTION:The propagation time 104 of signals, the identifier 105 of element information propagated by the signals and a propagated signal value 106 are provided as event information and the identification number 112 of an element kind, an element intrinsic title 113, an input terminal number 114, the list 131 of connection destination painters for the respective input terminals, the connection destination number 116 of output terminals, the list 133 of the connection destination pointers and an element output value 119 are provided as the element information. Further, the identifier 10'7 of the event is provided as the event information and the identifier 118 of a delay model, a succeeding output value 120, a propagation identifier, 121 and the list 135 of delay values corresponding to output signal change are provided as the element information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の動作を計算
機上で模擬する論理シミュレーション方法に係わり、特
に、複数の遅延モデルの素子を同時に処理するシミュレ
ーションを行う方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation method for simulating the operation of a logic circuit on a computer, and more particularly to a method for performing a simulation for simultaneously processing a plurality of delay model elements.

【0002】[0002]

【従来の技術】論理回路を計算機で模擬する論理シミュ
レーションの方法としてイベント法が知られている。イ
ベント法では論理素子の信号値変化をイベントと呼び、
このイベントを信号値変化が伝播する時刻の順番に評価
することで処理を行う。基本素子が全て1出力の素子で
あるとする場合、従来のイベント法ではイベントの情報
として、図2(a)に示すように、信号の伝播する時
刻,信号の伝播する素子情報の識別子,伝播する信号値
を持つ。また、論理素子の情報も図2(b)に示すよう
に素子種の識別番号,素子固有名称,入力端子数,各入
力端子毎の接続先ポインタのリスト,出力端子の接続先
数と接続先ポインタのリスト,素子固有の遅延値,素子
の出力値を持つ。
2. Description of the Related Art The event method is known as a logic simulation method for simulating a logic circuit with a computer. In the event method, the change in the signal value of a logic element is called an event,
Processing is performed by evaluating this event in order of the time at which the signal value change propagates. When all the basic elements are elements with one output, in the conventional event method, as the event information, as shown in FIG. 2A, the time at which the signal propagates, the identifier of the element information at which the signal propagates, and the propagation Has a signal value to As shown in FIG. 2B, the information of the logic element is also the identification number of the element type, the element unique name, the number of input terminals, a list of connection destination pointers for each input terminal, the number of connection destinations of the output terminals and the connection destinations. It has a list of pointers, element-specific delay values, and element output values.

【0003】また図3に示すように、素子の出力端子に
信号の伝播する時刻は入力端子に信号変化が伝播した時
刻XTに各素子固有の遅延時間Dを加えた時刻XT+D
で与えられる。
Further, as shown in FIG. 3, the time at which the signal propagates to the output terminal of the element is the time XT + D obtained by adding the delay time D peculiar to each element to the time XT at which the signal change propagates to the input terminal.
Given in.

【0004】実際の論理回路では論理回路の構成方法や
トランジスタなどの回路素子の特性により、出力信号値
が「0」から「1」に変化する立ち上がり時と「1」か
ら「0」に変化する立ち下がり時の遅延時間が異なる。
そのため、信号の立ち上がり,立ち下がりの遅延を扱う
論理シミュレーションのモデルが知られている。また、
入力端子に短いパルスが印加された場合、最初の入力変
化が出力に伝達する前に次の入力変化が印加されると出
力信号は全く変化しないというモデルも、慣性遅延モデ
ルとして知られている。さらに、長い信号線を伝搬する
信号では、パルスの幅が0にならない限り、入力の変化
にかかわらず信号が伝わる。そのようなモデルは伝播遅
延モデルとして知られている。慣性遅延モデル,伝播遅
延モデルでは入力側の信号変化により生成されるイベン
トが伝播時に無効になる場合がある。
In an actual logic circuit, the output signal value changes from "0" to "1" at the time of rising and "1" to "0" depending on the method of forming the logic circuit and the characteristics of circuit elements such as transistors. The delay time at the fall is different.
Therefore, a logic simulation model that handles delays of rising and falling of signals is known. Also,
A model in which when a short pulse is applied to an input terminal and the output signal is not changed at all when the next input change is applied before the first input change is transmitted to the output is also known as an inertial delay model. Further, in a signal propagating through a long signal line, the signal propagates regardless of a change in input unless the pulse width becomes 0. Such a model is known as a propagation delay model. In the inertial delay model and the propagation delay model, an event generated by a signal change on the input side may become invalid during propagation.

【0005】図4は立ち下がりの遅延値が4,立ち上が
りの遅延値が2である論理素子401について、慣性遅延
モデル(b)と伝播遅延モデル(c)での無効イベント
の例の説明図である。慣性遅延モデル(b)では最初の
入力信号変化411により発生したイベント412が伝
播する前に次の入力信号変化413が発生するため、イ
ベント412と入力変化413に起因するイベント41
4は無効となる。一方、伝播遅延モデル(c)では最初
の入力信号変化421により発生したイベント422が
伝播する前に次の入力信号変化423により発生したイ
ベント424が伝播するとイベント422とイベント4
23は無効となる。
FIG. 4 is an explanatory diagram of an example of an invalid event in the inertial delay model (b) and the propagation delay model (c) for the logic element 401 having a falling delay value of 4 and a rising delay value of 2. is there. In the inertial delay model (b), the next input signal change 413 occurs before the event 412 generated by the first input signal change 411 propagates. Therefore, the event 412 and the event 41 caused by the input change 413 are generated.
4 is invalid. On the other hand, in the propagation delay model (c), if the event 424 generated by the next input signal change 423 propagates before the event 422 generated by the first input signal change 421 propagates, the event 422 and the event 4
23 is invalid.

【0006】このような無効イベントを検出し、正しく
シミュレーションを行う方法が特願平4−2752号明細書
や特開平5−143669 号公報に述べられている。
A method of detecting such an invalid event and performing a correct simulation is described in Japanese Patent Application No. 4-2752 and Japanese Patent Application Laid-Open No. 5-143669.

【0007】[0007]

【発明が解決しようとする課題】従来の方法では、慣性
遅延モデルの素子と伝播遅延モデルの素子が混在する場
合に対応していなかった。そのため、素子のモデルの違
いによりそれぞれ別の処理をプログラム中に実現する必
要があった。
The conventional method does not deal with the case where the elements of the inertial delay model and the elements of the propagation delay model coexist. Therefore, it is necessary to implement different processes in the program depending on the model of the device.

【0008】本発明の目的は、慣性遅延モデルの素子と
伝播遅延モデルの素子が混在する場合にも対応できる論
理シミュレーション方法を提供することにある。
An object of the present invention is to provide a logic simulation method which can cope with the case where elements of inertial delay model and elements of propagation delay model are mixed.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に、従来のイベント情報にイベントの識別番号を格納す
るイベント識別子を付加し、素子情報にその素子がどの
遅延モデルにより評価する素子かを識別する遅延モデル
識別子と出力信号が次に変化する値を保持する次出力値
とイベントの識別番号を格納する伝播識別子を付加す
る。また各素子情報の遅延値は立ち上がり立ち下がりそ
れぞれの値を保持する。
In order to solve the above problems, an event identifier for storing an identification number of an event is added to conventional event information, and the element information indicates which delay model the element is evaluated by. A delay model identifier for identification, a next output value holding a value at which the output signal changes next, and a propagation identifier for storing the identification number of the event are added. The delay value of each element information holds the rising and falling values.

【0010】そして、遅延モデル識別子が「慣性遅延モ
デル」である場合は素子情報の伝播識別子を有効な登録
イベントの有無を表すフラグとして用いて、イベントが
無効になった場合はその値をイベント識別番号の範囲外
の値に変更し、有効な場合はその値を有効なイベントの
イベント識別番号とする。遅延モデル識別子が「伝播遅
延モデル」である場合は、素子情報の伝播識別子に、そ
の素子に伝播した最新のイベントのイベント識別子の値
を格納する。論理シミュレーション実行時に、各イベン
トのイベント識別子とイベントの伝播する素子の遅延モ
デル識別子と伝播識別子の値により、イベントの有効無
効を判定する。
When the delay model identifier is the "inertial delay model", the propagation identifier of the element information is used as a flag indicating the presence or absence of a valid registration event, and when the event is invalid, the value is identified as the event. Change it to a value outside the range of numbers, and if valid, use that value as the event identification number of the valid event. When the delay model identifier is the “propagation delay model”, the value of the event identifier of the latest event propagated to the element is stored in the element information propagation identifier. At the time of executing the logic simulation, the validity or invalidity of the event is determined by the values of the event identifier of each event, the delay model identifier of the element through which the event propagates, and the propagation identifier.

【0011】[0011]

【作用】イベントが有効か無効は以下の条件で決まる。
慣性遅延モデルの場合は入力変化時に、その変化により
出力値が変化することが判明した段階で、既に登録済み
のイベントが存在すればそのイベントと、その入力変化
により発生するイベントが無効イベントとなる。伝播遅
延モデルの場合はイベントの発生順序と伝播順序の関係
が逆転した場合に追い越したイベントと追い越されたイ
ベントの双方が無効になる。
[Operation] Whether the event is valid or invalid is determined by the following conditions.
In the case of the inertial delay model, when it is found that the output value changes due to the change when the input changes, if there is an already registered event, that event and the event generated by the input change become invalid events. . In the case of the propagation delay model, both the overtaken event and the overtaken event become invalid when the relationship between the event generation order and the propagation order is reversed.

【0012】この手段により、慣性遅延モデルの素子
で、登録済みのイベントが無効になった場合にはイベン
ト情報のイベント識別子の値と素子情報の伝播識別子の
値が異なるのでイベントを伝播する処理の段階でイベン
トの有効無効を判断できる。また伝播遅延モデルの素子
で、登録済みのイベントが無効になった場合にはイベン
ト情報のイベント識別子の値と素子情報の伝播識別子の
値の順序関係は逆転するので慣性遅延モデルの素子の場
合と同様にイベントを伝播する処理の段階でイベントの
有効無効を判断できる。
By this means, when the registered event is invalid in the element of the inertial delay model, the value of the event identifier of the event information and the value of the propagation identifier of the element information are different, so that the process of propagating the event is performed. It is possible to judge whether the event is valid or invalid at the stage. In addition, when the registered event is invalid in the element of the propagation delay model, the order relationship between the value of the event identifier of the event information and the value of the propagation identifier of the element information is reversed. Similarly, the validity / invalidity of an event can be determined at the stage of processing for propagating the event.

【0013】[0013]

【実施例】以下、本発明の実施例を図1,図5ないし図
46を用いて説明する。まず、図1と図5ないし図7を
用いて、複数の遅延モデルの素子を含む論理回路のシミ
ュレーション方法の実施例を説明する。次に図8ないし
図46を用いて本実施例による論理シミュレーションの
動作を例題を用いて説明する。
Embodiments of the present invention will be described below with reference to FIGS. 1 and 5 to 46. First, an embodiment of a simulation method of a logic circuit including a plurality of delay model elements will be described with reference to FIGS. 1 and 5 to 7. Next, the operation of the logic simulation according to the present embodiment will be described with reference to FIGS.

【0014】本実施例では論理値として0,1,不定値
Xの3値を扱い、各素子に遅延時間を想定した論理シミ
ュレーションのモデルを採用する。また本実施例では本
発明とは直接関係のない部分、例えば、論理シミュレー
ションに必要な論理回路の構造を解析し、シミュレーシ
ョンに必要なデータ構造を作る処理やシミュレーション
の結果をユーザに理解できる形式で出力する処理の説明
は省略し、論理シミュレーションの実行部分についての
み説明する。
In this embodiment, three values of 0, 1 and an indefinite value X are handled as logical values, and a logic simulation model assuming a delay time is adopted for each element. Further, in the present embodiment, a portion which is not directly related to the present invention, for example, a process of analyzing a structure of a logic circuit necessary for the logic simulation and creating a data structure necessary for the simulation and a result of the simulation in a format that can be understood by the user. The description of the output process is omitted, and only the execution part of the logic simulation will be described.

【0015】また、本実施例の説明では複数の要素を持
つデータの最初の要素を0番目の要素,その次の要素を
1番目の要素、というように何番目という数え方の場合
は0を先頭とする。
Further, in the description of this embodiment, 0 is assigned to the first element of data having a plurality of elements, the 0th element to the next element, and the 1st element to the next element. The first.

【0016】図1は本実施例による論理シミュレーショ
ンを実現するデータ構造の説明図である。図1(a)は
イベント情報を格納するデータ構造である。101は従
来からイベント法による論理シミュレーションで用いら
れているタイムホイールと呼ばれるデータ構造である。
タイムホイールはイベントを信号伝播時刻により分類
し、保持する。各イベント情報102はリンクポインタ
103で接続し、順次読みだすことが可能になってい
る。イベント情報は104〜107の四つの情報により
構成される。一つのイベントの情報は、「ある素子の出
力端子がある時刻にある値に変化する」という情報であ
る。伝播時刻104はイベントが伝播する時刻、伝播素
子識別子105はイベントが伝播する素子の識別子、伝
播信号値106はイベントにより伝播する素子出力の信号
値、イベント識別子107はイベント発生順の連続値を
用いてイベントを識別する番号である。
FIG. 1 is an explanatory diagram of a data structure for realizing a logic simulation according to this embodiment. FIG. 1A is a data structure for storing event information. Reference numeral 101 is a data structure called a time wheel that has been conventionally used in logic simulation by the event method.
The time wheel classifies events according to the signal propagation time and holds them. Each event information 102 is connected by a link pointer 103 and can be sequentially read. The event information is composed of four pieces of information 104 to 107. The information of one event is the information that “the output terminal of a certain element changes to a certain value at a certain time”. The propagation time 104 is the time at which the event propagates, the propagation element identifier 105 is the identifier of the element through which the event is propagated, the propagation signal value 106 is the signal value of the element output propagated by the event, and the event identifier 107 is a continuous value in the order of event occurrence. Is a number that identifies the event.

【0017】図1(b)の111は論理素子の情報を格
納するデータ構造である。ここでは複数の入力端子、一
つの出力端子を持つ論理素子を基本素子とする。論理シ
ミュレーション時には論理素子の数だけ111のデータ
構造を用意する。図1(b)において、素子種識別番号
112は素子の種類の識別子、素子固有名称113は素
子111が表現する素子の固有名称、入力端子数114
は素子の入力端子の数、115は入力端子情報リストの
格納領域を指すポインタ、出力接続先数116は出力端
子に接続する素子の個数、117は出力接続先情報リス
トの格納領域を指すポインタである。遅延モデル識別子
118は素子111が扱う遅延モデルの種類を示す識別
子、出力値119は素子111の現在の出力値、次出力
値120は素子111の将来の出力値である。伝播識別
子121は慣性遅延モデルの場合には現在登録中のその
素子に関するイベントのイベント識別番号,伝播遅延モ
デルの場合にはその素子の伝播した最新のイベントのイ
ベント識別番号を格納する。122は遅延値情報リスト
の格納領域を指すポインタである。
Reference numeral 111 in FIG. 1B is a data structure for storing information on the logic element. Here, a basic element is a logic element having a plurality of input terminals and one output terminal. At the time of logic simulation, 111 data structures corresponding to the number of logic elements are prepared. In FIG. 1B, an element type identification number 112 is an element type identifier, an element unique name 113 is an element unique name represented by the element 111, and the number of input terminals 114.
Is the number of input terminals of the element, 115 is a pointer to the storage area of the input terminal information list, 116 is the number of elements connected to the output terminal, 117 is a pointer to the storage area of the output connection information list. is there. The delay model identifier 118 is an identifier indicating the type of delay model handled by the element 111, the output value 119 is the current output value of the element 111, and the next output value 120 is the future output value of the element 111. In the case of the inertial delay model, the propagation identifier 121 stores the event identification number of the event relating to the element currently registered, and in the case of the propagation delay model, the event identification number of the latest event propagated by the element is stored. Reference numeral 122 is a pointer that points to the storage area of the delay value information list.

【0018】入力端子情報リストの格納領域131は、
入力接続先ポインタにより構成され、その要素数132
は入力端子数114に等しい。入力接続先ポインタは素
子111の入力端子の先に接続する素子情報の先頭を指
すポインタである。出力接続先情報リストの格納領域1
33は、出力接続先の素子情報を格納する領域の先頭を
指すポインタにより構成され、その要素数134は出力
接続先数116に等しい。出力接続先ポインタは素子1
11の出力端子の先に接続する素子情報の先頭を指すポ
インタである。遅延値情報リストの格納領域135は素
子111の立ち上がり,立ち下がり毎の遅延値を格納す
る。その要素数136は素子111の出力が取り得る全
ての信号変化の種類の数に等しい。
The storage area 131 for the input terminal information list is
It is composed of input connection destination pointers and has 132 elements.
Is equal to the number of input terminals 114. The input connection destination pointer is a pointer that points to the beginning of element information that is connected to the tip of the input terminal of the element 111. Storage area 1 for output connection destination information list
33 is constituted by a pointer pointing to the head of the area for storing the element information of the output connection destination, and the number of elements 134 is equal to the number 116 of output connection destinations. Output connection pointer is element 1
11 is a pointer that points to the head of element information connected to the end of the output terminal 11. The storage area 135 of the delay value information list stores the delay value at each rising and falling of the element 111. The number of elements 136 is equal to the number of all kinds of signal changes that the output of the element 111 can take.

【0019】図5は本発明を実施する論理シミュレーシ
ョンの処理の説明図である。図5の処理は、シミュレー
ション対象の論理回路の素子と接続情報をあらかじめ図
1の111の形式で作成した後に開始される。初期状態
では図1(a)のイベント情報を格納するタイムホイー
ル中にはイベント情報は格納されていない。まず、50
1でシミュレーションの時刻XTとイベント識別番号E
IDを初期化する。502のループは処理503〜50
6をシミュレーション時刻XTが終了時刻に達するまで
繰り返す。テストベクトルの追加処理503はシミュレ
ーション時に与えられるテストベクトルをイベントとし
て追加する処理である。この処理では時刻XTに伝播す
るテストベクトルをイベントとしてタイムホイールに追
加する。イベント伝播処理504はタイムホイールに保
持された時刻XTのイベントの情報に従い、イベントを
各素子に伝播する処理である。
FIG. 5 is an explanatory diagram of a logic simulation process for implementing the present invention. The process of FIG. 5 is started after the elements of the logic circuit to be simulated and the connection information are created in advance in the format 111 of FIG. In the initial state, no event information is stored in the time wheel that stores the event information of FIG. First, 50
Simulation time XT and event identification number E in 1
Initialize the ID. The loop of 502 is processing 503 to 50
6 is repeated until the simulation time XT reaches the end time. The test vector addition process 503 is a process of adding a test vector given during simulation as an event. In this process, the test vector propagating at time XT is added to the time wheel as an event. The event propagation process 504 is a process of propagating an event to each element according to the event information at time XT held in the time wheel.

【0020】素子出力値評価処理505はイベントの伝
播した、即ち、出力信号の値が変化した素子の出力端子
に接続する素子、即ち入力信号が変化した素子につい
て、新たな入力信号値をもとに新たな出力信号値を求
め、新たな出力信号値がそれまでの出力信号値と異な
り、かつその変化が無効でない場合に、その変化をイベ
ントとしてタイムホイールに追加する。506はシミュ
レーション時刻XTを次の時刻に更新する処理である。
The element output value evaluation processing 505 determines a new input signal value for the element connected to the output terminal of the element in which the event has propagated, that is, the value of the output signal has changed, that is, the element whose input signal has changed. If a new output signal value is different from the previous output signal value and the change is not invalid, the change is added to the time wheel as an event. Reference numeral 506 is a process for updating the simulation time XT to the next time.

【0021】図6は、図5におけるイベント伝播処理5
04の詳細説明図である。図6(a)はイベント伝播処理
により作成される出力先接続素子情報600のデータ構
造の説明図である。イベント伝播処理では、タイムホイ
ールに格納されたイベントを素子に伝播する、そして、
イベントが伝播した素子の出力端子に接続する素子を指
すポインタを図6(a)に示すテーブルに列挙する。す
なわち、出力先接続素子情報600は参照ポインタQ6
01と出力先接続素子テーブル602により構成され
る。テーブル602は素子情報の先頭を指すポインタで
ある出力先接続ポインタ603により構成される。
FIG. 6 shows the event propagation process 5 in FIG.
It is a detailed explanatory view of 04. FIG. 6A is an explanatory diagram of the data structure of the output destination connection element information 600 created by the event propagation processing. In the event propagation processing, the event stored in the time wheel is propagated to the element, and
A pointer pointing to the element connected to the output terminal of the element to which the event has propagated is listed in the table shown in FIG. That is, the output destination connection element information 600 is the reference pointer Q6.
01 and an output destination connection element table 602. The table 602 is composed of an output destination connection pointer 603 which is a pointer pointing to the head of the element information.

【0022】図6(b)はイベント伝播処理の手順の説
明図である。まず611で参照ポインタQをテーブル6
02の先頭を指すように設定する。ループ612はタイ
ムホイール中に格納されている現在のシミュレーション
時刻XTに伝播する全てのイベントについて繰り返す。
613でイベントEをタイムホイールから取り出す。6
14は、Eの信号伝播素子105が指す素子Xについ
て、素子Xの遅延モデル識別子118の値が慣性遅延モ
デルである場合は615〜617へ、伝播遅延モデルで
ある場合は618〜620へ分岐する条件分岐である。
615ではイベントEのイベント識別子107と素子X
の伝播識別子121を比較し、等しい場合は616を、
等しくない場合は617を行う。616ではフラグの値
をオンとし、さらに素子Xの伝播識別子の値を0とす
る。617ではフラグの値をオフとする。
FIG. 6B is an explanatory diagram of the procedure of event propagation processing. First, at 611, the reference pointer Q is set to the table 6
Set to point to the beginning of 02. Loop 612 repeats for all events propagating at the current simulation time XT stored in the time wheel.
At 613, the event E is taken out from the time wheel. 6
14 branches to 615 to 617 when the value of the delay model identifier 118 of the element X is the inertial delay model, and to 618 to 620 when the value of the delay model identifier 118 of the element X is the propagation delay model. This is a conditional branch.
In 615, the event identifier 107 of the event E and the element X
Of the propagation identifiers 121 of the
If they are not equal, 617 is performed. At 616, the value of the flag is turned on, and the value of the propagation identifier of the element X is set to 0. At 617, the value of the flag is turned off.

【0023】618ではイベントEのイベント識別子と
素子Xの伝播識別子を比較し、イベント識別子の値が伝
播識別子の値と等しいかあるいは大きい場合に619
を、それ以外の場合に620を行う。619ではフラグ
の値をオンとし、さらに素子Xの伝播識別子の値をイベ
ントEのイベント識別子の値とする。620ではフラグ
の値をオフとする。621ではフラグの値を調べ、フラ
グがオンの場合のみ622以降を行う。622では素子X
の出力値119とイベントEの伝播信号値106を比較
し、値が等しくない場合に623以降を行う。623で
は素子Xの出力値をイベントEの伝播信号値とする。6
24〜625では素子Xの出力接続先ポインタ133の
内容を出力先接続素子テーブル602に追加する。62
4のループは素子Xの出力接続先数116に等しい回数
だけ回る。
At 618, the event identifier of the event E and the propagation identifier of the element X are compared, and if the value of the event identifier is equal to or larger than the value of the propagation identifier, 619.
Otherwise 620 is performed. At 619, the value of the flag is turned on, and the value of the propagation identifier of the element X is set as the value of the event identifier of the event E. At 620, the value of the flag is turned off. In 621, the value of the flag is checked, and 622 and subsequent steps are performed only when the flag is on. Element X at 622
Output value 119 and the propagation signal value 106 of event E are compared, and if the values are not equal, 623 and thereafter are performed. At 623, the output value of the element X is set as the propagation signal value of the event E. 6
In 24 to 625, the content of the output connection destination pointer 133 of the element X is added to the output destination connection element table 602. 62
The loop of 4 turns the number of times equal to the number of output destinations 116 of the element X.

【0024】図7は、図5における素子評価処理505
の詳細説明図である。図の処理手順ではまず701で図
6(a)の出力先接続情報を格納するテーブル602を
指すポインタRを、テーブル602の先頭を指すように
初期化する。ループ702はポインタRがテーブル60
2の要素の範囲、即ちイベント伝播処理504で登録し
た個数だけ703〜713の処理を繰り返す。703で
は、Rが指す先の要素の出力接続先ポインタ603が指
す素子Yについて、素子Yの入力端子に接続する素子、
即ち、入力接続先ポインタ131が指す素子の出力値
と、素子Yの素子種識別番号112と、素子Yの次出力
値120から、素子Yの各出力端子の新しい出力値PV
を求める。704では素子Yの出力値が次出力値からP
Vへ変化する場合の遅延値Dを素子Yの遅延値情報リス
トを参照して求める。705では703で求めた新しい
出力値PVと素子Yの出力値が等しくない場合に706
以降の処理を行う。
FIG. 7 shows the element evaluation processing 505 in FIG.
FIG. In the processing procedure shown in the figure, first at 701, a pointer R pointing to the table 602 storing the output destination connection information of FIG. 6A is initialized to point to the head of the table 602. In the loop 702, the pointer R is the table 60
The processing of 703 to 713 is repeated by the range of the two elements, that is, the number registered in the event propagation processing 504. In 703, for the element Y pointed to by the output connection destination pointer 603 of the element pointed to by R, the element connected to the input terminal of the element Y,
That is, from the output value of the element pointed by the input connection destination pointer 131, the element type identification number 112 of the element Y, and the next output value 120 of the element Y, a new output value PV of each output terminal of the element Y is obtained.
Ask for. At 704, the output value of the element Y becomes P from the next output value.
The delay value D when changing to V is obtained by referring to the delay value information list of the element Y. In 705, if the new output value PV obtained in 703 and the output value of the element Y are not equal, 706
Perform the following processing.

【0025】706は、素子Yの遅延モデル識別子の値
が慣性遅延モデルである場合は707〜710へ、伝播遅
延モデルである場合は711〜712へ分岐する条件分
岐である。707は条件分岐で、素子Yの伝播識別子の
値が0でなく、かつ素子Yの出力値とPVが等しい場合
に708を、そうでない場合は709と710へ分岐す
る。708では素子Yの伝播識別子の値を0とする。7
09では、現在のシミュレーション時刻XTに、遅延値
Dを加えた値を伝播時刻104,素子Yの情報を格納す
る領域の先頭を指すポインタ値を伝播素子識別子10
5,PVを伝播信号値106,現在のイベント識別番号
EIDの値をイベント識別子107とするイベントをタ
イムホイールに追加する。710では素子Yの伝播識別
子を現在のイベント識別番号EIDとし、さらにEID
の値を更新する(1を加える)。
Reference numeral 706 is a conditional branch that branches to 707 to 710 when the value of the delay model identifier of the element Y is the inertial delay model and to 711 to 712 when it is the propagation delay model. A conditional branch 707 branches to 708 if the value of the propagation identifier of the element Y is not 0 and the output value of the element Y is equal to PV, and branches to 709 and 710 otherwise. At 708, the value of the propagation identifier of the element Y is set to 0. 7
At 09, the value obtained by adding the delay value D to the current simulation time XT is the propagation time 104, and the pointer value pointing to the beginning of the area for storing the information of the element Y is the propagation element identifier 10
5, an event having PV as the propagation signal value 106 and the current event identification number EID as the event identifier 107 is added to the time wheel. In 710, the propagation identifier of the element Y is set to the current event identification number EID, and the EID
Update the value of (add 1).

【0026】711では709と同様にイベントを登録
する。712ではEIDの値を更新する(1を加え
る)。713では素子Yの次出力値にPVの値とする。
714ではポインタRの値を次の要素を指すように更新
する。
At 711, an event is registered as in 709. At 712, the value of EID is updated (1 is added). At 713, the value of PV is set as the next output value of the element Y.
At 714, the value of the pointer R is updated to point to the next element.

【0027】図8以降では図5ないし図7で説明した本
発明の実施例の動作例を説明する。図8は説明に利用す
る論理回路の例を示す図である。図8(a)は実際の論
理回路、図8(b)はシミュレーション実行時の回路で
ある。図8(a)の801は回路の入力端子、802は
G1という固有名称を持つ素子で、その種類はNOTで
ある。803は素子802の出力信号、804はG2と
いう固有名称を持つ素子で、その種類はNOTである。
805は素子804の出力信号である。回路の入力端子
801は素子802と素子803の入力端子に接続して
いる。素子802と素子803の出力端子803と805
はどこにも接続していない。図8(b)では、論理シミ
ュレーション用に入力端子を表す仮想的な入力素子81
1が付加されるが、その他の回路の構造は図8(a)と
同じである。仮想入力素子811の固有名称はG0とす
る。図8(a)の802に対応する素子812と804
に対応する素子814の入力端子は仮想入力素子811
の出力端子に接続している。素子812と素子814の
出力端子は図8(a)と同様にどこにも接続していな
い。
An operation example of the embodiment of the present invention described with reference to FIGS. 5 to 7 will be described with reference to FIGS. FIG. 8 is a diagram showing an example of a logic circuit used for description. FIG. 8A shows an actual logic circuit, and FIG. 8B shows a circuit when the simulation is executed. In FIG. 8A, 801 is an input terminal of the circuit, 802 is an element having a unique name of G1, and its type is NOT. 803 is an output signal of the element 802, 804 is an element having a unique name of G2, and its type is NOT.
805 is an output signal of the element 804. The input terminal 801 of the circuit is connected to the input terminals of the element 802 and the element 803. Output terminals 803 and 805 of element 802 and element 803
Is not connected to anything. In FIG. 8B, a virtual input element 81 that represents an input terminal for logic simulation.
1 is added, but the structure of the other circuits is the same as that of FIG. The unique name of the virtual input element 811 is G0. Elements 812 and 804 corresponding to 802 in FIG.
The input terminal of the element 814 corresponding to
It is connected to the output terminal of. The output terminals of the element 812 and the element 814 are not connected to anywhere as in FIG.

【0028】図9は図8の回路を図1(b)の111に
示すデータ構造に基づいて表現した例である。図8
(b)の回路は仮想入力素子も含めて三つの素子で構成
されるので111の形式のデータ構造も3個必要にな
る。
FIG. 9 shows an example in which the circuit of FIG. 8 is expressed based on the data structure shown by 111 in FIG. 1 (b). Figure 8
Since the circuit (b) is composed of three elements including the virtual input element, three 111-type data structures are also required.

【0029】9011は仮想入力素子G0を表現してい
る。その情報を格納する先頭のアドレスを0とする。9
012は素子種を識別する番号で仮想入力素子に対応す
る値(ここでは0)を格納する。9013は素子の固有
名称であるG0を格納する。9014は仮想入力素子の
入力端子の数を表す。仮想入力素子には入力端子が存在
しないので9014は0で、入力の接続先のポインタリ
ストへのポインタ9015はどこも指していない。90
16は仮想入力素子の出力先接続数2を格納する。90
17は仮想入力素子の出力の接続先ポインタリスト90
33へのポインタを格納する。9033は入力接続先ポ
インタで仮想入力素子の出力に接続する素子G1とG2
の素子情報を格納する領域の先頭アドレス11と22を
格納する。
Reference numeral 9011 represents a virtual input element G0. The top address for storing the information is set to 0. 9
012 is a number for identifying the element type and stores a value (here, 0) corresponding to the virtual input element. 9013 stores G0 which is a unique name of the element. 9014 represents the number of input terminals of the virtual input element. Since there is no input terminal in the virtual input element, 9014 is 0, and the pointer 9015 to the pointer list of the connection destination of the input does not point anywhere. 90
16 stores the output destination connection number 2 of the virtual input element. 90
17 is a connection destination pointer list 90 for the output of the virtual input element
The pointer to 33 is stored. Reference numeral 9033 is an input connection destination pointer, and elements G1 and G2 connected to the output of the virtual input element.
The top addresses 11 and 22 of the area for storing the element information of are stored.

【0030】9018は仮想入力素子の遅延モデル識別
子を格納する。ここでは仮想入力素子の遅延モデル識別
子を「伝播」とする。9019,9020は仮想入力素
子の出力値と次出力値である。これらの初期値は不定値
「X」とする。9021は仮想入力素子の伝播識別子で
初期値は0である。仮想入力素子の場合は遅延値を持た
ないので遅延値情報リストの格納領域を指すポインタ9
022はどこも指さない。
Reference numeral 9018 stores the delay model identifier of the virtual input element. Here, the delay model identifier of the virtual input element is “propagation”. 9019 and 9020 are the output value and the next output value of the virtual input element. The initial value of these is an undefined value "X". 9021 is a propagation identifier of the virtual input element, and its initial value is 0. Since the virtual input element has no delay value, the pointer 9 pointing to the storage area of the delay value information list
022 does not point anywhere.

【0031】9111は素子G1を表現している。素子
情報を格納する領域の先頭アドレスは11である。91
12はNOTの素子種を表す1を格納する。9113に
は素子の固有名称G1を格納する。9114には素子の
入力端子の数である1を格納する。9115は素子の入
力接続先ポインタリストを格納する領域9131へのポ
インタを格納する。9131は素子の入力端子の数に等
しい要素を持ち、素子G1の入力端子に接続する仮想入
力素子の素子情報格納領域の先頭アドレス0を格納す
る。9116は素子G1の出力接続先数を格納する。9
117は素子G1の出力接続先ポインタのリストへのポ
インタである。素子G1の出力端子はどこにも接続して
いないので9116の値は0、9117はどこも指さな
い。
Reference numeral 9111 represents the element G1. The top address of the area for storing the element information is 11. 91
12 stores 1 representing the NOT element type. A unique name G1 of the element is stored in 9113. 9114 stores 1 which is the number of input terminals of the element. Reference numeral 9115 stores a pointer to an area 9131 that stores an input connection destination pointer list of the element. 9131 has elements equal in number to the input terminals of the element, and stores the head address 0 of the element information storage area of the virtual input element connected to the input terminal of the element G1. 9116 stores the number of output connection destinations of the element G1. 9
Reference numeral 117 is a pointer to a list of output connection destination pointers of the element G1. Since the output terminal of the element G1 is not connected to anything, the value of 9116 is 0, and 9117 does not point to anything.

【0032】9118は素子G1の遅延モデル識別子
「慣性」を格納する。9119,9120は素子G1の
出力値と次出力値である。これらの初期値は不定値
「X」とする。9121は素子G1の伝播識別子で初期
値は0である。ここでは素子G1は立ち上がり(0→
1,0→X,X→1)の遅延値は4、立ち下がり(1→
0,1→X,X→0)の遅延値は2とし、遅延値情報リ
ストの格納領域を指すポインタ9122が指す領域9135
には信号変化に応じて4または2の値を格納する。
Reference numeral 9118 stores the delay model identifier "inertia" of the element G1. 9119 and 9120 are the output value and the next output value of the element G1. The initial value of these is an undefined value "X". Reference numeral 9121 denotes a propagation identifier of the element G1 and its initial value is 0. Here, the element G1 rises (0 →
1,0 → X, X → 1) delay value is 4, falling (1 →
The delay value of 0, 1 → X, X → 0) is 2, and the area 9135 pointed to by the pointer 9122 that points to the storage area of the delay value information list
Stores a value of 4 or 2 depending on the signal change.

【0033】9211は素子G2を表現している。素子
情報を格納する領域の先頭アドレスは22である。素子
G2の情報は素子固有名称9213がG2、素子の遅延
モデル識別子9218が「伝播」であること以外、全て
G1の情報と同じ値を格納する。
Reference numeral 9211 represents the element G2. The head address of the area for storing the element information is 22. The information of the element G2 stores all the same values as the information of G1 except that the element proper name 9213 is G2 and the delay model identifier 9218 of the element is “propagation”.

【0034】図10はシミュレーション時に与えるテス
トベクトルの例の説明図である。テストベクトル100
0は回路の入力端子801に与えられる。信号は時刻0
において0(1001)で、以降時刻5に1(100
2),時刻10に0(1003),時刻13に1(100
4),時刻16に0(1005),時刻19に1(100
6),時刻20に0(1007)へと順次変化する。
FIG. 10 is an explanatory diagram of an example of a test vector given at the time of simulation. Test vector 100
0 is applied to the input terminal 801 of the circuit. Signal is time 0
At 0 (1001) and then at time 5 1 (100
2), 0 at time 10 (1003), 1 at time 13 (100
4), 0 at time 16 (1005), 1 at time 19 (100
6) At time 20, it changes to 0 (1007).

【0035】図11ないし図46では、シミュレーショ
ンが進行する様子を時刻順に説明する。またシミュレー
ションは図10のテストベクトルの範囲である時刻25
まで行うものとする。
11 to 46, the progress of the simulation will be described in time sequence. Further, the simulation is performed at time 25, which is the range of the test vector in FIG.
Up to.

【0036】図5の502の処理に従い、シミュレーシ
ョンは時刻XTを0に、イベント識別番号EIDを1に
して開始する。図5の503〜505の処理は、時刻X
Tに伝播するテストベクトルまたはイベントが存在しな
ければ何も行わない。506では時刻XTを1ずつ進め
る。タイムホイールには初期段階では何も登録されてい
ない。
According to the processing of 502 in FIG. 5, the simulation starts with the time XT set to 0 and the event identification number EID set to 1. The processing of 503 to 505 in FIG.
If there is no test vector or event propagating to T, do nothing. At 506, the time XT is advanced by one. Nothing is registered in the time wheel at the initial stage.

【0037】テストベクトルの追加処理503が行われ
るのは図10に示した1001〜1007の信号変化時
である。まず時刻0において、回路の入力端子(図8の
801)に信号値0を印加する(図10の1001)。
テストベクトルの追加処理において、この信号変化は図
11に示すように仮想入力素子へのイベントとしてタイ
ムホイールに追加される。このイベントの伝播時刻11
04は0,伝播素子識別子1105は仮想入力素子情報
の先頭アドレスは0,伝播信号値は0,イベント識別子
は現在のEIDの値1である。テストベクトルの追加処
理において、このイベントを追加したことによりEID
は2に更新される。
The test vector adding process 503 is performed when the signals 1001 to 1007 shown in FIG. 10 change. First, at time 0, a signal value 0 is applied to the input terminal (801 in FIG. 8) of the circuit (1001 in FIG. 10).
In the process of adding the test vector, this signal change is added to the time wheel as an event to the virtual input element as shown in FIG. Propagation time of this event 11
04 is 0, the propagation element identifier 1105 is 0 at the start address of the virtual input element information, the propagation signal value is 0, and the event identifier is the current EID value 1. By adding this event in the process of adding the test vector, EID
Is updated to 2.

【0038】続いてイベント伝播処理504が行われ
る。図6に従い処理を説明する。まず出力先接続素子情
報を初期化し(611)、タイムホイール中の現時刻
(XT=0)のイベントについて処理を行う。取り出し
たイベント1102が指す素子G0(仮想入力素子)は
伝播遅延の素子であるので614の条件分岐では618
側へ分岐する。イベント中のイベント識別子1107は
1,素子情報中の伝播識別子9021は0でイベント側
の値が大きいので618の条件分岐は619側へ分岐す
る。619においてフラグがオンになり、G0の伝播識
別子の値をイベント識別子1107の値1とする。62
1においてフラグはオンであり、622においてG0の
出力値が初期値「X」,イベント中の伝播信号値は0と
異なるので623以降を実行する。623ではG0の出
力値をイベントの伝播信号値0とし、624〜626で
は出力接続先素子情報へ、G0の出力接続先ポインタの
値を複写する。
Subsequently, the event propagation processing 504 is performed. The process will be described with reference to FIG. First, the output destination connection element information is initialized (611), and the event at the current time (XT = 0) in the time wheel is processed. The element G0 (virtual input element) pointed to by the extracted event 1102 is a propagation delay element, and therefore 618 in the conditional branch of 614.
Branch to the side. Since the event identifier 1107 in the event is 1, the propagation identifier 9021 in the element information is 0, and the value on the event side is large, the conditional branch of 618 branches to the 619 side. At 619, the flag is turned on, and the value of the propagation identifier of G0 is set to the value 1 of the event identifier 1107. 62
At 1 the flag is on, at 622 the output value of G0 is the initial value "X" and the propagation signal value during the event is different from 0, so 623 and thereafter are executed. At 623, the output value of G0 is set as the event propagation signal value 0, and at 624 to 626, the value of the output connection destination pointer of G0 is copied to the output connection destination element information.

【0039】以上の処理により、素子情報は図12のよ
うにG0の出力値1219が0,伝播識別子1221が
1となり、出力接続先素子情報は図13のようにG0の
出力端子に接続する素子G1,G2の素子情報の先頭ア
ドレス11,22が格納される。
As a result of the above processing, the element information is such that the output value 1219 of G0 is 0 and the propagation identifier 1221 is 1 as shown in FIG. 12, and the output connection destination element information is the element connected to the output terminal of G0 as shown in FIG. The head addresses 11 and 22 of the element information of G1 and G2 are stored.

【0040】素子出力評価処理505は図7に従い説明
する。この処理では図13の出力接続先素子情報の各要
素について処理を行う。まず図13の最初の要素「1
1」である素子G1について処理を行う。703で素子
G1について、G1の入力端子に接続する素子G0の出
力値0とG1の素子種識別番号1(NOTを表す)とG
1の次出力値「X」からG0の新しい出力値PVを求め
る。入力値0に対してNOTの出力値は1であるのでP
Vは1となる。
The element output evaluation processing 505 will be described with reference to FIG. In this processing, processing is performed for each element of the output connection destination element information in FIG. First, the first element “1
The processing is performed on the element G1 which is "1". 703, regarding the element G1, the output value 0 of the element G0 connected to the input terminal of G1 and the element type identification number 1 (representing NOT) of G1 and G
A new output value PV of G0 is obtained from the next output value "X" of 1. Since the output value of NOT is 1 for the input value 0, P
V becomes 1.

【0041】704でG1の出力値が「X」から1へ変
化する場合の遅延値Dを遅延値情報リスト9135を参
照して求める。参照する箇所は図15の1536に示す
(X→1)の箇所であり、その値は2となる。PVとG
1の次出力値(図9)「X」は異なるので706以降を
実行する。素子G1は慣性遅延モデル9118なので条
件分岐706では707側へ分岐する。G1の伝播識別
子は初期値0であるので条件分岐707では709〜7
10側へ分岐する。709では伝播時刻を2,XT(=
0)+D(=2)=2,伝播識別子をG1を表す11,伝
播信号値をPVの値1,イベント識別子をEIDの値2
とするイベントを登録し、710でEIDの値を3に更
新する。更に713によりG1の次出力値をPV値1と
する。次に出力接続先素子情報の2番目の要素「22」
である素子G2について処理を行う。
At 704, the delay value D when the output value of G1 changes from "X" to 1 is obtained by referring to the delay value information list 9135. The part to be referred to is the part (X → 1) indicated by 1536 in FIG. 15, and its value is 2. PV and G
Since the next output value of "1" (FIG. 9) "X" is different, steps 706 and thereafter are executed. Since the element G1 is the inertial delay model 9118, the conditional branch 706 branches to the 707 side. Since the initial value of the propagation identifier of G1 is 0, conditional branch 707 indicates 709-7.
Branch to side 10. In 709, the propagation time is 2, XT (=
0) + D (= 2) = 2, the propagation identifier 11 representing G1, the propagation signal value PV value 1, the event identifier EID value 2
The event that is set to is registered and the value of EID is updated to 3 at 710. Further, by 713, the next output value of G1 is set to PV value 1. Next, the second element “22” of the output connection destination device information
Processing is performed on the element G2 which is

【0042】703,704では、G1と同様にPV=
1,D=2となる。706ではG2が伝播遅延モデルで
あるため711〜712側へ分岐する。711では70
9での処理と同様に伝播時刻を2,伝播識別子をG2を
表す22,伝播信号値をPVの値1,イベント識別子を
EIDの値3とするイベントを登録し、712でEIDの
値を4に更新する。以上の処理により図14に示すよう
にG1に起因するイベント1402とG2に起因するイ
ベント1412がタイムホイールに登録され、図15に
示すように素子情報はG1(1511)の次出力値15
20が1,伝播識別子1521が2,G2(1561)
の次出力値1570が1となる。
In 703 and 704, PV =
1, D = 2. At 706, since G2 is a propagation delay model, it branches to the 711-712 side. 70 in 711
Similar to the process in 9, the event having the propagation time of 2, the propagation identifier of 22 representing G2, the propagation signal value of PV 1 and the event identifier of EID 3 is registered, and the EID value is 4 at 712. To update. Through the above processing, the event 1402 caused by G1 and the event 1412 caused by G2 are registered in the time wheel as shown in FIG. 14, and the element information is the next output value 15 of G1 (1511) as shown in FIG.
20 is 1, propagation identifier 1521 is 2, G2 (1561)
The next output value 1570 of 1 becomes 1.

【0043】次に図5の506において時刻XTを更新
し1とする。時刻1ではテストベクトルの追加処理にお
いて追加するイベントはなく、タイムホイール中にも時
刻1のイベントが存在しない(図14)ので503〜5
05の処理は何もせず506で時刻XTを更新し2とす
る。
Next, at 506 in FIG. 5, the time XT is updated to 1. At time 1, there is no event to be added in the process of adding the test vector, and there is no event at time 1 even in the time wheel (FIG. 14).
The processing of 05 is not performed and the time XT is updated to 506 at 506.

【0044】時刻2では追加するテストベクトルは存在
しないので503では何もせず、イベント伝播処理50
4を行う。504では図14の二つのイベント140
2,1412について処理を行う。まず、イベント14
12は素子G2に関するイベントであり、G2は伝播遅
延モデルなので条件分岐614では618側に分岐す
る。イベント1412のイベント識別子1417は3,
G2の伝播識別子1571は0であるので条件分岐618は
619側へ分岐する。619ではフラグをオンとし、G
2の伝播識別子1571を3に更新する。621ではフ
ラグがオン、622ではG2の出力値1569が「X」で
イベント1412の伝播信号値1416が1なので62
3以降を行う。623ではG2の出力値を1とする。6
24〜626はG2の出力接続先数9216が0なので何
もしない。
At time 2, there is no additional test vector, so nothing is done at 503 and the event propagation processing 50
Do 4. At 504, the two events 140 shown in FIG.
2, 1412 is processed. First, event 14
12 is an event related to the element G2, and since G2 is a propagation delay model, the conditional branch 614 branches to the 618 side. The event identifier 1417 of the event 1412 is 3,
Since the propagation identifier 1571 of G2 is 0, the conditional branch 618 branches to the 619 side. In 619, the flag is turned on, and G
The propagation identifier 1571 of 2 is updated to 3. In 621, the flag is on, and in 622, the output value 1569 of G2 is “X” and the propagation signal value 1416 of the event 1412 is 1, so 62
Perform 3 and later. At 623, the output value of G2 is set to 1. 6
Nos. 24 to 626 do nothing because the G2 output connection destination number 9216 is 0.

【0045】次にイベント1402について処理を行
う。イベント1402は素子G1に関するイベントであ
り、G1は慣性遅延モデルなので条件分岐614では6
15側に分岐する。イベント1402のイベント識別子
1407は2、G1の伝播識別子1521も2なので条
件分岐615は616側へ分岐する。616ではフラグ
をオンとし、G1の伝播識別子を0とする。621では
フラグがオン,622ではG1の出力値1519が
「X」でイベント1402の伝播信号値1406が1な
ので623以降を行う。623ではG1の出力値を1と
する。624〜626はG1の出力接続先数9116が
0なので何もしない。以上の処理により、図16に示す
ように素子情報はG1の出力値1619は1,G1の伝
播識別子1621は0,G2の出力値1669は1,G2の
伝播識別子は3となる。この処理では出力接続先素子情
報には何も格納されないため、素子出力評価処理505
では何もしない、更に時刻3,4にはイベントがないた
め何もしない。
Next, the event 1402 is processed. The event 1402 is an event related to the element G1, and since G1 is the inertial delay model, 6 is executed in the conditional branch 614.
Branch to side 15. Since the event identifier 1407 of the event 1402 is 2 and the propagation identifier 1521 of G1 is also 2, the conditional branch 615 branches to the 616 side. In 616, the flag is turned on and the propagation identifier of G1 is set to 0. At 621, the flag is turned on, and at 622, the output value 1519 of G1 is “X” and the propagation signal value 1406 of the event 1402 is 1, so 623 and thereafter are performed. At 623, the output value of G1 is set to 1. Nothing is done in 624 to 626 because the number of output connection destinations 9116 of G1 is 0. As a result of the above processing, as shown in FIG. 16, the element information is such that the output value 1619 of G1 is 1, the propagation identifier 1621 of G1 is 0, the output value 1669 of G2 is 1, and the propagation identifier of G2 is 3. In this processing, since nothing is stored in the output connection destination element information, the element output evaluation processing 505
Then nothing is done, and since there is no event at times 3 and 4, nothing is done.

【0046】時刻5では時刻0と同様に仮想入力素子G
0へのイベントを追加する。追加するイベントは図17
に示すように伝播時刻1704が5,伝播素子識別子17
05が0,伝播信号値1706が1,イベント識別子17
07は4である。イベント識別番号EIDはイベント追
加により5に更新される。
At time 5, as at time 0, virtual input element G
Add an event to 0. Figure 17 shows the event to be added.
As shown in, the propagation time 1704 is 5, the propagation element identifier 17
05 is 0, propagation signal value 1706 is 1, event identifier 17
07 is 4. The event identification number EID is updated to 5 by adding an event.

【0047】イベント伝播処理も時刻0の場合と同様に
処理が行われ、図18に示すように出力値1819が
1,伝播識別子1821がイベント識別子1707の値
4となる。出力先接続素子情報は図13と同じである。
The event propagation processing is performed in the same manner as at time 0, and the output value 1819 is 1 and the propagation identifier 1821 is the event identifier 1707 value 4 as shown in FIG. The output destination connection element information is the same as in FIG.

【0048】素子出力値評価処理も時刻0の場合と同様
に処理を行う。その結果、図19に示すように素子G1
について1902,素子G2について1912のイベン
トが登録される。伝播時刻1904,1914は現時刻
XT(=5)に1→0の遅延値4(図20の2036,2
086)を加えた9となる。イベント識別子1907は
5,1917は6である。素子情報は図20に示すよう
にG1の次出力値2020が0,伝播識別子2021が5,
G2の次出力値2070が0となる。またイベント識別
番号EIDは7となる。
The element output value evaluation processing is performed in the same manner as at time 0. As a result, as shown in FIG.
1902 and 1912 events for the element G2 are registered. Propagation times 1904 and 1914 are delay values 4 of 1 → 0 at the current time XT (= 5) 4 (2036, 2 in FIG. 20).
086) is added to be 9. The event identifiers 1907 and 5917 are 6. As for the element information, as shown in FIG. 20, the next output value 2020 of G1 is 0, the propagation identifier 2021 is 5,
The next output value 2070 of G2 becomes zero. The event identification number EID is 7.

【0049】時刻6〜時刻8までの間は何も行わない。Nothing is done from time 6 to time 8.

【0050】時刻9において、時刻2の場合と同様にイ
ベント伝播処理において1902と1912の二つのイ
ベントが伝播する。その結果、G1とG2の素子情報は
図21に示すようにG1の出力値2119が0,伝播識
別子2121が0,G2の出力値2169が0,伝播識
別子2171が6となる。また、時刻2の場合と同様に
出力接続先素子情報には何も格納されないため、素子出
力評価処理では何もしない。
At time 9, two events 1902 and 1912 are propagated in the event propagation processing as in the case of time 2. As a result, as for the element information of G1 and G2, as shown in FIG. 21, the output value 2119 of G1, the propagation identifier 2121 is 0, the output value 2169 of G2 is 0, and the propagation identifier 2171 is 6. Further, as in the case of time 2, since nothing is stored in the output connection destination element information, nothing is done in the element output evaluation processing.

【0051】時刻10でも時刻0と同様に仮想入力素子
G0へのイベントを追加する。追加するイベントは図2
2に示すように伝播時刻2204が10,伝播素子識別
子2205が0,伝播信号値2206が0,イベント識
別子2207は7である。イベント識別番号EIDはイ
ベント追加により8に更新される。
At time 10, as at time 0, an event is added to the virtual input element G0. Figure 2 shows the event to be added
2, the propagation time 2204 is 10, the propagation element identifier 2205 is 0, the propagation signal value 2206 is 0, and the event identifier 2207 is 7. The event identification number EID is updated to 8 by adding an event.

【0052】イベント伝播処理も時刻0の場合と同様に
処理が行われ、図23に示すように出力値2319が
0,伝播識別子2321が7となる。出力先接続素子情
報は図13と同じである。
The event propagation processing is performed in the same manner as at time 0, and the output value 2319 is 0 and the propagation identifier 2321 is 7 as shown in FIG. The output destination connection element information is the same as in FIG.

【0053】素子出力値評価処理も時刻0の場合と同様
で、図24に示すように素子G1について2402,素
子G2について2412のイベントが登録される。伝播
時刻2404,2414は現時刻XT(=10)に0→1
の遅延値2(図25の2536,2586)を加えた12と
なる。イベント識別子2407は8,2417は9であ
る。素子情報は図25に示すようにG1の次出力値25
20が1,伝播識別子2521が8,G2の次出力値2
570が1となる。またイベント識別番号EIDは10と
なる。
The element output value evaluation processing is similar to that at time 0, and as shown in FIG. 24, 2402 events for element G1 and 2412 events for element G2 are registered. Propagation times 2404 and 2414 are 0 → 1 at the current time XT (= 10).
Delay value 2 (2536, 2586 in FIG. 25) is added to obtain 12. The event identifier 2407 is 8, and 2417 is 9. The element information is the next output value 25 of G1 as shown in FIG.
20 is 1, the propagation identifier 2521 is 8, and the next output value 2 of G2 is 2
570 becomes 1. Further, the event identification number EID is 10.

【0054】時刻11では何も行わない。At time 11, nothing is done.

【0055】時刻12において時刻2の場合と同様にイ
ベント伝播処理において2402と2412の二つのイ
ベントが伝播する。その結果、G1とG2の素子情報は
図26に示すようにG1の出力値2619が1,伝播識
別子2621が0,G2の出力値2669が1,伝播識
別子2671が9となる。また、時刻2の場合と同様に
出力接続先素子情報には何も格納されないため、素子出
力評価処理では何もしない。
At time 12, two events of 2402 and 2412 are propagated in the event propagation processing as in the case of time 2. As a result, as for the element information of G1 and G2, the output value 2619 of G1 is 1, the propagation identifier 2621 is 0, the output value 2669 of G2 is 1, and the propagation identifier 2671 is 9 as shown in FIG. Further, as in the case of time 2, since nothing is stored in the output connection destination element information, nothing is done in the element output evaluation processing.

【0056】時刻13においても時刻0の場合と同様に
仮想入力素子G0へのイベントを追加する。追加するイ
ベントは図27に示すように伝播時刻2704が13,
伝播素子識別子2705が0,伝播信号値2706が
1,イベント識別子2707は10である。イベント識
別番号EIDはイベント追加により11に更新される。
そしてイベント伝播処理において図28に示すようにG
0の出力値2819が1,伝播識別子2821が10と
なる。
At time 13, as in the case of time 0, an event is added to the virtual input element G0. As for the event to be added, the propagation time 2704 is 13, as shown in FIG.
The propagation element identifier 2705 is 0, the propagation signal value 2706 is 1, and the event identifier 2707 is 10. The event identification number EID is updated to 11 by adding an event.
Then, in the event propagation processing, as shown in FIG.
The output value 2819 of 0 is 1 and the propagation identifier 2821 is 10.

【0057】さらにG1,G2について素子出力評価処
理を行い、図29に示すように素子G1について290
2,素子G2について2912のイベントが登録され
る。伝播時刻2904,2914は現時刻XT(=13)
に1→0の遅延値4(図30の3036,3086)を
加えた17となる。イベント識別子2907は11,2
917は12である。素子情報は図30に示すようにG
1の次出力値3020が0,伝播識別子3021が1
1,G2の次出力値3070が0となる。またイベント
識別番号EIDは13となる。
Further, element output evaluation processing is performed for G1 and G2, and as shown in FIG.
2, 2912 events are registered for the element G2. Propagation time 2904, 2914 is current time XT (= 13)
Is added to the delay value 4 of 1 → 0 (3036, 3086 in FIG. 30) to be 17. The event identifier 2907 is 11 or 2.
917 is twelve. The element information is G as shown in FIG.
The next output value 3020 of 1 is 0, and the propagation identifier 3021 is 1
The next output value 3070 of 1 and G2 becomes 0. The event identification number EID is 13.

【0058】時刻14,15では何も行わない。At times 14 and 15, nothing is done.

【0059】時刻16において、時刻0の場合と同様に
仮想入力素子G0へのイベントを追加する。追加するイ
ベントは図31の3102に示すように伝播時刻310
4が16,伝播素子識別子3105が0,伝播信号値3
106が0,イベント識別子3107は13である。イ
ベント識別番号EIDはイベント追加により14に更新
される。そしてイベント伝播処理において図32に示す
ようにG0の出力値3219が0,伝播識別子3221
が13となる。
At time 16, an event is added to the virtual input element G0 as at time 0. The event to be added is the propagation time 310 as indicated by 3102 in FIG.
4 is 16, the propagation element identifier 3105 is 0, and the propagation signal value is 3
106 is 0, and the event identifier 3107 is 13. The event identification number EID is updated to 14 by adding an event. Then, in the event propagation processing, as shown in FIG. 32, the output value 3219 of G0 is 0, the propagation identifier 3221
Becomes 13.

【0060】さらにG1,G2について素子出力評価処
理を行う。G1については、G1の伝播識別子3021
が11、かつG1の出力値3019が1,PVの値が1
となるので図7の条件分岐707は708側へ分岐す
る。708ではG1の伝播識別子を0とし、次出力値を
1とする。G2については時刻0の場合と同様に図7の
711〜712においてイベントを登録し、EIDの値
を更新する。登録するイベントは図33の3302に示
す素子G2に関するイベントのみである。伝播時刻33
04は現時刻XT(=16)に0→1の遅延値2(図34
の3486)を加えた18となる。イベント識別子33
07は14である。素子情報は図34に示すようにG1
の次出力値3420が1,伝播識別子3421が0,G
2の次出力値3470が1となる。またイベント識別番
号EIDは15となる。
Further, element output evaluation processing is performed for G1 and G2. For G1, the G1 propagation identifier 3021
Is 11, and the G1 output value 3019 is 1, and the PV value is 1
Therefore, the conditional branch 707 of FIG. 7 branches to the 708 side. In 708, the propagation identifier of G1 is set to 0 and the next output value is set to 1. For G2, as in the case of time 0, the event is registered in 711 to 712 in FIG. 7 and the value of EID is updated. The event to be registered is only the event related to the element G2 indicated by 3302 in FIG. Propagation time 33
04 is a delay value 2 of 0 → 1 at the current time XT (= 16) (see FIG. 34).
3486) is added to make 18. Event identifier 33
07 is 14. The element information is G1 as shown in FIG.
Next output value 3420 is 1, propagation identifier 3421 is 0, G
The next output value 3470 of 2 becomes 1. The event identification number EID is 15.

【0061】時刻17ではイベント2902と2912
についてイベント伝播処理を行う。イベント2912に
関しては時刻2の場合と同様にイベントが伝播し、図3
5に示すように出力値3569は0,伝播識別値357
1は12となる。しかし、イベント2902の場合は、
イベント識別子2907が11,G1の伝播識別子34
21が0であるため図6の条件分岐615では617側
へ分岐する。617ではフラグがオフになるため、62
2〜626の処理は行われず、出力値は変化しない。出
力接続先素子情報は時刻2の場合と同様に何も格納され
ないため、素子出力評価処理では何もしない。
At time 17, events 2902 and 2912
About event propagation processing. As for the event 2912, the event propagates similarly to the case of the time 2 and the
As shown in FIG. 5, the output value 3569 is 0, and the propagation identification value 357.
1 becomes 12. But for event 2902,
The event identifier 2907 is 11, the propagation identifier 34 of G1
Since 21 is 0, the conditional branch 615 of FIG. 6 branches to the 617 side. In 617, the flag is turned off, so 62
The processing of 2 to 626 is not performed, and the output value does not change. Since the output connection destination element information is not stored as in the case of time 2, nothing is performed in the element output evaluation processing.

【0062】時刻18ではG2に関するイベント330
2が伝播する。このイベントは時刻2の場合と同様にイ
ベントが伝播し、図36に示すように出力値3669は
1,伝播識別値3671は14となる。出力接続先素子
情報は時刻2の場合と同様に何も格納されないため、素
子出力評価処理では何もしない。
At time 18, an event 330 related to G2
2 propagates. This event propagates as in the case of time 2, and the output value 3669 is 1 and the propagation identification value 3671 is 14 as shown in FIG. Since the output connection destination element information is not stored as in the case of time 2, nothing is performed in the element output evaluation processing.

【0063】時刻19において、時刻0の場合と同様に
仮想入力素子G0へのイベントを追加する。追加するイ
ベントは図37の3702に示すように伝播時刻370
4が19,伝播素子識別子3705が0,伝播信号値3
706が1,イベント識別子3707は15である。イ
ベント識別番号EIDはイベント追加により16に更新
される。そしてイベント伝播処理において図38に示す
ようにG0の出力値3819が1,伝播識別子3821
が15となる。
At time 19, as in the case of time 0, an event is added to the virtual input element G0. The event to be added is the propagation time 370 as indicated by 3702 in FIG.
4 is 19, the propagation element identifier 3705 is 0, and the propagation signal value is 3
706 is 1, and the event identifier 3707 is 15. The event identification number EID is updated to 16 by adding an event. Then, in the event propagation processing, as shown in FIG. 38, the output value 3819 of G0 is 1, the propagation identifier 3821.
Becomes 15.

【0064】さらにG1,G2について素子出力評価処
理を行い、図39に示すように素子G1について390
2,素子G2について3912のイベントが登録され
る。伝播時刻3904,3914は現時刻XT(=19)
に1→0の遅延値4(図40の4036,4086)を
加えた23となる。イベント識別子3907は16,3
917は17である。素子情報は図40に示すようにG
1の次出力値4020が0,伝播識別子4021が1
6,G2の次出力値4070が0となる。またイベント
識別番号EIDは18となる。
Further, element output evaluation processing is performed for G1 and G2, and as shown in FIG.
2, 3912 events are registered for the element G2. Propagation time 3904, 3914 is current time XT (= 19)
Is added to the delay value 4 of 1 → 0 (4036, 4086 in FIG. 40) to obtain 23. Event identifier 3907 is 16,3
917 is 17. The element information is G as shown in FIG.
1 next output value 4020 is 0, propagation identifier 4021 is 1
6, the next output value 4070 of G2 becomes 0. The event identification number EID is 18.

【0065】時刻20において、時刻0の場合と同様に
仮想入力素子G0へのイベントを追加する。追加するイ
ベントは図41の4102に示すように伝播時刻410
4が20,伝播素子識別子4105が0,伝播信号値4
106が0,イベント識別子4107は18である。イ
ベント識別番号EIDはイベント追加により19に更新
される。そしてイベント伝播処理において図42に示す
ようにG0の出力値4219が0,伝播識別子4221
が18となる。
At time 20, as in the case of time 0, an event is added to the virtual input element G0. The event to be added is the propagation time 410 as indicated by 4102 in FIG.
4 is 20, the propagation element identifier 4105 is 0, and the propagation signal value is 4
106 is 0, and the event identifier 4107 is 18. The event identification number EID is updated to 19 by adding an event. Then, in the event propagation processing, as shown in FIG. 42, the output value 4219 of G0 is 0, the propagation identifier 4221
Becomes 18.

【0066】さらにG1,G2について素子出力評価処
理を行う。G1については、G1の伝播識別子4021
が16,かつG1の出力値4019が1,PVの値が1
となるので図7の条件分岐707は708側へ分岐す
る。708ではG1の伝播識別子を0とし、次出力値を
1とする。G2については時刻0の場合と同様に図7の
711〜712においてイベントを登録し、EIDの値
を更新する。登録するイベントは図43の4302に示
す素子G2に関するイベントのみである。伝播時刻43
04は現時刻XT(=20)に0→1の遅延値2(図40
の4086)を加えた22となる。イベント識別子43
07は19である。素子情報は図44に示すようにG1
の次出力値4420が1,伝播識別子4421が0,G
2の次出力値4470が1となる。またイベント識別番
号EIDは20となる。
Further, element output evaluation processing is performed for G1 and G2. For G1, the propagation identifier 4021 of G1
16 and G1 output value 4019 is 1, PV value is 1
Therefore, the conditional branch 707 of FIG. 7 branches to the 708 side. In 708, the propagation identifier of G1 is set to 0 and the next output value is set to 1. For G2, as in the case of time 0, the event is registered in 711 to 712 in FIG. 7 and the value of EID is updated. The event to be registered is only the event related to the element G2 shown by 4302 in FIG. Propagation time 43
04 is the delay value 2 of 0 → 1 at the current time XT (= 20) (see FIG. 40).
4086) is added to 22. Event identifier 43
07 is 19. Element information is G1 as shown in FIG.
Next output value 4420 is 1, propagation identifier 4421 is 0, G
The next output value 4470 of 2 becomes 1. The event identification number EID is 20.

【0067】時刻21では何もしない。At time 21, nothing is done.

【0068】時刻22ではイベント4302についてイ
ベント伝播処理を行う。このイベントは時刻2の場合と
同様にイベントが伝播し、図45に示すように出力値45
69は1,伝播識別値4571は19となる。ただし、出
力値4569の値は伝播の前後で変化しない。出力接続
先素子情報は時刻2の場合と同様に何も格納されないた
め、素子出力評価処理では何もしない。
At time 22, event propagation processing is performed on the event 4302. This event propagates as in the case of time 2, and the output value 45 as shown in FIG.
69 is 1, and the propagation identification value 4571 is 19. However, the value of the output value 4569 does not change before and after the propagation. Since the output connection destination element information is not stored as in the case of time 2, nothing is performed in the element output evaluation processing.

【0069】時刻23ではイベント3902と3912
についてイベント伝播処理を行う。イベント3912の
場合はイベント識別子3917が17,素子G2の伝播
識別子4571が19であるため、図6の条件分岐61
8では620側に分岐する。620ではフラグがオフと
なるため、622〜626の処理は行われず、出力値は
変化しない。イベント3902の場合も、イベント識別
子3907が16,G1の伝播識別子4421が0であ
るため図6の条件分岐615では617側へ分岐する。
617ではフラグがオフになるため、622〜626の
処理は行われず、出力値は変化しない。出力接続先素子
情報は時刻2の場合と同様に何も格納されないため、素
子出力評価処理では何もしない。
At time 23, events 3902 and 3912
About event propagation processing. In the case of the event 3912, since the event identifier 3917 is 17 and the propagation identifier 4571 of the element G2 is 19, the conditional branch 61 in FIG.
8 branches to the 620 side. At 620, since the flag is turned off, the processing of 622 to 626 is not performed and the output value does not change. Also in the case of the event 3902, since the event identifier 3907 is 16 and the propagation identifier 4421 of G1 is 0, the conditional branch 615 of FIG. 6 branches to the 617 side.
Since the flag is turned off in 617, the processing of 622 to 626 is not performed and the output value does not change. Since the output connection destination element information is not stored as in the case of time 2, nothing is performed in the element output evaluation processing.

【0070】時刻24,25では何もしない。時刻25
は、シミュレーションの終了時刻であるので図5の50
2のループを終了し、図5に示したシミュレーションの
処理を終了する。
At times 24 and 25, nothing is done. Time 25
Is the end time of the simulation, so 50 in FIG.
The loop of 2 is ended, and the processing of the simulation shown in FIG. 5 is ended.

【0071】以上のシミュレーションの結果、素子G1
と素子G2の出力値の変化の様子を図46に示す。図に
おいて801は入力端子で図10に示したイベントと同
じで、803は素子G1の出力、804は素子G2の出
力である。時刻0の入力変化1001に対して460
1,4611が、時刻5の入力変化1002に対して4
602,4612が、時刻10の入力変化1003に対
して4603,4613がそれぞれ出力変化として現われ
る。時刻13の入力変化1004に対しては、慣性遅延
モデルの素子G1の出力803では信号が伝播する前に
入力の変化1005が発生するため、出力の信号変化460
4は伝播しない。一方、伝播遅延モデルの素子G2の出
力805は時刻17に信号が伝播する(4614)。時
刻16の入力変化1005に対しては、803には何も
伝播せず、805には時刻18に信号が伝播する(46
15)。時刻19の入力変化1006に対しては、80
3では信号が伝播する前に入力の変化1005が発生す
るため、出力の信号変化4606は伝播しない。805で
も、時刻20の入力変化に伴う出力変化4617が時刻
19の入力変化に伴う出力変化4616より先に伝播す
るため、4616は伝播しない。時刻20の入力変化1
007に対しては、803には何も伝播しない。
As a result of the above simulation, the element G1
46 shows how the output value of the element G2 changes. In the figure, reference numeral 801 denotes an input terminal, which is the same as the event shown in FIG. 10, 803 is the output of the element G1, and 804 is the output of the element G2. 460 for input change 1001 at time 0
1,4611 is 4 for the input change 1002 at time 5.
602 and 4612 appear as output changes, and 4603 and 4613 appear as output changes with respect to the input change 1003 at time 10. With respect to the input change 1004 at time 13, since the input change 1005 occurs before the signal propagates at the output 803 of the element G1 of the inertial delay model, the output signal change 460
4 does not propagate. On the other hand, a signal propagates through the output 805 of the element G2 of the propagation delay model at time 17 (4614). For the input change 1005 at time 16, nothing propagates to 803, and a signal propagates to time 805 at 805 (46
15). 80 for input change 1006 at time 19
In No. 3, since the input change 1005 occurs before the signal propagates, the output signal change 4606 does not propagate. Also in 805, since the output change 4617 accompanying the input change at time 20 propagates before the output change 4616 accompanying the input change at time 19, 4616 does not propagate. Input change 1 at time 20
For 007, nothing is propagated to 803.

【0072】本実施例によれば、慣性遅延モデルの素子
と伝播遅延モデルの素子が混在する論理回路のシミュレ
ーションにおいて、無効となるイベント伝播を正しく検
出し、論理シミュレーションを行うことが可能になる。
According to this embodiment, it becomes possible to correctly detect invalid event propagation and perform a logic simulation in a simulation of a logic circuit in which elements of the inertial delay model and elements of the propagation delay model coexist.

【0073】[0073]

【発明の効果】本発明によれば、遅延モデルの異なる素
子が混在する論理シミュレーションにおいて、無効とな
るイベントを効率良く検出し、論理シミュレーションを
正しく行うことが可能になる。
According to the present invention, in a logic simulation in which elements having different delay models are mixed, an invalid event can be efficiently detected and the logic simulation can be correctly performed.

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

【図1】本発明の一実施例の説明図。FIG. 1 is an explanatory diagram of an embodiment of the present invention.

【図2】従来の論理シミュレーション用のデータ構造の
説明図。
FIG. 2 is an explanatory diagram of a conventional data structure for logic simulation.

【図3】素子の遅延のモデルの説明図。FIG. 3 is an explanatory diagram of a delay model of an element.

【図4】慣性遅延モデル,伝播遅延モデルにおいて無効
となるイベントの説明図。
FIG. 4 is an explanatory diagram of events that become invalid in the inertial delay model and the propagation delay model.

【図5】本発明の実施例の論理シミュレーションの処理
の説明図。
FIG. 5 is an explanatory diagram of a logic simulation process according to the embodiment of this invention.

【図6】イベント伝播処理の説明図。FIG. 6 is an explanatory diagram of event propagation processing.

【図7】素子出力評価処理の説明図。FIG. 7 is an explanatory diagram of element output evaluation processing.

【図8】本発明の実施例の動作を説明するための論理回
路の説明図。
FIG. 8 is an explanatory diagram of a logic circuit for explaining the operation of the exemplary embodiment of the present invention.

【図9】図8の回路の素子情報の説明図。9 is an explanatory diagram of element information of the circuit of FIG.

【図10】本発明の実施例のテストベクトルの例の説明
図。
FIG. 10 is an explanatory diagram of an example of a test vector according to the embodiment of this invention.

【図11】時刻0に追加されるイベント情報の説明図。FIG. 11 is an explanatory diagram of event information added at time 0.

【図12】時刻0に更新される仮想入力素子の情報の説
明図。
FIG. 12 is an explanatory diagram of information of a virtual input element updated at time 0.

【図13】時刻0に作成される出力先接続情報の説明
図。
FIG. 13 is an explanatory diagram of output destination connection information created at time 0.

【図14】時刻0に作成されるイベント情報の説明図。FIG. 14 is an explanatory diagram of event information created at time 0.

【図15】時刻0に更新される素子情報の説明図。FIG. 15 is an explanatory diagram of element information updated at time 0.

【図16】時刻2に更新される素子情報の説明図。16 is an explanatory diagram of element information updated at time 2. FIG.

【図17】時刻5に追加されるイベント情報の説明図。FIG. 17 is an explanatory diagram of event information added at time 5.

【図18】時刻5に更新される仮想入力素子の情報の説
明図。
FIG. 18 is an explanatory diagram of information of a virtual input element updated at time 5.

【図19】時刻5に作成されるイベント情報の説明図。FIG. 19 is an explanatory diagram of event information created at time 5.

【図20】時刻5に更新される素子情報の説明図。FIG. 20 is an explanatory diagram of element information updated at time 5.

【図21】時刻9に更新される素子情報の説明図。FIG. 21 is an explanatory diagram of element information updated at time 9.

【図22】時刻10に追加されるイベント情報の説明
図。
FIG. 22 is an explanatory diagram of event information added at time 10.

【図23】時刻10に更新される仮想入力素子の情報の
説明図。
FIG. 23 is an explanatory diagram of information of a virtual input element updated at time 10.

【図24】時刻10に作成されるイベント情報の説明
図。
FIG. 24 is an explanatory diagram of event information created at time 10.

【図25】時刻10に更新される素子情報の説明図。FIG. 25 is an explanatory diagram of element information updated at time 10.

【図26】時刻12に更新される素子情報の説明図。FIG. 26 is an explanatory diagram of element information updated at time 12.

【図27】時刻13に追加されるイベント情報の説明
図。
FIG. 27 is an explanatory diagram of event information added at time 13.

【図28】時刻13に更新される仮想入力素子の情報の
説明図。
FIG. 28 is an explanatory diagram of information of a virtual input element updated at time 13.

【図29】時刻13に作成されるイベント情報の説明
図。
FIG. 29 is an explanatory diagram of event information created at time 13.

【図30】時刻13に更新される素子情報の説明図。FIG. 30 is an explanatory diagram of element information updated at time 13.

【図31】時刻16に追加されるイベント情報の説明
図。
FIG. 31 is an explanatory diagram of event information added at time 16.

【図32】時刻16に更新される仮想入力素子の情報の
説明図。
FIG. 32 is an explanatory diagram of information of a virtual input element updated at time 16.

【図33】時刻16に作成されるイベント情報の説明
図。
FIG. 33 is an explanatory diagram of event information created at time 16.

【図34】時刻16に更新される素子情報の説明図。34 is an explanatory diagram of element information updated at time 16. FIG.

【図35】時刻17に更新される素子情報の説明図。FIG. 35 is an explanatory diagram of element information updated at time 17.

【図36】時刻18に更新される素子情報の説明図。36 is an explanatory diagram of element information updated at time 18. FIG.

【図37】時刻19に追加されるイベント情報の説明
図。
FIG. 37 is an explanatory diagram of event information added at time 19.

【図38】時刻19に更新される仮想入力素子の情報の
説明図。
FIG. 38 is an explanatory diagram of information of a virtual input element updated at time 19.

【図39】時刻19に作成されるイベント情報の説明
図。
FIG. 39 is an explanatory diagram of event information created at time 19.

【図40】時刻19に更新される素子情報の説明図。FIG. 40 is an explanatory diagram of element information updated at time 19.

【図41】時刻20に追加されるイベント情報の説明
図。
FIG. 41 is an explanatory diagram of event information added at time 20.

【図42】時刻20に更新される仮想入力素子の情報の
説明図。
42 is an explanatory diagram of information on the virtual input element updated at time 20. FIG.

【図43】時刻20に作成されるイベント情報の説明
図。
43 is an explanatory diagram of event information created at time 20. FIG.

【図44】時刻20に更新される素子情報の説明図。44 is an explanatory diagram of element information updated at time 20. FIG.

【図45】時刻22に更新される素子情報の説明図。45 is an explanatory diagram of element information updated at time 22. FIG.

【図46】シミュレーションの結果の説明図。FIG. 46 is an explanatory diagram of a simulation result.

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

101…タイムホイール、102…イベント、103…
リンクポインタ、132〜136…要素数。
101 ... Time wheel, 102 ... Event, 103 ...
Link pointer, 132 to 136 ... Number of elements.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】イベントの情報として、信号の伝播する時
刻,信号の伝播する素子情報の識別子,伝播する信号の
値を持ち、素子の情報として、素子種の識別番号,素子
固有名称,入力端子数,各入力端子毎の接続先ポインタ
のリスト,出力端子の接続先数,接続先ポインタのリス
ト,素子出力値を持ち、イベントの情報に従って論理回
路のシミュレーションを行う論理シミュレーション方法
において、 イベントの情報として、個々のイベントを識別するイベ
ント識別番号を格納するイベント識別子を持ち、素子の
情報として素子の遅延モデル識別子と前記イベント識別
番号を格納する伝播識別子と次出力値と出力変化に種類
毎の遅延値を持ち、シミュレーション実行時に、各イベ
ントの前記イベント識別子とイベントの伝播する素子の
前記遅延モデル識別子と前記伝播識別子の値により、イ
ベントの有効無効を判定することを特徴とする論理シミ
ュレーション方法。
1. Event information includes a signal propagation time, an identifier of element information in which a signal propagates, and a value of a signal in which the signal propagates, and the element information includes an element type identification number, an element specific name, and an input terminal. Number, a list of connection destination pointers for each input terminal, a number of connection destinations of output terminals, a list of connection destination pointers, element output values, and a logic simulation method for simulating a logic circuit according to event information. Has an event identifier that stores an event identification number that identifies each event, a delay model identifier of the element as element information, a propagation identifier that stores the event identification number, a next output value, and a delay for each type of output change. Has a value, and when the simulation is executed, the event identifier of each event and the delay of the element through which the event propagates. A logic simulation method characterized by determining validity / invalidity of an event based on a value of an extended model identifier and a value of the propagation identifier.
JP5279251A 1993-11-09 1993-11-09 Logical simulation method Pending JPH07129636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5279251A JPH07129636A (en) 1993-11-09 1993-11-09 Logical simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5279251A JPH07129636A (en) 1993-11-09 1993-11-09 Logical simulation method

Publications (1)

Publication Number Publication Date
JPH07129636A true JPH07129636A (en) 1995-05-19

Family

ID=17608552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5279251A Pending JPH07129636A (en) 1993-11-09 1993-11-09 Logical simulation method

Country Status (1)

Country Link
JP (1) JPH07129636A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134500A (en) * 2007-11-30 2009-06-18 Nec Electronics Corp Logic simulator and logic simulation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134500A (en) * 2007-11-30 2009-06-18 Nec Electronics Corp Logic simulator and logic simulation method

Similar Documents

Publication Publication Date Title
US5282146A (en) Test assistant system for logical design process
JPH0546697A (en) Logical simulator
US5184308A (en) Fault simulation method
JPH07129636A (en) Logical simulation method
JPH06314311A (en) Logical simulation system
JP2970600B2 (en) Logic simulation method
JP2569881B2 (en) Concurrent failure simulation method
JP3123982B2 (en) Logic simulation method
JP2785708B2 (en) Logic simulation method
JP2605853B2 (en) Switch level simulation method
JPH07287723A (en) Method for detecting activation of specified pass
JP2001034651A (en) Logic simulator and logic simulation method
JPH0581368A (en) Mode verification method for bidirectional terminal in scan path
JPH09198417A (en) Logic simulator
JPH05216952A (en) Logic simulation method
JPH05189513A (en) Logical simulation method taking delay into consideration
JPH1063692A (en) Method for simulating logic circuit
JPH06332974A (en) Logic simulation method
JPH0773223A (en) Delay simulation device
JPH029370B2 (en)
JPH07239868A (en) Simulation device
JPH0457031B2 (en)
JPH0528217A (en) Logical simulator
JPH05266123A (en) Method for logical simulation and simulator therefor
JPH07254005A (en) Logical simulation method and logical simulator