JPH034335A - Method and device for extracting route - Google Patents

Method and device for extracting route

Info

Publication number
JPH034335A
JPH034335A JP1138862A JP13886289A JPH034335A JP H034335 A JPH034335 A JP H034335A JP 1138862 A JP1138862 A JP 1138862A JP 13886289 A JP13886289 A JP 13886289A JP H034335 A JPH034335 A JP H034335A
Authority
JP
Japan
Prior art keywords
network structure
circuit
event information
pin
logic circuit
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
JP1138862A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Kono
河野 和義
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 JP1138862A priority Critical patent/JPH034335A/en
Publication of JPH034335A publication Critical patent/JPH034335A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To easily execute the trace of the flow of a signal inside a circuit even when the scale of a logic circuit is enlarged by using event information generated in simulating the logic circuit based on a network structure and a test pattern and the network structure. CONSTITUTION:From a logic circuit description prepared by a description preparing part 11, the network structure to be the information to express the connection information of a pin is extracted by a network structure extracting part 12, and a simulation is executed by a simulation executing part 13 based on the network structure and the test pattern to express an input series to the input pin of the circuit. When the simulation is executed, a route is extracted by a route extracting part 15 based on the event information and network structure. By an expected value comparing part 14, a simulation result and an expected value are compared, and thus, whether the circuit is operated as expected or not is decided. When the circuit is not operated as expected, the flow of the signal inside the circuit is traced based on the extracted route. The circuit description is corrected based on the trace result, and the above- mentioned processing is repeated again.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、シミュレータを用いて論理回路を検証する
ときに、与えられたテストパターンにより入力信号が論
理回路内部をどのように伝搬したかを調べるために、イ
ベント情報を元に入力信号が伝搬する経路を自動的に抽
出する経路抽出方法及び経路抽出装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention is an object of the present invention, when verifying a logic circuit using a simulator, how an input signal moves inside the logic circuit using a given test pattern. The present invention relates to a route extraction method and a route extraction device for automatically extracting a route along which an input signal propagates based on event information in order to check whether the input signal has propagated to the destination.

(従来の技術) 従来、集積回路チップを作成する前に論理回路の設計の
検証を行う手段として、多くの場合、シミュレータが用
いられる。論理回路のシミュレーションは、回路中のピ
ンの接続関係を表す情報(網構造)と、回路の入力ピン
への入力系列(テストパターン)を用いて行われる。シ
ミュレーションを行った結果、回路が期待通り動作して
いるかどうかは、シミュレーション結果と仕様を元に作
成した期待値とを比較することにより判断することが可
能である。
(Prior Art) Conventionally, a simulator is often used as a means for verifying the design of a logic circuit before creating an integrated circuit chip. Logic circuit simulation is performed using information representing the connection relationship of pins in the circuit (network structure) and an input sequence to input pins of the circuit (test pattern). Whether or not the circuit is operating as expected as a result of the simulation can be determined by comparing the simulation results with expected values created based on specifications.

しかし、シミュレーション結果と期待値とが一致しない
場合、その原因を調べるために、回路内部の信号の流れ
をトレースすることが必要となる。また、シミュレーシ
ョン結果が期待値と一致した場合でも、回路の内部で正
しく動作しているかどうかを調べるためには、やはり、
回路内部の信号の流れをトレースする必要がある。従来
、このような信号の流れをトレースするには、人間がシ
ミュレーション結果と回路図若しくは回路記述との対応
を取りながら信号の伝搬経路を辿ることにより行ってい
た。
However, if the simulation results do not match the expected values, it is necessary to trace the signal flow inside the circuit in order to investigate the cause. Also, even if the simulation results match the expected values, in order to check whether the circuit is working correctly inside, it is still necessary to
It is necessary to trace the signal flow inside the circuit. Conventionally, in order to trace the flow of such a signal, a human being traces the signal propagation path while correlating simulation results with a circuit diagram or a circuit description.

設計する論理回路の規模が比較的小さい場合には、従来
から行われているように、人間がシミュレーション結果
と回路図若しくは回路記述との対応を取りながら信号の
伝搬経路を辿ることによりトレースすることが可能と思
われる。
When the scale of the logic circuit to be designed is relatively small, tracing can be done by humans tracing the signal propagation path while correlating the simulation results with the circuit diagram or circuit description, as has traditionally been done. seems possible.

しかし、論理回路の規模が大きくなればそれに従6てシ
ミュレーション結果も膨大になり、シミュレーション結
果を人手で追うことが困難になってくる、という問題が
発生する。
However, as the scale of the logic circuit increases, the number of simulation results also increases accordingly, creating the problem that it becomes difficult to follow the simulation results manually.

(発明が解決しようとする課題) このように従来、論理回路の規模が大きくなってくると
、シミュレーションにおける信号の流れをトレースする
ことが困難になってくる。
(Problems to be Solved by the Invention) Conventionally, as the scale of logic circuits increases, it becomes difficult to trace the flow of signals in simulation.

