JPH04112270A - Bisecting decision graph simplifying method - Google Patents

Bisecting decision graph simplifying method

Info

Publication number
JPH04112270A
JPH04112270A JP2231294A JP23129490A JPH04112270A JP H04112270 A JPH04112270 A JP H04112270A JP 2231294 A JP2231294 A JP 2231294A JP 23129490 A JP23129490 A JP 23129490A JP H04112270 A JPH04112270 A JP H04112270A
Authority
JP
Japan
Prior art keywords
decision graph
binary decision
variables
bisecting
graph
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2231294A
Other languages
Japanese (ja)
Inventor
Masahiro Fujita
昌宏 藤田
Yusuke Matsunaga
松永 裕介
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2231294A priority Critical patent/JPH04112270A/en
Publication of JPH04112270A publication Critical patent/JPH04112270A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To further reduce a bisecting decision graph by deciding a temporary variable order for the bisecting decision graph, finding the further improved variable order, and searching the bisecting decision graph according to this variable order. CONSTITUTION:The initial value of the variable order is obtained by a heuristic method, and the bisecting decision is prepared according to this variable order. Next, when the variables adjacent to this bisecting decision graph are successively exchanged, and the exchanged result is more satisfactory than the bisecting decision graph before the variables are exchanged (that is, the bisecting decision graph is reduced), the exchanging operation is repeated until the exchanged result is not improved any more. Thus, the satisfactory variable order can be obtained and the size of the bisecting decision graph can be reduced.

Description

【発明の詳細な説明】 〔概  要〕 計算機での論理関数の表現手段の1つである2分決定グ
ラフを縮小化するための、2分決定グラフの簡単化方法
に関し、 2分決定グラフのより良い変数順を得ることで、2分決
定グラフの一層の縮小化を可能にすることを目的とし、 与えられた論理関数から、一度、2分決定グラフを生成
し、その後、必要な操作を該2分決定グラフに施しなが
ら変数順の変更を繰り返すことで、より良い変数順に対
する2分決定グラフを生成するように構成する。
[Detailed Description of the Invention] [Summary] This invention relates to a method for simplifying a binary decision graph, which is one of the means of expressing logical functions in a computer, and relates to a method for simplifying a binary decision graph. The aim is to further reduce the binary decision graph by obtaining a better ordering of variables. By repeating changes in the variable order while applying the process to the binary decision graph, a binary decision graph with a better variable order is generated.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機での論理関数の表現手段の1つである
2分決定グラフを縮小化するための、2分決定グラフの
簡単化方法に関する。
The present invention relates to a method for simplifying a binary decision graph, which is one means of expressing logical functions in a computer.

論理関数を計算機上で効率良く表現することは、各種の
論理設計支援技術、例えば、論理照合、論理検証、論理
回路簡単化、テスト生成等の応用において、極めて重要
である。また、特に論理照合や論理回路簡単化は、論理
設計支援技術の中心をなすものである。
Efficiently representing logic functions on a computer is extremely important in the application of various logic design support techniques, such as logic verification, logic verification, logic circuit simplification, and test generation. In addition, logic verification and logic circuit simplification in particular are central to logic design support technology.

