JPH0261771A - Logical circuit simulation system - Google Patents

Logical circuit simulation system

Info

Publication number
JPH0261771A
JPH0261771A JP63212509A JP21250988A JPH0261771A JP H0261771 A JPH0261771 A JP H0261771A JP 63212509 A JP63212509 A JP 63212509A JP 21250988 A JP21250988 A JP 21250988A JP H0261771 A JPH0261771 A JP H0261771A
Authority
JP
Japan
Prior art keywords
signal
event
circuit
information
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
Application number
JP63212509A
Other languages
Japanese (ja)
Inventor
Tsutomu Takei
勉 武井
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63212509A priority Critical patent/JPH0261771A/en
Publication of JPH0261771A publication Critical patent/JPH0261771A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To extract the pass of data, in which an attention signal is propagated, by investigating how the attention signal is transmitted in a logical circuit with a given test pattern. CONSTITUTION:Logical circuit information to be composed of the information of a component, which constitutes the logical circuit, the information of connecting relation for the component and the information of a logical circuit describing language, etc., the information of a circuit pattern for the logical circuit to execute simulation, the information of an input test pattern 2 of a change information for an input signal, which is inputted to the circuit pattern, and the information of attention signal indication 3 to give attention to the change of the respective signals in the circuit when circuit operation is simulated and to designate the attention signal are inputted to an event processing part 4 and the simulation processing of the test pattern is executed. A processed result is outputted as an attention signal trace list 5, which wholly records related events, and a simulation result 6 to output the time change of respective signal values in the circuit pattern.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) この発明は、設計された論理回路の動作解析を行う場合
に用いる論理回路シミュレーション方式(従来の技術) 論理回路設計において、設計された論理回路の動作解析
を行なう場合に、論理シミュレータを用いて行なう。論
理シミュレータは、シミュレーションする回路の回路情
報として論理回路記述言語等を入力とし、また、入力信
号の変化情報として、入力テストパターンやメモリの内
容を入力とし、該論理回路の回路動作をシミュレートす
る。このシミュレーションの1つに、回路内の信号値の
変化するものにだけ着目して、回路動作のシミュレート
を効率良く行なうイベント(事象)駆動方式シミュレー
ションの結果は、回路の各信号値の時間変化として出力
される。設計者は、この出力結果の各信号の変化の様子
を調べて1回路が所望の動作を行なっているかどうか検
討する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention relates to a logic circuit simulation method (prior art) used to analyze the operation of a designed logic circuit. A logic simulator is used to analyze the operation of a designed logic circuit. A logic simulator receives a logic circuit description language, etc. as circuit information of the circuit to be simulated, and inputs an input test pattern and the contents of a memory as input signal change information, and simulates the circuit operation of the logic circuit. . One of these simulations is an event-driven simulation that efficiently simulates circuit operation by focusing only on changes in signal values within the circuit. is output as The designer examines the changes in each signal as a result of this output and examines whether one circuit is performing the desired operation.

このように、回路の動作を調べる場合、シミュレーショ
ン結果の各信号の変化より、信号値の伝搬の様子を解析
しなければならない。
In this way, when investigating the operation of a circuit, it is necessary to analyze the propagation of signal values based on changes in each signal as a result of simulation.

また、イベント駆動方式の論理シミュレーションでは、
信号値の変化したもののみを処理するので、回路のある
部分がある時刻に信号の流れが切り変って、別の信号が
伝わってきても、前の信号値と切り変った後の信号値が
同じ値であるとイベントは発生せず、イベントの伝搬を
見ただけでは信号の伝搬が解らない場合がある。
In addition, in event-driven logical simulation,
Since only the signal value that has changed is processed, even if the signal flow changes at a certain time in a certain part of the circuit and a different signal is transmitted, the signal value after the change will not be the same as the previous signal value. If the values are the same, no event will occur, and the propagation of the signal may not be understood just by looking at the propagation of the event.