本発明は、上記事情を考慮してなされたもので、その目
的とするところは、回路内部の信号の伝搬経路探索を計
算機を用いて行うことができ、論理回路の規模が大きく
なっても回路内部の信号の流れのトレースを簡易に行う
ことができ、論理回路の検証効率向上等に寄与し得る経
路抽出方法及び経路抽出装置を提供することにある。
The present invention has been made in consideration of the above circumstances, and its purpose is to make it possible to use a computer to search for the propagation paths of signals inside a circuit, so that even if the scale of the logic circuit becomes large, the circuit It is an object of the present invention to provide a route extraction method and a route extraction device that can easily trace internal signal flows and contribute to improving verification efficiency of logic circuits.

[発明の構成] (課題を解決するための手段) 上記目的を達成するために本発明は、次のような構成及
び工程を採用し、経路探索を計算機により自動的に行っ
ている。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention employs the following structure and steps, and automatically performs route searching using a computer.

即ち本発明は、論理回路のシミュレーションにおける信
号の流れをトレースするための経路抽出方法において、
論理回路設計記述言語により記述された論理回路記述か
らシミュレーションすべき回路の網構造を抽出し、該網
構造とテストパターンを基にイベントドリブン方式の論
理回路シミュレーションを行い、発生したイベントの情
報と網構造を用いることにより、テストパターンにより
活性化された経路を抽出するようにした方法である。
That is, the present invention provides a route extraction method for tracing a signal flow in logic circuit simulation, which includes:
The network structure of the circuit to be simulated is extracted from the logic circuit description written in the logic circuit design description language, and an event-driven logic circuit simulation is performed based on the network structure and the test pattern. This method uses a structure to extract routes activated by a test pattern.

また本発明は、上記方法を実施するための経路抽出装置
において、論理回路設計記述言語により記述された論理
回路記述からシミュレーションすべき回路の網構4造を
抽出する網構造抽出部と、この網構造抽出部により抽出
された網構造とテストパターンを入力として論理回路シ
ミュレーションを行い、発生したイベントの情報を出力
するイベントドリブン方式のシュミレータと、このシミ
ュレータから出力されるイベント情報と網構造抽出部で
抽出された網構造とに基づいて、テストパターンにより
活性化された経路を抽出する経路抽出部とを設けるよう
にしたものである。
The present invention also provides a route extraction device for carrying out the above method, including a network structure extracting unit for extracting a network structure of a circuit to be simulated from a logic circuit description written in a logic circuit design description language; An event-driven simulator that performs logic circuit simulation using the network structure and test pattern extracted by the structure extraction section as input, and outputs information on the events that have occurred, and the event information output from this simulator and the network structure extraction section. The present invention is further provided with a route extraction unit that extracts routes activated by the test pattern based on the extracted network structure.

(作用) 本発明においては、レジスタ・トランスファ・レベル(
RTL)の論理回路設計記述言語により回路の設計を行
うことを前提とする。
(Operation) In the present invention, the register transfer level (
It is assumed that the circuit will be designed using the logic circuit design description language (RTL).

網構造抽出部では、この論理回路記述から論理回路中の
ビン同士の接続関係(データ系、制御系、クロック系)
を表わす網構造を抽出し、さらにデータ系の接続関係に
対してはその接続関係(網構造)と論理回路記述の文と
の対応関係を付ける。
The network structure extraction unit extracts the connection relationships between bins in the logic circuit (data system, control system, clock system) from this logic circuit description.
A network structure representing the data system is extracted, and a correspondence relationship between the connection relationship (network structure) and the statement of the logic circuit description is attached to the connection relationship of the data system.

次に、この網構造とテストパターンを用いてイベントド
リブン方式のシミュレータによりシミュレーションを行
い、イベント情報を出力する。網構造に文との対応関係
を持たせることにより、イベント情報にはピンのイベン
ト情報と文のイベント情報を持たせることが可能となる
Next, a simulation is performed using an event-driven simulator using this network structure and test pattern, and event information is output. By providing a correspondence relationship with sentences in the network structure, event information can include pin event information and sentence event information.

最後に、このイベント情報と網構造に基づいて経路抽出
部により、テストパターンにより活性化された経路の探
索を行う。イベント情報にはピンのイベントの他に文の
イベント情報があり、網構造には3種類の接続関係と文
との対応があるため、論理回路記述のどの文が実行され
たかが明確となり、正しい経路の探索が可能となる。
Finally, based on this event information and the network structure, the route extractor searches for a route activated by the test pattern. In addition to pin events, event information includes statement event information, and the network structure has three types of connection relationships and correspondences between statements, so it becomes clear which statement in the logic circuit description was executed, and the correct route is taken. It becomes possible to search for

(実施例) 以下、本発明の詳細を図示の実施例によって説明する。(Example) Hereinafter, details of the present invention will be explained with reference to illustrated embodiments.

第1図は本発明の一実施例に係わる経路抽出装置の概略
構成を示すブロック図である。図中10は各部の動作を
制御する実行制御部であり、この実行制御部10には記
述作成部11.網構造抽出部12.シミュレーション実
行部13゜期待値比較部14及び経路抽出部15等が接
続されている。
FIG. 1 is a block diagram showing a schematic configuration of a route extraction device according to an embodiment of the present invention. Reference numeral 10 in the figure is an execution control unit that controls the operation of each unit, and this execution control unit 10 includes a description creation unit 11. Network structure extraction unit 12. A simulation execution section 13, an expected value comparison section 14, a route extraction section 15, etc. are connected.

記述作成部11は後述するRTL論理回路設計記述言語
により論理回路記述を作成するものであり、この論理回
路記述は網構造抽出部12に供給される。網構造抽出部
12では、論理回路記述からシミュレーションすべき回
路の網構造が抽出され、この網構造はシミュレーション
実行部13と共に経路抽出部15に供給される。
The description creation unit 11 creates a logic circuit description using an RTL logic circuit design description language to be described later, and this logic circuit description is supplied to the network structure extraction unit 12. The network structure extraction section 12 extracts the network structure of the circuit to be simulated from the logic circuit description, and supplies this network structure to the path extraction section 15 together with the simulation execution section 13 .

シミュレーション実行部13はイベントドリブン方式の
シミュレータであり、このシミュレーション実行部13
では、網構造とテストパターンに基づいて論理回路のシ
ミュレーションが行われる。シミュレーション実行部1
3におけるシミュレーション結果は期待値比較部14に
供給され、イベント情報は経路抽出部15に供給される
。期待値比較部14では、シミュレーション結果と期待
値とが比較され、回路が期待通り動作しているかが判断
される。また、経路抽出部15では、網構造とイベント
情報に基づいて、テストパターンにより活性化された経
路が抽出されるものとなっている。
The simulation execution unit 13 is an event-driven simulator, and the simulation execution unit 13 is an event-driven simulator.
, a logic circuit is simulated based on the network structure and test pattern. Simulation execution part 1
The simulation results in step 3 are supplied to the expected value comparison section 14, and the event information is supplied to the route extraction section 15. The expected value comparison unit 14 compares the simulation result with the expected value and determines whether the circuit is operating as expected. Furthermore, the route extraction unit 15 extracts routes activated by the test pattern based on the network structure and event information.

第2図は上記装置を用いた経路抽出方法、及びその後の
論理回路検証方法を説明するためのフローチャートであ
る。まず、記述作成部11で作成された論理回路記述か
ら、網構造抽出部12によりピンの接続情報を表わす情
報である網構造が抽出され、この網構造と回路の入力ピ
ンへの入力系列を表わすテストパターンとに基づいてシ
ミュレーション実行部13によりシミュレーションが実
行される。シミュレーションが実行されると、そのイベ
ント情報と網構造に基づいて経路抽出部15により経路
が抽出される。この経路抽出の詳しい説明は後述する。
FIG. 2 is a flowchart for explaining a route extraction method using the above device and a subsequent logic circuit verification method. First, a network structure, which is information representing pin connection information, is extracted by the network structure extraction unit 12 from the logic circuit description created by the description creation unit 11, and this network structure and the input series to the input pins of the circuit are extracted. A simulation is executed by the simulation execution unit 13 based on the test pattern. When the simulation is executed, the route extraction unit 15 extracts a route based on the event information and network structure. A detailed explanation of this route extraction will be given later.

また、期待値比較部14では、シミュレーション結果と
期待値とが比較され、これにより回路が期待通り動作し
ているか否かが判定される。
Further, the expected value comparison unit 14 compares the simulation result with the expected value, thereby determining whether the circuit is operating as expected.

回路が期待通り動作していない場合は、抽出された経路
に基づいて回路内部の信号の流れをトレースする。そし
て、そのトレース結果に基づいて回路記述を訂正し、再
び先の処理を繰り返す。回路が期待通り動作している場
合は、トレースするか否かにより、トレースしない場合
は処理を終了する。トレースする場合は、抽出された経
路に基づき回路内部の信号の流れをトレースする。トレ
ースの結果、正常であれば処理を終了し、異常であれば
回路記述を訂正して、再び先の処理を繰り返す。このよ
うにして、経路抽出及び論理回路検証が行われる。
If the circuit is not operating as expected, trace the signal flow inside the circuit based on the extracted route. Then, the circuit description is corrected based on the trace result, and the previous process is repeated again. If the circuit is operating as expected, it depends on whether or not to trace. If not, the process ends. When tracing, the signal flow inside the circuit is traced based on the extracted route. If the tracing result is normal, the process ends; if the trace is abnormal, the circuit description is corrected and the previous process is repeated again. In this way, route extraction and logic circuit verification are performed.

次に、本発明を具体的な例を参照して、さらに詳しく説
明する。
Next, the present invention will be explained in more detail with reference to specific examples.

本発明では、RTLの論理回路設計記述言語を必要とす
る。更に、RTL言語の記述法として、条件文により制
御系が明記でき、クロック指定によりクロック系が明記
できるものを必要とする。この特徴を有するRTL言語
により記述された論理回路記述から、制御系、データ転
送系及びクロック系に分類した論理回路中のピンの接続
関係を抽出する。−膜内に、ピンとピンとの接続間r係
はRTL記述内では1つの文として表現される。そこで
、さらにピンとピンとの接続の間に、対応する文との接
続関係も持たせる。
The present invention requires an RTL logic circuit design description language. Furthermore, as a description method for the RTL language, a method is required in which the control system can be specified using a conditional statement, and the clock system can be specified using a clock specification. From the logic circuit description written in the RTL language having this feature, the connection relationships of pins in the logic circuit classified into control system, data transfer system, and clock system are extracted. - The connections between pins in the membrane are expressed as a single statement in the RTL description. Therefore, a connection relationship with a corresponding sentence is also established between the connections between pins.

第3図はRTL記述の例であり、第4図は第3図に記さ
れたRTL記述に対応する網構造をグラフを用いて表し
たものである。実際には、計算機上ではこのグラフを特
定のデータ構造を用いて表現する。丸い形で表されてい
るものかピンであり、丸い形と丸い形を結ぶ矢印は接続
関係を表している。÷はデータ系の接続を表す。
FIG. 3 is an example of an RTL description, and FIG. 4 is a graph representing a network structure corresponding to the RTL description shown in FIG. In reality, this graph is represented on a computer using a specific data structure. It is represented by a round shape or a pin, and the arrow connecting the round shapes represents a connection relationship. ÷ represents a data system connection.

○±Oは、RTL記述では文に対応する。記述中の各文
には一意に文番号を付し、O+Oには、対応する文番号
を持たせておく。→は、クロック系の接続または制御系
の接続を表す。→の先がピンの場合、クロック系の接続
を表し、→の先が÷の場合、制御系の接続を表す。
○±O corresponds to a sentence in RTL description. Each sentence in the description is given a unique sentence number, and O+O is given a corresponding sentence number. → represents a clock system connection or a control system connection. If the end of the → is a pin, it represents a clock system connection, and if the end of the → is a ÷, it represents a control system connection.

イベントとは、値の変化のことである。ここでまず、イ
ベントドリブン方式のシミュレータのイベント処理と、
イベント情報の作成の方法について説明しておく。イベ
ントとは、値の変化のことである。文■+■に制御系の
接続もクロック系の接続もない場合、ピン■にイベント
が発生したら、文■+■を評価し、ピン■の値に変化が
あれば、ピン■にイベントが伝搬する。
An event is a change in value. First, we will explain the event processing of the event-driven simulator,
Let's explain how to create event information. An event is a change in value. If there is no control system connection or clock system connection to the statement ■+■, if an event occurs at the pin ■, the statement ■+■ is evaluated, and if the value of the pin ■ changes, the event is propagated to the pin ■. do.

この結果として、ピン■のイベント情報、文■÷■のイ
ベント情報、ピン■のイベント情報を作成する。また、
イベントの伝搬経路が判るように、ピン■と文■±■の
イベント情報、文■+■とピン■のイベント情報に接続
関係を持たせておく。
As a result, event information for pin ■, event information for sentence ■÷■, and event information for pin ■ are created. Also,
In order to understand the propagation route of the event, a connection relationship is established between the event information of the pin ■ and the sentence ■±■, and the event information of the sentence ■+■ and the pin ■.

文■±■に制御系の接続(■→)がある場合、次の2通
りの伝搬の仕方がある。まず、第1にピン■にイベント
が発生した場合、ピン■の値を調べ、適切な値なら、文
■+■を評価し、ピン■の値に変化があれば、ピン■に
イベントを伝搬させる。この結果として、ピン■のイベ
ント情報、文■÷■のイベント情報、ピン■のイベント
情報を作成する。また、ピン■のイベント情報と文■÷
■のイベント情報、文■±■のイベント情報とピン■の
イベント情報との間に接続関係を持たせる。
When there is a control system connection (■→) in the sentence ■±■, there are the following two ways of propagation. First, when an event occurs on pin ■, check the value of pin ■, and if the value is appropriate, evaluate statement ■+■, and if the value of pin ■ changes, propagate the event to pin ■. let As a result, event information for pin ■, event information for sentence ■÷■, and event information for pin ■ are created. Also, pin■event information and sentences■÷
A connection relationship is established between the event information of ■, the event information of sentence ■±■, and the event information of pin ■.

第2に、ピン■にイベントが発生した場合ビン■の値が
適切な値であれば、文■±■を評価しピン■の値に変化
があればピン■にイベントを伝搬させる。この結果とし
て、ピン■のイベント情報、文■±■pイベント情報、
ピン■のイベント情報を作成する。また、ピン■のイベ
ント情報と文■+■のイベント情報、文■÷■のイベン
ト情報とピン■のイベント情報との間に接続関係を持た
せる。
Second, when an event occurs on pin ■, if the value of bin ■ is an appropriate value, evaluate sentence ■±■, and if there is a change in the value of pin ■, propagate the event to pin ■. As a result, pin ■ event information, sentence ■±■p event information,
Create event information for pin ■. Further, a connection relationship is created between the event information of pin ■ and the event information of sentence ■+■, and the event information of sentence ■÷■ and the event information of pin ■.

文■±■にクロック系の接続(■→)がある場合、ピン
■の値か0から1に変化したときに文■+■を評価し、
ピン■の値に変化があれば、ピン■にイベントが伝搬す
る。この結果として、ピン■のイベント情報、文■±■
のイベント情報、ピン■のイベント情報を作成する。ま
た、ピン■のイベント情報と文■+■のイベント情報、
文■÷■のイベント情報とピン■のイベント情報との間
に接続関係を持たせる。
If the statement ■±■ has a clock system connection (■→), evaluate the statement ■+■ when the value of the pin ■ changes from 0 to 1,
If the value of pin ■ changes, an event is propagated to pin ■. As a result, pin ■ event information, sentence ■±■
Create event information for , and event information for pin■. In addition, event information for pin■ and event information for sentence■+■,
A connection relationship is created between the event information of the sentence ■÷■ and the event information of the pin ■.

第5図は第3図で示される回路を検証するためのテスト
パターンの一例である。以下で、第4図で示される網構
造と第5図に示されるテストパターンを用いてシミュレ
ーションを行ったときのシミュレーション結果(イベン
ト情報)の出力方法を順を追って説明する。ここではピ
ンのイベント情報を (ビン名、値1時刻) 文のイベント情報を (文番号1時刻) で表すこととする。
FIG. 5 is an example of a test pattern for verifying the circuit shown in FIG. 3. Below, a method for outputting simulation results (event information) when a simulation is performed using the network structure shown in FIG. 4 and the test pattern shown in FIG. 5 will be explained in order. Here, pin event information is represented by (bin name, value 1 time), and sentence event information is represented by (sentence number 1 time).

時刻0では、Dl、C11,’CI2.CLKIにイベ
ントが発生し くDI、4B1010.0)、(CIl、IBo、0)
At time 0, Dl, C11, 'CI2. An event occurs on CLKI DI, 4B1010.0), (CIl, IBo, 0)
.