(従 来 の 技 術〕 計算機での論理関数の表現方法として、真理値表、積和
形論理式、2分決定グラフ等が開発されている。この中
で、2分決定グラフは、良い変数順が与えられれば、最
も大きな論理関数を表現できる。
(Conventional technology) Truth tables, sum-of-products formulas, binary decision graphs, etc. have been developed as methods for expressing logical functions on computers. Given an order, we can express the largest logical function.

2分決定グラフとは、決定木において場合分けする変数
順を全てのパスで固定することによってサブグラフを共
有する(もとは木だが、共有することでグラフとなる)
ことでコンパクトに論理関数を表現すると共に、正規形
となる(すなわち、もとの論理が同じであれば、2分決
定グラフに変換した結果が同型になる)ようにした、論
理関数の表現手法である。
A binary decision graph is a decision tree that shares a subgraph by fixing the order of variables for case classification in all paths (originally it is a tree, but by sharing it becomes a graph)
A method for expressing logical functions that allows logical functions to be expressed compactly and in normal form (that is, if the original logic is the same, the result of converting to a binary decision graph will be isomorphic). It is.

2分決定グラフの一例を第10図に示す。以下では、変
数は全て英小文字1文字に番号を付けたもので表現し、
積記号には「&」を、和記号には「+」を用い、否定は
否定を取るべき項の前に「〜」を付けるものとする。す
ると、第10図の2分決定グラフは、論理関数xl&x
2十〜X3を表現している。なお、図中の○ノードは各
変数に対応し、○の中の変数(例えば■ならxi)が0
の場合には0という記号の付いたエンジを辿り、1の場
合には1という記号の付いた工・ノジを辿ることとする
。その際、もし、■に辿り着く場合には、その論理関数
は1となり、回に辿り着く場合には、その論理関数は0
となる。場合分けの変数順が各パスで固定されているの
で、グラフを共有することができ、結果的にコンパクト
に論理関数を表現することができる。例えば、第10図
中でも、変数x3に対するノードは2つのエンジで指さ
れており、共有されている。
An example of a binary decision graph is shown in FIG. In the following, all variables are expressed as a single lowercase letter followed by a number.
"&" is used as a product symbol, "+" is used as a sum symbol, and "~" is added in front of the term to be negated for negation. Then, the binary decision graph in Fig. 10 is the logical function xl&x
It represents 20 to X3. Note that the ○ nodes in the diagram correspond to each variable, and the variable inside the ○ (for example, xi for ■) is 0.
In the case of , the engine with the symbol 0 is traced, and in the case of 1, the engine with the symbol 1 is traced. In that case, if we arrive at ■, the logical function becomes 1, and if we arrive at times, the logical function becomes 0.
becomes. Since the order of variables for case classification is fixed for each pass, graphs can be shared, and as a result, logical functions can be expressed compactly. For example, in FIG. 10, the node for variable x3 is pointed to by two engines and is shared.

[発明が解決しようとする課題〕 2分決定グラフでは、実用的な論理関数がコンパクトに
表現できるという長所がある反面9、場合分けに使用す
る変数順によって、グラフの大きさが大きく変化すると
いう問題がある。例えば、第11図に示すように、同じ
論理でも、その変数順によって、同図(a)のようにコ
ンパクトに表現できる場合もあるが、同図(b)のよう
に極めて大きくなってしまう変数順もある。従って、良
い変数順を使用することが重要となるが、最適変数順の
決定に関する問題は、NP完全問題に属することが分か
っており、変数の多い2分決定グラフでは、発見的手法
により変数順を決定する必要がある0回路の構造から比
較的良い変数順を決定する手法も開発されている(特開
平2−21367号公報参照)が、発見的手法であるた
めに、解の品質が悪い場合がある。特に、2分決定グラ
フを論理照合や論理回路の簡単化に応用する場合には、
変数順の良し悪しが性能を大きく左右する。
[Problem to be solved by the invention] Binary decision graphs have the advantage of being able to express practical logical functions compactly9, but on the other hand, the size of the graph changes greatly depending on the order of variables used for case classification. There's a problem. For example, as shown in Figure 11, even with the same logic, depending on the order of the variables, it may be possible to express it compactly as shown in Figure 11 (a), but the variables can become extremely large as shown in Figure 11 (b). There is also an order. Therefore, it is important to use a good variable order, but it is known that the problem of determining the optimal variable order belongs to an NP-complete problem. A method has also been developed to determine a relatively good order of variables from the structure of a zero circuit that requires determining There are cases. In particular, when applying binary decision graphs to logic matching and simplification of logic circuits,
The quality of variable order greatly affects performance.

本発明は、2分決定グラフのより良い変数順を得ること
で、2分決定グラフの一層の縮小化を可能にすることを
目的とする。
An object of the present invention is to obtain a better variable ordering of the binary decision graph, thereby making it possible to further reduce the size of the binary decision graph.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の処理の流れを第1図に示す。 FIG. 1 shows the process flow of the present invention.

本発明では、一度、2分決定グラフを適当な変数順で作
成し、その結果径られる2分決定グラフを操作しながら
変数順を改善していくことで、結果的により良い変数順
を求めることができる手法を提供する。すなわち、第1
図に示すように、まず、与えられた論理関数の構造等か
ら、発見的手法等により、一度、2分決定グラフのため
の仮の変数順を決定する(ステップSl )。続いて、
この変数順に従って、2分決定グラフの初期値を得る(
ステップSz)。その後、この2分決定グラフの形から
、どのように変数順を変化させた方が良いかを判断し、
それに従って変数順を改善すると共に、2分決定グラフ
の形の変更を行い、新しい変数順に従った2分決定グラ
フを求める。この操作を必要な回数繰り返すことで、よ
り一層改善された変数順を見出し、この変数順に従った
2分決定グラフを求めることにより、2分決定グラフの
縮小化を図る(ステップS3)。
In the present invention, a binary decision graph is created with an appropriate order of variables, and the variable order is improved while manipulating the resulting binary decision graph, thereby obtaining a better variable order. We provide a method that allows you to do this. That is, the first
As shown in the figure, first, based on the structure of a given logical function, etc., a temporary variable order for a binary decision graph is determined once using a heuristic method or the like (step Sl). continue,
According to this order of variables, the initial values of the binary decision graph are obtained (
step Sz). Then, from the shape of this binary decision graph, determine how best to change the order of variables,
The variable order is improved accordingly, the shape of the binary decision graph is changed, and a binary decision graph that follows the new variable order is obtained. By repeating this operation a necessary number of times, a further improved variable order is found, and a binary decision graph according to this variable order is obtained, thereby reducing the size of the binary decision graph (step S3).

以上に示した2分決定グラフの簡単化方法は、2分決定
グラフを論理関数の表現に利用して論理照合や論理回路
の簡単化を行う際における、2分決定グラフの作成に利
用することも可能である。
The method for simplifying binary decision graphs described above can be used to create binary decision graphs when performing logic matching or simplifying logic circuits by using binary decision graphs to express logical functions. is also possible.

〔作   用〕[For production]

従来のように発見的手法のみで変数順を決定した場合に
は、第11図に示したように、かなり良い変数順が得ら
れる場合もあるが、逆に、かなり質の悪い変数順が得ら
れる場合もある。その点、本発明による改善では、常に
、より良い変数順を得て、2分決定グラフの大きさを減
少させることが可能となる。
When determining the order of variables using only heuristic methods as in the past, as shown in Figure 11, there are cases in which a fairly good order of variables is obtained, but conversely, there are cases in which a very poor order of variables is obtained. In some cases, it may be. In that respect, the improvement according to the invention always makes it possible to obtain a better variable order and reduce the size of the binary decision graph.

このことから、2分決定グラフを論理関数の表現に利用
した論理照合、論理回路の簡単化、テスト生成等が、は
ぼグラフの大きさの減少分だけ高速に処理できるように
なる。また、グラフの太きさが減少する分、より大きな
回路が扱えるようになる。
From this, logic matching, logic circuit simplification, test generation, etc. using a binary decision graph to represent a logical function can be processed faster by the reduction in the size of the Habo graph. Also, as the thickness of the graph decreases, larger circuits can be handled.

(実  施  例〕 以下、本発明の実施例について、図面を参照しながら説
明する。
(Examples) Examples of the present invention will be described below with reference to the drawings.

最初に、本発明の一実施例として、隣合う変数どうしの
交換により変数順の改善を行う場合について、以下に述
べる。
First, as an embodiment of the present invention, a case where the order of variables is improved by exchanging adjacent variables will be described below.

まず、変数順の初期値として発見的手法により得られた
ものを用い、この変数順に従って2分決定グラフを作成
する。次に、この2分決定グラフにおける隣合う変数ど
うしを順次交換することで、その交換結果が交換する前
より良くなれば(すなわち、2分決定グラフが小さくな
るならば)、その交換を実際に行うという操作を、それ
以上改善されなくなるまで繰り返す。
First, using the initial values of the variable order obtained by a heuristic method, a binary decision graph is created according to this variable order. Next, by sequentially exchanging adjacent variables in this binary decision graph, if the exchange result is better than before the exchange (that is, if the binary decision graph becomes smaller), then the exchange is actually performed. Repeat this operation until there is no further improvement.

ここで、上記のように隣合う変数どうしを交換するには
、例えば以下に示すような手法を用いる。
Here, in order to exchange adjacent variables as described above, for example, the following method is used.

今、2分決定グラフにおいて、i番目とi+1番目の変
数の交換を行うとすると、現在の2分決定グラフの形に
よって、第2図に示すようにグラフの形を変更する。す
なわち、2分決定グラフをルートノード(根となる最初
のノード)から辿り、最初にi番目かi+1番目の変数
ノードに辿り着いた時のi番目とi+1番目の変数ノー
ドの接続のされ方に従って、第2図(a)〜(d)に示
すように、各場合毎に接続を変更する。例えば第3図(
a)に示す2分決定グラフに対し、上記第2図の規則を
適用してi番目とi+1番目の変数を交換すると、第3
図さ)に示す2分決定グラフが得られる。以上のような
変数交換を、例えば第4図に示すプロシージャに従って
順次適用することで、繰り返し改善を行っていくことが
できる。
If we now exchange the i-th and i+1-th variables in the binary decision graph, the shape of the graph is changed as shown in FIG. 2, depending on the current shape of the binary decision graph. In other words, trace the binary decision graph from the root node (the first node that becomes the root), and when you first arrive at the i-th or i+1-th variable node, follow the way the i-th and i+1-th variable nodes are connected. , the connections are changed in each case, as shown in FIGS. 2(a) to 2(d). For example, Figure 3 (
If we apply the rules in Figure 2 above and exchange the i-th and i+1-th variables to the binary decision graph shown in a), we get the third
The binary decision graph shown in Figure 1) is obtained. By sequentially applying the above-described variable exchange according to the procedure shown in FIG. 4, for example, improvements can be made iteratively.

従って、本実施例を実際の回路に適用すると、以上に述
べたような変数順の改善により、常に、10%から50
%程度、2分決定グラフの大きさを減少させることがで
きる。
Therefore, when this embodiment is applied to an actual circuit, the improvement in the order of variables as described above always improves the order of 10% to 50%.
The size of the binary decision graph can be reduced by about %.

なお、上記実施例では、隣合うi番目とi+1番目の変
数どうしを入れ換えるようにしたが、−般には、どこと
どこの変数を入れ換えるようにしてもよい。ただし、隣
合う変数どうしを入れ換えるようにした場合は、その2
つの部分だけを見て操作すればよいので、計算が簡単で
済むという利点がある。一方、互いに離れた2箇所の変
数を交換するようにした場合は、その2つの変数の中間
に存在する全ての変数を見て操作しなければならないと
いう面倒はあるが、その反面、結果的に良い変数順の得
られる可能性が高いという利点がある。
In the above embodiment, adjacent i-th and i+1-th variables are exchanged, but in general, variables may be exchanged. However, if adjacent variables are swapped, the second
It has the advantage of being easy to calculate because you only have to look at and operate on one part. On the other hand, when exchanging variables in two locations far from each other, there is a hassle of having to look at and manipulate all the variables that exist between the two variables, but on the other hand, the result is This has the advantage that there is a high possibility of obtaining a good variable order.

また、2つの変数に限らず、3つ以上の変数を互いに交
換するようにすることも可能である。
Moreover, it is also possible to exchange not only two variables but three or more variables with each other.

次に、上述したような2分決定グラフの簡単化手法を、
論理照合問題に適用する場合の一実施例について、第5
図および第6図を用いて説明する。
Next, we will use the method to simplify the binary decision graph as described above.
Regarding an example of application to logical matching problems, the fifth
This will be explained using FIG. 6 and FIG.

論理照合問題とは、第5図に示すように、入力INを同
じくする2つの組み合わせ回路C+、Czのそれぞれの
出力OUT 、、OUT、を比較することで、2つの組
み合わせ回路C+、Czの論理が一致するか否かを調べ
る問題であり、論理設計支援技術の中心をなすものであ
る。
As shown in Fig. 5, the logic comparison problem is to compare the respective outputs OUT,, OUT, of two combinational circuits C+ and Cz with the same input IN, and to solve the logic of two combinational circuits C+ and Cz. This is a problem of checking whether or not the two match, and is the core of logic design support technology.

従来から2分決定グラフを用いた論理照合手法は開発さ
れていたが、第6図(a)に示すように変数類を最初に
決定してしまい(ステップS++)、この変数類を後か
ら変更することなしに、2つの回路C3、C2について
2分決定グラフを作成しくステップ312、Sl:l)
、これらに基づき論理照合を行っていた(ステップ51
4)。その点、本実施例では、第6図(b)に示すよう
に、回路c1については従来と同様に2分決定グラフを
作成(ステ、7ブS21、S2□)した後で、前記実施
例の簡単化手法により変数類の改善′を行い(ステップ
523)、その結果得られた変数類で回路C2の2分決
定グラフを作成しくステップ5z−)、これらに基づき
論理照合を行う(ステップ525)。
Logical matching methods using binary decision graphs have been developed in the past, but as shown in Figure 6(a), variables are determined first (step S++) and these variables are changed later. Step 312, Sl: l) Create a binary decision graph for the two circuits C3 and C2 without
, a logical comparison was performed based on these (step 51
4). In this regard, in this embodiment, as shown in FIG. 6(b), after creating a binary decision graph for the circuit c1 in the same way as in the conventional case (Step 7, S21, S2□), The variables are improved by the simplification method (step 523), a binary decision graph of circuit C2 is created using the variables obtained as a result (step 5z-), and logic verification is performed based on these (step 525). ).

従って、本実施例の論理照合方法によれば、回路C2に
対する2分決定グラフの作成の際、変数類が改良されて
いる分だけ高速化が可能となり、結果的に全体の処理速
度を速めることができる。
Therefore, according to the logic matching method of this embodiment, when creating a binary decision graph for circuit C2, the speed can be increased by the improved variables, and as a result, the overall processing speed can be increased. I can do it.

次に、2分決定グラフで回路の構造から生じるドントケ
アを表現して回路を簡単化する、論理回路の簡単化手法
に、上述したような2分決定グラフの簡単化手法を適用
する場合の一実施例について、第7図および第8図を用
いて説明する。
Next, we will discuss how to apply the above-mentioned binary decision graph simplification method to a logic circuit simplification method that simplifies a circuit by expressing don't cares arising from the circuit structure using a binary decision graph. An example will be described using FIGS. 7 and 8.

回路の構造から生しるドントケアとは、例えば、第7図
(a)に示す回路において、2つの入力v1、F2の値
が1.0と1.1の場合には、同図Φ)(図中、Fl、
F2、F3、F4はそれぞれネットv1、F2、F3、
F4に対する論理関数の値を示す)に示すように、ネッ
トv3の論理関数F3の値をどのように決めても、出力
v4の論理間数F4が変化しないような場合を言う。こ
のように回路の構造から回路内のネットの論理を適当に
変更しても出力の論理は変化しないという性質を利用し
て、回路変換や冗長性除去を行うことができる。この際
、出力論理を変化させない範囲で、成るネットに許され
る論理関数の集合を、そのネ7)の許容関数と言う。例
えば第7図(a)の回路において、不ツ)F3の許容関
数PF3は〔00**]と表すことができる(なお、*
はドントケアを示す)。この許容関数を用いれば、効率
的に論理関数を簡単化できる。
For example, in the circuit shown in FIG. 7(a), if the values of the two inputs v1 and F2 are 1.0 and 1.1, the don't care that arises from the circuit structure is In the figure, Fl,
F2, F3, F4 are net v1, F2, F3, respectively.
This is a case in which the logical function F4 of the output v4 does not change no matter how the value of the logical function F3 of the net v3 is determined, as shown in (showing the value of the logical function for F4). In this way, circuit conversion and redundancy removal can be performed by utilizing the property that the output logic does not change even if the logic of the net in the circuit is changed appropriately based on the circuit structure. At this time, the set of logic functions allowed for the net without changing the output logic is called the allowable function of the net 7). For example, in the circuit of FIG. 7(a), the tolerance function PF3 of F3 can be expressed as [00**] (note that *
indicates don't care). By using this tolerance function, logical functions can be efficiently simplified.

従来から、許容関数の表現に2分決定グラフを用いた論
理回路の簡単化手法は知られているが、この手法では、
第8図(a)に示すように2分決定グラフの変数類を最
初に決定してしまい(ステップ531) 、この変数類
に従って論理関数を2分決定グラフで表現(ステップ5
32) シた後、変数類を変更することなしに、この論
理関数から2分決定グラフで許容関数を表現しくステッ
プ533)、この許容関数を用いて回路の簡単化を図っ
ていた(ステップ534)。その点、本実施例では、第
8図ら)に示すように、処理の途中で、2分決定グラフ
で使用する変数類の改善を行うようにする。すなわち、
従来と同様に論理関数を2分決定グラフで表現(ステッ
プSa+、542) シた後、前記実施例の簡単化手法
により変数類の改善を行い(ステップ543) 、その
変数類からなる2分決定グラフで表現した論理関数から
許容関数を計算しくステップ544)、この許容関数を
用いて回路の簡単化を図る(ステップ545)。
A method for simplifying logic circuits that uses binary decision graphs to represent admissible functions has long been known, but in this method,
As shown in FIG. 8(a), the variables of the binary decision graph are first determined (step 531), and the logical function is expressed in the binary decision graph according to these variables (step 5).
32) After that, without changing the variables, a tolerable function is expressed using a binary decision graph from this logic function (step 533), and this tolerable function is used to simplify the circuit (step 534). ). In this regard, in this embodiment, as shown in FIG. 8, etc., the variables used in the binary decision graph are improved during the process. That is,
After expressing the logical function as a binary decision graph as in the past (step Sa+, 542), the variables are improved using the simplification method of the above embodiment (step 543), and a binary decision made from the variables is created. A tolerance function is calculated from the logical function expressed in the graph (step 544), and the circuit is simplified using this tolerance function (step 545).