(発明が解決しようとする課!り この発明は、かかる点に鑑み前記従来技術の欠点を除去
すること即ち、論理回路の動作解析をイベント駆動方式
の論理回路シミュレータを用いて行なう場合に、注目し
た信号の回路動作への影響をイベントの伝搬として取り
出す場合に、ある信号の値が、その信号の前段に発生し
たイベントの影響を受けても、信号の値が変化しなかっ
た場合に前段まで伝わってきたイベントがそこで止まら
ないようにすること、及び注目した信号に関係したイベ
ントのみを別に保持し、論理回路の動作解析をし易くす
ることである。
(Issues to be solved by the invention!) In view of the above, the present invention aims to eliminate the drawbacks of the prior art described above, that is, to analyze the operation of a logic circuit using an event-driven logic circuit simulator. When extracting the influence of a signal on circuit operation as event propagation, if the value of a certain signal is affected by an event that occurred in the previous stage of that signal, but the signal value does not change, The purpose is to prevent the transmitted events from stopping there, and to separately retain only the events related to the signal of interest, making it easier to analyze the operation of the logic circuit.

論理回路を構成するコンポーネント及び各コンポーネン
トの接続関係をもつ回路情報に、あるコンポーネントの
信号値に対して、イベントの伝搬を注目することを識別
するためのフラグ領域を設けること、該回路情報を用い
て、イベント駆動方式(セレクティブトレース方式)の
論理回路シミュレーションを行なう場合に、該フラグが
ONになっているコンポーネントの信号から発生したイ
ベントには、他のイベントと区別するためにイベントの
種類を異にし、 (通常のイベントをイベント種類1と
し、本イベントをイベント種類2とする)この異なる種
類のイベント(例えば、イベント種類2とすると)から
次のイベントを発生する場合は、同様にそのイベントを
イベント種類2とする。イベント処理部において、コン
ポーネントの信号の値が、前段から伝わってきたイベン
トの処理前の値と処理後の値が同じであった場合には、
該コンポーネントにイベントを発生させないが、イベン
ト種類が異なる場合、つまり、イベント処理前の値が、
イベント種類1のイベントによって、以前に決定され、
現時点の前段から伝わってきたイベントがイベント種類
2であった場合は、イベントの処理前の値と処理後の値
が同じであった場合でも該コンポーネントに対してイベ
ントを発生させる。
Providing a flag area for identifying that event propagation is to be noted for a signal value of a certain component in circuit information including components constituting a logic circuit and connection relationships between each component, and using the circuit information. When performing logic circuit simulation using the event-driven method (selective trace method), events generated from signals of components whose flags are turned on are given different event types to distinguish them from other events. (Set the normal event as event type 1 and this event as event type 2) If you want to generate the next event from this different type of event (for example, let's say event type 2), change that event in the same way. The event type is 2. In the event processing section, if the value of the component signal is the same before and after processing the event transmitted from the previous stage,
If the component does not generate an event, but the event type is different, that is, the value before event processing is
previously determined by an event of event type 1,
If the event transmitted from the previous stage at the current time is event type 2, an event is generated for the component even if the value before processing and the value after processing of the event are the same.

(実施例) 以下、本発明の実施例について詳細に説明する。(Example) Examples of the present invention will be described in detail below.

第1図は本発明の論理回路シミュレータ方式を示すシス
テム構成図である。シミュレーションする論理回路の情
報として、その論理回路を構成するコンポーネントの情
報、そのコンポーネントの接続関係の情報および論理回
路記述言語等の情報からなる論理回路情報1と、シミュ
レーションする論理回路の回路パターンの情報と、その
回路パターンに入力する入力信号の変化情報を入力テス
トパターン2の情報と1回路動作をシミュレートすると
きに1回路内の各信号の変化に着目して、注目する信号
を指定する注目信号指示3の情報とをイベント処理部4
に入力して、テストパターンのシミュレーション処理が
行なわれる。処理された結果は、関連するイベントをす
べて記録する注目信号関係トレースリスト5と、回路パ
ターン内の各信号値の時間的変化を出力するシミュレー
ション結果6として出力される。
FIG. 1 is a system configuration diagram showing the logic circuit simulator method of the present invention. Information on the logic circuit to be simulated includes logic circuit information 1 consisting of information on the components constituting the logic circuit, information on connection relationships between the components, information on the logic circuit description language, etc., and information on the circuit pattern of the logic circuit to be simulated. When simulating the operation of one circuit, the change information of the input signal input to that circuit pattern is input to the information of test pattern 2, and when simulating the operation of one circuit, the attention is focused on the changes of each signal in one circuit, and the signal of interest is specified. The information of the signal instruction 3 and the event processing unit 4
is input, and the test pattern simulation process is performed. The processed results are output as a signal-of-interest trace list 5 that records all related events, and a simulation result 6 that outputs temporal changes in each signal value within the circuit pattern.

この発明のシステムの動作は、第2図に示す回路パター
ンを例に用いて説明する。このシミュレーションの対象
となる論理回路は入力端子301゜302、303.3
04.305.306.307から入力された信号C1
,DI、 D2. CLKI、 C3,CLK2. C
2はD型フリップフロップ308.309.315.3
16.セレクタ310゜311、312.313および
アダー314とから構成されている回路素子を介して出
力端子317,318に信号02゜01を出力するもの
である。第3図にこの論理回路をシミュレーションする
時の入力テストパターンの一例を示す。この第3図に示
す入力テストパターンを基に、シミュレーションを行な
い、注目信号として所定の時刻の所定の信号を指定した
場合のトレースリストを第4図に示して説明する。
The operation of the system of the present invention will be explained using the circuit pattern shown in FIG. 2 as an example. The logic circuit targeted for this simulation has input terminals 301, 302, 303.3.
Signal C1 input from 04.305.306.307
, DI, D2. CLKI, C3, CLK2. C
2 is a D-type flip-flop 308.309.315.3
16. A signal 02°01 is outputted to output terminals 317 and 318 via a circuit element composed of selectors 310°311, 312.313 and an adder 314. FIG. 3 shows an example of an input test pattern when simulating this logic circuit. A simulation is performed based on the input test pattern shown in FIG. 3, and a trace list in the case where a predetermined signal at a predetermined time is specified as the signal of interest is shown in FIG. 4 and will be explained.

まず、第2図で示す入力端子に入力される信号CLKI
、CLK2.C1,C2,C3,Di<0ニア)’、 
D2(0ニア)が時刻0に変化しており、イベントとし
て処理される。これらは、それぞれの信号値表の値を0
に変える。
First, the signal CLKI input to the input terminal shown in FIG.
, CLK2. C1, C2, C3, Di<0 near)',
D2 (0 near) has changed to time 0 and is processed as an event. These change the value of each signal value table to 0
Change to

信号C1に関しては、その接続先のインバータの出力、
信号CINを値1に変化させるイベントを発生する。同
様に、信号C2は信号C2N を値1に変化させるイベ
ントを発生し、信号C2Nのイベントは、その接続先の
セレクタの出力、信号S4 (0: 7)を値1111
1111に変化させるイベントを発生する。信号C3及
び信号54(0ニア)のイベント処理では、アダーの出
力、信号S5<Oニア)の値は、初期値の値XXXxx
xxxのままであるが、信号S5<0ニア)は、トレー
ス指示フラグがONになっているので、イベント種類2
のイベントが発生する。このイベントは、信号56(0
ニア)、信号01(0ニア)と信号57(0ニア)、信
号02<Oニア)へと伝わっていく。
Regarding signal C1, the output of the inverter to which it is connected,
Generates an event that changes the signal CIN to the value 1. Similarly, signal C2 generates an event that changes signal C2N to the value 1, and the event of signal C2N causes the output of the selector to which it is connected, signal S4 (0: 7), to change to the value 1111.
An event is generated to change the value to 1111. In the event processing of signal C3 and signal 54 (0 near), the value of the adder output, signal S5<O near) is the initial value XXXxx
xxx remains, but the signal S5 < 0 near) is event type 2 because the trace instruction flag is ON.
event occurs. This event is signal 56 (0
signal 01 (0 near), signal 57 (0 near), signal 02<O near).