(CI2.IBI、0)、(CLKI、IBo、0)が
イベント情報として作成される。また、イベント (C11,lBO,o)、(CI2.IBI、0)によ
り、文 C0ND(0:1)  繍 C11!ICI2が評価さ
れ、C0NDにイベントが伝搬する。このときイベント
情報として、 (COND<0:l) −Cl1jICI2の文番号、
 Q)(COND<0:1>、2BO1,0)を作成す
る。さらに、 ピンC11と文C0ND(0:l) −Cl1jlC+
2゜ピンC11と文C0ND<0:1) −Cl1jl
C+2゜文C0ND<0:l) −C1111CI2と
ピンC0ND<0:1)のイベント情報間に接続関係を
つける。
(CI2.IBI, 0) and (CLKI, IBo, 0) are created as event information. Also, due to the events (C11, lBO, o) and (CI2.IBI, 0), the sentence C0ND (0:1) Embroidery C11! ICI2 is evaluated and the event is propagated to C0ND. At this time, the event information is (COND<0:l) -Cl1jICI2 statement number,
Q) Create (COND<0:1>, 2BO1,0). Furthermore, pin C11 and statement C0ND(0:l) -Cl1jlC+
2゜pin C11 and sentence C0ND<0:1) -Cl1jl
A connection relationship is established between event information of C+2° statement C0ND<0:l)-C1111CI2 and pin C0ND<0:1).

上記したイベントにより Tlにイベントが伝搬する可
能性があるが、文 TI −ADD(R1,IBl、IBI)を評価し、値
の変化がないためTIにはイベントは伝搬しない。これ
で時刻0におけるイベント情報は終了する。時刻50で
は、CLKIにイベントが発生する。従って、 (CLKI、lB1.50) というイベント情報が作成される。ここで、CLKIは
、0から1へ値が変化したため、文R1−Di R2−TI が評価される。これにより R1にイベントが伝搬され
、 (文R1−Dlの文番号、50) (R1(0:3)、4B1010.50)が作成される
。またイベント情報同士に接続関係が作られる。更に発
生したイベントにより、文 TI −ADD(R1,IBI、IBI)が実行され、
TIにイベントが伝搬する。よって、(文Tl −AD
D(R1,IBl、1BI)の文番号、50)(TI、
4B1011.50) というイベント情報が作成される。またイベント情報同
士に接続関係が作られる。しかし、R2の値は変化しな
いため、l?2にイベントは発生しない。これで時刻5
0におけるイベントの処理は終了する。時刻100では
、CLKIにイベントが発生するが、これによるイベン
トの伝搬はない。
There is a possibility that the event will be propagated to Tl due to the above event, but since the statement TI-ADD (R1, IBl, IBI) is evaluated and there is no change in value, the event will not be propagated to TI. This completes the event information at time 0. At time 50, an event occurs on CLKI. Therefore, event information (CLKI, lB1.50) is created. Here, since the value of CLKI has changed from 0 to 1, the sentence R1-Di R2-TI is evaluated. As a result, the event is propagated to R1, and (statement R1-Dl sentence number, 50) (R1 (0:3), 4B1010.50) is created. Also, a connection relationship is created between event information. Further, due to the event that occurred, the statement TI -ADD (R1, IBI, IBI) is executed,
Event propagates to TI. Therefore, (sentence Tl -AD
D (R1, IBl, 1BI) sentence number, 50) (TI,
4B1011.50) event information is created. Also, a connection relationship is created between event information. However, since the value of R2 does not change, l? No event occurs in 2. Now time 5
Processing of the event at 0 ends. At time 100, an event occurs in CLKI, but there is no event propagation due to this.

