JPH09257885A - Method for generating analyzing waveform of combinational logic circuit - Google Patents

Method for generating analyzing waveform of combinational logic circuit

Info

Publication number
JPH09257885A
JPH09257885A JP8088833A JP8883396A JPH09257885A JP H09257885 A JPH09257885 A JP H09257885A JP 8088833 A JP8088833 A JP 8088833A JP 8883396 A JP8883396 A JP 8883396A JP H09257885 A JPH09257885 A JP H09257885A
Authority
JP
Japan
Prior art keywords
node
group
nodes
transition path
input signal
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.)
Granted
Application number
JP8088833A
Other languages
Japanese (ja)
Other versions
JP3597635B2 (en
Inventor
Hideki Sakai
秀樹 酒井
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP8883396A priority Critical patent/JP3597635B2/en
Publication of JPH09257885A publication Critical patent/JPH09257885A/en
Application granted granted Critical
Publication of JP3597635B2 publication Critical patent/JP3597635B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively generate an analyzing waveform in a combinational logic circuit. SOLUTION: A truth table which indicates the corresponding relationship between an input signal pattern and an output signal pattern is formed (S1). Then, one input signal pattern is corresponded to one node, the input signal pattern in the table is expressed as a plurality of nodes, a pair of transition paths directed in bidirectional directions are defined between a pair of the nodes for satisfying the two conditions that Hamming distance is 1 and the output signal patterns are different, and a group made of one group of nodes is formed (S2). One cyclic route passing all the nodes in the group is obtained while tracing all the defined transition paths in forward direction (S3). Thereafter, the input pattern is transferred sequentially at the nodes along the one cyclic route to generate an input signal waveform, and a corresponding output signal waveform is generated based on the table (S4).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理回路における
解析用波形生成方法に関し、特に、複数の論理ゲートを
組み合わせてなる組み合わせ論理回路について、入力信
号波形と出力信号波形とからなる解析用波形を生成する
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of generating a waveform for analysis in a logic circuit, and more particularly, to a combinational logic circuit formed by combining a plurality of logic gates with a waveform for analysis composed of an input signal waveform and an output signal waveform. Regarding how to generate.

【0002】[0002]

【従来の技術】半導体回路の製造技術の発達により、回
路の集積度は益々向上してきており、膨大な数の論理ゲ
ートを集積化して複雑な機能を実現したLSIが普及す
るに至っている。一般に論理回路は、ANDゲート、O
Rゲートなどの単純な論理ゲートを多数組み合わせてな
る組み合わせ論理回路と、フリップフロップなどの要素
を組み入れた順序回路と、に大別できる。順序回路の動
作は、前段階の論理状態に左右されるため、その解析に
は過去の論理動作に関する情報が必要となるが、組み合
わせ論理回路の動作は、過去の論理状態には依存せず、
入力信号として与えた論理パターンに基づいて、出力信
号の論理パターンが一義的に決定できる。このため、入
力信号パターンと出力信号パターンとの関係を示す真理
値表を定義することができ、組み合わせ論理回路の論理
動作は、すべてこの真理値表によって表現することがで
きる。
2. Description of the Related Art With the development of semiconductor circuit manufacturing technology, the degree of integration of circuits has been improved more and more, and LSIs in which a huge number of logic gates are integrated to realize complicated functions have come into widespread use. Generally, a logic circuit is an AND gate, O
It can be roughly classified into a combinational logic circuit formed by combining a large number of simple logic gates such as R gates, and a sequential circuit incorporating elements such as flip-flops. Since the operation of the sequential circuit depends on the logic state of the previous stage, its analysis requires information on the past logic operation, but the operation of the combinational logic circuit does not depend on the past logic state.
The logic pattern of the output signal can be uniquely determined based on the logic pattern given as the input signal. Therefore, a truth table showing the relationship between the input signal pattern and the output signal pattern can be defined, and all the logical operations of the combinational logic circuit can be expressed by this truth table.

【0003】新たにLSI論理回路を設計した場合、こ
の設計対象となる論理回路が正常に動作するか否かの論
理解析を行う必要がある。論理レベルでは正しい設計が
行われていたとしても、論理ゲートを実際のトランジス
タ素子などで実現すると、各部の寄生容量や寄生抵抗な
どの影響により、信号が歪んだり遅延が生じたりするた
め、正しい論理動作が行われない場合があるからであ
る。このような論理解析は、通常、論理シミュレータを
用いた検証という形で行われる。すなわち、所定の入力
信号波形をこの論理回路に与えた場合に、論理レベルで
の正しい出力信号波形が得られるかを、シミュレーショ
ンによって求めるのである。このようなシミュレーショ
ンによる解析を行うには、入力信号波形と出力信号波形
との組み合わせからなる解析用波形が必要になる。
When a new LSI logic circuit is designed, it is necessary to perform a logic analysis as to whether or not the logic circuit to be designed operates normally. Even if the correct design is done at the logic level, if the logic gate is realized by an actual transistor element, etc., the signal may be distorted or delayed due to the influence of the parasitic capacitance and parasitic resistance of each part. This is because the operation may not be performed. Such logic analysis is usually performed in the form of verification using a logic simulator. That is, it is determined by simulation whether a correct output signal waveform at the logic level can be obtained when a predetermined input signal waveform is given to this logic circuit. In order to perform analysis by such a simulation, an analysis waveform composed of a combination of an input signal waveform and an output signal waveform is required.

【0004】このように、組み合わせ論理回路における
解析用波形は、入力信号波形と出力信号波形とによって
構成される。もちろん、理論的には、どのような解析用
波形を作成してもかまわないのであるが、効率良い検証
を行うために、実用上は次の2つの条件を満たすような
解析用波形を作成するのが一般的である。
As described above, the analysis waveform in the combinational logic circuit is composed of the input signal waveform and the output signal waveform. Of course, in theory, any analysis waveform may be created, but in order to perform efficient verification, an analysis waveform that satisfies the following two conditions is created in practice. Is common.

【0005】まず、第1の条件は、入力信号波形が1ビ
ットずつ変化してゆくという条件である。たとえば、3
ビットの入力信号をもった論理回路の場合、入力信号が
(000)→(001)→(011)→(111)とい
うように変化してゆく波形は、前後のパターンを比べる
と、3ビットのうちのいずれか1ビットだけが変化して
いるので、この第1の条件を満足していることになる。
ところが、(000)→(011)→(100)という
ように変化する信号波形は、この第1の条件を満足して
いない。シミュレーションによる検証を行う上では、あ
る出力ビットの変化が、どの入力ビットの変化に起因し
て生じたのかを特定する必要があるので、複数の入力ビ
ットが同時に変化するような信号波形は好ましくないの
である。
First, the first condition is that the input signal waveform changes bit by bit. For example, 3
In the case of a logic circuit having a bit input signal, a waveform in which the input signal changes in the order of (000) → (001) → (011) → (111) has a 3-bit waveform. Since only one of these bits has changed, this means that the first condition is satisfied.
However, the signal waveform changing in the order of (000) → (011) → (100) does not satisfy the first condition. When performing verification by simulation, it is necessary to identify which input bit caused a change in a certain output bit, so a signal waveform in which multiple input bits change simultaneously is not desirable. Of.

【0006】第2の条件は、入力信号の変化により、出
力信号に必ず何らかの変化が生じるようにするという条
件である。たとえば、上述したように、入力信号を(0
00)→(001)→(011)→(111)というよ
うに変化させたとしても、出力信号に何ら変化が生じな
いようでは検証の意味がなくなる。入力信号を変化させ
ることにより、出力信号にも論理的に正しい変化が生じ
ているか否かを調べることが検証の本来の目的であるか
ら、出力信号に変化が生じなければ、入力信号を変化さ
せても意味のある検証結果は得られない。
The second condition is that a change in the input signal must cause some change in the output signal. For example, as described above, the input signal is (0
Even if the change is made in the order of (00) → (001) → (011) → (111), it is meaningless to verify if the output signal does not change at all. Since the original purpose of the verification is to check whether or not the output signal has a logically correct change by changing the input signal, if the output signal does not change, change the input signal. However, no meaningful verification result is obtained.

【0007】[0007]

【発明が解決しようとする課題】上述したように、効率
的な検証を行うためには、できるだけ上記2条件を満足
した解析用波形を作成する必要がある。ところが、従来
は、このような解析用波形を試行錯誤を行いながら作成
していた。このような試行錯誤による作成方法は、小規
模な論理回路の場合には問題はないが、大規模な論理回
路の場合には、作業負担が大きくなり効率的ではない。
論理回路の入力信号のビット数(すなわち、論理回路の
入力端子数)をmとした場合、入力信号パターンは2
とおりのバリエーションをもつことになり、mの数が増
えれば増えるほど、入力信号パターンの数は指数的に増
加することになる。このように、入力信号パターンが膨
大なバリエーションをもつ場合、従来の試行錯誤による
方法では、最適な解析用波形を作成するために、多大な
時間と労力が必要になる。
As described above, in order to perform efficient verification, it is necessary to create an analysis waveform satisfying the above two conditions as much as possible. However, conventionally, such an analysis waveform has been created by trial and error. Such a trial-and-error creation method has no problem in the case of a small-scale logic circuit, but in the case of a large-scale logic circuit, the work load increases and it is not efficient.
When the number of bits of the input signal of the logic circuit (that is, the number of input terminals of the logic circuit) is m, the input signal pattern is 2 m.
The number of input signal patterns increases exponentially as the number of m increases. As described above, when the input signal pattern has a huge variation, the conventional method by trial and error requires a great deal of time and labor to create the optimum analysis waveform.

【0008】そこで本発明は、組み合わせ論理回路にお
ける解析用波形を効率良く生成する方法を提供すること
を目的とする。
Therefore, an object of the present invention is to provide a method for efficiently generating an analysis waveform in a combinational logic circuit.

【0009】[0009]

【課題を解決するための手段】[Means for Solving the Problems]

(1) 本発明の第1の態様は、複数の論理ゲートを組み
合わせてなる組み合わせ論理回路について、入力信号波
形と出力信号波形とからなる解析用波形を生成する方法
において、この論理回路について、入力信号パターンと
出力信号パターンとの対応関係を示す真理値表を作成す
る第1の段階と、1つの入力信号パターンを1節点に対
応させ、真理値表内の複数の入力信号パターンを複数の
節点として表現し、互いのハミング距離が1であり、か
つ、真理値表において対応づけられた出力信号パターン
が互いに異なる、という2条件を満たす一対の節点間
に、一方から他方へ向かう遷移路と他方から一方へ向か
う遷移路とからなる方向性をもった一対の遷移路を定義
し、これらの遷移路によって互いに結合された一群の節
点からなるグループを構成する第2の段階と、定義され
たすべての遷移路を順方向にたどりながら、グループを
構成するすべての節点を通る一巡経路を求める第3の段
階と、この一巡経路に沿った節点の順に、入力信号パタ
ーンを遷移させることにより入力信号波形を生成し、真
理値表に基づいて、生成した入力信号波形に対応する出
力信号波形を生成する第4の段階と、を行うようにした
ものである。
(1) A first aspect of the present invention is a method of generating an analysis waveform composed of an input signal waveform and an output signal waveform in a combinational logic circuit formed by combining a plurality of logic gates. The first step of creating a truth table showing the correspondence between the signal pattern and the output signal pattern, and one input signal pattern corresponding to one node, and a plurality of input signal patterns in the truth table to a plurality of nodes , The Hamming distance between them is 1, and the output signal patterns associated with each other in the truth table are different, between a pair of nodes satisfying the two conditions, a transition path from one to the other and another Define a pair of transition paths that have a direction consisting of a transition path from one to the other, and construct a group consisting of a group of nodes connected to each other by these transition paths. The second stage of formation, the third stage of finding a round route that passes through all the nodes that make up the group while following all defined transition paths in the forward direction, and the order of the nodes along this round route. A fourth step of generating an input signal waveform by transitioning the input signal pattern and generating an output signal waveform corresponding to the generated input signal waveform based on the truth table. is there.

【0010】(2) 本発明の第2の態様は、上述の第1
の態様に係る解析用波形生成方法において、一巡経路を
求める第3の段階で、処理対象節点から隣接節点へ向か
う未登録遷移路がない場合にはこの処理を直ちに完了
し、処理対象節点から隣接節点へ向かう未登録遷移路が
ある場合には、この未登録遷移路を登録し、隣接節点が
過去に処理対象になったことがなければ下記(a) ,(b)
の2つの作業を実行した後に隣接節点から処理対象節点
へ戻る遷移路を登録し、隣接節点が過去に処理対象にな
ったことがあれば下記(a) ,(b)の2つの作業を実行せ
ずに隣接節点から処理対象節点へ戻る遷移路を登録す
る、という処理を、任意の節点から始めて再帰的に全節
点について行い、登録された遷移路を登録順に結合する
ことにより一巡経路を求めるようにしたものである。 (a) 隣接節点から処理対象節点へ向かう未登録遷移路を
消去する作業 (b) 隣接節点を新たな処理対象としてこの処理を再帰的
に実行する作業 (3) 本発明の第3の態様は、上述の第1または第2の
態様に係る解析用波形生成方法において、第2の段階で
互いに独立した複数のグループが構成された場合に、個
々のグループごとに第3の段階を実行してそれぞれ一巡
経路を求め、1つのグループ内の特定の1節点と別なグ
ループ内の特定の1節点とを相互に接続するグループ間
遷移路を定義することにより、個々のグループが所定の
順序で一列に接続されるようにし、全グループに属する
すべての節点を通る統括一巡経路を求めるようにし、第
4の段階では、統括一巡経路に沿った節点の順に、入力
信号パターンを遷移させることにより入力信号波形を生
成し、真理値表に基づいて、生成した入力信号波形に対
応する出力信号波形を生成するようにしたものである。
(2) The second aspect of the present invention is the above-mentioned first aspect.
In the waveform generating method for analysis according to the above aspect, when there is no unregistered transition path from the processing target node to the adjacent node in the third step of obtaining a round path, this processing is immediately completed, and the processing target node is connected to the adjacent node. If there is an unregistered transition path that goes to a node, register this unregistered transition path, and if the adjacent node has never been the processing target in the past (a), (b)
After executing the above two tasks, register the transition path that returns from the adjacent node to the processing target node, and if the adjacent node has been the processing target in the past, execute the following two tasks (a) and (b) The process of registering a transition path that returns from the adjacent node to the processing target node without doing it is performed recursively for all nodes starting from any node, and the registered transition paths are combined in the registration order to obtain a roundabout route. It was done like this. (a) Work of deleting unregistered transition path from adjacent node to processing target node (b) Work of recursively executing this processing with the adjacent node as a new processing target (3) Third aspect of the present invention In the above-described analysis waveform generation method according to the first or second aspect, when a plurality of groups independent of each other are formed in the second step, the third step is executed for each individual group. By determining a loop route for each and defining a transition path between groups that connects a specific one node in one group and a specific one node in another group to each other, each group forms a line in a predetermined order. Are connected to each other, and a general loop path that passes through all nodes belonging to all groups is obtained. In the fourth stage, the input signal pattern is changed in the order of the nodes along the general loop path. wave Generates, on the basis of the truth table is the generated input signal waveform that so as to generate an output signal waveforms corresponding.

【0011】(4) 本発明の第4の態様は、上述の第3
の態様に係る解析用波形生成方法において、統括一巡経
路を求める処理を行う際に、任意のグループを1つ選択
し、この選択したグループに属する各節点の中から、最
も小さいハミング距離で他のグループに属する節点とグ
ループ間遷移路で接続できるものを決定し、1本のグル
ープ間遷移路もしくは複数本連結されたグループ間遷移
路の両端点を構成する一対の節点のうち、最も小さいハ
ミング距離で他の未接続グループに属する節点と新たな
グループ間遷移路で接続できるものを決定し、この新た
なグループ間遷移路を一方の端点に連結する、という処
理を、全グループ間がグループ間遷移路によって連結さ
れるまで繰り返し実行し、すべての一巡経路とすべての
グループ間遷移路とにより、統括一巡経路を構成するよ
うにしたものである。
(4) The fourth aspect of the present invention is the above-mentioned third aspect.
In the analysis waveform generating method according to the aspect (1), an arbitrary group is selected when performing the processing for obtaining the general loop route, and from among the nodes belonging to this selected group, the other is selected with the smallest Hamming distance. The smallest Hamming distance of the nodes that belong to the group and that can be connected by the transition path between groups is determined, and of the pair of nodes that constitute the end points of one transition path between groups or multiple transition paths between groups The process of determining the nodes that can be connected to another unconnected group with a new inter-group transition path and connecting this new inter-group transition path to one end point is the inter-group transition between all groups. It is repeatedly executed until it is connected by a road, and all the loop routes and all the inter-group transition routes form a general loop route. .

【0012】[0012]

【発明の実施の形態】以下、本発明を図示する実施形態
に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below based on an embodiment shown in the drawings.

【0013】§1. 一般的な論理回路と解析用波形と
の関係 ここでは、説明の便宜上、図1に示すような論理回路を
考える(実用的な観点から見れば、この回路の論理動作
は、必ずしも意味のあるものではないが、本発明の説明
を容易にするため、ここではこの論理回路を例にとって
以下の説明を行う)。この論理回路は、三入力ANDゲ
ート1、二入力Ex−ORゲート2、二入力ORゲート
3、二入力ORゲート4、の4つの論理ゲートから構成
され、3ビットからなる入力信号ABCを受け入れて、
1ビットからなる出力信号Qを出力する機能を有する。
この論理回路の真理値表を図2に示す。この真理値表
は、8とおりの入力信号パターン〜のそれぞれに対
応して得られる出力信号パターンを示すものである。た
とえば、入力信号パターンは、「000」なる3ビッ
トのパターンからなり、この入力信号パターンに対し
て、「0」なる1ビットの出力信号パターンが得られて
いる。このような真理値表は、個々の入力信号パターン
ごとに、それぞれ各ビットを与えたときの各論理ゲート
の論理動作を追ってゆくことにより得ることができる。
§1. General logic circuit and analysis waveform
Relationship Here, for convenience of description, consider a logic circuit as shown in FIG. 1 (from a practical point of view, the logical operation of this circuit is not necessarily meaningful, but the description of the present invention is easy. In order to do so, the following explanation will be given here by taking this logic circuit as an example). This logic circuit is composed of four logic gates of a three-input AND gate 1, a two-input Ex-OR gate 2, a two-input OR gate 3 and a two-input OR gate 4, and receives an input signal ABC of 3 bits. ,
It has a function of outputting an output signal Q of 1 bit.
The truth table of this logic circuit is shown in FIG. This truth table shows output signal patterns obtained corresponding to each of the eight input signal patterns ~. For example, the input signal pattern is a 3-bit pattern "000", and a 1-bit output signal pattern "0" is obtained for this input signal pattern. Such a truth table can be obtained by following the logical operation of each logic gate when each bit is given for each input signal pattern.

【0014】さて、このような論理回路の設計を行った
場合、その論理動作の検証を行うための解析が必要にな
る。この解析は、通常、図3に示すような解析波形を用
いた論理シミュレーションによって行われる。図3に示
す解析用波形は、入力信号波形A,B,Cと出力信号波
形Qとによって構成されており、図1に示す論理回路
に、入力信号波形A,B,Cを与えると、出力信号波形
Qの出力が期待されることを示している。もちろん、実
際の論理回路では、トランジスタ素子、寄生容量素子、
寄生抵抗素子などの影響により、入力信号波形は伝播途
中で波形が歪んだり遅延が生じたりするため、この解析
用波形に示すとおりの結果が得られるわけではない。こ
の解析用波形はあくまでも、この回路の論理レベルでの
動作を記述したものである。したがって、出力信号波形
Qは、図2に示す真理値表に基づいて一義的に定まり、
図3の下欄に示したパターン番号は、この真理値表に示
す入力パターンの番号に対応している。
Now, when such a logic circuit is designed, an analysis for verifying its logic operation is required. This analysis is usually performed by logic simulation using an analysis waveform as shown in FIG. The analysis waveform shown in FIG. 3 is composed of input signal waveforms A, B, C and an output signal waveform Q. When the input signal waveforms A, B, C are given to the logic circuit shown in FIG. It shows that the output of the signal waveform Q is expected. Of course, in an actual logic circuit, transistor elements, parasitic capacitance elements,
Due to the influence of the parasitic resistance element and the like, the waveform of the input signal may be distorted or delayed during the propagation, so that the results shown in the analysis waveform cannot be obtained. This analysis waveform only describes the operation of this circuit at the logic level. Therefore, the output signal waveform Q is uniquely determined based on the truth table shown in FIG.
The pattern numbers shown in the lower column of FIG. 3 correspond to the numbers of the input patterns shown in this truth table.

【0015】論理シミュレータを用いた論理動作の解析
は、図3に示す入力信号波形A,B,Cを図1に示す回
路に与えたときに、期待どおりの出力信号波形Qが得ら
れることを確認することによって行われる。このような
解析を効率的に行うためには、既に述べたように、次の
2つの条件を満たすような解析用波形を用いる必要があ
る。すなわち、第1の条件は、入力信号波形が1ビット
ずつ変化してゆくという条件であり、第2の条件は、入
力信号の変化により、出力信号に必ず何らかの変化が生
じるようにするという条件である。図3に例示した解析
用波形は、この2つの条件をともに満足した波形となっ
ている。
The analysis of the logic operation using the logic simulator shows that the output signal waveform Q as expected can be obtained when the input signal waveforms A, B and C shown in FIG. 3 are applied to the circuit shown in FIG. It is done by checking. In order to efficiently perform such an analysis, it is necessary to use an analysis waveform that satisfies the following two conditions, as described above. That is, the first condition is that the input signal waveform changes bit by bit, and the second condition is that the output signal must be changed by the change of the input signal. is there. The analysis waveform illustrated in FIG. 3 is a waveform that satisfies both of these two conditions.

【0016】たとえば、第1の条件について調べてみる
と、パターン→への変化時点では、入力信号Cのみ
が「0→1」に変化しており、続くパターン→への
変化時点では、入力信号Bのみが「0→1」に変化して
おり、次のパターン→への変化時点では、入力信号
Aのみが「0→1」に変化している。このように、3ビ
ットの入力信号A,B,Cは、常に1ビットずつ変化し
ており、同じタイミングで2ビット以上が変化すること
はない。シミュレーションによる検証を行う上では、出
力信号の変化が、どの入力ビットの変化に起因して生じ
たのかを特定する必要があるので、このように入力信号
波形を1ビットずつ変化させるようにするという第1の
条件は重要である。
For example, when examining the first condition, only the input signal C changes to “0 → 1” at the time of changing the pattern →, and at the time of changing to the subsequent pattern → the input signal C. Only B changes to "0 → 1", and only the input signal A changes to "0 → 1" at the time of changing to the next pattern →. As described above, the 3-bit input signals A, B, and C are constantly changing by 1 bit, and 2 bits or more do not change at the same timing. In order to perform verification by simulation, it is necessary to identify which input bit has caused the change in the output signal, so that the input signal waveform is changed bit by bit in this way. The first condition is important.

【0017】図3に例示した解析用波形は、第2の条件
も満足している。すなわち、出力信号波形Qに着目すれ
ば、入力信号のパターン番号が変わるたびに、「0→
1」もしくは「1→0」に変化しており、入力信号の変
化により、出力信号には必ず何らかの変化が生じるよう
になっている。論理シミュレーションによる検証は、入
力信号を変化させることにより、出力信号にも論理的に
正しい変化が生じているか否かを調べることを本来の目
的とするものであるから、このように出力信号の変化を
前提として入力信号を変化させるようにしなければ意味
のある検証結果は得られない。なお、図1に例示した論
理回路では、出力信号波形が1ビットの出力信号Qの波
形のみによって構成されているので、必然的に出力信号
Qが「0→1→0→1→0……」と交互に変化するよう
な結果になっているが、実際の回路では、より多数のビ
ットからなる出力信号が得られるのが一般的であり、こ
の場合、入力信号の変化により、少なくとも出力信号の
いずれか1ビットが変化すれば足りる。
The analysis waveform illustrated in FIG. 3 also satisfies the second condition. That is, focusing on the output signal waveform Q, “0 →
1 "or" 1 → 0 ", and the output signal is always changed by the change of the input signal. The purpose of verification by logic simulation is to check whether or not the output signal is logically correct by changing the input signal. If the input signal is not changed on the premise of, the meaningful verification result cannot be obtained. In the logic circuit illustrated in FIG. 1, since the output signal waveform is composed only of the waveform of the 1-bit output signal Q, the output signal Q is inevitably "0 → 1 → 0 → 1 → 0 ... However, in the actual circuit, it is common to obtain an output signal composed of a larger number of bits. In this case, at least the output signal is changed due to the change of the input signal. It suffices if any one of these changes.

【0018】このように、効率的な検証を行うために
は、できるだけ上記2条件を満足した解析用波形を作成
する必要がある。ところが、従来は、このような解析用
波形を試行錯誤を行いながら作成していたため、論理回
路の規模が大きくなればなるほど、作業負担が指数的に
増大するという問題があることは既に述べたとおりであ
る。現在実用されている複雑な機能をもった論理回路
は、図1に示すような単純な構成ではなく、膨大な数の
論理ゲートから構成され、入力信号パターンも膨大な数
になる。このような大規模な論理回路について、上記2
条件を満足する解析用波形を生成するために、従来にお
いても、いくつかの有用な手法がいくつか提案されてい
るが、いずれも演算負担が大きく、また、有限時間内に
解が得られないケースもある。本発明は、このような問
題を解決するための新たな手法を提案するものであり、
解は必ず有限時間内に得られることになる。
As described above, in order to perform efficient verification, it is necessary to create an analysis waveform satisfying the above two conditions as much as possible. However, in the past, since such an analysis waveform was created by trial and error, there is a problem that the work load increases exponentially as the scale of the logic circuit increases. Is. A logic circuit having a complicated function currently in practical use does not have a simple structure as shown in FIG. 1, but is composed of a huge number of logic gates, and an input signal pattern becomes a huge number. Regarding such a large-scale logic circuit, the above 2
In order to generate an analysis waveform that satisfies the conditions, some useful methods have been proposed in the past, but all of them have a heavy calculation load and cannot obtain a solution within a finite time. There are cases. The present invention proposes a new method for solving such a problem,
The solution will always be obtained within a finite time.

【0019】§2. 本発明の基本原理 本発明に係る方法では、1つの入力信号パターンは1つ
の節点として表現され、入力信号パターンの変化は、こ
の節点間を結ぶ方向性をもった遷移路として表現され
る。たとえば、図3に示す解析用波形は、図4に示すよ
うな節点間遷移図によって表わされることになる。この
遷移図では、個々の楕円が個々の節点を表し、個々の矢
印が方向性をもった遷移路を表している。また、各節点
内に記された3ビットの数値は、3ビットの入力信号
A,B,Cの論理値を示し、8とおりの入力信号パター
ン〜のいずれかに対応することになる。たとえば、
図4における左上の節点「000」は入力信号パターン
に対応し、その右側の節点「001」は入力信号パタ
ーンに対応し、その次の節点「011」は入力信号パ
ターンに対応している。また、右下に示した最後の節
点「100」から左上に示した最初の節点「000」に
向けて遷移路が描かれており、全節点はループ状に結ば
れているが、これは、周期的な解析用波形が得られるこ
とを示している。
§2. Basic Principle of the Present Invention In the method according to the present invention, one input signal pattern is represented as one node, and a change in the input signal pattern is represented as a directional transition path connecting these nodes. For example, the analysis waveform shown in FIG. 3 is represented by the transition diagram between nodes as shown in FIG. In this transition diagram, each ellipse represents each node, and each arrow represents a directional transition path. Further, the 3-bit numerical value described in each node indicates the logical value of the 3-bit input signals A, B, and C, and corresponds to any of eight input signal patterns ~. For example,
The upper left node "000" in FIG. 4 corresponds to the input signal pattern, the right node "001" corresponds to the input signal pattern, and the next node "011" corresponds to the input signal pattern. Also, a transition path is drawn from the last node "100" shown in the lower right to the first node "000" shown in the upper left, and all the nodes are connected in a loop. It shows that a periodic analysis waveform can be obtained.

【0020】以上のように、この図4に示す節点間遷移
図は、入力信号波形A,B,Cと等価である。しかも、
入力信号波形A,B,Cが得られれば、図2に示す真理
値表を参照することによって、出力信号波形Qを一義的
に得ることができるので、結局、図4に示す節点間遷移
図から、一義的に、図3に示す解析用波形を生成するこ
とができる。本発明の基本思想は、このような節点間遷
移図に基づいて解析用波形を生成する点にある。
As described above, the transition diagram between nodes shown in FIG. 4 is equivalent to the input signal waveforms A, B and C. Moreover,
When the input signal waveforms A, B, and C are obtained, the output signal waveform Q can be uniquely obtained by referring to the truth table shown in FIG. 2, so that the transition diagram between nodes shown in FIG. 4 is eventually obtained. Therefore, the analysis waveform shown in FIG. 3 can be uniquely generated. The basic idea of the present invention is to generate an analysis waveform based on such a transition diagram between nodes.

【0021】図5は、本発明に係る解析用波形生成方法
の基本手順を示す流れ図である。以下、この流れ図に沿
って、本発明の手順を詳述する。まず、ステップS1に
おいて、対象となる論理回路の入力信号パターンと出力
信号パターンとの対応関係を示す真理値表を作成する。
たとえば、図1に示す論理回路の場合、図2に示すよう
な真理値表が作成されることになる。このような真理値
表の作成方法については、既に種々の方法が公知である
ため、ここでは説明は省略する。
FIG. 5 is a flowchart showing the basic procedure of the analysis waveform generating method according to the present invention. The procedure of the present invention will be described in detail below with reference to this flowchart. First, in step S1, a truth table showing the correspondence between the input signal pattern and the output signal pattern of the target logic circuit is created.
For example, in the case of the logic circuit shown in FIG. 1, a truth table as shown in FIG. 2 is created. Since various methods are already known as methods for creating such a truth table, description thereof will be omitted here.

【0022】続くステップS2において、各入力信号パ
ターンを1節点に対応させ、各節点間に遷移路を定義し
て一群の節点からなるグループを構成する。具体的に
は、図2の真理値表内の8個の入力信号パターン〜
を、それぞれ節点として表現し、各節点間に一対の遷移
路を定義してゆくことになる。ただし、遷移路は、次の
2条件を満たす節点間のみに定義される。すなわち、第
1の条件は、互いのハミング距離が1であるという条件
であり、第2の条件は、真理値表において対応づけられ
た出力信号パターンが互いに異なる、という条件であ
る。ここで、「ハミング距離」とは、2つのビットパタ
ーンについて、論理値が異なるビットがいくつあるかを
示す指数である。たとえば、図2の真理値表に示されて
いる8種類の入力信号パターン〜についてのハミン
グ距離を検討すると、パターンとパターンとのハミ
ング距離は、入力信号Cのみが異なるので1であり、パ
ターンとパターンとのハミング距離は、入力信号
B,Cが異なるので2であり、パターンとパターン
とのハミング距離は、全入力信号が異なるので3であ
る。
In the subsequent step S2, each input signal pattern is made to correspond to one node and a transition path is defined between each node to form a group of one group of nodes. Specifically, eight input signal patterns in the truth table of FIG.
Are expressed as nodes, and a pair of transition paths are defined between the nodes. However, the transition path is defined only between nodes that satisfy the following two conditions. That is, the first condition is that the mutual Hamming distance is 1, and the second condition is that the output signal patterns associated with each other in the truth table are different from each other. Here, the “Hamming distance” is an index indicating how many bits have different logical values in two bit patterns. For example, considering the Hamming distances for eight types of input signal patterns ~ shown in the truth table of FIG. 2, the Hamming distance between patterns is 1 because only the input signal C differs, and The Hamming distance to the pattern is 2 because the input signals B and C are different, and the Hamming distance to the pattern is 3 because all the input signals are different.

【0023】このような2条件を満たす一対の節点がみ
つかると、この一対の節点間に、双方向の遷移路(一方
から他方へ向かう遷移路と他方から一方へ向かう遷移路
とからなる方向性をもった一対の遷移路)が定義され
る。そして、これらの遷移路によって互いに結合された
一群の節点からなるグループが構成される。このような
方法によりグループを構成する具体的な方法を、図6か
ら図8に示す。
When a pair of nodes satisfying the above two conditions is found, a bidirectional transition path (a directivity consisting of a transition path from one to the other and a transition path from the other to the one is located between the nodes. A pair of transition paths with is defined. Then, a group consisting of a group of nodes connected to each other by these transition paths is formed. A specific method of forming a group by such a method is shown in FIGS. 6 to 8.

【0024】まず、図6に示すように、真理値表の先頭
の節点「000」に着目する。続いて、この節点「00
0」について、ハミング距離が1である節点をすべて列
挙する。ある特定の節点についてハミング距離が1であ
るような節点は、もとの節点の各ビットをそれぞれ反転
させることにより容易に得られる。たとえば、節点「0
00」については、1ビット目、2ビット目、3ビット
目をそれぞれ反転させることにより、節点「100」、
節点「010」、節点「001」が得られる。こうし
て、ハミング距離が1である節点が列挙されたら、続い
て、これらの列挙された節点についての出力信号パター
ンがもとの節点についての出力信号パターンと異なって
いるか否かを判断する。上述の例の場合、もとの節点
「000」(入力信号パターン)に対応する出力信号
Qの値は、図2の真理値表に示されているように「0」
であり、列挙された節点「100」(入力信号パターン
)、節点「010」(入力信号パターン)、節点
「001」(入力信号パターン)に対応する出力信号
Qの値は、図2の真理値表に示されているようにいずれ
も「1」である。よって、もとの節点「000」に対し
て、列挙された節点「100」、「010」、「00
1」は、いずれも上述の2条件を満たしていることにな
る。
First, as shown in FIG. 6, attention is paid to the leading node "000" of the truth table. Then, this node "00
For "0", all the nodes with a Hamming distance of 1 are listed. A node having a Hamming distance of 1 for a specific node can be easily obtained by inverting each bit of the original node. For example, the node "0
For "00", the first bit, the second bit, and the third bit are inverted to obtain the node "100",
The node “010” and the node “001” are obtained. In this way, when the nodes having the Hamming distance of 1 are enumerated, it is subsequently determined whether or not the output signal pattern for these enumerated nodes is different from the output signal pattern for the original node. In the above example, the value of the output signal Q corresponding to the original node "000" (input signal pattern) is "0" as shown in the truth table of FIG.
The value of the output signal Q corresponding to the enumerated node “100” (input signal pattern), node “010” (input signal pattern), and node “001” (input signal pattern) is the truth value of FIG. As shown in the table, all are "1". Therefore, with respect to the original node “000”, the listed nodes “100”, “010”, “00” are listed.
“1” all satisfy the above-mentioned two conditions.

【0025】そこで、図7に示すように、これら3つの
節点「100」、「010」、「001」を、もとの節
点「000」に隣接する位置に配置し、それぞれの節点
間に一対の遷移路(図の矢印)を定義する。こうして、
1つの節点「000」に着目して、いくつかの隣接節点
「100」,「010」,「001」がみつかったら、
続いて、残りの未着目節点についても全く同様の処理を
施す。たとえば、節点「001」を新たな着目節点とす
れば、この節点「001」に対して上述の2条件を満足
する節点として、節点「000」の他に新たな節点「0
11」がみつかる。更にこの節点「011」を新たな着
目節点とすれば、この節点「011」に対して上述の2
条件を満足する節点として、節点「001」の他に新た
な節点「111」と既存の節点「010」とがみつか
る。このようにして、各節点に対して、それぞれ上述の
2条件を満足する節点をみつけ、両節点間に一対の矢印
で示される遷移路を定義してゆけば、最終的に、図8に
示すように、互いに遷移路によって結合された一群の節
点からなるグループが構成されることになる。
Therefore, as shown in FIG. 7, these three nodes “100”, “010”, and “001” are arranged at positions adjacent to the original node “000”, and a pair of nodes is provided between the nodes. The transition path (arrow in the figure) of is defined. Thus,
Focusing on one node “000”, if several adjacent nodes “100”, “010”, “001” are found,
Then, the same processing is performed on the remaining unfocused nodes. For example, if the node “001” is set as a new node of interest, a new node “0” other than the node “000” is set as a node satisfying the above two conditions with respect to this node “001”.
11 ”is found. Further, if this node "011" is set as a new node of interest, the above-mentioned 2
In addition to the node "001", a new node "111" and an existing node "010" are found as the nodes satisfying the condition. In this way, if a node satisfying the above-mentioned two conditions is found for each node and a transition path indicated by a pair of arrows is defined between both nodes, the final result is shown in FIG. Thus, a group consisting of a group of nodes connected to each other by a transition path is formed.

【0026】実は、図4に示した節点間遷移図は、この
図8に示されている6つの節点間の遷移を所定の順序で
示したものに他ならない。すなわち、図8に示されてい
るすべての遷移路(矢印)を順方向(矢印の示す方向)
にたどりながら、このグループ内の全節点を通る一巡経
路を求めることができれば、その一巡経路は、図4の節
点間遷移図を示すものになる。図5の流れ図におけるス
テップS3の処理は、このような一巡経路を求めるため
の処理である。こうして、一巡経路が得られたら、ステ
ップS4において、この一巡経路に沿った節点の順に、
入力信号パターンを遷移させることにより入力信号波形
を生成し、真理値表に基づいて、生成した入力信号波形
に対応する出力信号波形を生成する処理が実行され、目
的の解析用波形が得られることになる。別言すれば、図
4に示す節点間遷移図と図2に示す真理値表とに基づい
て、図3に示す解析用波形が生成されることになる。
Actually, the transition diagram between nodes shown in FIG. 4 is nothing but the transition between the six nodes shown in FIG. 8 in a predetermined order. That is, all transition paths (arrows) shown in FIG. 8 are forwarded (directions indicated by arrows).
If it is possible to find a roundabout route that passes through all the nodes in this group while following the above, the roundabout route becomes the one shown in the internode transition diagram of FIG. The process of step S3 in the flowchart of FIG. 5 is a process for obtaining such a roundabout route. In this way, when the roundabout route is obtained, in step S4, the nodes along the roundabout route are arranged in order.
The input signal waveform is generated by transitioning the input signal pattern, and the processing to generate the output signal waveform corresponding to the generated input signal waveform is executed based on the truth table, and the target analysis waveform is obtained. become. In other words, the analysis waveform shown in FIG. 3 is generated based on the internode transition diagram shown in FIG. 4 and the truth table shown in FIG.

【0027】§3. 一巡経路を求める具体的な手法 以上、図5の流れ図に基づいて、本発明の基本原理を説
明したが、ここでは、この流れ図におけるステップS3
の処理、すなわち、ステップS2において定義されたす
べての遷移路を順方向にたどりながら、グループ内の全
節点をとおる一巡経路を求める処理の具体的な手法を説
明する。この一巡経路は、いわば「一筆書き」によって
各節点を結ぶ手法によって求めることができる。たとえ
ば、図8に示す例では、6つの節点が矢印(遷移路)に
よって結ばれているが、個々の節点に出入りする矢印の
数はいずれも偶数本である。上述したように、ステップ
S2におけるグループ構成処理は、隣接する節点間に向
きの異なる一対の遷移路を定義することによって行われ
ているので、個々の節点に出入りする矢印の数は必ず偶
数本となる。「一筆書き」に関するオイラーの定理によ
れば、このような場合、任意の節点を起点とした「一筆
書き」の経路が必ず存在し、起点と終点とは同一の節点
になる。したがって、上述したステップS2の処理によ
って構成されたグループについては、理論的に必ず一巡
経路が求まることになる。
§3. Specific Method for Obtaining Circular Route The basic principle of the present invention has been described above based on the flowchart of FIG. 5, but here, step S3 in this flowchart is described.
A specific method of the processing of (1), that is, the processing of obtaining a roundabout path through all the nodes in the group while tracing all the transition paths defined in step S2 in the forward direction will be described. This one-round path can be obtained by a method of connecting each node by, so to speak, “one stroke writing”. For example, in the example shown in FIG. 8, six nodes are connected by arrows (transition paths), but the number of arrows entering and leaving each node is an even number. As described above, since the group forming process in step S2 is performed by defining a pair of transition paths having different directions between adjacent nodes, the number of arrows entering and leaving each node is always an even number. Become. According to Euler's theorem regarding "one-stroke writing", in such a case, there is always a "one-stroke writing" path starting from an arbitrary node, and the starting point and the end point are the same node. Therefore, theoretically, a roundabout route is always obtained for the group configured by the processing in step S2 described above.

【0028】ここでは、このような一巡経路を求める具
体的な手法の一例を、図9の流れ図を参照して説明す
る。ここに例示する手法では、所定の処理を再帰的に繰
り返し実行する必要がある。図9に示す流れ図は、この
ように何回も繰り返し実行される再帰的処理の1回分の
手順を示すものであり、任意の処理対象節点(N)につ
いて実行される処理を記述したものである。ここでは、
このように、任意の処理対象節点(N)について実行さ
れる処理を処理(N)と呼ぶことにする。
Here, an example of a specific method for obtaining such a roundabout route will be described with reference to the flowchart of FIG. In the method illustrated here, it is necessary to repeatedly execute a predetermined process recursively. The flowchart shown in FIG. 9 shows a procedure for one recursive process that is repeatedly executed as described above, and describes the process to be executed for an arbitrary process target node (N). . here,
In this way, the processing executed for an arbitrary processing target node (N) will be referred to as processing (N).

【0029】まず、ステップS31において、隣接節点
(N+1)へ向かう未登録遷移路があるか否かを判断す
る。たとえば、図8に示す節点「000」が処理対象節
点(N)である場合は、節点「100」,「010」,
「001」のいずれか任意の1つが、隣接節点(N+
1)に該当し、これら隣接節点に向かう矢印が、未登録
遷移路ということになる。なお、ここで「未登録」と
は、後述する登録処理が行われていない状態を示し、初
期段階ではすべての遷移路が未登録遷移路である。この
ステップS31において、隣接節点(N+1)へ向かう
未登録遷移路がないと判断された場合には、この処理対
象節点(N)についての処理(N)は直ちに終了する。
First, in step S31, it is determined whether or not there is an unregistered transition path toward the adjacent node (N + 1). For example, when the node “000” shown in FIG. 8 is the processing target node (N), the nodes “100”, “010”,
Any one of "001" is an adjacent node (N +
The arrow corresponding to 1) and pointing to these adjacent nodes is an unregistered transition path. It should be noted that the term "unregistered" here indicates a state in which registration processing, which will be described later, is not performed, and all transition paths are unregistered transition paths at the initial stage. If it is determined in step S31 that there is no unregistered transition path toward the adjacent node (N + 1), the process (N) for this process target node (N) ends immediately.

【0030】一方、隣接節点(N+1)へ向かう未登録
遷移路があると判断された場合には、この未登録遷移路
がステップS32において登録される。そして、続くス
テップS33において、隣接節点(N+1)は過去に処
理対象になったか否かが判断される。別言すれば、過去
にこの隣接節点(N+1)を処理対象節点とした処理
(N+1)が行われ、現在もその再帰的な処理中である
か否かが判断される。ここで否定的な判断がなされる
と、後続するステップS34において作業(a) が実行さ
れ、更に、ステップS35において作業(b) が実行され
ることになる。作業(a) は、隣接節点(N+1)から処
理対象節点(N)へ向かう未登録遷移路を消去する作業
であり、図で説明すれば、隣接節点(N+1)から処理
対象節点(N)に向けた矢印が消されることになる。続
く作業(b) は、隣接節点(N+1)を新たな処理対象と
して再帰的な処理(N+1)を実行する作業である。こ
の再帰的な処理(N+1)は、処理対象節点が節点
(N)ではなく節点(N+1)になる点以外は、この図
9に示す全処理手順と全く同じ処理である。すなわち、
ステップS35の作業(b) において、図9に示す処理
(N)全体が再帰的に呼び出されることになる。
On the other hand, when it is determined that there is an unregistered transition path toward the adjacent node (N + 1), this unregistered transition path is registered in step S32. Then, in the following step S33, it is determined whether or not the adjacent node (N + 1) has been a processing target in the past. In other words, processing (N + 1) in which the adjacent node (N + 1) is set as the processing target node in the past is performed, and it is determined whether or not the recursive processing is currently being performed. If a negative determination is made here, the work (a) is executed in the subsequent step S34, and further the work (b) is executed in step S35. The work (a) is a work for erasing an unregistered transition path from the adjacent node (N + 1) to the processing target node (N). If explained in the figure, from the adjacent node (N + 1) to the processing target node (N). The arrow pointed to will be erased. The subsequent work (b) is a work for executing the recursive processing (N + 1) with the adjacent node (N + 1) as a new processing target. This recursive processing (N + 1) is exactly the same as the entire processing procedure shown in FIG. 9 except that the processing target node is not the node (N) but the node (N + 1). That is,
In the work (b) of step S35, the whole process (N) shown in FIG. 9 is recursively called.

【0031】こうして、ステップS35における再帰処
理が完了するか、あるいは、ステップS33において肯
定的な判断がされると、ステップS36において、隣接
節点(N+1)から処理対象節点(N)へ向かう遷移路
が登録され、処理は最初のステップS31へと戻ること
になる。なお、ステップS34,S35を経てステップ
S36が実行される場合は、ステップS34において一
度消去した「隣接節点(N+1)から処理対象節点
(N)へ向かう未登録遷移路」を、ステップS36にお
いて復活させてから登録することになる。このように、
ステップS34において一度消去しておきながら、ステ
ップS36においてこれを復活させて登録する理由は、
ステップS35の再帰的な処理において、「隣接節点
(N+1)から処理対象節点(N)へ向かう未登録遷移
路」を見えなくし、節点(N+1)についての必要な処
理が完了するまでは、節点(N)へ戻ってくることのな
いようにするための措置である。
In this way, when the recursive processing in step S35 is completed or the affirmative judgment is made in step S33, the transition path from the adjacent node (N + 1) to the processing target node (N) is determined in step S36. Once registered, the process returns to the first step S31. When step S36 is executed through steps S34 and S35, the “unregistered transition path from the adjacent node (N + 1) to the processing target node (N)” that was once deleted in step S34 is restored in step S36. You will be registered later. in this way,
The reason why the data is deleted once in step S34 and then restored and registered in step S36 is as follows.
In the recursive processing of step S35, the “unregistered transition path from the adjacent node (N + 1) to the processing target node (N)” is made invisible, and until the necessary processing for the node (N + 1) is completed, This is a measure to prevent returning to N).

【0032】この図9に示す処理を、任意の節点から始
めて再帰的に全節点について行い、登録された遷移路を
登録順に結合すれば、目的とする一巡経路を得ることが
できる。以下、その実例として、図8に示す6つの節点
に図9の処理を適用した場合を示そう。
The processing shown in FIG. 9 is performed recursively for all nodes starting from an arbitrary node, and the registered transition paths are combined in the order of registration, so that the target roundabout path can be obtained. Hereinafter, as an example thereof, a case where the processing of FIG. 9 is applied to the six nodes shown in FIG. 8 will be shown.

【0033】最初の処理対象節点(N)としては、6つ
の節点のいずれを選んでもかまわない。ここでは、節点
「000」を最初の処理対象節点(N)とした場合の例
を説明する。まず、ステップS31において、隣接節点
(N+1)へ向かう未登録遷移路の有無が判断される。
図10に示すように、このような未登録遷移路として
は、遷移路Ta,Tb,Tcの3本が存在する。このよ
うに複数の該当遷移路が存在する場合には、そのいずれ
を選択してもかまわない。ここでは、遷移路Tcを選択
したものとして、以下の説明を続けることにする。すな
わち、節点「000」が処理対象節点(N)に該当し、
節点「001」が隣接節点(N+1)に該当することに
なる。
Any of the six nodes may be selected as the first processing target node (N). Here, an example will be described in which the node “000” is the first processing target node (N). First, in step S31, it is determined whether or not there is an unregistered transition path toward the adjacent node (N + 1).
As shown in FIG. 10, there are three transition paths Ta, Tb, and Tc as such unregistered transition paths. In this way, when there are a plurality of corresponding transition paths, any one of them may be selected. Here, the following description will be continued assuming that the transition path Tc is selected. That is, the node “000” corresponds to the processing target node (N),
The node “001” corresponds to the adjacent node (N + 1).

【0034】続くステップS32では、この未登録遷移
路Tcに対する登録が行われる。ここでは、この遷移路
Tcが遷移路T1として登録されたものとしよう。図1
0において太線矢印で示す遷移路T1は、このようにし
て登録された遷移路を示す。以下、説明の便宜上、未登
録の遷移路は細線矢印で示し、登録済の遷移路は太線矢
印で示すこととし、登録済の遷移路については、その登
録順にT1,T2,T3,…と符号をつけて呼ぶことに
する。また、節点については、図9の処理対象となった
ことのある節点を太線楕円で示すことにする。
In the subsequent step S32, registration is performed for this unregistered transition path Tc. Here, it is assumed that this transition path Tc is registered as the transition path T1. FIG.
A transition path T1 indicated by a thick arrow at 0 indicates a transition path registered in this way. Hereinafter, for convenience of explanation, unregistered transition paths are indicated by thin arrows, registered transition paths are indicated by thick arrows, and registered transition paths are denoted by T1, T2, T3, ... In the order of registration. I will call it with. Also, regarding the nodes, the nodes that have been the processing target in FIG. 9 are indicated by thick ellipses.

【0035】次のステップS33では、隣接節点(N+
1)が過去に処理対象となったか否かが判断される。現
時点での隣接節点(N+1)は、図10に示す節点「0
01」であり、この節点は細線楕円で示されているとお
り、過去に処理対象となったことはない。そこで、ステ
ップS33においては否定的な判断がなされ、ステップ
S34における作業(a) が実施される。すなわち、隣接
節点(N+1)から処理対象節点(N)へ向かう未登録
遷移路が消去されることになる。結局、図11に示すよ
うに、隣接節点「001」から処理対象節点「000」
へ向かう細線矢印が消去されることになる。
In the next step S33, the adjacent node (N +
It is determined whether 1) has been processed in the past. The adjacent node (N + 1) at the present time is the node “0” shown in FIG.
01 ”, and this node has never been a processing target in the past, as indicated by a thin line ellipse. Therefore, a negative determination is made in step S33, and the work (a) in step S34 is performed. That is, the unregistered transition path from the adjacent node (N + 1) to the processing target node (N) is deleted. After all, as shown in FIG. 11, the processing target node “000” is changed from the adjacent node “001”.
The thin arrow pointing to will be erased.

【0036】続くステップS35では、隣接節点(N+
1)を新たな処理対象とする再帰的な処理(N+1)が
実行される。すなわち、今度は、節点「001」を処理
対象節点として、図9に示す処理全体が再帰的に呼び出
されることになる。図11において、節点「001」を
太線楕円で示してあるのは、この節点「001」を処理
対象とする処理が実行されたことを示している。もっと
も、この再帰的に呼び出した処理は、節点「000」を
処理対象とする処理におけるステップS35の作業(b)
にすぎないので、再帰的な呼び出し処理が終了した後
は、ステップS36へと進むことになる。ちなみに、こ
のステップS36の処理では、隣接節点(N+1)から
処理対象節点(N)に向かう遷移路が登録されるので、
図11において消去された遷移路が復活し登録されるこ
とになる(後述する図23のプロセス)。
In the following step S35, the adjacent node (N +
A recursive process (N + 1) with 1) as a new process target is executed. That is, this time, the entire processing shown in FIG. 9 is recursively called with the node “001” as the processing target node. In FIG. 11, the node “001” is indicated by a bold ellipse, which indicates that the process for the node “001” has been executed. Of course, this recursively called process is the work (b) of step S35 in the process for which the node "000" is the processing target.
However, after the recursive call processing is completed, the process proceeds to step S36. By the way, in the process of step S36, since the transition path from the adjacent node (N + 1) to the process target node (N) is registered,
The transition path deleted in FIG. 11 is restored and registered (process of FIG. 23 described later).

【0037】さて、ここでは、節点「001」を新たな
処理対象節点として、図9に示す処理が再帰的に呼び出
されたものとして、実施される処理作業を追ってみよ
う。まず、ステップS31において、隣接節点(N+
1)へ向かう未登録遷移路の有無が判断される。図11
に示すように、節点「001」から隣接節点へ向かう未
登録遷移路は遷移路Tdだけである。そこで、ステップ
S32において、この遷移路Tdが遷移路T2として登
録されることになる。図12はこのときの状態を示す。
続くステップS33では、隣接節点「011」が過去に
処理対象となったか否かが判断される。図12に細線楕
円で示されているように、節点「011」はまだ処理対
象になったことはないので、ステップS33においては
否定的な判断がなされ、ステップS34における作業
(a) が実施される。すなわち、図13に示すように、隣
接節点「011」から処理対象節点「001」へ向かう
未登録遷移路が消去されることになる。そして、続くス
テップS35では、隣接節点「011」を新たな処理対
象とする再帰的な処理が実行される。
Now, let us consider the processing work to be performed assuming that the processing shown in FIG. 9 is recursively called with the node "001" as a new processing target node. First, in step S31, the adjacent node (N +
It is determined whether or not there is an unregistered transition path toward 1). FIG.
As shown in, the only unregistered transition path from the node "001" to the adjacent node is the transition path Td. Therefore, in step S32, this transition path Td is registered as the transition path T2. FIG. 12 shows the state at this time.
In a succeeding step S33, it is determined whether or not the adjacent node "011" has been a processing target in the past. As shown by the thin line ellipse in FIG. 12, since the node “011” has not yet been processed, a negative determination is made in step S33, and the operation in step S34 is performed.
(a) is implemented. That is, as shown in FIG. 13, the unregistered transition path from the adjacent node “011” to the processing target node “001” is deleted. Then, in the following step S35, recursive processing is performed with the adjacent node "011" as a new processing target.

【0038】こうして、節点「011」を新たな処理対
象節点とする処理が再帰的に呼び出されると、まず、ス
テップS31において、節点「011」から隣接節点へ
向かう未登録遷移路の有無が判断される。図13に示す
ように、節点「011」から隣接節点へ向かう未登録遷
移路には遷移路Teと遷移路Tfとがある。いずれを選
択してもかまわないが、ここでは、遷移路Teを選択
し、節点「111」を隣接節点としたものとして説明を
続ける。ステップS32では、遷移路Teが遷移路T3
として登録されることになる。図14はこのときの状態
を示す。続くステップS33では、隣接節点「111」
が過去に処理対象となったか否かが判断される。図14
に細線楕円で示されているように、節点「111」はま
だ処理対象になったことはないので、ステップS33に
おいては否定的な判断がなされ、ステップS34におけ
る作業(a) が実施される。すなわち、図15に示すよう
に、隣接節点「111」から処理対象節点「011」へ
向かう未登録遷移路が消去されることになる。そして、
続くステップS35では、隣接節点「111」を新たな
処理対象とする再帰的な処理が実行される。
In this way, when the process in which the node "011" is the new processing target node is recursively called, first, in step S31, it is determined whether or not there is an unregistered transition path from the node "011" to the adjacent node. It As shown in FIG. 13, there are a transition path Te and a transition path Tf in the unregistered transition path from the node “011” to the adjacent node. It does not matter which one is selected, but here, the description will be continued assuming that the transition path Te is selected and the node “111” is set as the adjacent node. In step S32, the transition path Te is the transition path T3.
Will be registered as. FIG. 14 shows the state at this time. In the following step S33, the adjacent node "111"
Is determined to be the processing target in the past. FIG.
As indicated by the thin line ellipse, the node "111" has not yet been processed, so a negative determination is made in step S33, and the operation (a) in step S34 is performed. That is, as shown in FIG. 15, the unregistered transition path from the adjacent node “111” to the processing target node “011” is deleted. And
In the following step S35, recursive processing is performed with the adjacent node "111" as a new processing target.

【0039】節点「111」を新たな処理対象節点とす
る処理が再帰的に呼び出されると、まず、ステップS3
1において、節点「111」から隣接節点へ向かう未登
録遷移路の有無が判断される。図15に示すように、節
点「111」から隣接節点へ向かう未登録遷移路はな
い。そこで、この節点「111」を処理対象節点とする
処理は直ちに終了する。この終了した処理は、前段階の
節点「011」を処理対象節点とする処理におけるステ
ップS35の作業(b) の終了に対応するので、続いて、
ステップS36が実行されることになる。すなわち、隣
接節点「111」から処理対象節点「011」へ向かう
遷移路が遷移路T4として登録される(一度消去されて
いたのが、復活登録されることになる)。図16はこの
ときの状態を示す。
When the process with the node "111" as a new target node is recursively called, first, step S3 is performed.
In 1, it is determined whether or not there is an unregistered transition path from the node “111” to the adjacent node. As shown in FIG. 15, there is no unregistered transition path from the node “111” to the adjacent node. Therefore, the process of setting the node “111” as the process target node immediately ends. This completed process corresponds to the end of the work (b) of step S35 in the process in which the node “011” in the previous stage is set as the process target node.
Step S36 will be executed. That is, the transition path from the adjacent node “111” to the processing target node “011” is registered as the transition path T4 (which has been erased once but will be re-registered). FIG. 16 shows the state at this time.

【0040】こうして、ステップS36が完了すると、
再びステップS31へと戻ることになる。すなわち、ま
ず、ステップS31において、節点「011」から隣接
節点へ向かう未登録遷移路の有無が判断される。図16
に示すように、節点「011」から隣接節点へ向かう未
登録遷移路は遷移路Tfだけである。そこで、ステップ
S32において、この遷移路Tfが遷移路T5として登
録されることになる。図17はこのときの状態を示す。
続くステップS33では、隣接節点「010」が過去に
処理対象となったか否かが判断される。図17に細線楕
円で示されているように、節点「010」はまだ処理対
象になったことはないので、ステップS33においては
否定的な判断がなされ、ステップS34における作業
(a) が実施される。すなわち、図18に示すように、隣
接節点「010」から処理対象節点「011」へ向かう
未登録遷移路が消去されることになる。そして、続くス
テップS35では、隣接節点「010」を新たな処理対
象とする再帰的な処理が実行される。
Thus, when step S36 is completed,
It will return to step S31 again. That is, first, in step S31, it is determined whether or not there is an unregistered transition path from the node "011" to the adjacent node. FIG.
As shown in, the only unregistered transition path from the node "011" to the adjacent node is the transition path Tf. Therefore, in step S32, the transition path Tf is registered as the transition path T5. FIG. 17 shows the state at this time.
In a succeeding step S33, it is determined whether or not the adjacent node "010" has been a processing target in the past. As shown by the thin line ellipse in FIG. 17, since the node “010” has not yet been processed, a negative determination is made in step S33, and the operation in step S34 is performed.
(a) is implemented. That is, as shown in FIG. 18, the unregistered transition path from the adjacent node “010” to the processing target node “011” is deleted. Then, in the following step S35, recursive processing is performed with the adjacent node "010" as a new processing target.

【0041】節点「010」を新たな処理対象節点とす
る処理が再帰的に呼び出されると、まず、ステップS3
1において、節点「010」から隣接節点へ向かう未登
録遷移路の有無が判断される。図18に示すように、節
点「010」から隣接節点へ向かう未登録遷移路は遷移
路Tgだけである。そこで、ステップS32において、
この遷移路Tgが遷移路T6として登録されることにな
る。図19はこのときの状態を示す。続くステップS3
3では、隣接節点「000」が過去に処理対象となった
か否かが判断される。図19に太線楕円で示されている
ように、節点「000」は既に処理対象になったことが
ある(正確に言えば、現在行っている節点「010」を
処理対象節点とする処理は、節点「000」を処理対象
節点とする処理の中での何重もの入れ子になった再帰的
な呼び出し処理に相当する)。そこで、ステップS33
においては肯定的な判断がなされ、直ちに、ステップS
36へ進むことになる。ステップS36では、隣接節点
「000」から処理対象節点「010」へ向かう遷移路
Thが遷移路T7として登録される。図20はこのとき
の状態を示す。
When the process with the node "010" as a new target node is recursively called, first, step S3 is executed.
In 1, it is determined whether or not there is an unregistered transition path from the node “010” to the adjacent node. As shown in FIG. 18, the unregistered transition path from the node “010” to the adjacent node is only the transition path Tg. Therefore, in step S32,
This transition path Tg will be registered as the transition path T6. FIG. 19 shows the state at this time. Subsequent step S3
In 3, it is determined whether or not the adjacent node “000” has been processed in the past. As shown by the thick line ellipse in FIG. 19, the node “000” has already been the processing target (to be precise, the current processing of the node “010” is the processing target node is This is equivalent to multiple nested recursive call processing in the processing in which the node "000" is the processing target node). Therefore, step S33
In step S, a positive determination is made and immediately, step S
I will proceed to 36. In step S36, the transition path Th from the adjacent node “000” to the processing target node “010” is registered as the transition path T7. FIG. 20 shows the state at this time.

【0042】こうして、ステップS36が完了すると、
再びステップS31へと戻ることになる。すなわち、ま
ず、ステップS31において、節点「010」から隣接
節点へ向かう未登録遷移路の有無が判断される。図20
に示すように、節点「010」から隣接節点へ向かう未
登録遷移路はない。そこで、この節点「010」を処理
対象節点とする処理は直ちに終了する。この終了した処
理は、前段階の節点「011」を処理対象節点とする処
理におけるステップS35の作業(b) の終了に対応する
ので、続いて、ステップS36が実行されることにな
る。すなわち、隣接節点「010」から処理対象節点
「011」へ向かう遷移路が遷移路T8として登録され
る(一度消去されていたのが、復活登録されることにな
る)。図21はこのときの状態を示す。
Thus, when step S36 is completed,
It will return to step S31 again. That is, first, in step S31, it is determined whether or not there is an unregistered transition path from the node "010" to the adjacent node. FIG.
As shown in, there is no unregistered transition path from the node “010” to the adjacent node. Therefore, the process of setting the node "010" as the process target node is immediately terminated. This finished process corresponds to the end of the work (b) of step S35 in the process in which the node "011" in the previous stage is the process target node, so that step S36 is subsequently executed. That is, the transition path extending from the adjacent node “010” to the processing target node “011” is registered as the transition path T8 (although it was once deleted, it will be re-registered). FIG. 21 shows the state at this time.

【0043】現時点での処理対象節点は、節点「01
1」であり、処理は再びステップS31へと戻ることに
なる。そして、ステップS31において、節点「01
1」から隣接節点へ向かう未登録遷移路の有無が判断さ
れる。図21に示すように、節点「011」から隣接節
点へ向かう未登録遷移路はない。そこで、この節点「0
11」を処理対象節点とする処理は直ちに終了する。こ
の終了した処理は、前段階の節点「001」を処理対象
節点とする処理におけるステップS35の作業(b)の終
了に対応するので、続いて、ステップS36が実行され
ることになる。すなわち、隣接節点「011」から処理
対象節点「001」へ向かう遷移路が遷移路T9として
登録される(一度消去されていたのが、復活登録される
ことになる)。図22はこのときの状態を示す。
The node to be processed at present is the node "01".
1 ”, and the process returns to step S31 again. Then, in step S31, the node "01
It is determined whether or not there is an unregistered transition path from "1" to the adjacent node. As shown in FIG. 21, there is no unregistered transition path from the node “011” to the adjacent node. Therefore, this node "0
The process with “11” as the processing target node ends immediately. This completed process corresponds to the end of the work (b) of step S35 in the process in which the node "001" of the previous stage is the process target node, and therefore step S36 is subsequently executed. That is, the transition path from the adjacent node “011” to the processing target node “001” is registered as the transition path T9 (it has been deleted once but will be re-registered). FIG. 22 shows the state at this time.

【0044】こうして、処理対象節点が節点「001」
に戻ると、処理は再びステップS31へと戻る。そし
て、ステップS31において、節点「001」から隣接
節点へ向かう未登録遷移路の有無が判断される。図22
に示すように、節点「001」から隣接節点へ向かう未
登録遷移路はない。そこで、この節点「001」を処理
対象節点とする処理は直ちに終了する。この終了した処
理は、最初の段階の節点「000」を処理対象節点とす
る処理におけるステップS35の作業(b) の終了に対応
するので、続いて、ステップS36が実行されることに
なる。すなわち、隣接節点「001」から処理対象節点
「000」へ向かう遷移路が遷移路T10として登録さ
れる(一度消去されていたのが、復活登録されることに
なる)。図23はこのときの状態を示す。
Thus, the processing target node is the node "001".
When the process returns to step S31, the process returns to step S31. Then, in step S31, it is determined whether or not there is an unregistered transition path from the node "001" to the adjacent node. FIG.
As shown in, there is no unregistered transition path from the node "001" to the adjacent node. Therefore, the processing in which this node "001" is the processing target node is immediately terminated. This completed process corresponds to the end of the work (b) of step S35 in the process in which the node "000" at the first stage is the process target node, so that step S36 is subsequently executed. That is, the transition path from the adjacent node “001” to the processing target node “000” is registered as the transition path T10 (which was once deleted but will be re-registered). FIG. 23 shows the state at this time.

【0045】この図23に示す状態において、処理は再
び最初の節点「000」についての処理に戻ってきたこ
とになる。そして、ステップS31からの処理が繰り返
し実行され、節点「000」から隣接節点へ向かう未登
録遷移路の有無が判断される。図23に示すように、節
点「000」から隣接節点へ向かう未登録遷移路として
は、遷移路Tiがまだ残っている。そこで、この遷移路
Tiが遷移路T11として登録されることになる。図2
4はこのときの状態を示す。続くステップS33では、
隣接節点「100」が過去に処理対象となったか否かが
判断される。図24に細線楕円で示されているように、
節点「100」はまだ処理対象になったことはないの
で、ステップS33においては否定的な判断がなされ、
ステップS34における作業(a) が実施される。すなわ
ち、図25に示すように、隣接節点「100」から処理
対象節点「000」へ向かう未登録遷移路が消去される
ことになる。そして、続くステップS35では、隣接節
点「100」を新たな処理対象とする再帰的な処理が実
行される。
In the state shown in FIG. 23, the processing has returned to the processing for the first node "000" again. Then, the processing from step S31 is repeatedly executed, and it is determined whether or not there is an unregistered transition path from the node "000" to the adjacent node. As shown in FIG. 23, the transition path Ti still remains as an unregistered transition path from the node “000” to the adjacent node. Therefore, this transition path Ti is registered as the transition path T11. FIG.
4 shows the state at this time. In the following step S33,
It is determined whether or not the adjacent node “100” has been a processing target in the past. As shown by the thin line ellipse in FIG. 24,
Since the node “100” has never been the processing target, a negative determination is made in step S33,
Work (a) in step S34 is performed. That is, as shown in FIG. 25, the unregistered transition path from the adjacent node “100” to the processing target node “000” is deleted. Then, in the subsequent step S35, recursive processing is performed with the adjacent node "100" as a new processing target.

【0046】節点「100」を新たな処理対象節点とす
る処理が再帰的に呼び出されると、まず、ステップS3
1において、節点「100」から隣接節点へ向かう未登
録遷移路の有無が判断される。図25に示すように、節
点「100」から隣接節点へ向かう未登録遷移路はな
い。そこで、この節点「100」を処理対象節点とする
処理は直ちに終了する。この終了した処理は、前段階の
節点「000」を処理対象節点とする処理におけるステ
ップS35の作業(b) の終了に対応するので、続いて、
ステップS36が実行されることになる。すなわち、隣
接節点「100」から処理対象節点「000」へ向かう
遷移路が遷移路T12として登録される(一度消去され
ていたのが、復活登録されることになる)。図26はこ
のときの状態を示す。
When the process with the node "100" as a new target node is recursively called, first, step S3 is performed.
In 1, it is determined whether or not there is an unregistered transition path from the node “100” to the adjacent node. As shown in FIG. 25, there is no unregistered transition path from the node “100” to the adjacent node. Therefore, the process of setting the node "100" as the process target node immediately ends. This completed process corresponds to the end of the work (b) of step S35 in the process in which the node “000” in the previous stage is set as the process target node.
Step S36 will be executed. That is, the transition path from the adjacent node “100” to the processing target node “000” is registered as the transition path T12 (it has been deleted once but will be revived and registered). FIG. 26 shows the state at this time.

【0047】かくして、処理は再び最初の節点「00
0」についてのステップS31の処理に戻ることにな
る。ところが、図26に示すように、節点「000」か
ら隣接節点へ向かう未登録遷移路はもはや存在しない。
そこで、この節点「000」を処理対象節点とする処理
は終了する。以上の作業により、節点「000」を最初
の処理対象として選択して実行した再帰的な処理がすべ
て完了したことになる。すなわち、図26に太線矢印で
示されている登録済の遷移路T1〜T12をその登録順
にたどってゆけば、全節点を通る一巡経路が得られるこ
とになり、この一巡経路にしたがって各節点名を記述し
てゆけば、図4に示す節点間遷移図が得られることにな
る。
Thus, the process again starts with the first node "00".
The process returns to step S31 for "0". However, as shown in FIG. 26, there is no longer an unregistered transition path from the node “000” to the adjacent node.
Therefore, the process of setting the node “000” as the process target node ends. By the above work, all the recursive processing executed by selecting the node "000" as the first processing target is completed. That is, if the registered transition paths T1 to T12 indicated by the bold arrows in FIG. 26 are traced in the order of registration, a roundabout path passing through all the nodes can be obtained. Is described, the transition diagram between nodes shown in FIG. 4 can be obtained.

【0048】§4. 複数のグループが構成される場合 本発明の基本原理は、図5の流れ図を参照しながら既に
説明したように、ステップS1において、真理値表(図
2)を作成し、ステップS2において、遷移路で結合さ
れた一群の節点からなるグループ(図8)を構成し、ス
テップS3において、すべての遷移路をたどる一巡経路
(図26)を求め、ステップS4において、この一巡経
路および真理値表に基づいて解析用波形(図3)を生成
する、という手順により解析用波形を得る点にある。た
だ、これまでは、ステップS2の処理によって、単一の
グループのみが構成される例を用いて説明を行ってきた
が、実際に用いられている複雑な論理回路の場合、ステ
ップS2の処理によって、複数のグループが構成される
のが一般的である。ここでは、このように複数のグルー
プが構成された場合の取り扱いについて述べる。
§4. When a plurality of groups are configured The basic principle of the present invention is that the truth table (FIG. 2) is created in step S1 and the transition path is created in step S2 as already described with reference to the flowchart of FIG. A group (FIG. 8) composed of a group of nodes connected by is formed, and in step S3, a loop route (FIG. 26) that follows all transition paths is obtained, and in step S4, based on this loop route and the truth table. The point is to obtain the analysis waveform by the procedure of generating the analysis waveform (FIG. 3) by using the above procedure. However, up to now, the description has been given by using the example in which only a single group is formed by the process of step S2, but in the case of a complicated logic circuit actually used, the process of step S2 is performed. , Generally, a plurality of groups are configured. Here, the handling when a plurality of groups are thus configured will be described.

【0049】これまでの説明では、図1に示す単純な論
理回路を例にとり、図8に示すようなグループが構成さ
れることを述べた。しかしながら、この図8に示されて
いる節点は、図2の真理値表に示されているすべての入
力信号パターンに対応するものにはなっていない。すな
わち、図2の真理値表に示されている8種類の入力信号
パターン〜のうち、入力信号パターン(節点「1
01」に対応)と入力信号パターン(節点「110」
に対応)とは、図8には示されていない。これは、この
2つの節点が、ステップS2に示されている2つの条件
を満足するようなペアを組むべき節点をもたないためで
ある。たとえば、節点「101」に対して、ハミング距
離が1である節点としては、節点「001」,節点「1
11」,節点「100」の3つが存在するが、いずれも
出力信号Qの論理値は「1」と同一になるため、「出力
信号パターンが互いに異なる」という2番目の条件を満
たしていない。節点「110」も同様である。このた
め、これらの2つの節点を敢えて図に示すと、図27の
ように孤立した節点として表わされることになる。
In the above description, the simple logic circuit shown in FIG. 1 is taken as an example to describe that the group shown in FIG. 8 is formed. However, the nodes shown in FIG. 8 do not correspond to all the input signal patterns shown in the truth table of FIG. That is, among the eight types of input signal patterns 1 to 3 shown in the truth table of FIG. 2, the input signal pattern (node “1
01 ") and input signal pattern (node" 110 ")
(Corresponding to) is not shown in FIG. This is because these two nodes do not have nodes that should be paired so as to satisfy the two conditions shown in step S2. For example, with respect to the node “101”, the nodes whose Hamming distance is 1 are the node “001” and the node “1”.
11 ”and the node“ 100 ”exist, but the logical value of the output signal Q is the same as“ 1 ”, and thus the second condition“ the output signal patterns are different from each other ”is not satisfied. The same applies to the node “110”. Therefore, if these two nodes are intentionally shown in the figure, they will be represented as isolated nodes as shown in FIG.

【0050】こうして、孤立した節点も1つの独立した
グループを構成するものとして取り扱うとすれば、図2
7に破線で示すように、グループG1,G2,G3の3
つのグループが構成されることになる。もっとも、通常
は、このような孤立した節点を無視して解析用波形を生
成しても大きな支障は生じることがない。実際、図3に
示した解析用波形は、この孤立した節点「101」およ
び「110」を無視した波形であり、この波形図には、
パターン,は現れない。必要な場合には、図3に示
す波形を生成した後、手作業によって、パターン,
を適当な箇所に挿入することができる。もちろん、この
ような挿入を行えば、入力信号が必ず1ビットずつ変化
し、かつ、出力信号に必ず変化が生じるという条件は完
全には満たされなくなる。
In this way, if isolated nodes are treated as if they constitute one independent group, FIG.
As indicated by a broken line in FIG. 7, 3 of groups G1, G2, and G3
One group will be formed. However, normally, even if such an isolated node is ignored and an analysis waveform is generated, no significant trouble occurs. Actually, the analysis waveform shown in FIG. 3 is a waveform in which the isolated nodes “101” and “110” are ignored.
The pattern does not appear. If necessary, after generating the waveform shown in FIG. 3, the pattern,
Can be inserted at an appropriate place. Of course, if such an insertion is performed, the condition that the input signal always changes by one bit and the output signal always changes will not be completely satisfied.

【0051】このように、完全に孤立した節点が生じた
場合には、上述したように、これを無視して解析用波形
を生成したり、後に手作業で追加したりすれば十分であ
る。ところが、実用上の多くの論理回路(通常、図1に
示す論理回路に比べれば、はるかに複雑な回路になる)
の場合、ステップS2における処理により、それぞれが
複数の節点からなる複数の実質的なグループが構成され
るのが一般的である。このように、ステップS2におい
て、複数の実質的なグループが構成された場合、個々の
グループごとにステップS3の処理を行い、個々のグル
ープごとにそれぞれ一巡経路を求めるようにすればよ
い。図28は、このようにして、4つのグループG1〜
G4について、それぞれ一巡経路が求められた例を示す
概念図である。ここで、a〜zの符号が付された点は、
個々の節点を示しており、これらを結ぶ円は、各グルー
プごとの一巡経路を示している。別言すれば、図28に
おいて、破線で囲まれた部分は、それぞれが図4に示す
節点間遷移図に相当するものになる。したがって、たと
えば、グループG1内の節点aとbとは、互いにハミン
グ距離が1であり、かつ、出力信号パターンが互いに異
なるという2条件を満足しており、いずれのグループ内
においても、一巡経路で連結されている任意の節点は、
この2条件を満足していることになる。
In this way, when a completely isolated node occurs, it is sufficient to ignore it and generate an analysis waveform or add it manually later, as described above. However, many practical logic circuits (usually much more complex circuits than the logic circuit shown in FIG. 1)
In this case, the process in step S2 generally forms a plurality of substantial groups, each of which includes a plurality of nodes. In this way, when a plurality of substantial groups are formed in step S2, the process of step S3 may be performed for each individual group, and a loop route may be obtained for each individual group. FIG. 28 shows four groups G1 to G1 in this manner.
FIG. 11 is a conceptual diagram showing an example in which a roundabout route is obtained for G4. Here, the points labeled with a to z are
Each node is shown, and a circle connecting these nodes shows a loop route for each group. In other words, in FIG. 28, the portions surrounded by broken lines correspond to the inter-node transition diagram shown in FIG. 4, respectively. Therefore, for example, the nodes a and b in the group G1 satisfy the two conditions that the Hamming distance is 1 from each other and the output signal patterns are different from each other. Any connected node is
This means that these two conditions are satisfied.

【0052】しかしながら、このように別個独立した4
つのグループG1〜G4のそれぞれに基づいて解析用波
形を生成すると、4組のバラバラな波形が生成され好ま
しくない。そこで、最終的に1つのまとまった解析用波
形を生成するために、図29に示すように、各グループ
を接続するためのグループ間遷移路TT1,TT2,T
T3を定義し、全グループを相互に連結し、統括一巡経
路を構成する。この図29に示す例では、節点dとnと
の間にグループ間遷移路TT1を定義し、節点nとzと
の間にグループ間遷移路TT2を定義し、節点zとkと
の間にグループ間遷移路TT3を定義することにより、
全体として1本の統括一巡経路が構成されている。すな
わち、この統括一巡経路上には、節点d−e−f−g−
h−a−b−c−d=n−o−p−q−r−s−n=z
−t−u−v−w−x−y−z=k−j−i−m−l−
kがこの順に並ぶことになる(ここで、−はグループ内
の遷移路を示し、=はグループ間遷移路を示す)。更
に、節点kとdとの間にグループ間遷移路TT4を定義
したとすれば、全体がループ状に閉じた統括一巡経路を
形成することができる。
However, the four independent
Generating an analysis waveform based on each of the two groups G1 to G4 is not preferable because four sets of discrete waveforms are generated. Therefore, in order to finally generate one aggregated analysis waveform, as shown in FIG. 29, the inter-group transition paths TT1, TT2, T for connecting each group.
T3 is defined and all groups are connected to each other to form an integrated circuit route. In the example shown in FIG. 29, an inter-group transition path TT1 is defined between the nodes d and n, an inter-group transition path TT2 is defined between the nodes n and z, and an inter-group transition path TT2 is defined between the nodes z and k. By defining the inter-group transition path TT3,
As a whole, one integrated circuit route is constructed. That is, the nodes d-e-f-g-
h-a-b-c-d = n-o-p-q-r-s-n = z
-T-u-v-w-x-y-z = k-j-i-m-l-
k will be arranged in this order (here, − represents a transition path within a group, and = represents an inter-group transition path). Furthermore, if an inter-group transition path TT4 is defined between the nodes k and d, it is possible to form an integrated loop path which is closed in a loop shape as a whole.

【0053】このような統括一巡経路が形成できれば、
この統括一巡経路に沿った節点の順に、入力信号パター
ンを遷移させれば、目的となる入力信号波形を生成する
ことができ、この入力信号波形に対応する出力信号波形
を真理値表に基づいて生成することができる。
If such an integrated circuit route can be formed,
By transitioning the input signal pattern in the order of the nodes along the integrated circuit route, the target input signal waveform can be generated, and the output signal waveform corresponding to this input signal waveform is generated based on the truth table. Can be generated.

【0054】図30は、このように、複数のグループが
構成される場合の本発明の処理手順を示す流れ図であ
る。前述した図5に示す流れ図と、この図30に示す流
れ図との相違は、後者では、ステップS2において最終
的に複数のグループが構成される点と、ステップS3に
おいて各グループごとにそれぞれ別個独立した一巡経路
が求められる点と、ステップS3とS4との間に、各グ
ループを接続するグループ間遷移路を連結することによ
り統括一巡経路を構成するステップS5が挿入される点
と、ステップS4においてこの統括一巡経路に基づいて
入力信号波形が生成される点である。
FIG. 30 is a flow chart showing the processing procedure of the present invention when a plurality of groups are thus formed. The difference between the flow chart shown in FIG. 5 and the flow chart shown in FIG. 30 is that, in the latter case, a plurality of groups are finally formed in step S2, and each group is separated and independent in step S3. The point that a roundabout route is obtained, and the point that step S5 that configures a general roundabout route by connecting inter-group transition paths connecting each group is inserted between steps S3 and S4. This is the point where the input signal waveform is generated based on the integrated loop path.

【0055】§5. 統括一巡経路を形成する具体的な
手法 ここでは、図30の流れ図におけるステップS5の処
理、すなわち、統括一巡経路を求める処理の具体的な手
法を説明する。図28に示す例のように、4つのグルー
プG1〜G4が構成されている場合に統括一巡経路を形
成するには、図29に示すように、各グループ間を連結
するためのグループ間遷移路TT1,TT2,TT3を
定義すればよい。別言すれば、ステップS5の統括一巡
経路を求める処理は、実質的には、グループ間遷移路を
定義する処理ということになる。
§5. A concrete way to form an integrated circuit
Method Here, a specific method of the process of step S5 in the flowchart of FIG. 30, that is, the process of obtaining the integrated circuit route will be described. As shown in FIG. 29, in order to form a general loop route when four groups G1 to G4 are configured as in the example shown in FIG. 28, an inter-group transition path for connecting the groups is used. It is sufficient to define TT1, TT2 and TT3. In other words, the process of obtaining the integrated loop route in step S5 is substantially a process of defining an inter-group transition route.

【0056】グループ間遷移路は、一方のグループ内の
節点と他方のグループ内の節点とを連結する遷移路であ
るから、ランダムに選んだ任意の節点同士を連結する遷
移路であれば、どのような遷移路であっても、一応、グ
ループ間遷移路としての機能を果たすことができる。し
かしながら、最終的に生成される解析用波形として、な
るべく最適化したものを得るためには、グループ間遷移
路として、できるだけハミング距離が小さい節点間を連
結する遷移路を採用するのが好ましい。図29において
形成されている統括一巡経路上には、上述したように、
節点d−e−f−g−h−a−b−c−d=n−o−p
−q−r−s−n=z−t−u−v−w−x−y−z=
k−j−i−m−l−kが、この順に並んでいるが、こ
こで、−はグループ内の遷移路でありハミング距離1の
節点間の遷移路となっている。そこで、=で示されるグ
ループ間遷移路も、できれば、ハミング距離1の節点間
の遷移路となるようにするのが好ましい。しかし、実際
には、すべてのグループ間遷移路までもハミング距離1
とすることは困難であるから、現実的には、できるだけ
ハミング距離の小さなグループ間遷移路を選択すること
になる。
The inter-group transition path is a transition path that connects the nodes in one group and the nodes in the other group, so if it is a transition path that connects randomly selected nodes, Even such a transition path can temporarily function as an inter-group transition path. However, in order to obtain the finally generated analysis waveform that is optimized as much as possible, it is preferable to adopt a transition path that connects nodes with a Hamming distance as small as possible as an inter-group transition path. As described above, on the integrated loop route formed in FIG. 29,
Node d-e-f-g-h-a-b-c-d = n-o-p
-Q-r-s-n = z-t-u-v-w-x-y-z =
k-j-i-m-l-k are arranged in this order, where-is a transition path within a group and a transition path between nodes with a Hamming distance of 1. Therefore, it is preferable that the inter-group transition path indicated by = is also a transition path between nodes of the Hamming distance 1 if possible. However, in reality, the Hamming distance 1
Since it is difficult to set, it is realistic to select an inter-group transition path with a Hamming distance as small as possible.

【0057】このようなグループ間遷移路の選択方法の
一例を、図31の流れ図に基づいて説明する。ここに示
す方法によって選択されたグループ間遷移路は、厳密な
意味では、ハミング距離が最小となる最も理想的な組み
合わせには、必ずしもならないかもしれないが、この方
法によれば、比較的単純な演算負担で、理想に近い組み
合わせを得ることが可能である。
An example of such a method of selecting an inter-group transition path will be described with reference to the flowchart of FIG. In the strict sense, the inter-group transition path selected by the method shown here may not necessarily be the most ideal combination with the smallest Hamming distance, but according to this method, it is relatively simple. It is possible to obtain a combination that is close to the ideal with a computational burden.

【0058】まず、ステップS41において、任意のグ
ループを1つ選択する。たとえば、図28に示す例にお
いて、グループG1が選択されたものとしよう。続く、
ステップS42では、選択されたグループ内の各節点の
中から、最も小さいハミング距離で、他のグループと接
続できるものを1つ決定し、この決定した節点と相手方
の節点とをグループ間遷移路によって接続する。具体的
には、たとえば、まずハミング距離の設定値として初期
値1を設定し、グループG1内の節点aと、他のグルー
プの個々の節点とのハミング距離を調べ、設定値に等し
い1となるものがあるか否かを探索する。節点aについ
てそのような他のグループの節点がみつからなかった
ら、次に、節点bについて同様の探索を行う。こうし
て、節点c,d,e,f,g,hについても同様の探索
を行ってゆき、条件を満たす節点の組み合わせが1対で
もみつかったら、そこで探索を中断し、この1対の節点
の間にグループ間遷移路を定義する。節点hについての
探索を行っても、該当する節点対がみつからなかった場
合には、ハミング距離の設定値を2に増加させ、同様の
処理を行う。こうして、設定値を1ずつ順に増加させて
同様の処理を行ってゆけば、必ず条件に該当する節点対
がみつかることになる。
First, in step S41, one arbitrary group is selected. For example, assume that the group G1 is selected in the example shown in FIG. Continue,
In step S42, one node that can be connected to another group with the smallest Hamming distance is determined from the nodes in the selected group, and the determined node and the node of the partner are determined by the inter-group transition path. Connecting. Specifically, for example, first, an initial value 1 is set as the set value of the Hamming distance, and the Hamming distance between the node a in the group G1 and the individual nodes of the other groups is checked, and the set value is equal to 1. Search for something or not. If no such other group of nodes is found for node a, then a similar search is made for node b. In this way, the same search is performed for the nodes c, d, e, f, g, and h, and if a combination of nodes satisfying the condition is found, the search is interrupted at that point, and between the pair of nodes. The transition path between groups is defined in. If the corresponding node pair is not found even after the search for the node h, the setting value of the Hamming distance is increased to 2 and the same process is performed. In this way, if the set value is sequentially incremented by 1 and the same processing is performed, the node pairs that meet the conditions will be found.

【0059】なお、ある節点Aに対して、ハミング距離
がHである他の節点を探索するには、節点Aのビットパ
ターンのうちのH個のビットを反転させてできるビット
パターンをすべて生成し、この生成したビットパターン
と同一のビットパターンをもつ節点を探し出せばよい。
In order to search for another node having a Hamming distance of H with respect to a certain node A, all bit patterns formed by inverting H bits of the bit pattern of the node A are generated. , It suffices to find a node having the same bit pattern as the generated bit pattern.

【0060】ここでは、たとえば、設定値を2として、
節点dについての探索を実行中に、他のグループの節点
nが条件を満たす節点としてみつかったものとする。こ
の場合、節点対d−n間のハミング距離は2ということ
になる。もちろん、ハミング距離が2となるような節点
対は他にも存在するかもしれないが、この方法では、最
初にみつかった節点対d−nの間にグループ間遷移路を
定義する。かくして、グループG1とG3とは、図29
に示すグループ間遷移路TT1によって連結されること
になる(図29に示すグループ間遷移路TT2,TT3
は、まだこの段階では定義されていない)。
Here, for example, the set value is 2, and
It is assumed that the node n of another group is found as a node satisfying the condition while executing the search for the node d. In this case, the Hamming distance between the node pair d-n is 2. Of course, there may be other node pairs having a Hamming distance of 2, but in this method, an inter-group transition path is defined between the first node pair dn found. Thus, the groups G1 and G3 are shown in FIG.
Are connected by the inter-group transition paths TT1 shown in FIG. 29 (the inter-group transition paths TT2 and TT3 shown in FIG. 29).
Is not yet defined at this stage).

【0061】続いて、ステップS43において、ステッ
プS42において決定された両節点を端点リストに入れ
る処理が行われる。この端点リストは、現段階までに定
義されている1本のグループ間遷移路もしくは複数本連
結されたグループ間遷移路の両端点を構成する一対の節
点を示すリストである。上述の例の場合、現段階までに
定義されている1本のグループ間遷移路TT1の両節点
d,nが端点リストに入れられることになる。
Subsequently, in step S43, a process of inserting both nodes determined in step S42 into the end point list is performed. This end point list is a list showing a pair of nodes forming both end points of one inter-group transition path or a plurality of inter-group transition paths defined up to the present stage. In the case of the above example, both nodes d and n of one inter-group transition path TT1 defined up to the present stage are put in the end point list.

【0062】次に、ステップS44において、全グルー
プが接続されたと判断されるまで、ステップS45およ
びステップS46の処理が繰り返し実行されることにな
る。すなわち、まず、ステップS45において、端点リ
スト内の節点の中から、最も小さいハミング距離で他の
未接続グループと接続できるものを決定し、この決定し
た節点と相手方の節点とをグループ間遷移路によって接
続する。こうして、新たなグループ間遷移路を接続する
ことにより、端点に変更が生じるので、ステップS46
において、端点リストの更新を行う。
Next, in step S44, the processes of steps S45 and S46 are repeatedly executed until it is determined that all the groups are connected. That is, first, in step S45, a node that can be connected to another unconnected group with the smallest Hamming distance is determined from the nodes in the end point list, and the determined node and the node of the partner are determined by the inter-group transition path. Connecting. In this way, by connecting a new inter-group transition path, the end point is changed.
At, the end point list is updated.

【0063】このステップS45,S46の処理は、図
29の実例を参照すると理解しやすい。いま、ステップ
S42において、グループ間遷移路TT1が定義され、
ステップS43において、節点d,nが端点リストに入
れられた状態において、ステップS44を経てステップ
S45が実行されたものとしよう。この場合、端点リス
トにある節点d,nの中から、最も小さいハミング距離
で、他のグループと接続できるものが1つ決定され、こ
の決定した節点と相手方の節点とが新たなグループ間遷
移路によって接続されることになる。具体的には、やは
り、ハミング距離の設定値として初期値1を設定し、端
点リスト内の一方の節点dと、他のグループの個々の節
点とのハミング距離を調べ、設定値に等しい1となるも
のがあるか否かを探索する。節点dについてそのような
他のグループの節点がみつからなかったら、次に、端点
リスト内のもう一方の節点nについて同様の探索を行
う。節点nについてもそのような相手方の節点がみつか
らなかったら、今度は、ハミング距離の設定値を2に増
加させ、同様の処理を行う。こうして、設定値を1ずつ
順に増加させて同様の処理を行ってゆけば、必ず条件に
該当する節点対がみつかることになる。
The processes of steps S45 and S46 can be easily understood by referring to the actual example of FIG. Now, in step S42, the inter-group transition path TT1 is defined,
It is assumed that step S45 is executed through step S44 in the state where the nodes d and n are included in the end point list in step S43. In this case, from the nodes d and n in the end point list, one node that can be connected to another group with the smallest Hamming distance is determined, and the determined node and the node of the other party are new inter-group transition paths. Will be connected by. Specifically, again, the initial value 1 is set as the set value of the Hamming distance, and the Hamming distance between one node d in the end point list and the individual nodes of the other groups is checked, and it is set to 1 equal to the set value. Search whether there is something. If no such other group of nodes is found for node d, then a similar search is performed for the other node n in the endpoint list. If no such node of the other party is found with respect to the node n, this time, the set value of the Hamming distance is increased to 2 and the same process is performed. In this way, if the set value is sequentially incremented by 1 and the same processing is performed, the node pairs that meet the conditions will be found.

【0064】ここでは、たとえば、設定値を3として、
節点nについての探索を実行中に、他のグループの節点
zが条件を満たす節点としてみつかったものとする。こ
の場合、節点対n−z間のハミング距離は3ということ
になる。こうして、節点対n−zの間に新たなグループ
間遷移路TT2が定義されることになる。このように、
グループ間遷移路TT2が定義された段階では、もはや
節点nは端点ではなくなっているので、現段階までに定
義されている2本の連結されたグループ間遷移路(TT
1+TT2)の両端点を構成する一対の節点d,zが新
たな端点リストのメンバーとなる。そこで、ステップS
46では、新たな端点リストのメンバーを、節点d,z
に書き直す更新処理が実行される。
Here, for example, the set value is 3, and
It is assumed that the node z of another group is found as a node satisfying the condition while executing the search for the node n. In this case, the Hamming distance between the node pair nz is 3. In this way, a new inter-group transition path TT2 is defined between the node pair nz. in this way,
At the stage when the inter-group transition path TT2 is defined, the node n is no longer an end point, so the two inter-group transition paths (TT) defined up to the present stage are connected.
The pair of nodes d and z forming the end points of (1 + TT2) become members of the new end point list. Therefore, step S
At 46, the members of the new end point list are added to the nodes d, z.
The update process of rewriting is executed.

【0065】続いて、再び、ステップS44を経てステ
ップS45が実行されたものとしよう。この場合、端点
リストにある節点d,zの中から、最も小さいハミング
距離で、他のグループと接続できるものが1つ決定さ
れ、この決定した節点と相手方の節点とが新たなグルー
プ間遷移路によって接続されることになる。ここでは、
たとえば、設定値を2として、節点zについての探索を
実行中に、他のグループの節点kが条件を満たす節点と
してみつかったものとする。この場合、節点対z−k間
のハミング距離は2ということになる。こうして、節点
対z−kの間に新たなグループ間遷移路TT3が定義さ
れることになる。このように、グループ間遷移路TT3
が定義された段階では、もはや節点zは端点ではなくな
っているので、現段階までに定義されている3本の連結
されたグループ間遷移路(TT1+TT2+TT3)の
両端点を構成する一対の節点d,kが新たな端点リスト
のメンバーとなる。そこで、ステップS46では、新た
な端点リストのメンバーを、節点d,kに書き直す更新
処理が実行される。
Next, it is assumed that step S45 is executed again through step S44. In this case, from the nodes d and z in the end point list, one node that can be connected to another group with the smallest Hamming distance is determined, and the determined node and the node of the other party are new transition paths between groups. Will be connected by. here,
For example, it is assumed that the set value is set to 2 and the node k of another group is found as a node satisfying the condition while executing the search for the node z. In this case, the Hamming distance between the node pair zk is 2. In this way, a new inter-group transition path TT3 is defined between the node pair zk. In this way, the inter-group transition path TT3
At the stage when is defined, the node z is no longer an end point, so a pair of nodes d, which form the end points of the three inter-group transition paths (TT1 + TT2 + TT3) defined up to the present stage, k becomes a member of the new endpoint list. Therefore, in step S46, an update process of rewriting the members of the new end point list to the nodes d and k is executed.

【0066】ここで、再びステップS44に戻るが、こ
の時点で既に全グループが接続された状態となってい
る。よって、この図31に示す処理は、ここで終了し、
最終的に、図29に示すような3本のグループ間遷移路
TT1,TT2、TT3が得られることになる。
Here, the process returns to step S44 again, but at this time point, all the groups are already connected. Therefore, the processing shown in FIG. 31 ends here,
Finally, three inter-group transition paths TT1, TT2, TT3 as shown in FIG. 29 are obtained.

【0067】最後に、上述した方法によって、統括一巡
経路を求めた結果を例示しておく。たとえば、図32に
示すような3つのグループG1,G2,G3が構成され
ていた場合を考える。この場合、たとえば、図33に示
すように、グループG1内の節点「0001」とグルー
プG2内の節点「1111」とをグループ間遷移路TT
aで連結し、更に、このグループG2内の節点「111
1」とグループG3内の節点「1100」とをグループ
間遷移路TTbで連結したとする。このようなランダム
な連結を行うと、グループ間遷移路TTaのハミング距
離は3となり、グループ間遷移路TTbのハミング距離
は2となるので、グループ間遷移路の合計ハミング距離
は5となる。これに対して、上述した図31の流れ図に
基づく処理を行ってグループ間遷移路を定義すると、図
34に示すような結果が得られる。すなわち、グループ
G1内の節点「0000」とグループG3内の節点「0
100」とがグループ間遷移路TTcで連結され、この
グループG3内の節点「0100」とグループG2内の
節点「0111」とがグループ間遷移路TTdで連結さ
れる。この場合、グループ間遷移路TTcのハミング距
離は1となり、グループ間遷移路TTdのハミング距離
は2となるので、グループ間遷移路の合計ハミング距離
は3となり、図33に示す例よりも短くなる。
Finally, an example of the result of obtaining the integrated circuit route by the above method will be illustrated. For example, consider a case where three groups G1, G2, G3 as shown in FIG. 32 are formed. In this case, for example, as shown in FIG. 33, the node “0001” in the group G1 and the node “1111” in the group G2 are connected to each other through the inter-group transition path TT.
and the node "111" in this group G2.
It is assumed that "1" and the node "1100" in the group G3 are connected by the inter-group transition path TTb. When such random connection is performed, the Hamming distance of the inter-group transition path TTa becomes 3, and the Hamming distance of the inter-group transition path TTb becomes 2, so that the total Hamming distance of the inter-group transition path becomes 5. On the other hand, when the process based on the flowchart of FIG. 31 described above is performed to define the inter-group transition path, the result as shown in FIG. 34 is obtained. That is, the node “0000” in the group G1 and the node “0” in the group G3.
100 "is connected by the inter-group transition path TTc, and the node" 0100 "in the group G3 and the node" 0111 "in the group G2 are connected by the inter-group transition path TTd. In this case, the Hamming distance of the inter-group transition path TTc is 1 and the Hamming distance of the inter-group transition path TTd is 2, so the total Hamming distance of the inter-group transition path is 3, which is shorter than the example shown in FIG. .

【0068】なお、上述の説明では、各グループが複数
の節点を有する場合を例にとったが、たとえば、図27
に示すように、孤立した節点のみを有するグループG
2,G3についても、図31の流れ図に基づく処理を行
い、これら孤立した節点をも含んだ統括一巡経路を形成
することも可能である。
In the above description, the case where each group has a plurality of nodes has been taken as an example.
, A group G having only isolated nodes
It is also possible to perform processing based on the flowchart of FIG. 31 for 2 and G3 as well to form an integrated circuit route including these isolated nodes.

【0069】[0069]

【発明の効果】以上のとおり本発明に係る解析用波形生
成方法によれば、組み合わせ論理回路における解析用波
形を効率良く生成することが可能になる。
As described above, according to the analyzing waveform generating method of the present invention, it is possible to efficiently generate the analyzing waveform in the combinational logic circuit.

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

【図1】単純な論理回路の一例を示す回路図である。FIG. 1 is a circuit diagram showing an example of a simple logic circuit.

【図2】図1に示す論理回路の真理値表を示す図であ
る。
FIG. 2 is a diagram showing a truth table of the logic circuit shown in FIG.

【図3】図1に示す論理回路の解析に用いられる解析用
波形の一例を示す波形図である。
FIG. 3 is a waveform chart showing an example of an analysis waveform used for analysis of the logic circuit shown in FIG.

【図4】図3に示す解析用波形に対応する節点間遷移図
である。
FIG. 4 is a transition diagram between nodes corresponding to the analysis waveform shown in FIG.

【図5】本発明に係る解析用波形生成方法の基本手順を
示す流れ図である。
FIG. 5 is a flowchart showing a basic procedure of an analysis waveform generating method according to the present invention.

【図6】図5に示す流れ図におけるステップS2の工程
の第1段階の状態を示す図である。
6 is a diagram showing the state of the first stage of the process of step S2 in the flow chart shown in FIG. 5. FIG.

【図7】図5に示す流れ図におけるステップS2の工程
の第2段階の状態を示す図である。
7 is a diagram showing a state of a second stage of the process of step S2 in the flowchart shown in FIG.

【図8】図5に示す流れ図におけるステップS2の工程
の第3段階の状態を示す図である。
8 is a diagram showing a state of a third stage of the process of step S2 in the flowchart shown in FIG.

【図9】図5に示す流れ図におけるステップS3の一巡
経路を求める具体的な手法の一例を示す流れ図である。
9 is a flowchart showing an example of a specific method for obtaining the one-round route of step S3 in the flowchart shown in FIG.

【図10】節点「000」を処理対象節点としたときの
図9に示すステップS32を実行した状態を示す図であ
る。
FIG. 10 is a diagram showing a state where step S32 shown in FIG. 9 is executed when a node “000” is set as a processing target node.

【図11】節点「000」を処理対象節点としたときの
図9に示すステップS34,S35を実行した状態を示
す図である。
FIG. 11 is a diagram showing a state in which steps S34 and S35 shown in FIG. 9 are executed when the node “000” is set as a processing target node.

【図12】節点「001」を処理対象節点としたときの
図9に示すステップS32を実行した状態を示す図であ
る。
FIG. 12 is a diagram showing a state where step S32 shown in FIG. 9 is executed when the node “001” is set as a processing target node.

【図13】節点「001」を処理対象節点としたときの
図9に示すステップS34,S35を実行した状態を示
す図である。
FIG. 13 is a diagram showing a state in which steps S34 and S35 shown in FIG. 9 are executed when the node “001” is set as a processing target node.

【図14】節点「011」を処理対象節点としたときの
図9に示すステップS32を実行した状態を示す図であ
る。
FIG. 14 is a diagram showing a state where step S32 shown in FIG. 9 is executed when the node “011” is set as a processing target node.

【図15】節点「011」を処理対象節点としたときの
図9に示すステップS34,S35を実行した状態を示
す図である。
FIG. 15 is a diagram showing a state in which steps S34 and S35 shown in FIG. 9 are executed when the node “011” is set as a processing target node.

【図16】節点「011」を処理対象節点としたときの
図9に示すステップS36を実行した状態を示す図であ
る。
FIG. 16 is a diagram showing a state where step S36 shown in FIG. 9 is executed when the node “011” is the processing target node.

【図17】節点「011」を処理対象節点としたときの
図9に示すステップS32を実行した状態を示す図であ
る。
FIG. 17 is a diagram showing a state where step S32 shown in FIG. 9 is executed when the node “011” is set as a processing target node.

【図18】節点「011」を処理対象節点としたときの
図9に示すステップS34,S35を実行した状態を示
す図である。
FIG. 18 is a diagram showing a state in which steps S34 and S35 shown in FIG. 9 are executed when the node “011” is set as a processing target node.

【図19】節点「010」を処理対象節点としたときの
図9に示すステップS32を実行した状態を示す図であ
る。
FIG. 19 is a diagram showing a state where step S32 shown in FIG. 9 is executed when the node “010” is set as a processing target node.

【図20】節点「010」を処理対象節点としたときの
図9に示すステップS36を実行した状態を示す図であ
る。
FIG. 20 is a diagram showing a state where step S36 shown in FIG. 9 is executed when the node “010” is set as a processing target node.

【図21】節点「011」を処理対象節点としたときの
図9に示すステップS36を実行した状態を示す図であ
る。
FIG. 21 is a diagram showing a state in which step S36 shown in FIG. 9 is executed when the node “011” is set as a processing target node.

【図22】節点「001」を処理対象節点としたときの
図9に示すステップS36を実行した状態を示す図であ
る。
FIG. 22 is a diagram showing a state where step S36 shown in FIG. 9 is executed when the node “001” is set as a processing target node.

【図23】節点「000」を処理対象節点としたときの
図9に示すステップS36を実行した状態を示す図であ
る。
FIG. 23 is a diagram showing a state where step S36 shown in FIG. 9 is executed when the node “000” is set as a processing target node.

【図24】節点「000」を処理対象節点としたときの
図9に示すステップS32を実行した状態を示す図であ
る。
FIG. 24 is a diagram showing a state where step S32 shown in FIG. 9 is executed when the node “000” is set as a processing target node.

【図25】節点「000」を処理対象節点としたときの
図9に示すステップS34,S35を実行した状態を示
す図である。
25 is a diagram showing a state in which steps S34 and S35 shown in FIG. 9 are executed when the node “000” is set as a processing target node.

【図26】節点「000」を処理対象節点としたときの
図9に示すステップS36を実行した状態を示す図であ
る。
FIG. 26 is a diagram showing a state where step S36 shown in FIG. 9 is executed when the node “000” is set as a processing target node.

【図27】孤立した節点を含むグループ構成を示す図で
ある。
FIG. 27 is a diagram showing a group structure including isolated nodes.

【図28】複数のグループについてそれぞれ一巡経路が
形成された状態を示す図である。
FIG. 28 is a diagram showing a state in which a loop route is formed for each of a plurality of groups.

【図29】図28に示す4つのグループを接続するため
に、グループ間遷移路TT1,TT2,TT3を定義し
た状態を示す図である。
29 is a diagram showing a state in which inter-group transition paths TT1, TT2, TT3 are defined in order to connect the four groups shown in FIG.

【図30】複数のグループが構成される場合の本発明に
係る解析用波形生成方法の基本手順を示す流れ図であ
る。
FIG. 30 is a flowchart showing the basic procedure of the analysis waveform generating method according to the present invention when a plurality of groups are formed.

【図31】図30に示す流れ図におけるステップS5の
統括一巡経路を求める具体的な手法の一例を示す流れ図
である。
FIG. 31 is a flowchart showing an example of a specific method for obtaining an integrated loop route in step S5 in the flowchart shown in FIG. 30.

【図32】それぞれが複数の節点を含む3つのグループ
構成の一例を示す図である。
FIG. 32 is a diagram showing an example of three group configurations each including a plurality of nodes.

【図33】図32に示す3つのグループを接続するため
のグループ間遷移路の一例を示す図である。
33 is a diagram showing an example of an inter-group transition path for connecting the three groups shown in FIG. 32.

【図34】図32に示す3つのグループについて、図3
1の流れ図に示す手法を適用して定義されたグループ間
遷移路の一例を示す図である。
FIG. 34 shows three groups shown in FIG.
6 is a diagram showing an example of an inter-group transition path defined by applying the method shown in the flowchart of FIG.

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

1〜4…論理ゲート A〜C…入力信号 G1〜G4…グループ Q…出力信号 T1〜T12…登録済遷移路 Ta〜Ti…未登録遷移路 TT1〜TT3…グループ間遷移路 TTa〜TTd…グループ間遷移路 a〜z…節点 1 to 4 ... Logic gates A to C ... Input signals G1 to G4 ... Group Q ... Output signals T1 to T12 ... Registered transition path Ta to Ti ... Unregistered transition path TT1 to TT3 ... Inter-group transition path TTa to TTd ... Group Transition path a to z ... Node

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の論理ゲートを組み合わせてなる組
み合わせ論理回路について、入力信号波形と出力信号波
形とからなる解析用波形を生成する方法であって、 前記論理回路について、入力信号パターンと出力信号パ
ターンとの対応関係を示す真理値表を作成する第1の段
階と、 1つの入力信号パターンを1節点に対応させ、前記真理
値表内の複数の入力信号パターンを複数の節点として表
現し、互いのハミング距離が1であり、かつ、前記真理
値表において対応づけられた出力信号パターンが互いに
異なる、という2条件を満たす一対の節点間に、一方か
ら他方へ向かう遷移路と他方から一方へ向かう遷移路と
からなる方向性をもった一対の遷移路を定義し、これら
の遷移路によって互いに結合された一群の節点からなる
グループを構成する第2の段階と、 定義されたすべての遷移路を順方向にたどりながら、前
記グループを構成するすべての節点を通る一巡経路を求
める第3の段階と、 前記一巡経路に沿った節点の順に、入力信号パターンを
遷移させることにより入力信号波形を生成し、前記真理
値表に基づいて、生成した入力信号波形に対応する出力
信号波形を生成する第4の段階と、 を有することを特徴とする組み合わせ論理回路における
解析用波形生成方法。
1. A method for generating an analysis waveform composed of an input signal waveform and an output signal waveform for a combinational logic circuit formed by combining a plurality of logic gates, wherein the logic circuit has an input signal pattern and an output signal. A first step of creating a truth table showing a correspondence relationship with a pattern, one input signal pattern is made to correspond to one node, and a plurality of input signal patterns in the truth table are expressed as a plurality of nodes, Between the pair of nodes satisfying the two conditions that the mutual Hamming distance is 1 and the output signal patterns associated in the truth table are different from each other, a transition path from one to the other and one from the other to the one Defining a pair of directional transition paths consisting of a transition path going to each other, and forming a group consisting of a group of nodes connected to each other by these transition paths A second step, a third step in which all defined transition paths are traced in the forward direction to obtain a round path that passes through all the nodes that make up the group, and the nodes along the round path are arranged in this order. A fourth step of generating an input signal waveform by transitioning the input signal pattern, and generating an output signal waveform corresponding to the generated input signal waveform based on the truth table. Waveform generation method for analysis in combinatorial logic circuit.
【請求項2】 請求項1に記載の解析用波形生成方法に
おいて、一巡経路を求める第3の段階で、 処理対象節点から隣接節点へ向かう未登録遷移路がない
場合にはこの処理を直ちに完了し、処理対象節点から隣
接節点へ向かう未登録遷移路がある場合には、この未登
録遷移路を登録し、前記隣接節点が過去に処理対象にな
ったことがなければ下記(a) ,(b) の2つの作業を実行
した後に前記隣接節点から前記処理対象節点へ戻る遷移
路を登録し、前記隣接節点が過去に処理対象になったこ
とがあれば下記(a) ,(b) の2つの作業を実行せずに前
記隣接節点から前記処理対象節点へ戻る遷移路を登録す
る、 という処理を、任意の節点から始めて再帰的に全節点に
ついて行い、登録された遷移路を登録順に結合すること
により一巡経路を求めるようにしたことを特徴とする組
み合わせ論理回路における解析用波形生成方法、(a) 前
記隣接節点から前記処理対象節点へ向かう未登録遷移路
を消去する作業、(b) 前記隣接節点を新たな処理対象と
して前記処理を再帰的に実行する作業。
2. The method for generating a waveform for analysis according to claim 1, wherein in the third step of determining a loop path, if there is no unregistered transition path from the processing target node to the adjacent node, this processing is immediately completed. However, if there is an unregistered transition path from the processing target node to the adjacent node, this unregistered transition path is registered, and if the adjacent node has never been the processing target in the past, (a), ( After performing the two operations of b), register a transition path that returns from the adjacent node to the processing target node, and if the adjacent node has been a processing target in the past, the following (a) and (b) The process of registering a transition path that returns from the adjacent node to the processing target node without executing two tasks is performed recursively for all nodes starting from any node, and the registered transition paths are combined in the order of registration. So that a round trip route is obtained by A method for generating a waveform for analysis in a combinational logic circuit characterized in that, (a) work of erasing an unregistered transition path from the adjacent node to the processing target node, (b) the adjacent node as a new processing target Work for recursively executing the above processing.
【請求項3】 請求項1または2に記載の解析用波形生
成方法において、第2の段階で互いに独立した複数のグ
ループが構成された場合に、 個々のグループごとに第3の段階を実行してそれぞれ一
巡経路を求め、1つのグループ内の特定の1節点と別な
グループ内の特定の1節点とを相互に接続するグループ
間遷移路を定義することにより、個々のグループが所定
の順序で一列に接続されるようにし、全グループに属す
るすべての節点を通る統括一巡経路を求めるようにし、 第4の段階では、前記統括一巡経路に沿った節点の順
に、入力信号パターンを遷移させることにより入力信号
波形を生成し、真理値表に基づいて、生成した入力信号
波形に対応する出力信号波形を生成するようにしたこと
を特徴とする組み合わせ論理回路における解析用波形生
成方法。
3. The analysis waveform generating method according to claim 1, wherein when a plurality of groups independent of each other are formed in the second step, the third step is executed for each individual group. Each of the groups is determined in a predetermined order by defining a transition path between groups that connects one specific node in one group and one specific node in another group. In a fourth step, the input signal pattern is changed in the order of the nodes along the integrated loop route in the fourth step so that the integrated loop route passing through all the nodes belonging to all groups is obtained. Analysis in combinational logic circuit characterized by generating an input signal waveform and generating an output signal waveform corresponding to the generated input signal waveform based on a truth table Waveform generation method.
【請求項4】 請求項3に記載の解析用波形生成方法に
おいて、統括一巡経路を求める処理を行う際に、 任意のグループを1つ選択し、この選択したグループに
属する各節点の中から、最も小さいハミング距離で他の
グループに属する節点とグループ間遷移路で接続できる
ものを決定し、 1本のグループ間遷移路もしくは複数本連結されたグル
ープ間遷移路の両端点を構成する一対の節点のうち、最
も小さいハミング距離で他の未接続グループに属する節
点と新たなグループ間遷移路で接続できるものを決定
し、この新たなグループ間遷移路を一方の端点に連結す
る、という処理を、全グループ間がグループ間遷移路に
よって連結されるまで繰り返し実行し、 すべての一巡経路とすべてのグループ間遷移路とによ
り、統括一巡経路を構成するようにしたことを特徴とす
る組み合わせ論理回路における解析用波形生成方法。
4. The method for generating a waveform for analysis according to claim 3, wherein when performing a process for obtaining a general loop route, one arbitrary group is selected, and from among the nodes belonging to the selected group, A node that belongs to another group with the smallest hamming distance and that can be connected by an inter-group transition path is determined, and a pair of nodes that configure both end points of one inter-group transition path or multiple inter-group transition paths. Among these, the process of connecting the node belonging to the other unconnected group and the new inter-group transition path with the smallest Hamming distance, and connecting this new inter-group transition path to one end point, Repeatedly executed until all groups are connected by an inter-group transition path, and all loop paths and all inter-group transition paths form a general loop path. A method of generating a waveform for analysis in a combinational logic circuit characterized by the above.
JP8883396A 1996-03-18 1996-03-18 Analysis Waveform Generation Method for Combinational Logic Circuit Expired - Fee Related JP3597635B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8883396A JP3597635B2 (en) 1996-03-18 1996-03-18 Analysis Waveform Generation Method for Combinational Logic Circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8883396A JP3597635B2 (en) 1996-03-18 1996-03-18 Analysis Waveform Generation Method for Combinational Logic Circuit

Publications (2)

Publication Number Publication Date
JPH09257885A true JPH09257885A (en) 1997-10-03
JP3597635B2 JP3597635B2 (en) 2004-12-08

Family

ID=13953956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8883396A Expired - Fee Related JP3597635B2 (en) 1996-03-18 1996-03-18 Analysis Waveform Generation Method for Combinational Logic Circuit

Country Status (1)

Country Link
JP (1) JP3597635B2 (en)

Also Published As

Publication number Publication date
JP3597635B2 (en) 2004-12-08

Similar Documents

Publication Publication Date Title
US5787268A (en) Interactive circuit designing apparatus
US8225246B2 (en) Logic injection
US6470486B1 (en) Method for delay-optimizing technology mapping of digital logic
EP1916534B1 (en) Verification and generation of timing exceptions
US6604227B1 (en) Minimal level sensitive timing abstraction model capable of being used in general static timing analysis tools
JP3515727B2 (en) Logic circuit failure location estimation system and method, and machine-readable recording medium recording program
US6618841B1 (en) Non-assignable signal support during formal verification of circuit designs
CN104486222B (en) Small time delay defect test critical path system of selection based on ant colony optimization algorithm
JP3246865B2 (en) Static timing analyzer and method
JP2001101260A (en) Method for verifying combination loop system
JPH09114869A (en) System and method for logical circuit verification
US6874134B1 (en) Conversion of an HDL sequential truth table to generic HDL elements
JP3597635B2 (en) Analysis Waveform Generation Method for Combinational Logic Circuit
US6877040B1 (en) Method and apparatus for testing routability
JP3808129B2 (en) Truth table creation device in combinational logic circuit
TWI719917B (en) Processing method for applying analog dynamic circuit to digital testing tool
Sheeran Finding regularity: describing and analysing circuits that are not quite regular
Yoeli Specification and verification of asynchronous circuits using marked graphs
US20030066000A1 (en) Failure propagation path estimate system
CN114064654A (en) Method for establishing logic relation system of integrated circuit and query method
Aarna et al. Parallel fault simulation of digital circuits
Sinha et al. Sequential SPFDs
JP2845173B2 (en) Logical collation method
Barbhaya et al. An Open-Source Static Timing Analysis EDA Tool for Digital System Design
JP2000113016A (en) Logic equivalency verifying method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040720

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040907

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees