JP2002279007A - Method for synthesizing logic - Google Patents

Method for synthesizing logic

Info

Publication number
JP2002279007A
JP2002279007A JP2001081868A JP2001081868A JP2002279007A JP 2002279007 A JP2002279007 A JP 2002279007A JP 2001081868 A JP2001081868 A JP 2001081868A JP 2001081868 A JP2001081868 A JP 2001081868A JP 2002279007 A JP2002279007 A JP 2002279007A
Authority
JP
Japan
Prior art keywords
cell
mapping
logic
cells
pseudo
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
JP2001081868A
Other languages
Japanese (ja)
Inventor
Yuko Tanaka
雄孝 田中
Makoto Yamagata
良 山縣
Kazuhiko Minohara
和彦 蓑原
Yoichi Kumai
陽一 熊井
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001081868A priority Critical patent/JP2002279007A/en
Publication of JP2002279007A publication Critical patent/JP2002279007A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a logic synthesizing method for improving area reduction and a signal value propagation speed by reducing the number of cells of a logic circuit that is subjected to cell mapping by logic synthesis. SOLUTION: An actual cell and a pseudo model cell are prepared in a cell library for mapping to be a cell mapping object, the logic circuit is subjected to logic optimization and cell mapping by using the cell library for mapping, and a pseudo model cell subjected to cell mapping is converted into an actual cell that is logically equivalent to the pseudo model cell.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ハードウェア記述
言語等で設計された論理回路を、マッピング対象のセル
情報で構成したマッピング用セルライブラリを用いて、
論理最適化を行ってセルマッピングする論理合成に関
し、特に論理合成後の回路の面積縮小及び回路内信号値
伝搬速度を向上させるために好適な論理合成方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic circuit designed in a hardware description language or the like, using a mapping cell library composed of cell information to be mapped.
The present invention relates to logic synthesis that performs logic optimization to perform cell mapping, and more particularly to a logic synthesis method suitable for reducing the area of a circuit after logic synthesis and improving the signal value propagation speed in the circuit.

【0002】[0002]

【従来の技術】集積回路等の論理回路の設計において、
論理の動作やデータの流れは専らハードウェア記述言語
を用いて記述している。これらの記述を論理合成装置に
よって論理の最適化を行い、テクノロジーのセルへマッ
ピングして、ゲートレベルの回路を生成している。マッ
ピングするためのセルは、ハードウェア記述言語で表現
された論理動作が、ゲートレベルの回路でも実現される
ように、積および和等の基本的な動作のセルや、基本動
作を組み合わせて機能を実現する複合セルが用意されて
いる。また同一な動作でも、電気的に特性が違うセルや
面積が違うセルも用意され、設計者が要求する面積的な
制約や信号値伝搬速度の制限がなるべく満たされるよう
にセルの種類が用意されている。
2. Description of the Related Art In designing a logic circuit such as an integrated circuit,
Logic operations and data flows are described exclusively using a hardware description language. These descriptions are subjected to logic optimization by a logic synthesizer, and are mapped to technology cells to generate gate-level circuits. The cells for mapping are cells with basic operations such as product and sum, and functions combining basic operations so that logical operations expressed in a hardware description language are also realized in gate-level circuits. A composite cell to be realized is provided. Also, even for the same operation, cells with different electrical characteristics and cells with different areas are prepared. ing.

【0003】[0003]

【発明が解決しようとする課題】ハードウェア記述言語
で表現された論理動作を論理合成装置で、論理の最適化
を行ってセルのマッピングをするが、このマッピング処
理は、論理動作表現に合致するように、マッピング用セ
ルライブラリの中から、セルの選択を行う。しかし、マ
ッピング用セルライブラリには、論理動作表現のすべて
がセルレベルの機能で合致させることはできないため、
基本セル及び複合セルの組み合わせでマッピングが行わ
れる。この組み合わせ等でマッピングされた論理回路
は、面積的な制約が満足できなかったり、回路内信号値
伝搬速度の制約が満足できなかったりする。これを補う
ために、論理動作表現のすべてがセルレベルの機能で合
致するようにセル設計を行うと、セルの種数を増やすこ
とになり、セル設計期間の長大化が予想される。
The logic operation expressed in a hardware description language is optimized by a logic synthesizer to perform logic optimization and cell mapping. This mapping process conforms to the logical operation expression. Thus, the cell is selected from the mapping cell library. However, in the mapping cell library, not all of the logical operation expressions can be matched by cell-level functions,
Mapping is performed using a combination of a basic cell and a composite cell. A logic circuit mapped by such a combination or the like cannot satisfy the area restriction or the restriction on the signal value propagation speed in the circuit. To compensate for this, if cell design is performed so that all of the logical operation expressions match at the cell-level function, the number of cell types will increase, and a longer cell design period is expected.