従って、 (CLKl、IBo、100) というイベント情報を出し時刻100におけるイベント
の処理は終了する。時刻150では、CLKIにイベン
トが発生する。ここで、CLKIは、0から1へ値が変
化したため文 R1畠  旧 R2−TI が評価される。旧の値に変化はないためR1にはイベン
トは発生しない。しかし、R2には値の変化があるため
、1?2にイベントが発生する。このイベントにより、
文01− R1が評価され01にイベントが発生する。
Therefore, the event information (CLKl, IBo, 100) is output and the processing of the event at time 100 ends. At time 150, an event occurs on CLKI. Here, since the value of CLKI has changed from 0 to 1, the sentence R1 Hatake old R2-TI is evaluated. Since there is no change in the old value, no event occurs in R1. However, since there is a value change in R2, an event occurs between 1 and 2. With this event,
Statement 01-R1 is evaluated and an event occurs at 01.

01は出力ピンであるので、イベントの伝搬はここで終
了する。従って、時刻150で作成されるイベント情報
は以下の通りである。
Since 01 is an output pin, event propagation ends here. Therefore, the event information created at time 150 is as follows.

(CLKI、 IBl、 150) (文R2−Tlの文番号、 +50) (1?2(0:3)、4旧旧1.150)(文01− 
R2の文番号、 150)(01(0:3)、4131
011,150)また、イベント情報同士には、接続関
係が作られる。
(CLKI, IBl, 150) (Sentence R2-Tl sentence number, +50) (1?2 (0:3), 4 old and old 1.150) (Sentence 01-
R2 statement number, 150) (01 (0:3), 4131
011, 150) Furthermore, a connection relationship is created between event information.

第6図は第4図の網構造と第5図のテストパターンを用
いてシミュレーションを行ったときに作成されるイベン
ト情報とその接続関係である。以下で、第4図の網構造
と第6図のイベント情報を用いて、第5図に示されたテ
ストパターンにより活性化された経路を抽出する方法を
述べる。
FIG. 6 shows event information and connection relationships created when a simulation is performed using the network structure of FIG. 4 and the test pattern of FIG. 5. Below, a method for extracting routes activated by the test pattern shown in FIG. 5 will be described using the network structure shown in FIG. 4 and the event information shown in FIG. 6.

例えば、出力端子にデータが伝搬する経路は、次のよう
にして求められる。まず、ピン01のイベント情報を探
す。このイベント情報から、イベントの伝搬を逆方向に
辿る。これにより1、文01− R2のイベント情報が
見つかる。さらに、このイベント情報から逆方向にイベ
ント情報を辿ることにより、ピンR2のイベント情報が
求まる。ここで、網構造により文01− R2とピンR
2の接続関係を調べると、データ系の接続であることが
判る。
For example, the path through which data propagates to the output terminal is determined as follows. First, search for event information for pin 01. From this event information, the propagation of the event is traced in the reverse direction. As a result, the event information for 1, sentence 01-R2 is found. Further, by tracing the event information in the reverse direction from this event information, the event information for pin R2 is determined. Here, due to the network structure, sentence 01-R2 and pin R
When we examine the connection relationship of 2, we find that it is a data type connection.

従って、まずピンR2からピン01へ文01− R2を
介してデータが伝搬することが判る。次に、ピンR2の
イベント情報を逆に辿ることにより、文R2−Tlのイ
ベント情報、ピンCLKIのイベント情報が見つかる。
Therefore, it can be seen that data is first propagated from pin R2 to pin 01 via the line 01-R2. Next, by tracing the event information of pin R2 in reverse, the event information of sentence R2-Tl and the event information of pin CLKI are found.

ここで、網構造により文1?2− TlとピンCLK 
lの接続関係を調べると、クロック系の接続であること
が判る。ここで、網構造により文R2−TIのデータ系
の接続を持つピンとしてピンT1があることが判る。文
R2−Tlのイベント発生時刻に一番近い時刻を持つピ
ンTlのイベント情報を探すことによりイベント情報 (Tl<0:3>、4BIO11,50)を得る。従っ
て、ピンTlからピンR2へ文R2−TIを介してデー
タが伝搬することが判る。
Here, depending on the network structure, statement 1?2- Tl and pin CLK
Examining the connection relationship of l, it is found that it is a clock system connection. Here, it can be seen from the network structure that there is pin T1 as a pin having a data system connection for sentence R2-TI. Event information (Tl<0:3>, 4BIO11, 50) is obtained by searching for event information for pin Tl having a time closest to the event occurrence time of sentence R2-Tl. Therefore, it can be seen that data is propagated from pin Tl to pin R2 via statement R2-TI.

