JPH0546694A - Logic simulation method - Google Patents
Logic simulation methodInfo
- Publication number
- JPH0546694A JPH0546694A JP3198989A JP19898991A JPH0546694A JP H0546694 A JPH0546694 A JP H0546694A JP 3198989 A JP3198989 A JP 3198989A JP 19898991 A JP19898991 A JP 19898991A JP H0546694 A JPH0546694 A JP H0546694A
- Authority
- JP
- Japan
- Prior art keywords
- logic
- simulation
- circuit
- event
- signal value
- 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
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
(57)【要約】
【目的】 同一時刻に動作する複数の同一機能の論理素
子で構成される論理回路の発生イベント数を削減し、処
理の高速化が可能とされる論理シミュレーション方式を
提供する。
【構成】 順序回路に多用されるフリップフロップ回路
に適用され、同一時刻のクロック信号で動作する同一機
能のフリップフロップから構成されている。そして、ま
ずステップ101で論理回路中の各論理素子のブール代
数化を行い、ステップ102で各論理素子のうち同一接
続線が用いられる論理素子をまとめ、共通ネットを抽出
する。さらに、ステップ103で共通接続線につながる
同一機能の素子をグルーピングにより同一論理素子の集
合体を作成し、ステップ104で各集合体の接続先が同
一集合体を示す時、それぞれの出力線を1本にまとめ
る。
(57) [Abstract] [Purpose] To provide a logic simulation method that reduces the number of events that occur in a logic circuit that is composed of a plurality of logic elements with the same function that operate at the same time, and that enables faster processing. .. [Structure] It is applied to a flip-flop circuit that is often used in a sequential circuit, and is composed of flip-flops of the same function that operate with clock signals at the same time. Then, first, at step 101, each logic element in the logic circuit is subjected to Boolean algebra, and at step 102, the logic elements using the same connection line among the logic elements are put together to extract a common net. Further, in step 103, a group of elements having the same function connected to the common connection line is formed by grouping, and in step 104, when the connection destination of each group indicates the same group, each output line is set to 1 Put it together in a book.
Description
【0001】[0001]
【産業上の利用分野】本発明は、論理装置の論理検証を
行う論理シミュレーション方式に関し、特にイベントド
リブン方式、すなわちイベント発生に伴う信号値変化の
生じた論理素子のみを追跡してシミュレーションを行う
方式による論理検証において、複数の論理素子の集合体
単位による信号値伝搬によって処理時間を短縮し、高速
化が可能とされる論理シミュレーション方式に適用して
有効な技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation method for performing logic verification of a logic device, and more particularly to an event driven method, that is, a method for simulating only a logic element in which a signal value change occurs due to an event occurrence. The present invention relates to a technique effectively applied to a logic simulation method in which the processing time is shortened and the speed is increased by the signal value propagation in the unit of a group of a plurality of logic elements in the logic verification by.
【0002】[0002]
【従来の技術】従来の論理シミュレーション方式として
は、たとえば特開昭63−145549号公報に示され
るように、シミュレーション対象となる論理回路の各論
理素子を、信号値の計算を行うためにブール式などに置
き換え、その論理素子の入力端子の信号値変化毎に論理
素子の出力信号値を求め、出力値をイベントとして出力
端子に接続し、次の論理素子へ伝搬する手法が用いられ
ている。2. Description of the Related Art As a conventional logic simulation method, for example, as shown in Japanese Patent Laid-Open No. 63-145549, each logic element of a logic circuit to be simulated is subjected to a Boolean expression for calculating a signal value. And the like, the output signal value of the logic element is obtained for each change in the signal value of the input terminal of the logic element, and the output value is connected to the output terminal as an event and propagated to the next logic element.
【0003】また、論理素子をまとめる手法としては、
たとえば特開昭63−211036号公報に示されるよ
うに、論理素子の信号値を計算するために置き換えたブ
ール式の共通変数をくくり出すことによって複合素子と
して集合体にまとめる方式がある。Further, as a method of collecting logic elements,
For example, as disclosed in Japanese Patent Laid-Open No. 63-211036, there is a method in which a common variable of a Boolean expression replaced for calculating a signal value of a logic element is calculated to be combined into an aggregate as a composite element.
【0004】[0004]
【発明が解決しようとする課題】ところが、前記のよう
な従来技術においては、信号変化に伴うイベントの発生
が各論理素子毎となっており、イベント処理に問題点が
生じている。たとえば、データ系論理回路の順序回路な
どに多用される同一機能の論理素子のくり返しにおいて
も、すべての論理素子においてイベント処理が必要とな
り、このためにイベント処理を行うためのくり返し処理
が多く、処理時間が長くなるという問題がある。However, in the prior art as described above, the occurrence of an event due to a signal change occurs for each logic element, which causes a problem in the event processing. For example, even when repeating logic elements having the same function, which are often used in sequential circuits of data-related logic circuits, event processing is required for all logic elements. For this reason, there are many repetition processes for performing event processing. The problem is that it takes longer time.
【0005】そこで、本発明の目的は、同一時刻に動作
する複数の同一機能の論理素子で構成される論理回路の
発生イベント数を削減し、処理の高速化を図ることがで
きる論理シミュレーション方式を提供することにある。Therefore, an object of the present invention is to provide a logic simulation method capable of reducing the number of events generated in a logic circuit composed of a plurality of logic elements having the same function and operating at the same time, and accelerating the processing. To provide.
【0006】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
【0007】[0007]
【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。Among the inventions disclosed in the present application, a brief description will be given to the outline of typical ones.
It is as follows.
【0008】すなわち、本発明の論理シミュレーション
方式は、イベントドリブン方式による論理シミュレーシ
ョン方式であって、シミュレーション対象論理回路内で
同一時刻に動作する複数の同一機能の論理素子を1集合
体とし、この1集合体の各論理素子の出力信号線を1本
に取りまとめて接続先へ接続し、1集合体とした各論理
素子の信号値を信号値テーブルにまとめて記憶させるシ
ミュレーション実行用の論理表現テーブルを構成するも
のである。That is, the logic simulation system of the present invention is a logic simulation system based on the event driven system, in which a plurality of logic elements having the same function which operate at the same time in a simulation target logic circuit are set as one aggregate. A logical expression table for simulation execution in which the output signal lines of the respective logic elements of the aggregate are put together into one and connected to the connection destination, and the signal values of the respective logic elements which are made into one aggregate are collectively stored in the signal value table. It is what constitutes.
【0009】[0009]
【作用】前記した論理シミュレーション方式によれば、
論理表現テーブルを構成することにより、たとえばデー
タ系論理回路などの順序回路構造は、ビット対応・バイ
ト対応で並列に作成される場合のように、同一時刻に動
作する同一機能の論理素子が多様されるとき、その同一
機能の論理素子を1集合体にまとめ、信号値変化の要因
を示すイベントのイベント数を削減したシミュレーショ
ンを行うことができる。According to the logic simulation method described above,
By constructing the logical expression table, for example, a sequential circuit structure such as a data system logical circuit has various logic elements of the same function that operate at the same time, as in the case of parallel creation corresponding to bits and bytes. At this time, the logic elements having the same function can be combined into one aggregate, and a simulation can be performed in which the number of events indicating the factor of the signal value change is reduced.
【0010】これにより、複数の同一機能の論理素子に
おける信号値変化の伝搬処理を1集合体単位に行い、論
理シミュレーションの高速化を図ることができる。Thus, the propagation processing of the signal value change in the plurality of logic elements having the same function is performed for each unit, and the speed of the logic simulation can be increased.
【0011】[0011]
【実施例】図1は本発明の論理シミュレーション方式の
一実施例において、同一機能論理素子を集合体にする処
理手順を示すフロー図、図2は本実施例におけるシミュ
レーション対象回路を示す回路図、図3はシミュレーシ
ョン対象回路のブール式を示す説明図、図4は共通ネッ
トを抽出したブール式を示す説明図、図5は集合体にし
た論理回路を示す回路図、図6は集合体を接続したシミ
ュレーション対象論理回路を示す回路図、図7は接続線
を1本にしたシミュレーション対象論理回路を示す回路
図、図8は論理回路を示す回路図、図9は論理表現テー
ブルの構成を示す説明図、図10は論理表現テーブルを
示す説明図、図11は集合体にした場合の論理表現テー
ブルの構成を示す説明図、図12はシミュレーション実
行時の処理手順を示すフロー図である。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a flow chart showing a processing procedure for assembling logic elements of the same function in one embodiment of a logic simulation system of the present invention, and FIG. 2 is a circuit diagram showing a simulation target circuit in this embodiment. 3 is an explanatory view showing a Boolean expression of a circuit to be simulated, FIG. 4 is an explanatory view showing a Boolean expression for extracting a common net, FIG. 5 is a circuit diagram showing a logic circuit in an aggregate, and FIG. 6 is a connection of the aggregate. FIG. 7 is a circuit diagram showing a simulated target logic circuit, FIG. 7 is a circuit diagram showing a simulation target logic circuit having one connection line, FIG. 8 is a circuit diagram showing a logic circuit, and FIG. 9 is a description showing a configuration of a logical expression table. FIG. 10, FIG. 10 is an explanatory diagram showing a logical expression table, FIG. 11 is an explanatory diagram showing the structure of the logical expression table when it is an aggregate, and FIG. 12 is a processing procedure at the time of simulation execution. It is to flow diagram.
【0012】まず、図2により本実施例が適用されるシ
ミュレーション対象論理回路の構成を説明する。First, the structure of a simulation target logic circuit to which this embodiment is applied will be described with reference to FIG.
【0013】本実施例のシミュレーション対象論理回路
は、たとえば順序回路に多用されるフリップフロップ回
路とされ、同一時刻のクロック信号で動作する同一機能
のフリップフロップ(以下、FFという)1〜3と、F
F4〜FF6とから構成され、FF1の出力端子がFF
4の入力端子に、FF2の出力端子がFF5の入力端子
に、FF3の出力端子がFF6の入力端子にそれぞれ接
続されている。そして、各FF1〜FF3に入力信号が
入力され、FF4〜FF6の各々から出力信号が出力さ
れている。The logic circuit to be simulated in this embodiment is, for example, a flip-flop circuit that is frequently used in a sequential circuit, and has flip-flops (hereinafter referred to as FF) 1 to 3 having the same function, which operate with a clock signal at the same time. F
It is composed of F4 to FF6, and the output terminal of FF1 is FF.
4, the output terminal of FF2 is connected to the input terminal of FF5, and the output terminal of FF3 is connected to the input terminal of FF6. An input signal is input to each of FF1 to FF3, and an output signal is output from each of FF4 to FF6.
【0014】次に、本実施例の作用について、図1の論
理回路中の同一機能を持つ論理素子を集合体にまとめる
ための処理手順に基づいて、図3〜図7と対応させて説
明する。Next, the operation of this embodiment will be described with reference to FIGS. 3 to 7 based on the processing procedure for collecting the logic elements having the same function in the logic circuit of FIG. 1 into an aggregate. ..
【0015】まず、ステップ101で論理回路中の各論
理素子をブール代数化を行い、図3に示すように、FF
1の途中出力信号U1は、クロック信号C0、入力信号
I1および途中出力信号U1の旧途中出力信号OU1か
ら、U1=CO・I1+not(CO)・OU1として
表される。同様に、以降のフリップフロップFF2〜F
F6についてもブール代数化すると、途中出力信号U
2,U3、出力信号O1〜O3は図3のように表され
る。First, in step 101, each logic element in the logic circuit is subjected to Boolean algebra, and as shown in FIG.
The intermediate output signal U1 of 1 is represented as U1 = CO · I1 + not (CO) · OU1 from the clock signal C0, the input signal I1, and the old intermediate output signal OU1 of the intermediate output signal U1. Similarly, the subsequent flip-flops FF2 to F
If F6 is also converted into a Boolean algebra, the intermediate output signal U
2, U3 and output signals O1 to O3 are represented as shown in FIG.
【0016】そして、ステップ102でブール代数化し
た各論理素子のうち同一パラメータ、すなわち同一接続
線が用いられている論理素子をまとめ、共通となる接続
線(ネット)を抽出することによって図4に示すよう
に、それぞれFF1〜FF3のくくり出しはクロック信
号C0、not(C0)を用い、またFF4〜FF6に
ついてはクロック信号C1、not(C1)でくくり出
し、それぞれの共通接続線をクロック信号C0、C1と
して抽出することができる。Then, among the logic elements which have been Boolean-algebraized in step 102, logic elements using the same parameter, that is, the same connection line are put together and a common connection line (net) is extracted, so that FIG. As shown, FF1 to FF3 are clocked out using clock signals C0 and not (C0), and FF4 to FF6 are clocked out with clock signals C1 and not (C1), and their common connection lines are clocked to clock signal C0. , C1 can be extracted.
【0017】さらに、ステップ103によって抽出され
た共通接続線につながる同一機能の素子をまとめ、グル
ーピングによって同一論理素子の集合体を作成し、図5
に示すように、クロック信号C0の接続線でまとめたF
F1〜FF3を1つの集合体7とすることができ、すな
わちクロック信号C0のパラメータで入力信号I1〜I
3を入力として、結果、途中出力信号U1〜U3を得る
構造のフリップフロップ集合体として定義できる。Further, the elements having the same function connected to the common connection line extracted in step 103 are put together, and a group of the same logic elements is created by grouping.
As shown in FIG.
F1 to FF3 can be one aggregate 7, that is, the input signals I1 to I are set by the parameters of the clock signal C0.
3 can be defined as an input, and as a result, it can be defined as a flip-flop aggregate having a structure in which intermediate output signals U1 to U3 are obtained.
【0018】そして、図2の論理回路をフリップフロッ
プ集合体で表すと、図6に示すように集合体7,8の直
列構造となり、これは図4のブール式から容易に作成す
ることができる。When the logic circuit of FIG. 2 is represented by a flip-flop group, a series structure of the groups 7 and 8 is formed as shown in FIG. 6, which can be easily created from the Boolean expression of FIG. ..
【0019】さらに、ステップ104で集合体7,8同
志を接続した後、各集合体7,8の出力接続線の接続先
を調べ、この集合体7,8の各出力端子のファンアウト
先、すなわち接続先が同一集合体を指すとき、それぞれ
の出力線を1本にまとめて入出力端子の信号値対応表を
作成することにより、論理回路中の同一機能素子を集合
体7,8として生成する。Further, after connecting the assemblies 7 and 8 in step 104, the connection destinations of the output connection lines of the assemblies 7 and 8 are checked, and the fan-out destinations of the output terminals of the assemblies 7 and 8, That is, when the connection destinations point to the same aggregate, the output lines are combined into one and a signal value correspondence table for the input / output terminals is created to generate the same functional elements in the logic circuit as the aggregates 7 and 8. To do.
【0020】これにより、図7に示すように、図2の論
理回路を集合体7,8とし、さらに集合体7,8間の結
線を途中出力信号Xとしてまとめることができ、同一集
合体7,8への接続をまとめて1本の出力接続線Xに変
換することにより、各集合体7,8間の結線を削減する
ことができる。As a result, as shown in FIG. 7, the logic circuits shown in FIG. 2 can be combined into groups 7 and 8, and the connections between the groups 7 and 8 can be combined into an intermediate output signal X. , 8 by collectively converting them into one output connection line X, it is possible to reduce the number of connections between the aggregates 7 and 8.
【0021】次に、これらの論理回路をシミュレーショ
ンするための論理モデル、実際に図8の組合せ論理回路
における論理モデルについて、以下に説明する。Next, a logic model for simulating these logic circuits, actually a logic model in the combinational logic circuit of FIG. 8, will be described below.
【0022】まず、図8において、素子A9のモデルは
AND素子を示し、入力信号値として0と0を持ち、出
力値として0および接続先アドレスCを持ち、また素子
B10は、同じくAND素子で入力信号値に1と1を持
ち、出力値に0および接続先アドレスCを持つ。さら
に、素子C11も同様にAND素子で、入力信号値は素
子A9からの入力信号値0と素子B10からの入力信号
値1を持ち、その出力値0および接続先を持たない構造
をとる。First, in FIG. 8, the model of the element A9 shows an AND element, which has 0 and 0 as an input signal value, 0 as an output value and a connection address C, and the element B10 is also an AND element. The input signal value has 1 and 1, and the output value has 0 and the connection destination address C. Further, the element C11 is also an AND element, and the input signal value has the input signal value 0 from the element A9 and the input signal value 1 from the element B10, and the output value 0 and the connection destination are not provided.
【0023】この場合に、この構造は単一機能素子の入
力となる信号値およびその出力値と接続先を持つため、
集合体としたときのそれぞれの入力条件および信号値、
出力接続先を持つことができない。In this case, since this structure has a signal value to be an input of the single functional element and its output value and a connection destination,
Each input condition and signal value when aggregated,
Cannot have output destination.
【0024】そこで、集合体とした論理素子は、従来は
図9に示すように各素子毎に論理表現テーブルが構成さ
れていたものが、本実施例においては、図10に示すよ
うに論理モデルで各入力端子の信号値および出力値、出
力接続先を定義する。In view of the above, the logical element as an aggregate has conventionally been configured with a logical expression table for each element as shown in FIG. 9, but in the present embodiment, as shown in FIG. Defines the signal value and output value of each input terminal, and the output connection destination.
【0025】すなわち、機能の部分は集合体とした論理
素子の機能を示し、入力ポインタは各入力端子毎に集合
体とした入力線の信号値を持つ入力値テーブルを指示
し、また出力ポインタは各出力端子の信号値をそれぞれ
持つ出力値テーブルを指示する構造とする。この方法に
より、集合体毎の信号接続関連を表すことができる。That is, the function part indicates the function of the logic element as an aggregate, the input pointer points to the input value table having the signal value of the aggregated input line for each input terminal, and the output pointer is The structure is such that an output value table having the signal value of each output terminal is designated. By this method, the signal connection relation for each aggregate can be represented.
【0026】続いて、この構造の論理モデルを用いて、
シミュレーションを進める手順を図11および図12に
より説明する。Then, using the logical model of this structure,
The procedure for advancing the simulation will be described with reference to FIGS. 11 and 12.
【0027】始めに、図11は集合体化した論理回路の
信号変化を順次伝播するためのイベント制御テーブル
と、論理モデルテーブルの関連を示したものである。First, FIG. 11 shows the relationship between the event control table for sequentially propagating the signal changes of the aggregated logic circuits and the logic model table.
【0028】タイムホイール12は、信号変化を示す各
論理素子の出力イベントの伝播時刻を制御するものであ
り、タイムホイール12から接続されるイベントテーブ
ル13は各論理素子の出力イベントを示す。また、イベ
ントテーブル13は信号値テーブル14に接続され、イ
ベントテーブル13の“VP”はそのイベントの信号値
を示し、“NP”は同時刻に実行すべきイベントを連結
するために使用する。The time wheel 12 controls the propagation time of the output event of each logic element indicating a signal change, and the event table 13 connected from the time wheel 12 shows the output event of each logic element. Further, the event table 13 is connected to the signal value table 14, "VP" of the event table 13 indicates the signal value of the event, and "NP" is used to connect the events to be executed at the same time.
【0029】さらに、各イベントは論理モデルテーブル
15を指し、タイムホイール12のこの時刻がシミュレ
ーション時刻と一致したときに、イベントテーブル13
からイベントを取り出し、論理モデルテーブル15へ信
号値テーブル14の信号値を伝え、各論理モデルの出力
信号値を求める。Further, each event indicates the logical model table 15, and when this time of the time wheel 12 coincides with the simulation time, the event table 13
Event is taken out, the signal value of the signal value table 14 is transmitted to the logical model table 15, and the output signal value of each logical model is obtained.
【0030】そして、算出した出力信号値は、論理モデ
ルテーブル15に準備した“FOP”により伝播先アド
レスを求め、タイムホイール12のこの論理モデルの遅
延時刻後に相当する位置へ、イベントテーブル13によ
るイベントおよび信号値テーブル14の伝播信号値とし
てリンクする。Then, for the calculated output signal value, the propagation destination address is obtained by "FOP" prepared in the logical model table 15, and the event by the event table 13 is moved to the position corresponding to the delay time of this logical model of the time wheel 12. And as the propagation signal value of the signal value table 14.
【0031】次に、これらのシミュレーションの実行フ
ローを図12に示す。Next, the execution flow of these simulations is shown in FIG.
【0032】まず、ステップ1201でシミュレーショ
ン時刻を管理するタイマTを“1”に設定する。そし
て、ステップ1202はシミュレーション終了時刻に達
したか否かを判定する処理で、タイマTがシミュレーシ
ョン終了時刻に等しければ処理を終了する。First, in step 1201, the timer T for managing the simulation time is set to "1". Then, step 1202 is a process of determining whether or not the simulation end time has been reached, and if the timer T is equal to the simulation end time, the process ends.
【0033】一方、シミュレーション終了時刻と異なる
場合には、ステップ1203でタイマTの時刻の入力信
号をイベントテーブル13に登録する。この場合に、イ
ベントテーブル13は、図11で示したようにタイマT
が示すタイムホイール12につながっている。On the other hand, if it is different from the simulation end time, the input signal of the time of the timer T is registered in the event table 13 in step 1203. In this case, the event table 13 has the timer T as shown in FIG.
Is connected to the time wheel 12 shown by.
【0034】そして、ステップ1204で、タイマTが
示すタイムホイール12にイベントが存在するか否か判
定する。たとえば、タイマTの時刻のイベントが存在す
れば、ステップ1205によりイベントを取り出してイ
ベントで示される素子の出力値を計算する。Then, in step 1204, it is determined whether or not an event exists on the time wheel 12 indicated by the timer T. For example, if there is an event at the time of the timer T, the event is extracted in step 1205 and the output value of the element indicated by the event is calculated.
【0035】この場合に、素子の出力値が以前と変わっ
たときは、ステップ1206によりこの素子をイベント
として作成し、素子の遅延時刻に相当するタイムホイー
ル12で示される時刻にイベントを登録する。そして、
タイマTの時刻のイベントがなくなるまでこの処理をく
り返していく。In this case, when the output value of the element has changed from before, this element is created as an event in step 1206, and the event is registered at the time indicated by the time wheel 12 corresponding to the delay time of the element. And
This process is repeated until there is no event at the time of the timer T.
【0036】さらに、タイマTの時刻のイベントがなく
なったら、ステップ1207でタイマTを更新し、ステ
ップ1202に戻る。Further, when there is no event at the time of the timer T, the timer T is updated in step 1207 and the process returns to step 1202.
【0037】以上のように、処理をシミュレーション終
了時刻までくり返していくが、従来方式ではステップ1
204からステップ1206のループを論理素子単位で
くり返していたが、本方式では同一機能論理素子を1つ
の集合体として集合体単位のくり返しとなる。As described above, the process is repeated until the simulation end time. In the conventional method, step 1
Although the loop from 204 to step 1206 is repeated for each logic element, this system repeats the same functional logic elements as one aggregate unit.
【0038】従って、本実施例によれば、同一時刻の複
数の同一機能のFF1〜FF3、FF4〜FF6を1つ
の集合体7,8とし、この集合体7,8の出力信号線を
1本に取りまとめて接続先へ接続し、各FF1〜FF6
の信号値を信号値テーブル14にまとめて論理表現テー
ブルを構成することにより、1つの集合体7,8に対し
て1度のイベント処理にすることができ、イベント処理
数を削減して高速なシミュレーションを実行することが
できる。Therefore, according to the present embodiment, a plurality of FF1 to FF3 and FF4 to FF6 having the same function at the same time are made into one aggregate 7, 8 and one output signal line of this aggregate 7, 8 is provided. To FF1 to FF6
By grouping the signal values of the above in the signal value table 14 to form a logical expression table, it is possible to perform event processing once for each of the aggregates 7 and 8. The simulation can be run.
【0039】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、本発明は前記実施例
に限定されるものではなく、その要旨を逸脱しない範囲
で種々変更可能であることはいうまでもない。Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the embodiments and can be variously modified without departing from the scope of the invention. Needless to say.
【0040】たとえば、本実施例については、フリップ
フロップ回路に適用した場合について説明したが、本発
明は前記実施例に限定されるものではなく、他の同一時
刻に動作する複数の同一機能の論理素子から構成される
回路についても広く適用可能である。For example, although the present embodiment has been described in the case of being applied to a flip-flop circuit, the present invention is not limited to the above-mentioned embodiment, and a plurality of logics having the same function and operating at the same time. It is also widely applicable to a circuit composed of elements.
【0041】以上の説明では、主として本発明者によっ
てなされた発明をその利用分野であるイベントドリブン
方式による論理シミュレーション方式に適用した場合に
ついて説明したが、これに限定されるものではなく、他
の論理シミュレーションについても広く適用可能であ
る。In the above description, the case where the invention made by the present inventor is mainly applied to the logic simulation method by the event driven method, which is the field of use of the invention, is not limited to this and other logics are used. It is also widely applicable to simulation.
【0042】[0042]
【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
下記のとおりである。The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.
It is as follows.
【0043】すなわち、シミュレーション対象論理回路
内で同一時刻に動作する複数の同一機能の論理素子を1
集合体とし、この1集合体の各論理素子の出力信号線を
1本に取りまとめて接続先へ接続し、1集合体とした各
論理素子の信号値を信号値テーブルにまとめて記憶させ
るシミュレーション実行用の論理表現テーブルを構成す
ることにより、複数の同一機能の論理素子における信号
値変化の伝搬処理を1集合体単位に行うことができるの
で、信号値変化の要因を示すイベントのイベント数を削
減することができる。That is, a plurality of logic elements having the same function which operate at the same time in the logic circuit to be simulated are
A simulation is performed in which the output signal lines of each logic element of this one aggregate are collected into one and connected to the connection destination, and the signal values of each logic element of the one aggregate are collectively stored in the signal value table. By configuring the logical expression table for use, the propagation processing of the signal value change in the plurality of logic elements having the same function can be performed in the unit of one unit, so the number of events indicating the factors of the signal value change can be reduced. can do.
【0044】この結果、同一時刻で処理する同一機能の
論理素子の信号値伝搬を1つのイベントで処理できるの
で、論理シミュレーションの高速化を図ることができ
る。As a result, since the signal value propagation of the logic element having the same function and processed at the same time can be processed by one event, the speed of the logic simulation can be increased.
【図1】本発明の論理シミュレーション方式の一実施例
において、同一機能論理素子を集合体にする処理手順を
示すフロー図である。FIG. 1 is a flow chart showing a processing procedure for assembling logic devices of the same function in one embodiment of a logic simulation system of the present invention.
【図2】本実施例において、シミュレーション対象回路
を示す回路図である。FIG. 2 is a circuit diagram showing a simulation target circuit in the present embodiment.
【図3】本実施例において、シミュレーション対象回路
のブール式を示す説明図である。FIG. 3 is an explanatory diagram showing a Boolean expression of a simulation target circuit in the present embodiment.
【図4】本実施例において、共通ネットを抽出したブー
ル式を示す説明図である。FIG. 4 is an explanatory diagram showing a Boolean expression for extracting a common net in this embodiment.
【図5】本実施例において、集合体にした論理回路を示
す回路図である。FIG. 5 is a circuit diagram showing an integrated logic circuit in this embodiment.
【図6】本実施例において、集合体を接続したシミュレ
ーション対象論理回路を示す回路図である。FIG. 6 is a circuit diagram showing a simulation target logic circuit in which an aggregate is connected in the present embodiment.
【図7】本実施例において、接続線を1本にしたシミュ
レーション対象論理回路を示す回路図である。FIG. 7 is a circuit diagram showing a simulation target logic circuit having one connection line in the present embodiment.
【図8】本実施例において、論理回路を示す回路図であ
る。FIG. 8 is a circuit diagram showing a logic circuit in the present embodiment.
【図9】本実施例において、論理表現テーブルの構成を
示す説明図である。FIG. 9 is an explanatory diagram showing the configuration of a logical expression table in the present embodiment.
【図10】本実施例において、論理表現テーブルを示す
説明図である。FIG. 10 is an explanatory diagram showing a logical expression table in the present embodiment.
【図11】本実施例において、集合体にした場合の論理
表現テーブルの構成を示す説明図である。FIG. 11 is an explanatory diagram showing a configuration of a logical expression table in the case of forming an aggregate in the present embodiment.
【図12】本実施例において、シミュレーション実行時
の処理手順を示すフロー図である。FIG. 12 is a flowchart showing a processing procedure when a simulation is executed in the present embodiment.
1〜6 FF(フリップフロップ) 7,8 集合体 9 素子A 10 素子B 11 素子C 12 タイムホイール 13 イベントテーブル 14 信号値テーブル 15 論理モデルテーブル 1-6 FF (flip-flop) 7,8 aggregate 9 element A 10 element B 11 element C 12 time wheel 13 event table 14 signal value table 15 logical model table
Claims (1)
レーション方式であって、シミュレーション対象論理回
路内で同一時刻に動作する複数の同一機能の論理素子を
1集合体とし、該1集合体の各論理素子の出力信号線を
1本に取りまとめて接続先へ接続し、前記1集合体とし
た各論理素子の信号値を信号値テーブルにまとめて記憶
させるシミュレーション実行用の論理表現テーブルを構
成し、前記複数の同一機能の論理素子における信号値変
化の伝搬処理を、1集合体単位に行うことを特徴とする
論理シミュレーション方式。1. A logic simulation method based on an event-driven method, wherein a plurality of logic elements having the same function and operating at the same time in a simulation target logic circuit are set as one set, and the output of each logic element of the one set is set. A logical expression table for simulation execution is constructed in which the signal lines are combined into one and connected to a connection destination, and the signal values of the respective logic elements in the one aggregate are collectively stored in a signal value table. A logic simulation method characterized in that propagation processing of a signal value change in a logic element having a function is performed in units of an aggregate.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3198989A JPH0546694A (en) | 1991-08-08 | 1991-08-08 | Logic simulation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3198989A JPH0546694A (en) | 1991-08-08 | 1991-08-08 | Logic simulation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0546694A true JPH0546694A (en) | 1993-02-26 |
Family
ID=16400262
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3198989A Pending JPH0546694A (en) | 1991-08-08 | 1991-08-08 | Logic simulation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0546694A (en) |
-
1991
- 1991-08-08 JP JP3198989A patent/JPH0546694A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61110071A (en) | Simulation system and simulator for logical circuit | |
| WO1999009497A1 (en) | Method of extracting timing characteristics of transistor circuits, storage medium storing timing characteristic library, lsi designing method, and gate extraction method | |
| JPH0546694A (en) | Logic simulation method | |
| JP2508620B2 (en) | Logic circuit simulation device | |
| JPH1091677A (en) | Logical conversion method for increasing efficiency of simulation/emulation | |
| US6877140B1 (en) | Method and system for generating a schematic representing bus structures | |
| JPH06232735A (en) | Designing method of synchronous digital electronic circuit | |
| JP3080037B2 (en) | How to create a logic simulation model | |
| JPH0822486A (en) | Logic circuit simulation method | |
| JP3340283B2 (en) | Hazard simulation device for logic circuits | |
| JP3123982B2 (en) | Logic simulation method | |
| JP2845154B2 (en) | How to create a logic simulation model | |
| JP2638293B2 (en) | LSI and mask layout method for logic circuit | |
| JPH0195365A (en) | Analyzing processing system for critical path | |
| CN121659879A (en) | A method for digital circuit dependency analysis | |
| JP3135357B2 (en) | Delay simulation device | |
| JP2569881B2 (en) | Concurrent failure simulation method | |
| Aarna et al. | Parallel fault simulation of digital circuits | |
| JP2785708B2 (en) | Logic simulation method | |
| JPH11259555A (en) | Macro design method | |
| JP2839574B2 (en) | Matching method for logic circuits containing indefinite values | |
| JPH10116300A (en) | Logic circuit delay verification method | |
| JPH02294843A (en) | Logical verification device | |
| JP2001338008A (en) | Logic equivalence verification method and apparatus for implementing the method | |
| JPH03288270A (en) | Logic simulation device |