従って、本実施例の論理回路の簡単化方法によれば、許
容関数を計算する際、およびその後の冗長性を除去する
際、変数類が改良されている分だけ高速化が可能となり
、結果的に全体の処理速度を速めることができる。
Therefore, according to the logic circuit simplification method of this embodiment, when calculating the tolerance function and removing redundancy thereafter, it is possible to speed up the process by the improved variables, and as a result, can speed up the overall processing speed.

なお、変数類の改善は、許容関数を計算した後に更に行
うようにしてもよい。
Note that the variables may be further improved after calculating the tolerance function.

なお、本発明は、第9図(a)、ら)に示すような通常
の2分決定グラフに対してだけでなく、同図(c)に示
すように同図(a)、(b)の各グラフを共有した構造
を持つ共有2分決定グラフや、同図(d)に示す否定エ
ツジ付きの共有2分決定グラフ等のような、拡張された
2分決定グラフに対しても、全く同じように適用するこ
とができる。
The present invention is applicable not only to ordinary binary decision graphs as shown in FIGS. 9(a) and 9(b), but also to Even for extended binary decision graphs, such as a shared binary decision graph with a structure that shares each graph of The same can be applied.

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

本発明の2分決定グラフの簡単化方法によれば、変数類
の改善により、常に、2分決定グラフの大きさを減少さ
せることができる。
According to the method for simplifying a binary decision graph of the present invention, the size of a binary decision graph can always be reduced by improving the variables.

また、この簡単化方法を、2分決定グラフを用いた論理
照合や論理回路の簡単化に通用することにより、それら
の処理時間を大幅に減少させることができると共に、よ
り大きな回路を取り扱うことが可能になる。
Furthermore, by applying this simplification method to logic matching using binary decision graphs and simplification of logic circuits, it is possible to significantly reduce the processing time, and it is also possible to handle larger circuits. It becomes possible.

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

第1図は本発明の2分決定グラフの簡単化方法における
処理の流れを示すフローチャート、第2図(a)〜(d
)は本発明の2分決定グラフの簡単化方法の一実施例に
おける、隣合う変数どうしの交換規則を示す図、 第3図(a)、(b)は第2図の規則を適用する前と適
用した後の2分決定グラフを示す図、 第4図は隣合う変数どうしの交換を行う際の適用順の一
例を示す図、 第5図は論理照合問題を示す図、 第6図(a)、(b)は従来の論理照合方法と本発明の
論理照合方法の一実施例におけるそれぞれの処理の流れ
を示すフローチャート、 第7図(a)、(b)は許容関数を説明するための回路
の一例と、この回路の各ネットにおける許容関数を示す
図、 第8図(a)、(b)は従来の論理回路簡単化方法と本
発明の論理回路簡単化方法の一実施例におけるそれぞれ
の処理の流れを示すフローチャート、第9図(a)〜(
d)は本発明を適用可能な各種の2分決定グラフを示す
図、 第10図は2分決定グラフの一例を示す図、第11図(
a)、(b)はそれぞれ最適の変数順と最悪の変数順に
従って作成された各2分決定グラフを示す図である。
FIG. 1 is a flowchart showing the process flow in the method for simplifying binary decision graphs of the present invention, and FIGS. 2(a) to (d)
) is a diagram showing the rules for exchanging adjacent variables in one embodiment of the method for simplifying binary decision graphs of the present invention. Figures 3(a) and (b) are diagrams before applying the rules in Figure 2. Figure 4 is a diagram showing an example of the application order when exchanging adjacent variables, Figure 5 is a diagram showing a logical matching problem, Figure 6 is a diagram showing a binary decision graph after applying a) and (b) are flowcharts showing the respective processing flows in a conventional logical matching method and an embodiment of the logical matching method of the present invention, and FIGS. 7(a) and (b) are for explaining the tolerance function. Figures 8(a) and 8(b) show an example of the circuit and the allowable functions in each net of this circuit. Flowcharts showing the flow of each process, Figures 9(a) to (
d) is a diagram showing various binary decision graphs to which the present invention can be applied, FIG. 10 is a diagram showing an example of a binary decision graph, and FIG.
Figures a) and (b) are diagrams showing binary decision graphs created according to the optimal variable order and the worst variable order, respectively.

Claims (1)

【特許請求の範囲】 1)与えられた論理関数から、一度、2分決定グラフを
生成し、その後、必要な操作を該2分決定グラフに施し
ながら変数順の変更を繰り返すことで、より良い変数順
に対する2分決定グラフを生成することを特徴とする2
分決定グラフの簡単化方法。 2)2分決定グラフを論理関数の表現に利用して論理照
合を行う際、該2分決定グラフを、請求項1記載の2分
決定グラフの簡単化方法により生成することを特徴とす
る論理照合方法。 3)2分決定グラフを論理関数の表現に利用して論理回
路の簡単化を行う際、該2分決定グラフを、請求項1記
載の2分決定グラフの簡単化方法により生成することを
特徴とする論理回路の簡単化方法。
[Claims] 1) A binary decision graph is generated once from a given logical function, and then the order of variables is repeatedly changed while performing necessary operations on the binary decision graph. 2 characterized in that it generates a binary decision graph for the order of variables.
How to simplify minute decision graphs. 2) Logic characterized in that when performing logic matching using a binary decision graph to represent a logical function, the binary decision graph is generated by the method for simplifying a binary decision graph according to claim 1. Matching method. 3) When simplifying a logic circuit by using a binary decision graph to represent a logical function, the binary decision graph is generated by the method for simplifying a binary decision graph according to claim 1. A method for simplifying logic circuits.
JP2231294A 1990-08-31 1990-08-31 Bisecting decision graph simplifying method Pending JPH04112270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2231294A JPH04112270A (en) 1990-08-31 1990-08-31 Bisecting decision graph simplifying method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2231294A JPH04112270A (en) 1990-08-31 1990-08-31 Bisecting decision graph simplifying method