【0004】本発明は、セル設計期間の長大化をさせず
に論理合成後に得られる論理回路の面積を縮小させ、信
号値伝搬速度を向上させる論理合成方法を提供すること
にある。
An object of the present invention is to provide a logic synthesis method that reduces the area of a logic circuit obtained after logic synthesis without increasing the cell design period and improves the signal value propagation speed.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するた
め、実在セルと論理的に等価な擬似セルをセルマッピン
グの対象となるマッピング用セルライブラリに作成追加
し、この擬似セルをも最適化処理でマッピングさせるよ
うにし、論理動作表現に合致する数を増やして、マッピ
ング後のセル数を削減する。
In order to solve the above problem, a pseudo cell logically equivalent to a real cell is created and added to a mapping cell library to be subjected to cell mapping, and this pseudo cell is also subjected to optimization processing. The number of cells that match the logical operation expression is increased, and the number of cells after mapping is reduced.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して説明する。図1は論理合成装置の処
理フローに本発明を実現するための処理を追加したフロ
ー図である。論理合成の処理の流れは、図1の101の
ハードウェア記述言語等で機能記述した論理回路データ
を102で示すマッピング用セルライブラリを用いて、
104で示す論理合成処理で論理の最適化及びセルマッ
ピングを行い、106で示すゲートレベルの論理回路を
生成する。本発明は、102で示すマッピング用セルラ
イブラリに、102で示す実在するセルに論理的に等価
な103で示す擬似モデルセルもマッピングセルとして
追加することで、104で示す論理の最適化及びセルマ
ッピングのセル選択メニューを増やし、最適化を向上さ
せる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a flowchart in which processing for realizing the present invention is added to the processing flow of the logic synthesis apparatus. The flow of the logic synthesis process is performed by using a mapping cell library indicated by 102 for logic circuit data whose function is described in a hardware description language 101 or the like in FIG.
Logic optimization and cell mapping are performed by a logic synthesis process shown at 104, and a gate-level logic circuit shown at 106 is generated. The present invention adds a pseudo model cell indicated by 103 which is logically equivalent to an existing cell indicated by 102 to the mapping cell library indicated by 102 as a mapping cell, thereby optimizing the logic indicated by 104 and cell mapping. More cell selection menus and improve optimization.

【0007】ただし、この時点では、論理合成後の回路
に擬似モデルセルも使用されているため、105で示す
ように擬似モデルセルがマッピングされた部分は論理等
価な実在セルに変換して、106の合成後の論理回路と
して出力するようにする。図2は、図1の102で示す
マッピング用セルライブラリの実在セルモデルの例を表
す。図3は、図1の103で示す擬似モデルセルのモデ
ルの例を表す。図4は、図1の101に相当する論理設
計をした論理合成前の回路図を表す。
However, at this time, since the pseudo model cell is also used in the circuit after the logic synthesis, the portion where the pseudo model cell is mapped as shown by 105 is converted into a logically equivalent real cell, and Is output as a logic circuit after the synthesis. FIG. 2 shows an example of a real cell model of the mapping cell library indicated by reference numeral 102 in FIG. FIG. 3 shows an example of a model of a pseudo model cell indicated by reference numeral 103 in FIG. FIG. 4 shows a circuit diagram before logic synthesis in which a logic design corresponding to 101 in FIG. 1 is made.

【0008】図5は本発明を用いなかった場合の実在セ
ルのみをマッピング対象として論理合成した結果の回路
図を表す。図6は本発明を用いて実在セルと擬似セルの
両方をマッピング対象として論理合成した結果の回路図
を表す。
FIG. 5 is a circuit diagram showing the result of logical synthesis of only real cells when the present invention is not used. FIG. 6 is a circuit diagram showing the result of logic synthesis using both the real cell and the pseudo cell as mapping targets using the present invention.

【0009】図7は図1の105で示した論理合成でマ
ッピングされた擬似セルを実在セルに置き換えた後の回
路図を表す。
FIG. 7 is a circuit diagram after the pseudo cell mapped by the logic synthesis shown by 105 in FIG. 1 is replaced with a real cell.