次に、時刻10に信号C1,C2,C3が値1に変化し
それぞれイベント処理される。信号C3及び信号54(
0ニア)のイベント処理では、アダーの出力、信号55
(0ニア)の値は初期値の値xxxxxxxxのままで
あるが、信号55(0ニア)はトレース指示フラグがO
Nになっているのでイベント種類2のイベントが発生す
る。信号S6<0ニア)、 S7<Oニア>、 01<
Oニア>。
Next, at time 10, the signals C1, C2, and C3 change to the value 1, and each event is processed. Signal C3 and signal 54 (
0 near) event processing, adder output, signal 55
(0 near) remains at the initial value xxxxxxxxx, but signal 55 (0 near) indicates that the trace instruction flag is O.
Since it is N, an event of event type 2 occurs. Signal S6<0 near), S7<O near>, 01<
O Near>.

02(0ニア)にはイベントは発生しない。No event occurs at 02 (0 near).

次に、時刻20に信号CLK 1が値1に変化し、イベ
ント処理される。そして、信号5L(0ニア)、S2<
Oニア>53(0ニア)が値ooooooooになる。
Next, at time 20, the signal CLK 1 changes to the value 1, and event processing is performed. Then, signal 5L (0 near), S2<
O near>53 (0 near) becomes the value ooooooooo.

そして、信号55(0ニア)にイベント種類2のイベン
トが発生する。このイベントはその接続先には伝搬しな
い。
Then, an event of event type 2 occurs at signal 55 (0 near). This event is not propagated to its destination.

次に時刻50に信号CLK lが値Oに変化し、信号D
I(0ニア) が値01010101に変化し、信号D
2(0ニア) が値11111111に変化しイベント
処理されるが、これらのイベントはその接続先には伝搬
しない。
Next, at time 50, the signal CLK l changes to the value O, and the signal D
I (0 near) changes to the value 01010101, and the signal D
2 (0 near) changes to the value 11111111 and events are processed, but these events are not propagated to the connected destination.

次に時刻70に信号CLK2が値1に変化し、イベント
処理される。そして、信号S6<0ニア>、 01<O
ニア)と信号57(0ニア)、 02(0ニア)を値O
とするイベント種類2のイベントとして伝わっていく。
Next, at time 70, the signal CLK2 changes to the value 1, and event processing is performed. Then, the signals S6<0 near>, 01<O
near) and signal 57 (0 near), 02 (0 near) to the value O
It is transmitted as an event of type 2.

また、注目信号のトレース指示フラグは、任意の時刻に
ONにすることができる。前述の例において、時刻10
0に信号55(0ニア)のトレス指示フラグがONにな
ったとすると、第3図において、信号CLKIが時刻1
20に値1に変化することにより、信号51(0ニア)
の値が値01010101に、信号52(0ニア)の値
が値1、1111111に、信号S3<Oニア> の値
が、値11111111に変化するイベントが発生する
。アダーの出力、信号S5<0ニア> の値は、値11
111111となり、イベントが発生する。ここで、信
号S5<0ニア>は、トレース指示フラグがONになっ
ているので、イベント種類2のイベントが発生する。こ
のイベントは、信号56(0ニア)、信号01(0ニア
)と信号57(0ニア>、信号02(0ニア〉へと伝わ
っていく。しかし、それらの値は、値oooooooo
のままである。
Further, the trace instruction flag of the signal of interest can be turned on at any time. In the above example, at time 10
Assuming that the trace instruction flag of signal 55 (0 near) is turned ON at 0, in FIG.
By changing the value 1 to 20, the signal 51 (0 near)
An event occurs in which the value of signal S3<O near> changes to the value 01010101, the value of the signal 52 (0 near) changes to the value 1, 1111111, and the value of the signal S3<O near> changes to the value 11111111. The value of the adder output, signal S5<0 near>, is the value 11
111111, and an event occurs. Here, in the signal S5<0 near>, since the trace instruction flag is ON, an event of event type 2 occurs. This event propagates to signal 56 (0 near), signal 01 (0 near), signal 57 (0 near>, signal 02 (0 near>). However, their values are the values oooooooooo
It remains as it is.

時刻0に信号S5<0ニア)のトレース指示フラグをO
Nにした場合のトレースリストの概略は、第4図(a)
のようになる。また、時刻100に、信号S5<Oニア
>のトレース指示フラグをONにした場合のトレースリ
ストの概略は、第4図(b)のようになる。
At time 0, set the trace instruction flag of signal S5<0 near) to O.
An outline of the trace list when N is set is shown in Figure 4(a).
become that way. Further, the outline of the trace list when the trace instruction flag of the signal S5<O near> is turned ON at time 100 is as shown in FIG. 4(b).

このトレースリストより、注目信号が、どのようなパス
で伝わっていくかが解かる。第4図(a)。
From this trace list, it is possible to determine what path the signal of interest travels. Figure 4(a).

(b)の例では、注目信号55(0ニア)が信号56(
0ニア)。
In the example of (b), the signal of interest 55 (0 near) is the signal 56 (
0 near).

01(0ニア)及び信号S7<Oニア>、 02<Oニ
ア)と伝わっていくことが解かる。このように、与えら
れた入力テストパターンにより、注目した信号がどのよ
うなパスで伝搬していくかが得られる。
01 (0 near) and signals S7<O near>, 02<O near). In this way, it is possible to obtain the path through which the signal of interest propagates based on the given input test pattern.

与えられた論理回路のあるデータのパスに信号を伝える
ための機能テストパターンを自動的に求める機能テスト
発生において、設計者が与えた基本テストパターンで活
性化(データのパスに信号を伝える)されるデータバス
と類似のデータバスに対して、機能テスト発生をする場
合に、前記の方法により、設計者が与えた基本テストパ
ターンから、データバスを求め、該データバスの一部が
異なる類似のデータバスを機能テスト発生に与えて、該
類似のデータバスを活性化する入力テストパターンを求
める。このようにして、設計者が与えた基本テストパタ
ーンと類似の機能動作を行なう入力テストパターンを求
めることかで可能である。
When generating a functional test that automatically determines a functional test pattern for transmitting a signal to a certain data path in a given logic circuit, a function test pattern that is activated (conveys a signal to a data path) with a basic test pattern given by the designer is used. When generating a functional test for a data bus that is similar to a data bus that is similar to a data bus, the data bus is determined from the basic test pattern given by the designer using the method described above, and a similar A data bus is applied to a functional test generator to determine an input test pattern that activates the similar data bus. In this way, it is possible to obtain an input test pattern that performs a similar function to the basic test pattern given by the designer.

上述したイベント処理について、さらに詳しく説明する
と次のようなステップ(step)で処理され、第5図
および第6図に示すような動作の流わ図となる。第5図
はイベント格納領域の例を示し、第6図はコンポーネン
ト表および値表(信号値表)の一部の例を示す。
The above-mentioned event processing will be explained in more detail in the following steps, and the operation flowcharts are shown in FIGS. 5 and 6. FIG. 5 shows an example of an event storage area, and FIG. 6 shows an example of part of a component table and a value table (signal value table).

第5図に示すイベント格納領域はイベントが格納されて
いるタイムホイール(具体的には一巡しているリストで
ある) 10とこのタイムホイール10から取り出され
た同一時刻の複数のイベントリスト11とからなり、各
イベントリスト11は、個々のイベントがポインタで継
がっている。これらのイベントリストの関係はイベント
を発生させた原因となる前段のイベントを矢印12で示
した。イベントリスト11の中のポインタはイベントリ
ストポインタ13、イベント種類14、前段イベントポ
インタ15、コンポーネント表へのポインタ16.値ビ
ット幅数17、イベント値18がそれぞれのリスト内に
入っている。
The event storage area shown in FIG. 5 is made up of a time wheel (specifically, a list that goes around) 10 in which events are stored and a plurality of event lists 11 at the same time taken out from this time wheel 10. In each event list 11, individual events are connected by pointers. The relationship between these event lists is shown by an arrow 12 indicating a preceding event that causes the event to occur. The pointers in the event list 11 are an event list pointer 13, an event type 14, a previous event pointer 15, a pointer to the component table 16. Each list contains 17 value bit widths and 18 event values.