Publications (1)

Publication Number Publication Date
JPH04112270A true JPH04112270A (en) 1992-04-14

Family

ID=16921358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2231294A Pending JPH04112270A (en) 1990-08-31 1990-08-31 Bisecting decision graph simplifying method

Country Status (1)

Country Link
JP (1) JPH04112270A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5712792A (en) * 1995-04-21 1998-01-27 Hitachi, Ltd. Logic circuit sythesizing method utilizing binary decision diagram explored based upon hierarchy of correlation between input variables
US6260185B1 (en) 1995-04-21 2001-07-10 Hitachi, Ltd. Method for designing semiconductor integrated circuit and automatic designing device
US6845349B1 (en) 1995-04-21 2005-01-18 Renesas Technology Corp. Method for designing semiconductor integrated circuit and automatic designing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5712792A (en) * 1995-04-21 1998-01-27 Hitachi, Ltd. Logic circuit sythesizing method utilizing binary decision diagram explored based upon hierarchy of correlation between input variables
US6260185B1 (en) 1995-04-21 2001-07-10 Hitachi, Ltd. Method for designing semiconductor integrated circuit and automatic designing device
US6845349B1 (en) 1995-04-21 2005-01-18 Renesas Technology Corp. Method for designing semiconductor integrated circuit and automatic designing device