【0010】次に図1で示す処理フローに従い、図2〜
図7を用いて、本発明の一実施例である論理合成方法の
詳細を説明する。
Next, according to the processing flow shown in FIG.
The details of the logic synthesis method according to one embodiment of the present invention will be described with reference to FIG.

【0011】まず、論理合成の前準備として、マッピン
グ用のライブラリを用意する。本実施例では、マッピン
グされるセルとしてフリップフロップを例に説明する。
マッピングされるフリップフロップのセルとして、図2
で示した正極性フリップフロップ201と負極性フリッ
プフロップ202が用意されていた場合、これと論理的
に等価な擬似セルを作成する。図2の201と等価なセ
ルとして、図3の301のようにモデル化した擬似セル
を用意する。擬似セル301は、データ入力となるP1
のポートと、303で示す負極性フリップフロップのD
との間に302で示すインバータを挿入したモデルであ
る。また、擬似モデルの名称として、論理的に等価な実
在セルの名称に“_N”を付加した名称にする。201
で示す“FF1”の場合は301で示す“FF1_N”
という名称となる。
First, as a preparation for logic synthesis, a library for mapping is prepared. In the present embodiment, a flip-flop will be described as an example of a cell to be mapped.
As the flip-flop cell to be mapped, FIG.
When the positive flip-flop 201 and the negative flip-flop 202 indicated by are prepared, a pseudo cell logically equivalent to these is created. A pseudo cell modeled as 301 in FIG. 3 is prepared as a cell equivalent to 201 in FIG. The pseudo cell 301 has a data input P1
And the D of the negative polarity flip-flop indicated by 303
This is a model in which an inverter indicated by 302 is inserted between the two. In addition, as the name of the pseudo model, a name obtained by adding “_N” to the name of a logically equivalent real cell is used. 201
In the case of “FF1” indicated by, “FF1_N” indicated by 301
It will be named.

【0012】同様に図2の202と等価なセルとして、
図3の304で示す擬似セルを用意する。
Similarly, as a cell equivalent to 202 in FIG.
A pseudo cell indicated by 304 in FIG. 3 is prepared.

【0013】次に論理合成の処理であるが、図4で示す
ような論理回路が設計され、これを論理合成の対象とし
た場合、マッピング用セルライブラリとして、図2で示
す実在セルだけで論理合成すると、図4の401と40
2と403とでそれぞれの機能の組み合わせを行って論
理集合体を形成して、これに見合うセルを選択しようと
するが、図2の選択範囲からでは、図4の402と40
3の組み合わせで、図2の202が選択され、図5の5
02で表すマッピング結果となる。また、図4の405
は図2の201が選択され、図5の504で表すマッピ
ング結果となる。この論理合成の結果では、図4の40
1及び404で示す論理表現についてのセルマッピング
は単に図5の501及び503で示すようにインバータ
が残ってしまう形になる。図5のようにマッピングされ
たセルの数は、501/502/503/504の4個
で、4つのセルで構成される回路が生成されたこととな
る。
Next, in the logic synthesis processing, when a logic circuit as shown in FIG. 4 is designed and is subjected to logic synthesis, a logic cell is used as a mapping cell library only with the real cells shown in FIG. When combined, 401 and 40 in FIG.
2 and 403 combine the respective functions to form a logical aggregate and select cells corresponding to the logical aggregate. However, from the selection range in FIG. 2, 402 and 40 in FIG.
With the combination of 3, 202 in FIG. 2 is selected and 5 in FIG.
A mapping result represented by 02 is obtained. Also, 405 in FIG.
Is selected as 201 in FIG. 2 and becomes a mapping result represented by 504 in FIG. As a result of this logic synthesis, 40 in FIG.
The cell mapping for the logical expressions indicated by 1 and 404 simply results in the remaining inverters as indicated by 501 and 503 in FIG. The number of cells mapped as shown in FIG. 5 is 501/502/503/504, which means that a circuit composed of four cells has been generated.