第6図ではコンポーネント表19.20と、回路中の信
号値の値表21.22および出力先接続表23が示され
ている。コンポーネント表19は属性24、トレース指
示フラグ25、出力Q値表へのポインタ26、出力Q接
続表へのポインタ27、入力り値表へのポインタ28お
よび入力Q値表へのポインタ29で構成されている。値
表21.22はイベント種類識別フラグ30とその値3
1とからなっている。
FIG. 6 shows component tables 19 and 20, value tables 21 and 22 of signal values in the circuit, and output destination connection table 23. The component table 19 includes an attribute 24, a trace instruction flag 25, a pointer 26 to the output Q value table, a pointer 27 to the output Q connection table, a pointer 28 to the input value table, and a pointer 29 to the input Q value table. ing. Value tables 21 and 22 show the event type identification flag 30 and its value 3.
It consists of 1.

次に本発明イベント処理の処理ステップ(step)を
説明する。尚、ここでイベントとは回路動作を模擬する
ときに、各信号の変化に着目して、その変化をパイベン
ト″として、回路を伝搬させていくことである。
Next, the processing steps of the event processing of the present invention will be explained. Incidentally, here, the term "event" refers to, when simulating circuit operation, focusing on changes in each signal and propagating the changes through the circuit as "events."

5tepl : イベントをイベント格納領域から取出し、イベントの対
応するコンポーネントの信号値表の値をイベントで更新
する。
5tepl: Take out the event from the event storage area and update the value of the signal value table of the component corresponding to the event with the event.

ここで、イベントの種類が種類2である場合は。Here, if the event type is type 2.

該コンポーネントの識別名(または識別名へのポインタ
)とイベント値、時刻をトレースリストへイベントの前
後関係を保つように登録する。この時、信号値表のイベ
ント種類識別フラグをONにする。
The identification name (or pointer to the identification name) of the component, event value, and time are registered in the trace list so as to maintain the context of the event. At this time, the event type identification flag in the signal value table is turned ON.

5tep2 : 該コンポーネントの出力接続先数と接続先を取り出す。5 step 2: Extract the number of output connection destinations and connection destinations of the component.

step3: 接続先数分繰り返す。step3: Repeat for the number of connection destinations.

5tep3.1 : 接続先のコンポーネントの属性(ゲート種類)別に、コ
ンポーネントの入力値に対して、出力値を算出する。
5tep3.1: Calculate the output value for the input value of the component for each attribute (gate type) of the connected component.

5tep3.2: (υ コンポーネントのトレース指示フラグがONにな
っているか、または、前段のイベント(steplで取
り出したイベント)がイベント種類2であり、コンポー
ネントのイベント種類識別フラグが0FF(前回のイベ
ントがイベント種類1)であった場合は、登録するイベ
ントのイベント種類を2とし、5tep3.1で算出さ
れた出力値をイベント値としてイベント格納領域へ格納
する。
5step 3.2: (υ The trace instruction flag of the component is ON, or the previous event (the event extracted with stepl) is event type 2, and the event type identification flag of the component is 0FF (the previous event is If the event type is 1), the event type of the event to be registered is set to 2, and the output value calculated in step 3.1 is stored as an event value in the event storage area.

■ 前段のイベントがイベント種類2であり、コンポー
ネントのイベント種類識別フラグがON(前回のイベン
トがイベント種類2)であった場合、または、前段のイ
ベントがイベント種類1であり、コンポーネントのイベ
ント種類識別フラグがONであった場合は、5tep3
.1で算出された出力値と信号値表の値を比較して、値
が異なれば、登録するイベントのイベント種類を2とし
、出力値をイベント値としてイベント格納領域へ格納す
る。
■ If the previous event is event type 2 and the component's event type identification flag is ON (the previous event is event type 2), or the previous event is event type 1 and the component's event type identification If the flag is ON, 5 step 3
.. The output value calculated in step 1 is compared with the value in the signal value table, and if the values are different, the event type of the event to be registered is set to 2, and the output value is stored in the event storage area as an event value.

出力値と信号値表の値を比較して値が同じであれば、イ
ベントを発生しない。
Compare the output value and the value in the signal value table, and if the values are the same, no event is generated.

(3)  コンポーネントのトレース指示フラグがOF
Fでかつ、前段のイベントがイベント種類1でかつ、コ
ンポーネントのイベント識別フラグがOFFの場合は、
5tep3.1で算出された出力値と信号値表の値を比
較して、値が異なれば、登録するイベントのイベント種
類を1とし、出力値をイベント値として、イベント格納
領域へ格納する。出力値と信号値表の値を比較して値が
同じであれば、イベントを発生しない。
(3) Component trace instruction flag is OFF
If F, the previous event is event type 1, and the component's event identification flag is OFF,
5. Compare the output value calculated in step 3.1 with the value in the signal value table, and if the values are different, set the event type of the event to be registered to 1, and store the output value as an event value in the event storage area. Compare the output value and the value in the signal value table, and if the values are the same, no event is generated.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、イベント駆動方式の処理効率を損なう
ことなく、注目した信号が伝搬していくデータのパスを
抽出することができ、シミュレーション結果の各信号の
時刻変化を解析することをせずに、信号の伝搬の様子が
解かる。
According to the present invention, it is possible to extract the data path along which the signal of interest propagates without impairing the processing efficiency of the event-driven method, and without analyzing the time changes of each signal in the simulation results. In this way, we can understand how the signal propagates.

また1本発明の機能を用いて、与えられた基本人力テス
トパターンによって、与えられた論理回路内の活性化さ
れるデータのパス(注目した信号が伝わっていく経路)
を求めることができる。該基本人力テストパターンから
得られた該データバスより、論理回路内の類似のデータ
バスを求め、該類似のデータバスを機能テスト発生シス
テムに渡し、該類似のデータバスに対する機能テスト発
生を行ない、与えられた基本人力テストパターンと類似
の機能動作を行なう入力テストパターンを自動生成する
ことが可能となる。
Furthermore, by using the functions of the present invention, data paths (paths along which the focused signal is transmitted) within a given logic circuit are activated according to a given basic human test pattern.
can be found. Find a similar data bus in a logic circuit from the data bus obtained from the basic human test pattern, pass the similar data bus to a functional test generation system, and generate a functional test for the similar data bus; It becomes possible to automatically generate an input test pattern that performs a similar functional operation to a given basic human test pattern.

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

第1図は本発明の詳細な説明するためのシミュレータの
入力、出力を示したシステム構成の概略図、第2図はシ
ミュレーションの対象となる論理回路の回路図、第3図
は第2図に示す論理回路をシミュレーションする場合の
入力デス1−パターンを示す信号図、第4図は第2図で
示した論理回路を用いて第3図で示した入力テストパタ
ーンによりシミュレーションを行ない、注目信号として
時刻Oに信号55(0ニア) を指定した場合のトレー
スリス1〜の一部と注目信号として時刻100に信号5
5(0ニア)を指定した場合のトレースリストの一部を
示す図、第5図はイベントの格納領域を示す図。 第6図はコンポーネント表、値表および接続表を示した
図である。 1・・・論理回路情報     2・・・入力テストパ
ターン3・−注目信号指示     4・・・イベント
処理部5・・・注目信号関係トレースリスト 6・・・シミュレーション結果 代理人 弁理士 則 近 憲 佑 同  松山光之 第1図 (J   <)    (J へ   m (J(J \へ (d> (b) 第 図
Figure 1 is a schematic diagram of the system configuration showing the input and output of the simulator for detailed explanation of the present invention, Figure 2 is a circuit diagram of the logic circuit to be simulated, and Figure 3 is similar to Figure 2. Figure 4 is a signal diagram showing the input test pattern when simulating the logic circuit shown in Figure 4, which is a signal diagram showing the input test pattern shown in Figure 3 using the logic circuit shown in Figure 2. Part of trace list 1 to when signal 55 (0 near) is specified at time O and signal 5 at time 100 as the signal of interest.
FIG. 5 is a diagram showing a part of a trace list when 5 (0 near) is specified, and FIG. 5 is a diagram showing an event storage area. FIG. 6 is a diagram showing a component table, a value table, and a connection table. 1...Logic circuit information 2...Input test pattern 3--Attention signal instruction 4...Event processing unit 5...Attention signal related trace list 6...Simulation result agent Patent attorney Noriyuki Chika The same Mitsuyuki Matsuyama Figure 1 (J <) (J to m (J (J \ to (d> (b) Figure 1)

Claims (1)

【特許請求の範囲】[Claims] 論理回路の構成・動作の解析を、論理回路記述言語等の
回路情報を基にして行なうイベント駆動方式の論理回路
シミュレータにおいて、注目する信号を指定する手段を
有し、注目する信号の関連するイベントに対して、他の
信号と区別して値を比較、設定する手段を有し、注目す
る信号に関連するイベントをすべて記録する手段を有し
、与えられた入力テストパターンで、注目した信号が論
理回路の中でのどのように伝わるかを調べることが可能
な論理回路シミュレーション方式。
In an event-driven logic circuit simulator that analyzes the configuration and operation of a logic circuit based on circuit information such as a logic circuit description language, it has a means for specifying a signal of interest, and an event related to the signal of interest. It has a means to compare and set the value to distinguish it from other signals, a means to record all events related to the signal of interest, and a given input test pattern indicates that the signal of interest is logical. A logic circuit simulation method that allows you to investigate how information is transmitted within a circuit.
JP63212509A 1988-08-29 1988-08-29 Logical circuit simulation system Pending JPH0261771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63212509A JPH0261771A (en) 1988-08-29 1988-08-29 Logical circuit simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63212509A JPH0261771A (en) 1988-08-29 1988-08-29 Logical circuit simulation system

Publications (1)

Publication Number Publication Date
JPH0261771A true JPH0261771A (en) 1990-03-01

Family

ID=16623849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63212509A Pending JPH0261771A (en) 1988-08-29 1988-08-29 Logical circuit simulation system

Country Status (1)

Country Link
JP (1) JPH0261771A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5110101A (en) * 1990-04-19 1992-05-05 Involvo Ag Apparatus for subdividing a running web of coherent panels in zig-zag formation
US5145159A (en) * 1990-07-07 1992-09-08 Heidelberger Druckmaschinen Ag Apparatus for changing a stack in a sheet deliverer
US11922756B2 (en) 2019-01-30 2024-03-05 J.J. Mackay Canada Limited Parking meter having touchscreen display

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5110101A (en) * 1990-04-19 1992-05-05 Involvo Ag Apparatus for subdividing a running web of coherent panels in zig-zag formation
US5145159A (en) * 1990-07-07 1992-09-08 Heidelberger Druckmaschinen Ag Apparatus for changing a stack in a sheet deliverer
US11922756B2 (en) 2019-01-30 2024-03-05 J.J. Mackay Canada Limited Parking meter having touchscreen display

Similar Documents

Publication Publication Date Title
US7831943B1 (en) Checking for valid slice packing in a programmable device
JPH0261771A (en) Logical circuit simulation system
US20030188272A1 (en) Synchronous assert module for hardware description language library
JP2002366597A (en) System and program of fpga design
Park et al. Static analysis to identify invariants in RSML specifications
US6965853B2 (en) Back annotation apparatus for carrying out a simulation based on the extraction result in regard to parasitic elements
JPH09265489A (en) Simulation processing method
US5910901A (en) Logic simulator
JPH07175851A (en) Device and method for checking bus
JP2809631B2 (en) Circuit net extraction method
Pomeranz et al. Equivalence and dominance relations between fault pairs and their use in fault pair collapsing for fault diagnosis
JP3654941B2 (en) Logic simulation method and logic simulator
JPH034335A (en) Method and device for extracting route
JP2996293B2 (en) Failure simulation method
Weng et al. Using structural relations for checking combinationality of cyclic circuits
JPH0195365A (en) Analyzing processing system for critical path
JPH01236352A (en) System for outputting logic simulated result
JPH03196270A (en) Display device for result of logical simulation
JP4268966B2 (en) Circuit analysis apparatus, circuit analysis method, program, and computer-readable recording medium
JPS63296173A (en) Delay analysis system
JPH01307680A (en) Automatic test pattern generating system
JPH07182381A (en) Method and system for logical simulation in consideration of variance in delay time
JPH06162131A (en) Fault simulation system for large-scale integrated circuit
JPH06266792A (en) Fault simulation processing method
JPH04359376A (en) Logic verification method