JPH03278180A - Method and device for logic synthesis - Google Patents

Method and device for logic synthesis

Info

Publication number
JPH03278180A
JPH03278180A JP2076622A JP7662290A JPH03278180A JP H03278180 A JPH03278180 A JP H03278180A JP 2076622 A JP2076622 A JP 2076622A JP 7662290 A JP7662290 A JP 7662290A JP H03278180 A JPH03278180 A JP H03278180A
Authority
JP
Japan
Prior art keywords
conversion
circuit
conversion rule
logic
modification
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
JP2076622A
Other languages
Japanese (ja)
Inventor
Takeshi Kitahara
健 北原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2076622A priority Critical patent/JPH03278180A/en
Publication of JPH03278180A publication Critical patent/JPH03278180A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the design time by automatically generating a conversion rule for synthesis of a corrected logic circuit at the time when the correction reason of the logic circuit to be corrected is true in the case of correction of trouble in the synthesized logic circuit. CONSTITUTION:A new conversion rule generating part 10 generates the conversion rule, by which the logic circuit whose trouble is corrected is accurately synthesized in accordance with inputted function specification information, based on information given from a correction information storage part 8 and information given from a conversion history storage part 9. The generated conversion rule is registered without contention to already prepared conversion rules. thus, the conversion rule is corrected and added without manual operation to not only reduce the burden to a designer but also shorten the design time.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、変換ルールにしたがって論理回路を合成す
る論理合成方法及びその装置に関し、特に合成された論
理回路を修正した際に修正後の論理回路を論理合成する
変換ルールを自動的に作成する論理合成方法及びその装
置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a logic synthesis method and device for synthesizing logic circuits according to conversion rules, and particularly relates to The present invention relates to a logic synthesis method and apparatus for automatically creating conversion rules for logic synthesis of a logic circuit after modification.

(従来、の技術) LSIの詳細な論理を人手により設置1することは、通
常非常に多くの労力と時間を要する仕事である。このた
め、従来ては、このような仕事をコンピュータを用いた
論理合成装置に行なわせるようにしている。
(Conventional Technology) Manually installing the detailed logic of an LSI is usually a task that requires a great deal of effort and time. For this reason, conventionally, such work has been performed by a logic synthesis device using a computer.

論理合成装置は、論理設計しようとする回路の機能仕様
情報を入力し、この情報を変換ルールにより順次変換し
て、先に入力された機能仕様を実現する論理回路を合成
する。変換ルールは機能仕様情報から論理回路を生成す
るために必要な規則からなり、変換ルール群の知識ベー
スとして装置に与えられている。
The logic synthesis device inputs functional specification information of a circuit to be logically designed, sequentially converts this information according to conversion rules, and synthesizes a logic circuit that realizes the previously input functional specifications. Conversion rules consist of rules necessary to generate a logic circuit from functional specification information, and are given to the device as a knowledge base of a group of conversion rules.

このような論理合成装置によって論理合成された論理回
路にあって、設計者の満足が得られない不具合な点が発
生する場合には、入力された機能仕様情報を論理回路へ
と変換していく変換ルールに問題があることになる。こ
のため、論理合成後に設計者が満足するように不具合が
生じた箇所を修正しても、再度論理合成を実行すると同
様の不具合が発生する。すなわち、機能仕様情報の修正
を行ない、再度論理合成を実行した場合には、同様の修
正を再び行なわなくてはならなかった。
If a defect occurs that does not satisfy the designer in a logic circuit synthesized by such a logic synthesis device, the input functional specification information is converted into a logic circuit. There is a problem with the conversion rules. Therefore, even if the defective part is corrected to the designer's satisfaction after logic synthesis, the same defect will occur when logic synthesis is performed again. That is, when the functional specification information is corrected and logic synthesis is executed again, the same correction has to be made again.

したがって、不具合が生じない論理回路を得るためには
、変換ルールの修正あるいは追加を行なう必要があった
Therefore, in order to obtain a logic circuit that does not cause any defects, it is necessary to modify or add conversion rules.

変換ルールの修正、追加を行なう場合には、まず、入力
された機能仕様情報から論理回路が合成されるまでの合
成過程を検討し、合成された論理回路に不具合な点を生
じせしめた変換ルールを見つけ出す。続いて、この変換
ルールを不具合が生じないように修正し、あるいは変換
ルールの修正だけでは解決できない場合には、既存の変
換ルールを基にして新たに変換ルールを作成して、既存
の変換ルールに対して追加登録する。その後、再度論理
合成を実行して、不具合が発生しない論理回路が合成さ
れることを確認するといった一連の極めて労力の要する
作業を行なわなければならない。
When modifying or adding conversion rules, first consider the synthesis process from the input functional specification information to the synthesis of the logic circuit, and identify the conversion rules that caused defects in the synthesized logic circuit. Find out. Next, modify this conversion rule so that the problem does not occur, or if the problem cannot be solved by modifying the conversion rule alone, create a new conversion rule based on the existing conversion rule, and then modify the existing conversion rule. Additional registration for. Thereafter, a series of extremely labor-intensive tasks must be performed, such as performing logic synthesis again to ensure that a fault-free logic circuit is synthesized.