【0014】そこで、図2で示す実在セルに、図3で示
す論理等価な擬似セルをマッピングの対象に加えて、図
4で示す論理設計回路を論理合成すると、図4の401
と402と403の機能の組み合わせを1つの論理集合
体として見て、図3の301で示す擬似セルを選択する
ことができるようになる。また、図4の404と405
の機能の組み合わせも1つの論理集合体として、図3の
304を選択することができる。論理合成の結果として
は、図6で示す回路となる。
Therefore, by adding the logic-equivalent pseudo cell shown in FIG. 3 to the real cell shown in FIG. 2 as a mapping target and logically synthesizing the logic design circuit shown in FIG.
When the combination of the functions 402, 403, and 403 is viewed as one logical aggregate, the pseudo cell 301 shown in FIG. 3 can be selected. Also, 404 and 405 in FIG.
3 can be selected as one logical aggregate. The result of the logic synthesis is the circuit shown in FIG.

【0015】ただし、図6で示す回路図は、擬似セルに
マッピングされたままの状態であるため、実在セルに置
き換える必要がある。もともと擬似セルを作成する上
で、実在セルと論理等価なものとして、“_N”を付加
した名称で用意し、これがマッピングされているため、
合成後の回路データからセル名称で“_N”付きのセル
名称をサーチし、“_N”を削除する。すなわち、図6
の601は論理等価な図2の201と置き換えられるこ
ととなる。同様に図6の602は図2の202と置き換
えられることになり、図7で表す回路にすることができ
る。図7で示すようにセルは701/702の2個とな
り、2つのセルで構成される回路を生成させることがで
きる。マッピング用セルライブラリに実在セルのみとし
て、セルマッピングした結果の図5の回路と比較すると
セルの数を2個削減させることができる。
However, since the circuit diagram shown in FIG. 6 is still mapped to the pseudo cell, it must be replaced with a real cell. Originally, when creating a pseudo cell, it is prepared with a name with “_N” added as a logical equivalent to a real cell, and this is mapped,
The circuit name after the synthesis is searched for a cell name with “_N” in the cell name, and “_N” is deleted. That is, FIG.
601 will be replaced with 201 in FIG. 2 which is logically equivalent. Similarly, 602 in FIG. 6 is replaced with 202 in FIG. 2, and the circuit shown in FIG. 7 can be obtained. As shown in FIG. 7, there are two cells, 701/702, and a circuit composed of two cells can be generated. Assuming that only the real cells are included in the mapping cell library, the number of cells can be reduced by two as compared with the circuit of FIG.

【0016】[0016]

【発明の効果】以上説明したように本発明によれば、論
理合成によるセルのマッピングにおいて、論理合成後の
セルの数を削減し、生成される論理回路の面積縮小さ
せ、また、信号値伝搬の速度を向上させることができる
という効果がある。
As described above, according to the present invention, in mapping cells by logic synthesis, the number of cells after logic synthesis is reduced, the area of the generated logic circuit is reduced, and signal value propagation is performed. There is an effect that the speed can be improved.

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

【図1】本発明の処理全般を示すフローチャートであ
る。
FIG. 1 is a flowchart showing the overall processing of the present invention.

【図2】論理合成のセルマッピングで用いる実在セルの
モデルである。
FIG. 2 is a model of a real cell used in cell mapping of logic synthesis.

【図3】論理合成のセルマッピングで用いる実在セルと
論理等価な擬似セルのモデルである。
FIG. 3 is a model of a pseudo cell which is logically equivalent to a real cell used in cell mapping of logic synthesis.

【図4】論理合成の入力となる論理設計した回路図であ
る。
FIG. 4 is a circuit diagram of a logic designed as an input of the logic synthesis.

【図5】実在セルをマッピング対象として論理合成した
結果の回路図である。
FIG. 5 is a circuit diagram showing a result of logic synthesis of a real cell as a mapping target;

【図6】擬似セルをマッピング対象に加えて論理合成し
た結果の回路図である。
FIG. 6 is a circuit diagram showing a result of logic synthesis of a pseudo cell added to a mapping target;

【図7】擬似セルで構成された回路を実在セルに置き換
えた後の回路図である。
FIG. 7 is a circuit diagram after a circuit constituted by a pseudo cell is replaced with a real cell.

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

102 マッピング用セルライブラリ(実在セル) 103 マッピング用セルライブラリ(擬似モデルセ
ル) 201 実在セル 202 実在セル 301 擬似モデルセル 304 擬似モデルセル 601 擬似モデルセル 602 擬似モデルセル
102 Cell Library for Mapping (Real Cell) 103 Cell Library for Mapping (Pseudo Model Cell) 201 Real Cell 202 Real Cell 301 Pseudo Model Cell 304 Pseudo Model Cell 601 Pseudo Model Cell 602 Pseudo Model Cell