次に、ピンT1のイベント情報を逆に辿ることにより、
文TI−^DD(1?1. IBI、 l旧)のイベン
ト情報、ピンR1のイベント情報が見つかる。ここで、
網構造により文Tl−へ〇〇(R1,IBI、IDI)
とピンCLK lの接続関係を調べると、データ系の接
続であることが判る。従って、ピンR1からピンTIへ
文Tl−^DD(R1,lB1.1B1)を介してデー
タが伝搬することが判る。さらに、ピンR1のイベント
情報を逆に辿ることにより、文R1−DIのイベント情
報、ピンCLKIのイベント情報が見つかる。ここで、
網構造により文Tl −ADD(R1゜lB1.IBl
)とピンCLKIの接続関係を調べると、クロック系の
接続であることが判る。
Next, by tracing the event information of pin T1 in reverse,
Event information for the sentence TI-^DD (1?1. IBI, l old) and pin R1 can be found. here,
Go to statement Tl- by network structure〇〇(R1, IBI, IDI)
Examining the connection relationship between pin CLK1 and pin CLK1, it is found that the connection is for the data system. Therefore, it can be seen that data is propagated from pin R1 to pin TI via the statement Tl-^DD (R1, lB1.1B1). Furthermore, by tracing the event information of pin R1 in reverse, event information of sentence R1-DI and event information of pin CLKI are found. here,
According to the network structure, the sentence Tl -ADD(R1゜lB1.IBl
) and pin CLKI, it is found that they are clock system connections.

ここで、同様にしてピンDIからピンR1へ文1?1−
旧を介してデータが伝搬することが判る。旧は入力ビン
であるから、探索はここで終了する。また、制御系の接
続がある場合の探索方法も、クロック系の場合とほぼ同
様に行うことができる。
Here, in the same way, from pin DI to pin R1, the sentence 1?1-
It can be seen that data propagates through the old. Old is the input bin, so the search ends here. Furthermore, the search method when there is a control system connection can be performed in substantially the same way as in the case of a clock system.

第7図は、第6図のイベント情報と第4図の網構造を用
いて探索した経路である。ピンの順番だけでなく、文の
情報を出すことにより正確な信号の伝搬経路が判る。ま
た、ピンの値も出すことができるため、論理回路の検証
に役立つ。
FIG. 7 shows a route searched using the event information shown in FIG. 6 and the network structure shown in FIG. Not only the order of the pins, but also the exact signal propagation path can be determined by providing sentence information. It is also useful for verifying logic circuits because it can also display pin values.

なお、本発明は上述した実施例に限定されるものではな
く、その要旨を逸脱しない範囲で、種々変形して実施す
ることができる。実施例では、回路のデータ信号の流れ
に着目して経路の探索を行ったが、制御信号や、クロッ
ク信号に着目して、経路の探索を行うことも可能である
Note that the present invention is not limited to the embodiments described above, and can be implemented with various modifications without departing from the gist thereof. In the embodiment, the route was searched by focusing on the flow of data signals in the circuit, but it is also possible to search for the route by focusing on the control signal or clock signal.

[発明の効果] 以上詳述したように本発明によれば、従来、人手で行っ
ていた回路内部の信号の伝搬経路探索を、計算機を用い
て行うことが可能となり、論理回路の規模が大きくなっ
ても回路内部の信号の流れのトレースを簡易に行うこと
ができ、論理回路の検証効率の向上をはかることができ
る。
[Effects of the Invention] As detailed above, according to the present invention, it becomes possible to use a computer to search for the propagation path of a signal inside a circuit, which was conventionally done manually, and the scale of the logic circuit becomes large. However, it is possible to easily trace the signal flow inside the circuit, and it is possible to improve the verification efficiency of the logic circuit.

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

第1図は本発明の一実施例に係わる経路抽出装置の概略
構成を示すブロック図、第2図は上記装置を用いた経路
抽出方法を説明するためのフローチャート、第3図はR
TLの論理回路記述を示す図、第4図は第3図に示され
る論理回路記述の網構造を表す図、第5図は第3図に示
される論理回路記述の検証を行うためのテストパターン
の一例を示す図、第6図は第4図に示される網構造と第
5図に示されるテストパターンを用いてシミュレーショ
ンを行ったときに作成されるイベント情報と接続関係を
表す図、第7図は第3図に示される網構造と第6図に示
されるイベント情報を用いて経路探索を行ったときの結
果を示す図である。 10・・・実行制御部、 11・・・記述作成部、 12・・・網構造抽出部、 13・・・シミュレーション実行部、 14・・・期待値比較部、 15・・・経路抽出部。
FIG. 1 is a block diagram showing a schematic configuration of a route extraction device according to an embodiment of the present invention, FIG. 2 is a flowchart for explaining a route extraction method using the above device, and FIG. 3 is a R
A diagram showing the logic circuit description of TL, FIG. 4 is a diagram showing the network structure of the logic circuit description shown in FIG. 3, and FIG. 5 is a test pattern for verifying the logic circuit description shown in FIG. 3. FIG. 6 is a diagram showing an example, and FIG. 6 is a diagram showing event information and connection relationships created when a simulation is performed using the network structure shown in FIG. 4 and the test pattern shown in FIG. 5. This figure shows the results of route searching using the network structure shown in FIG. 3 and the event information shown in FIG. 6. 10... Execution control section, 11... Description creation section, 12... Network structure extraction section, 13... Simulation execution section, 14... Expected value comparison section, 15... Route extraction section.