Similar Documents

Publication Publication Date Title
Amarú et al. Majority-inverter graph: A novel data-structure and algorithms for efficient logic optimization
Brayton et al. An exact minimizer for Boolean relations
US10089426B2 (en) Logic circuit generation device and method
Burns Performance analysis and optimization of asynchronous circuits
US5461574A (en) Method of expressing a logic circuit
Sato et al. Boolean resubstitution with permissible functions and binary decision diagrams
WO2015124963A1 (en) Majority logic synthesis
JP3741544B2 (en) Sequential circuit state search method and apparatus, and recording medium storing state search program
JPH04112270A (en) Bisecting decision graph simplifying method
Possani et al. Optimizing transistor networks using a graph-based technique
Háleček et al. Towards AND/XOR balanced synthesis: Logic circuits rewriting with XOR
Bandyopadhyay et al. ESOP-based synthesis of reversible circuit using improved cube list
Kauffman Knot automata
EP0413831B1 (en) Method of optimising logic circuit
CN109558656B (en) Quantum reversible circuit synthesis method based on Boolean expression diagram
Matsunaga et al. Multi-level logic minimization across latch boundaries
Ma et al. Power optimization based on dual-logic using And-Xor-Inverter Graph
JP2839574B2 (en) Matching method for logic circuits containing indefinite values
JPH07120365B2 (en) Optimization processing method for multi-stage logic circuit
JPH057747B2 (en)
JPH0991315A (en) Verification data generating method for logical device
Pavaiyarkarasi et al. High speed and low power 8 bits-Dadda Multiplier using Square root Carry Select Adder with Binary to Excess one Converter
Kawaguchi Design and Verification of Single-Flux-Quantum Digital Circuits Using Clocked and Clockless Gates
Xinhua et al. Verification-oriented ROBDD operation design
JPH04124775A (en) Method for generating logic circuit