───────────────────────────────────────────────────── フロントページの続き (72)発明者 蓑原 和彦 神奈川県秦野市堀山下1番地 株式会社日 立インフォメーションテクノロジー内 (72)発明者 熊井 陽一 神奈川県秦野市堀山下1番地 株式会社日 立インフォメーションテクノロジー内 Fターム(参考) 5B046 AA08 BA03 KA06  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Kazuhiko Minohara 1 Horiyamashita, Hadano City, Kanagawa Prefecture Inside Nichi Information Technology Co., Ltd. (72) Inventor Yoichi Kumai 1 Horiyamashita, Hadano City, Kanagawa Prefecture Nichi Information Technology Co., Ltd. F-term (reference) 5B046 AA08 BA03 KA06

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ハードウェア記述言語により論理記述され
た論理回路の論理最適化を行ってセルをマッピングする
論理合成方法において、セルマッピングの対象となるマ
ッピング用セルライブラリに実在セルと擬似モデルセル
を用意し、前記マッピング用セルライブラリを用いて論
理回路の論理最適化及びセルマッピングを行い、セルマ
ッピングされた擬似モデルセルは論理的に等価な実在セ
ルに変換することを特徴とする論理合成方法。
1. A logic synthesis method for performing logic optimization of a logic circuit logically described by a hardware description language to map cells, wherein real cells and pseudo model cells are stored in a mapping cell library to be subjected to cell mapping. A logic synthesis method comprising preparing, performing logic optimization and cell mapping of a logic circuit using the mapping cell library, and converting the cell-mapped pseudo model cell into a logically equivalent real cell.
【請求項2】前記擬似モデルセルに対して実在セルと区
別するための符号を付加したセル名称を用意することを
特徴とする請求項1記載の論理合成方法。
2. The logic synthesis method according to claim 1, wherein a cell name to which a code for distinguishing the pseudo model cell from a real cell is added is prepared.
JP2001081868A 2001-03-22 2001-03-22 Method for synthesizing logic Pending JP2002279007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001081868A JP2002279007A (en) 2001-03-22 2001-03-22 Method for synthesizing logic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001081868A JP2002279007A (en) 2001-03-22 2001-03-22 Method for synthesizing logic

Publications (1)

Publication Number Publication Date
JP2002279007A true JP2002279007A (en) 2002-09-27

Family

ID=18937892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001081868A Pending JP2002279007A (en) 2001-03-22 2001-03-22 Method for synthesizing logic

Country Status (1)

Country Link
JP (1) JP2002279007A (en)

Similar Documents

Publication Publication Date Title
US6473885B1 (en) Digital circuit layout techniques using circuit decomposition and pin swapping
US5805462A (en) Automatic synthesis of integrated circuits employing boolean decomposition
JP3175322B2 (en) Automatic logic generation method
JPH07152806A (en) Circuit composition system
US6360352B2 (en) Digital circuit layout techniques
JPH05189518A (en) Method and apparatus for optimizing logic network
US8443315B2 (en) Reset mechanism conversion
JPH10171848A (en) Method for designing architecture system
US6834379B2 (en) Timing path detailer
JP2002279007A (en) Method for synthesizing logic
JPH06252266A (en) Automatic design equipment of semiconductor integrated circuit device
Ykuntam et al. A modified high speed and less area BCD adder architecture using Mirror adder
Kao BDD‐based synthesis for mixed CMOS/PTL logic
US7131090B2 (en) Clocked gating based on measured performance
Klimowicz Performance targeted minimization of incompletely specified finite state machines for implementation in FPGA devices
CN115204077B (en) Node optimization method and device for integrated circuit, electronic equipment and readable medium
JP2006155533A (en) Circuit information generation device and circuit information generation method
JPH027171A (en) Logical circuit synthesizing system
WO2019216077A1 (en) Circuit description conversion system and circuit description search system
Tan et al. Recent research development in metal-only ECO
JP2002245104A (en) Mapping device provided with logic reduction function, mapping method and its program
Stroud ASL: Auburn Simulation Language
Chen et al. Bipartition and synthesis in low power pipelined circuits
Stroud KSL: University of Kentucky Simulation Language
JP2005107575A (en) Design method foe large-scale integrated circuit