Claims (1)

【特許請求の範囲】[Claims] (1)論理回路設計記述言語により記述された論理回路
記述からシミュレーションすべき回路の網構造を抽出し
、該網構造とテストパターンを基にイベントドリブン方
式の論理回路シミュレーションを行い、発生したイベン
トの情報と前記網構造を用いることにより、前記テスト
パターンにより活性化された経路を抽出することを特徴
とする経路抽出方法。(2)論理回路設計記述言語によ
り記述された論理回路記述からシミュレーションすべき
回路の網構造を抽出する網構造抽出部と、この網構造抽
出部により抽出された網構造とテストパターンを入力と
して論理回路シミュレーションを行い発生したイベント
の情報を出力するイベントドリブン方式のシュミレータ
と、このシミュレータから出力されるイベント情報と前
記網構造抽出部で抽出された網構造とに基づいて、前記
テストパターンにより活性化された経路を抽出する経路
抽出部とを具備してなることを特徴とする経路抽出装置
(1) Extract the network structure of the circuit to be simulated from the logic circuit description written in the logic circuit design description language, perform an event-driven logic circuit simulation based on the network structure and the test pattern, and A route extraction method, characterized in that a route activated by the test pattern is extracted by using information and the network structure. (2) A network structure extraction unit that extracts the network structure of the circuit to be simulated from the logic circuit description written in the logic circuit design description language, and a logic circuit using the network structure and test pattern extracted by this network structure extraction unit as input. An event-driven simulator that performs circuit simulation and outputs information on events that have occurred, and is activated by the test pattern based on the event information output from this simulator and the network structure extracted by the network structure extraction section. 1. A route extracting device, comprising: a route extracting unit that extracts a route that has been extracted.
JP1138862A 1989-05-31 1989-05-31 Method and device for extracting route Pending JPH034335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1138862A JPH034335A (en) 1989-05-31 1989-05-31 Method and device for extracting route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1138862A JPH034335A (en) 1989-05-31 1989-05-31 Method and device for extracting route

Publications (1)

Publication Number Publication Date
JPH034335A true JPH034335A (en) 1991-01-10

Family

ID=15231873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1138862A Pending JPH034335A (en) 1989-05-31 1989-05-31 Method and device for extracting route

Country Status (1)

Country Link
JP (1) JPH034335A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013050848A (en) * 2011-08-31 2013-03-14 Ricoh Co Ltd Dataflow verification support device and dataflow verification support method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013050848A (en) * 2011-08-31 2013-03-14 Ricoh Co Ltd Dataflow verification support device and dataflow verification support method

Similar Documents

Publication Publication Date Title
US6609229B1 (en) Method for automatically generating checkers for finding functional defects in a description of a circuit
US5920830A (en) Methods and apparatus for generating test vectors and validating ASIC designs
US7962869B2 (en) Method and system for debug and test using replicated logic
US5867395A (en) Gate netlist to register transfer level conversion tool
US20040117167A1 (en) Simulation of software objects generated from a hardware description
EP0657832A2 (en) Autonomous evolution type hardware design system
JP3825572B2 (en) Semiconductor integrated circuit design verification apparatus, method, and storage medium
US7996200B2 (en) Transaction-based system and method for abstraction of hardware designs
JP4142176B2 (en) Storage medium recording interface specification definition, connection verification method, and signal pattern generation method
Boroday et al. Can a model checker generate tests for non-deterministic systems?
US7216321B2 (en) Pattern recognition in an integrated circuit design
JP2917969B2 (en) Logical equivalence verification method and logical equivalence verification device
JPH034335A (en) Method and device for extracting route
JP3941336B2 (en) Logic circuit verification device
US6877140B1 (en) Method and system for generating a schematic representing bus structures
Choudhury et al. Accelerating CDC Verification Closure on Gate-Level Designs
JP3640684B2 (en) Test sequence generation device and testability design device
JP2003076739A (en) Apparatus, method and program for logical verification
JPH02205972A (en) Route extraction system
JPH06251102A (en) Circuit designing method, circuit retrieving method, circuit correcting method, and circuit design device
JP3140230B2 (en) Signal propagation path analyzer
JPH0319085A (en) Logical design supporting device
McClellan A Generic Template Extractor (GENTEX) in C for VSLI Design Verification
Min Register-transfer-level design verification: Coverage and acceleration
JP2006185202A (en) Circuit simulation device and circuit simulation method