従来、このような作業は設計者が行なっていた。Traditionally, this kind of work was performed by designers.

このため、論理合成という本来の作業の他に余分な作業
を設計者に強いることになる。
Therefore, the designer is forced to perform extra work in addition to the original work of logic synthesis.

さらに、このような作業を行なうことにより、論理合成
に不要な時間が費やされ、論理合成に時間がかかってい
た。
Furthermore, by performing such work, unnecessary time is spent on logic synthesis, and logic synthesis takes time.

(発明が解決しようとする課題) 以上説明したように、従来の論理合成装置にあっては、
合成された論理回路に生じた不具合な箇所を解消するた
めには、不具合が発生する毎に発生した不具合を修正す
るか、あるいは不具合を生じせしめた変換ルールの修正
、追加を設計者臼らが行なっていた。このため、設計者
は論理合成の作業以外に二次的な労力の要する作業を行
なわなければならず、設計者に大きな負担となっていた
。さらに、このような作業を行なうことで、論理合成に
多大な時間を要していた。
(Problem to be solved by the invention) As explained above, in the conventional logic synthesis device,
In order to eliminate defects that occur in synthesized logic circuits, designers must either correct the defects each time they occur, or modify or add the conversion rules that caused the defects. I was doing it. Therefore, in addition to the logic synthesis work, the designer has to perform secondary labor-intensive work, which places a heavy burden on the designer. Furthermore, performing such work requires a large amount of time for logic synthesis.

そこで、この発明は上記に鑑みてなされたものであり、
その目的とするところは、人手を介することなく変換ル
ールの修正、追加を可能とし、設計者の負担を大幅に低
減するとともに、設計期間の短縮化に寄与することがで
きる論理合成方法及びその装置を提供することにある。
Therefore, this invention was made in view of the above,
The purpose of this is to provide a logic synthesis method and device that enables modification and addition of conversion rules without human intervention, significantly reducing the burden on designers, and contributing to shortening the design period. Our goal is to provide the following.

[発明の構成コ (課題を解決するための手段) 上記目的を達成するために、入力された設計情報から変
換ルールにしたがって論理回路を合成する論理合成装置
において、請求項1記載の発明は、論理合成過程におけ
る回路変換履歴及び変換ルールからなる変換履歴情報を
記憶する記憶手段と、論理合成された論理回路を修正理
由の入力とともに修正する修正手段と、前記修正手段に
よって修正された論理回路の変換履歴情報を前記記憶手
段から抽出する抽出手段と、前記抽出手段によって抽出
された変換履歴情報と前修正手段によって修正された修
正後の回路情報及び修正理由とから修正理由の成立によ
り修正後の論理回路を合成する変換ルールを作成する作
成手段と、前記作成手段によって作成された変換ルール
を既存の変換ルールとの競合を回避するようにして登録
する登録手段とから構成される。
[Structure of the Invention (Means for Solving the Problems) In order to achieve the above object, the invention according to claim 1 provides a logic synthesis device that synthesizes a logic circuit from input design information according to a conversion rule. a storage means for storing conversion history information consisting of circuit conversion history and conversion rules in the logic synthesis process; a correction means for correcting the logically synthesized logic circuit together with an input of a reason for correction; and a correction means for correcting the logic circuit corrected by the correction means. an extraction means for extracting conversion history information from the storage means; and a modified circuit information extracted by the extraction means, the circuit information after modification modified by the pre-modification means, and the modification reason when the modification reason is established. It is comprised of a creation means for creating a conversion rule for synthesizing a logic circuit, and a registration means for registering the conversion rule created by the creation means so as to avoid conflict with existing conversion rules.

(作用) 上記構成において、請求項1の発明は、論理合成された
論理回路を修正理由の入力とともに修正し、修正前後の
論理回路構成と修正前の論理回路を合成した変換ルール
及び回路変換履歴を解析し、この解析結果にもとづいて
論理回路を修正した際の修正理由か成立した場合には修
正後の論理回路を合成する変換ルールを作成し、作成さ
れた変換ルールを既存の変換ルールとの競合を回避する
ようにして登録するようにしている。
(Operation) In the above configuration, the invention of claim 1 corrects the logically synthesized logic circuit together with the input of the reason for correction, and provides a conversion rule and a circuit conversion history for synthesizing the logic circuit configuration before and after the correction and the logic circuit before the correction. Based on the analysis results, if the reason for modifying the logic circuit is established, a conversion rule is created to synthesize the modified logic circuit, and the created conversion rule is combined with the existing conversion rule. I try to avoid conflicts when registering.

(実施例) 以下、図面を用いてこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図はこの発明の一実施例に係わる論理合成方法によ
り論理合成を行なう装置の構成を示す図である。同図に
示す実施例の論理合成装置は、論理回路の合成に係わっ
た変換ルールの履歴の中から、合成された論理回路に不
具合な箇所を生じせしめた変換ルールを探し出し、この
変換ルールの修正あるいは新たな変換ルールの作成追加
を装置内において行なうようにしたものである。
FIG. 1 is a diagram showing the configuration of an apparatus for performing logic synthesis using a logic synthesis method according to an embodiment of the present invention. The logic synthesis device of the embodiment shown in the figure searches for the conversion rule that caused a defective part in the synthesized logic circuit from the history of conversion rules related to the synthesis of logic circuits, and corrects this conversion rule. Alternatively, new conversion rules can be created and added within the device.

第1図において、論理合成装置は、入力部1、回路情報
記憶部2、論理合成処理部3、変換ルール記憶部4及び
出力部5を有している。
In FIG. 1, the logic synthesis device includes an input section 1, a circuit information storage section 2, a logic synthesis processing section 3, a conversion rule storage section 4, and an output section 5.

人力部1は、論理合成しようとする回路の機能及び人出
力関係を示す接続情報からなる機能仕様情報を装置に与
えるものである。入力部]から入力された機能仕様情報
は、回路情報記憶部2に与えられる。
The human power section 1 provides the device with functional specification information consisting of connection information indicating the function and human output relationship of the circuit to be logically synthesized. The functional specification information input from the input section] is given to the circuit information storage section 2.

回路情報記憶部2は、入力部1から与えられた機能仕様
情報及び論理合成処理部3から与えられる合成された論
理回路の構成を回路情報として格納する。回路情報記憶
部2に格納された回路情報は出力部5に与えられ、回路
情報のうち機能仕様情報は論理合成処理部3に与えられ
る。
The circuit information storage section 2 stores the functional specification information given from the input section 1 and the configuration of the synthesized logic circuit given from the logic synthesis processing section 3 as circuit information. The circuit information stored in the circuit information storage section 2 is given to the output section 5, and among the circuit information, functional specification information is given to the logic synthesis processing section 3.

論理合成処理部3は、回路情報記憶部2から与えられた
機能仕様情報を変換ルールによって回路変換し、機能仕
様情報からこの機能仕様情報を実現する論理回路を合成
する。また、論理合成処理部3は、論理合成した論理回
路の回路情報を回路情報記憶部4に与える。さらに、論
理合成処理部3は、論理回路の合成過程に使用された変
換ルール及びこの変換ルールによって行なわれた回路変
換の履歴を出力する。
The logic synthesis processing unit 3 converts the functional specification information given from the circuit information storage unit 2 into a circuit according to conversion rules, and synthesizes a logic circuit that realizes the functional specification information from the functional specification information. Further, the logic synthesis processing section 3 provides the circuit information of the logically synthesized logic circuit to the circuit information storage section 4. Further, the logic synthesis processing section 3 outputs the conversion rule used in the process of synthesizing the logic circuit and the history of circuit conversion performed using this conversion rule.

変換ルール記憶部4は、機能仕様情報から論理回路を合
成するために必要な複数の変換ルールを格納しており、
格納している変換ルールを論理合成処理部3からの要求
に応じて論理合成処理部3に与える。
The conversion rule storage unit 4 stores a plurality of conversion rules necessary for synthesizing a logic circuit from functional specification information.
The stored conversion rules are provided to the logic synthesis processing section 3 in response to a request from the logic synthesis processing section 3.

出力部5は、論理合成及び変換ルールの修正、追加の作
業を行なうに必要な情報及び、回路情報記憶部2に格納
された回路情報を出力表示する。
The output unit 5 outputs and displays information necessary for logic synthesis and modification of conversion rules, and additional work, as well as circuit information stored in the circuit information storage unit 2.

例えば、変換ルールの修正時においては、不具合が生じ
ている部分の回路とこの不具合が修正された回路及び修
正を行なう際の修正理由が出力表示される。
For example, when modifying a conversion rule, the circuit in which the defect occurs, the circuit in which the defect has been corrected, and the reason for the correction are output and displayed.

この実施例の論理合成装置は、上記構成要素に加えて、
修正部6、修正情報抽出部7、修正情報記憶部8、変換
履歴記憶部9、変換ルール作成部10、変換ルール記憶
部11、新変換ルール組込み部12を備えている。
In addition to the above-mentioned components, the logic synthesis device of this embodiment includes:
It includes a modification section 6, a modification information extraction section 7, a modification information storage section 8, a conversion history storage section 9, a conversion rule creation section 10, a conversion rule storage section 11, and a new conversion rule installation section 12.

修正部6は、論理合成されて出力部5に表示された論理
回路に不具合な箇所が生じ、この不具合を修正するとと
もに、修正の際の修正理由を入力する。修正理由及び修
正前後の修正箇所を含む部分回路の情報が修正情報抽出
部7に与えられる。
The correction unit 6 corrects the defective portion of the logical circuit synthesized and displayed on the output unit 5, and inputs the reason for the correction. Information on the partial circuit including the reason for modification and the modified parts before and after modification is provided to the modification information extraction unit 7.

修正情報抽出部7は、修正部6により修正された部分回
路の回路情報を回路情報記憶部2から抽出し、抽出した
回路情報を修正部6に入力された修正理由とともに修正
情報記憶部8に与える。
The modification information extraction section 7 extracts the circuit information of the partial circuit modified by the modification section 6 from the circuit information storage section 2, and stores the extracted circuit information in the modification information storage section 8 together with the modification reason inputted to the modification section 6. give.

修正情報記憶部8は、修正情報抽出部7によって抽出さ
れた回路情報及び修正理由を格納し、格納した回路情報
及び修正理由を新変換ルール作成部10に与える。
The modification information storage section 8 stores the circuit information and modification reason extracted by the modification information extraction section 7, and provides the stored circuit information and modification reason to the new conversion rule creation section 10.

変換履歴記憶部9は、前述した論理合成処理部3から出
力される論理合成過程における変換ルール及び回路変換
の履歴を格納し、格納した情報を新変換ルール作成部1
0に与える。
The conversion history storage unit 9 stores conversion rules and circuit conversion history in the logic synthesis process output from the logic synthesis processing unit 3 described above, and stores the stored information in the new conversion rule creation unit 1.
Give to 0.

 0 新変換ルール作成部10は、修正情報記憶部8から与え
られる情報と変換履歴記憶部9から与えられる情報とか
ら、不具合が修正された論理回路を入力された機能仕様
情報から正確に合成するための変換ルールを作成する。
0 The new conversion rule creation unit 10 accurately synthesizes the logic circuit in which the defect has been corrected from the input functional specification information based on the information provided from the correction information storage unit 8 and the information provided from the conversion history storage unit 9. Create a conversion rule for

新変換ルール作成部10は、まず、合成過程の回路変換
履歴から修正理由に基づく不具合点を生じせしめた回路
変換及びこの回路変換を行なった変換ルールを探し出す
The new conversion rule creation unit 10 first searches the circuit conversion history of the synthesis process for the circuit conversion that caused the defect based on the reason for modification and the conversion rule that performed this circuit conversion.

そして、この変換ルールを修正理由の成否により異なる
変換動作を行なうように修正する。さらに、修正理由が
成立した際に修正された論理回路を合成するために必要
な変換ルールが既存の変換ルール群にない場合には、合
成するための新たな変換ルールを作成する。このように
して作成された新しい変換ルールは、新変換ルール記憶
部12に与えられる。
Then, this conversion rule is modified so that different conversion operations are performed depending on whether the reason for modification is successful or not. Further, if the conversion rule necessary for synthesizing the corrected logic circuit when the reason for modification is satisfied is not found in the existing conversion rule group, a new conversion rule for synthesis is created. The new conversion rule created in this way is given to the new conversion rule storage section 12.

新変換ルール記憶部11は、新変換ルール作成部10で
作成された新変換ルールを格納し、格納した新変換ルー
ルを新変換ルール組込部12に与える。
The new conversion rule storage section 11 stores the new conversion rule created by the new conversion rule creation section 10, and provides the stored new conversion rule to the new conversion rule incorporation section 12.

1 新変換ルール組込部12は、新変換ルール記憶部11か
ら与えられる新変換ルールが既存の変換ルール群との競
合を回避するようにして、新変換ルールを変換ルール記
憶部4に与えて格納する。
1 The new conversion rule incorporation unit 12 provides the new conversion rule to the conversion rule storage unit 4 in such a way that the new conversion rule provided from the new conversion rule storage unit 11 avoids conflict with the existing conversion rule group. Store.

次に、上記実施例の作用を第2図に示すフロチャートを
参照して説明する。
Next, the operation of the above embodiment will be explained with reference to the flowchart shown in FIG.

まず、入力部1から与えられた機能仕様情報が、変換ル
ール記憶部4から与えられる変換ルールにより論理合成
処理部3で回路変換されて論理回路に合成される。この
時に、合成過程の変換履歴が論理合成処理部3から変換
履歴記憶部9に与えられて格納される。
First, the functional specification information given from the input section 1 is converted into a circuit by the logic synthesis processing section 3 according to the conversion rule given from the conversion rule storage section 4 and synthesized into a logic circuit. At this time, the conversion history of the synthesis process is provided from the logic synthesis processing section 3 to the conversion history storage section 9 and stored therein.

合成されて出力部5に表示された論理回路は、設計者に
とって不満足な点があるか否かが検討される(ステップ
100)。不満足な点がない場合には、変換ルールの修
正、追加の作業は行なわれないが、不満足な点がある場
合には、不満足な点が修正部6て設計者により修正され
るとともに、修正理由が修正部6から入力される(ステ
ップ110.120)。
It is examined whether the logic circuit synthesized and displayed on the output section 5 has any unsatisfactory points for the designer (step 100). If there are no unsatisfactory points, no corrections or additional work will be made to the conversion rules, but if there are any unsatisfactory points, the unsatisfactory points will be corrected by the designer in the modification section 6, and the reason for the modification will be explained. is input from the correction unit 6 (steps 110 and 120).

 2 例えば、第3図に示すように、合成された論理回路の中
の部分回路Aに存在する不満足な点を修正理由を“C0
ND”として修正し、修正した部分回路Bとした場合に
は、部分回路A及び部分回路Bの回路情報が回路情報記
憶部2から修正情報抽出部7によって抽出され、抽出さ
れた回路情報と修正理由“C0ND”が修正情報記憶部
8に与えられて格納される。修正情報記憶部8に格納さ
れた情報は、新変換ルール作成部10に与えられ、これ
により、部分回路Aを合成した際の変換履歴が変換履歴
記憶部9から新変換ルール作成部10に与えられる。
2 For example, as shown in FIG.
ND” and the modified partial circuit B, the circuit information of the partial circuit A and the partial circuit B is extracted from the circuit information storage unit 2 by the modified information extraction unit 7, and the extracted circuit information and the modified circuit information are extracted from the circuit information storage unit 2 by the modified information extraction unit 7. The reason "C0ND" is given to and stored in the modification information storage section 8. The information stored in the modification information storage section 8 is given to the new conversion rule creation section 10, so that when the partial circuit A is synthesized, The conversion history is given from the conversion history storage section 9 to the new conversion rule creation section 10.

例えば、第4図に示すような変換履歴が新変換ルール作
成部10に与えられると、この変換履歴の中から不具合
を発生される原因となった変換ルールR□を、修正前後
の論理回路の相違点に着目して探し出す(ステップ14
0)。
For example, when a conversion history as shown in FIG. 4 is given to the new conversion rule creation unit 10, the conversion rule R□ that caused the problem is selected from the conversion history as the logic circuit before and after modification. Focus on and find differences (Step 14)
0).

探し出された変換ルールRffiは、第5図に示すよう
に、修正理由“C0ND”の成否により異なる変換を行
なうように変換ルールRII に修正さ 3 れる(ステップ150)。さらに、修正後の部分回路B
を合成するために必要な変換ルールRm + 1′〜R
1′が新たに作成される(ステップ160)。したがっ
て、修正理由“C0ND″が成立する場合には、第5図
に示すように変換ルールR□′が適用された後に変換ル
ールR□4.′〜R、′が順次適用され、不具合点が存
在しない部分回路Bが合成される。なお、修正理由“C
0ND”が成立しない場合には、変換ルールR0′が適
用された後に従来通り変換ルールR4,1〜Ro+1が
順次適用されて部分回路Aか合成される。
As shown in FIG. 5, the found conversion rule Rffi is modified to a conversion rule RII 3 so as to perform a different conversion depending on the success or failure of the modification reason "C0ND" (step 150). Furthermore, the modified partial circuit B
Conversion rules required to synthesize Rm + 1'~R
1' is newly created (step 160). Therefore, when the modification reason "C0ND" is established, the conversion rule R□4 is applied after the conversion rule R□' is applied as shown in FIG. ' to R,' are sequentially applied to synthesize a partial circuit B in which no defective points exist. In addition, the reason for the modification “C”
0ND'' does not hold, the conversion rule R0' is applied, and then the conversion rules R4,1 to Ro+1 are sequentially applied as before to synthesize the partial circuit A.

このようにして作成された新変換ルールR□R01′〜
R1′は、新変換ルール記憶部1]に与えられて格納さ
れ、格納された新変換ルールは新変換ルール組込部12
に与えられる。新変換ルール組込部12に与えられた新
変換ルールは、変換ルール記憶部4に格納されている既
存の変換ルール群と競合するか否かが調べられ(ステッ
プ170)、競合する場合には、競合を回避するように
新変換ルールか修正され(ステップ180)、 4 修正された新変換ルールが変換ルール記憶部4に登録さ
れて既存の変換ルールに組込まれる(ステップ190)
。一方、競合しない場合には、作成された新変換ルール
が変換ルール記憶部4に登録されて既存の変換ルールに
組込まれる。なお、既存の変換ルールの中にすてに同等
の変換ルールがある場合には、作成された新変換ルール
は組込まれない。
New conversion rule R□R01′ created in this way
R1' is given to and stored in the new conversion rule storage unit 1], and the stored new conversion rule is stored in the new conversion rule embedding unit 12.
given to. It is checked whether the new conversion rule given to the new conversion rule incorporation unit 12 conflicts with the existing conversion rule group stored in the conversion rule storage unit 4 (step 170), and if there is a conflict, , the new conversion rule is modified to avoid conflicts (step 180), and the revised new conversion rule is registered in the conversion rule storage unit 4 and incorporated into the existing conversion rules (step 190).
. On the other hand, if there is no conflict, the created new conversion rule is registered in the conversion rule storage section 4 and incorporated into the existing conversion rule. Note that if there are any equivalent conversion rules among the existing conversion rules, the created new conversion rule will not be incorporated.

このような動作は、合成された論理回路に不満足な点が
なくなるまで繰り返し行なわれ、その都度不満足な点を
招いた変換ルールが修正、追加され、新変換ルールが作
成されていく。
Such operations are repeated until there are no unsatisfactory points in the synthesized logic circuit, and each time the conversion rule that caused the unsatisfactory point is modified or added, and a new conversion rule is created.

次に、新変換ルールの作成過程を、具体的な一例を挙げ
て説明する。
Next, the process of creating a new conversion rule will be explained using a specific example.

入力部1から例えば5ビツトのマルチプレクサを合成す
るために、第6図(a)に示すような5ビツトマルチプ
レクサの機能仕様情報が図形入力により与えられると、
この機能仕様情報に変換ルールr1が適用されて、論理
合成処理部3で第6図(b)に示すように回路変換され
る。すなわち、5 5ビツトのマルチプレクサはその人力が2ビ・ソト毎に
分割されて、2個の2ビツトマルチプレクサと1個の1
ビツトマルチプレクサの並置により構成される。
For example, in order to synthesize a 5-bit multiplexer from the input section 1, when functional specification information of the 5-bit multiplexer as shown in FIG. 6(a) is given by graphic input,
The conversion rule r1 is applied to this functional specification information, and the logic synthesis processing section 3 converts the circuit as shown in FIG. 6(b). In other words, for a 55-bit multiplexer, the manpower is divided into two bits each, resulting in two 2-bit multiplexers and one 1-bit multiplexer.
It consists of a juxtaposition of bit multiplexers.

次に、このような構成に対して変換ルールr2が適用さ
れ、第6図(C)に示すように5ビ・y t□のマルチ
プレクサが論理合成される。すなわち、第6図(b)に
示した2ビツトのマルチプレクサはライブラリの中のセ
ルα2に回路変換され、1ビツトのマルチプレクサはセ
ルα1に回路変換される。第6図(C)において、それ
ぞれのセルα2、α1は、セレクト端子Sに与えられる
条件人力Eの値により第7図に示すように入力(AIA
2.Bl、B2)を選択して出力(Zl、Z2)に与え
る。
Next, the conversion rule r2 is applied to such a configuration, and a 5 bi·yt□ multiplexer is logically synthesized as shown in FIG. 6(C). That is, the 2-bit multiplexer shown in FIG. 6(b) is converted into a cell α2 in the library, and the 1-bit multiplexer is converted into a cell α1. In FIG. 6(C), each cell α2, α1 receives an input (AIA
2. Bl, B2) is selected and given to the output (Zl, Z2).

このように、5ビツトのマルチプレクサは第6図(C)
に示すように論理合成されて出力部5に表示される。こ
の時に、ライブラリに第8図に示す4ビツトのマルチプ
レクサのセルα4が使用可能状態であるとする。そこで
、設計者は4ビツト 6 のマルチプレクサが使用できるにもかかわらず2ビツト
のマルチプレクサが使用されたことに対して不満足感を
持ち、4ビツトマルチプレクサのセルα4を使用して、
第6図(C)に示した構成を、第9図に示すようにセル
α4とセルα1との並置構成に修正する。
In this way, the 5-bit multiplexer is shown in Figure 6(C).
The signals are logically synthesized and displayed on the output section 5 as shown in FIG. At this time, it is assumed that cell α4 of the 4-bit multiplexer shown in FIG. 8 is available in the library. Therefore, the designer was dissatisfied with the fact that a 2-bit multiplexer was used even though a 4-bit multiplexer could be used, so he decided to use cell α4 of the 4-bit multiplexer.
The configuration shown in FIG. 6(C) is modified to a configuration in which cell α4 and cell α1 are juxtaposed as shown in FIG.

このような修正を行なうことにより、第6図(C)と第
9図に示す回路の回路情報と“セルα4か使用可能”と
いう修正理由が修正情報記憶部8に与えられて格納され
る。
By performing such correction, the circuit information of the circuits shown in FIGS. 6(C) and 9 and the reason for the correction that "cell α4 can be used" are provided to the correction information storage section 8 and stored therein.

また、第6図に示した5ビツトマルチプレクサの変換履
歴が変換履歴記憶部9から新変換ルール作成部10に与
えられ、第9図に示した修正後の回路と第6図に示す変
換履歴が比較検討される。
Further, the conversion history of the 5-bit multiplexer shown in FIG. 6 is given from the conversion history storage section 9 to the new conversion rule creation section 10, and the modified circuit shown in FIG. 9 and the conversion history shown in FIG. A comparison will be made.

修正前後の回路の相違点として、2ビツトマルチプレク
サが4ビツトマルチプレクサに変わっていることに着目
して、セルα4が使用可能であるならば、「機能素子マ
ルチプレクサを2ビツト毎に分割する」という既存の変
換ルールr1は、[セルα4が使用可能ならば、機能素
子マルチプレク 7 すを4ビツト毎に分割する」に修正されて、新変換ルー
ルr1′が第10図に示すように作成する。
Focusing on the difference between the circuits before and after the modification, which is that the 2-bit multiplexer has been changed to a 4-bit multiplexer, if cell α4 is available, the existing method of ``dividing the functional element multiplexer into every 2 bits'' will be considered. The conversion rule r1 is modified to ``If cell α4 is available, divide the functional element multiplex into every 4 bits,'' and a new conversion rule r1' is created as shown in FIG.

同様にして、変換ルールr2は「機能素子4ビツトマル
チプレクサをセルα4に変換する」に修正され、新変換
ルールr2’が第10図に示すように作成する。
Similarly, the conversion rule r2 is modified to "convert the functional element 4-bit multiplexer to the cell α4", and a new conversion rule r2' is created as shown in FIG.

このようにして作成された新変換ルールr]−1r2′
が変換ルール記憶部4に登録されて組込まれる時には、
既存の変換ルールr1..r2と新変換ルールrl’、
r2’がともに機能するように、既存の変換ルールrl
、r2が第11図に示すように新変換ルールrl’、r
2’ としても機能するように修正されて、変換ルール
rl、r2として変換ルール記憶部4に登録されて組込
まれる。
New conversion rule r]-1r2′ created in this way
When is registered and incorporated into the conversion rule storage unit 4,
Existing conversion rule r1. .. r2 and new conversion rule rl',
existing transformation rules rl so that r2' works together.
, r2 are the new conversion rules rl', r as shown in FIG.
2', and are registered and incorporated into the conversion rule storage unit 4 as conversion rules rl and r2.

このようにして、変換ルールが修正、追加されていくの
で、再度5ビツトのマルチプレクサを論理合成した際に
は、第9図に示した設計者の満足が得られる回路を合成
することができるようになる。
In this way, the conversion rules are modified and added, so that when the 5-bit multiplexer is logically synthesized again, it will be possible to synthesize the circuit shown in Figure 9 that satisfies the designer. become.

[発明の効果]  8 以上説明したように、この発明によれば、合成された論
理回路に生じた不具合を修正した際に、修正された論理
回路の修正理由が成立した場合には修正後の論理回路を
合成する変換ルールを自動的に作成するようにしたので
、人手によらず変換ルールの修正、追加を行なうことが
できる。これにより、設計者の負担が大幅に低減され、
設計期間を短縮することができるようになる。
[Effects of the Invention] 8. As explained above, according to the present invention, when a defect occurring in a synthesized logic circuit is corrected, if the reason for the correction of the corrected logic circuit is established, the corrected Since conversion rules for synthesizing logic circuits are automatically created, conversion rules can be modified and added without manual intervention. This greatly reduces the burden on designers,
It becomes possible to shorten the design period.

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

第1図は発明の一実施例に係わる論理合成装置の構成を
示す図、 第2図は第1図に示す装置の作用を示すフロチャート、 第3図乃至第11図は第1図に示す装置の修正動作を説
明するための図である。 1・・・入力部、 2・・・回路情報記憶部、 3・・・論理合成処理部、 4・・・変換ルール記憶部、 5・・・出力部、 1 つ 6・・・修正部、 7・・修正情報抽出部、 8・・・修正情報記憶部、 9・・変換履歴記憶部、 10・・・新変換ルール作成部、 11・・新変換ルール記憶部、 12・・・新変換ルール記憶部。
FIG. 1 is a diagram showing the configuration of a logic synthesis device according to an embodiment of the invention, FIG. 2 is a flowchart showing the operation of the device shown in FIG. 1, and FIGS. 3 to 11 are shown in FIG. 1. FIG. 3 is a diagram for explaining a correction operation of the device. DESCRIPTION OF SYMBOLS 1... Input part, 2... Circuit information storage part, 3... Logic synthesis processing part, 4... Conversion rule storage part, 5... Output part, 1 6... Correction part, 7. Modification information extraction section, 8. Modification information storage section, 9. Conversion history storage section, 10. New conversion rule creation section, 11. New conversion rule storage section, 12. New conversion Rule memory section.

Claims (2)

【特許請求の範囲】[Claims] (1)入力された設計情報から変換ルールにしたがって
論理回路を合成する論理合成方法において、論理合成さ
れた論理回路を修正理由の入力とともに修正し、 修正前後の論理回路構成と、修正前の論理回路を合成し
た変換ルール及び回路変換履歴を解析し、この解析結果
にもとづいて論理回路を修正した際の修正理由が成立し
た場合には修正後の論理回路を合成する変換ルールを作
成し、 作成された変換ルールを既存の変換ルールとの競合を回
避するようにして登録することを特徴とする論理合成方
法。
(1) In a logic synthesis method that synthesizes a logic circuit from input design information according to conversion rules, the synthesized logic circuit is modified along with the input of the reason for modification, and the logic circuit configuration before and after modification and the logic before modification are Analyze the conversion rules for synthesizing the circuit and the circuit conversion history, and based on the analysis results, if the reason for the modification is established when modifying the logic circuit, create a conversion rule to synthesize the modified logic circuit. A logic synthesis method characterized in that a converted conversion rule is registered in such a way as to avoid conflict with an existing conversion rule.
(2)入力された設計情報から変換ルールにしたがって
論理回路を合成する論理合成装置において、論理合成過
程における回路変換履歴及び変換ルールからなる変換履
歴情報を記憶する記憶手段と、論理合成された論理回路
を修正理由の入力とともに修正する修正手段と、 前記修正手段によって修正された論理回路の変換履歴情
報を前記記憶手段から抽出する抽出手段と、 前記抽出手段によって抽出された変換履歴情報と前記修
正手段によって修正された修正後の回路情報及び修正理
由とから修正理由の成立により修正後の論理回路を合成
する変換ルールを作成する作成手段と、 前記作成手段によって作成された変換ルールを既存の変
換ルールとの競合を回避するようにして登録する登録手
段と を有することを特徴とする論理合成装置。
(2) In a logic synthesis device that synthesizes a logic circuit from input design information according to conversion rules, a storage means for storing conversion history information consisting of a circuit conversion history and conversion rules in the logic synthesis process, and a logic synthesized logic modifying means for modifying a circuit while inputting a reason for modification; extracting means for extracting conversion history information of the logic circuit modified by the modifying means from the storage means; and converting history information extracted by the extracting means and the modification. creating means for creating a conversion rule for synthesizing a modified logic circuit based on the corrected circuit information modified by the means and the reason for modification when the reason for modification is satisfied; 1. A logic synthesis device comprising: a registration means for registering in a manner to avoid conflicts with rules.
JP2076622A 1990-03-28 1990-03-28 Method and device for logic synthesis Pending JPH03278180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2076622A JPH03278180A (en) 1990-03-28 1990-03-28 Method and device for logic synthesis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2076622A JPH03278180A (en) 1990-03-28 1990-03-28 Method and device for logic synthesis

Publications (1)

Publication Number Publication Date
JPH03278180A true JPH03278180A (en) 1991-12-09

Family

ID=13610453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2076622A Pending JPH03278180A (en) 1990-03-28 1990-03-28 Method and device for logic synthesis

Country Status (1)

Country Link
JP (1) JPH03278180A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160757A (en) * 1993-12-13 1995-06-23 Nec Corp Fpga timing automatic adjustment system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160757A (en) * 1993-12-13 1995-06-23 Nec Corp Fpga timing automatic adjustment system

Similar Documents

Publication Publication Date Title
US4949253A (en) Method and apparatus for automatically generating program
US7680668B2 (en) Method for generating a language-independent regression test script
US6698010B1 (en) System, method and computer program product for automatic generation of data processing program
US6226406B1 (en) Method and apparatus for hybrid sampling image verification
JPH03278180A (en) Method and device for logic synthesis
JP2001357095A (en) Semiconductor device design supporting device
WO2006025412A1 (en) Logic verification method, logic module data, device data, and logic verification device
JP3373641B2 (en) Test sequence generator
US20050246668A1 (en) Method and device for an equivalence comparison of digital circuits
US7043707B2 (en) Simulation result verification method and simulation result verification device
JPH07210397A (en) Program conversion method and program execution method using the same
CN110134402B (en) Method for generating animation of RAM and register change in simulation operation
JPH0934750A (en) System for generating source program for test
JPH11154093A (en) Program compiler and storage medium recording compiler program
WO2015030016A1 (en) System for processing unstructured data, method for processing unstructured data, and recording medium
JP3019874B2 (en) Program generation / synthesis apparatus and method
JPH05120055A (en) Test pattern generating device
JP2004145670A (en) Method and device for generating test bench, and computer program
JPH0895759A (en) Program managing method
JPH07230391A (en) Verifier for information processor
JP2000215217A (en) Device and method for logical synthesis
JPH0145098B2 (en)
JP2002108610A (en) Problem management system and managing method
JPH10222212A (en) Control logic generating device
JPH04101240A (en) Testing system for replaceable software