JP2953431B2 - High-level synthesis device and recording medium thereof - Google Patents

High-level synthesis device and recording medium thereof

Info

Publication number
JP2953431B2
JP2953431B2 JP9135349A JP13534997A JP2953431B2 JP 2953431 B2 JP2953431 B2 JP 2953431B2 JP 9135349 A JP9135349 A JP 9135349A JP 13534997 A JP13534997 A JP 13534997A JP 2953431 B2 JP2953431 B2 JP 2953431B2
Authority
JP
Japan
Prior art keywords
unit
logic circuit
arithmetic
processing
time
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.)
Expired - Lifetime
Application number
JP9135349A
Other languages
Japanese (ja)
Other versions
JPH10326297A (en
Inventor
潔 三神
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP9135349A priority Critical patent/JP2953431B2/en
Publication of JPH10326297A publication Critical patent/JPH10326297A/en
Application granted granted Critical
Publication of JP2953431B2 publication Critical patent/JP2953431B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は動作レベル記述から
論理回路を自動的に生成する高位合成装置に関するもの
である。
[0001] 1. Field of the Invention [0002] The present invention relates to a high-level synthesis apparatus for automatically generating a logic circuit from a behavioral level description.

【0002】[0002]

【従来の技術】近年、LSIの回路設計はますます複雑
になり、高度な機能と性能が要求されている。しかも要
求される開発期間は短く、それらに対応するために設計
の生産性向上が望まれる。このため、最近では論理回路
を動作レベルで記述し、この動作レベル記述から論理ゲ
ートレベルの接続データ(論理回路図等)を自動的に生
成する高位合成装置が用いられている。この高位合成装
置では専用に設けられた動作記述言語によって設計対象
の動作が記述される。
2. Description of the Related Art In recent years, LSI circuit design has become more and more complicated, and advanced functions and performance are required. In addition, the required development period is short, and it is desired to improve the design productivity in order to cope with them. For this reason, recently, a high-level synthesis apparatus that describes a logic circuit at an operation level and automatically generates connection data (logic circuit diagram and the like) at a logic gate level from the operation level description has been used. In this high-level synthesis device, the operation to be designed is described by an operation description language provided exclusively.

【0003】図7は従来の高位合成装置の構成を示すブ
ロック図である。図8は図7に示した高位合成装置の動
作を説明する図であり、同図(a)は動作レベル記述の
一例を示す図、同図(b)は図7に示したトランスレー
タから出力される内部データの一例を示すデータフロー
図である。また、図9は図7に示したスケジューリング
処理部から出力される内部データの一例を示すデータフ
ロー図である。
FIG. 7 is a block diagram showing a configuration of a conventional high-level synthesis apparatus. FIGS. 8A and 8B are diagrams for explaining the operation of the high-level synthesis apparatus shown in FIG. 7, in which FIG. 8A shows an example of the behavioral level description, and FIG. 8B shows the output from the translator shown in FIG. FIG. 4 is a data flow diagram illustrating an example of internal data according to the first embodiment. FIG. 9 is a data flow diagram showing an example of internal data output from the scheduling processing section shown in FIG.

【0004】図7において、従来の高位合成装置は、図
8(a)に示すような動作レベル記述を入力とし、図8
(b)に示すようなデータフロー図で表わせる内部デー
タを作成するトランスレータ72と、所定の演算処理を
行う演算器の演算時間がそれぞれ記録されている演算時
間ライブラリ73と、生成する論理回路の処理時間(ク
ロック数)やその処理時間で動作させるために各演算器
に要求される演算時間の希望時間(クロック周期)等の
設計制約条件が記録されている制約条件記憶部74と、
トランスレータ72から出力された内部データを入力と
し、演算時間ライブラリ73に記録された各演算器の演
算時間、及び制約条件記憶部74に記録された設計制約
条件を参照し、リソースの共有化を考慮しつつ論理回路
に要求される処理時間に収まるように各演算器を割り当
てると共に、演算処理に必要なレジスタを各演算器に割
り付ける(図9(a)、(b)参照:以下、スケジュー
リング処理と称す)スケジューリング処理部75と、ス
ケジューリング処理部75から出力された内部データか
ら論理ゲートレベルの論理回路を生成する合成部76と
によって構成されている。
[0004] In FIG. 7, the conventional high-level synthesis apparatus receives an operation level description as shown in FIG.
A translator 72 that creates internal data that can be represented by a data flow diagram as shown in (b), an arithmetic time library 73 in which arithmetic times of arithmetic units that perform predetermined arithmetic processing are recorded, and a logical circuit that generates logic A constraint condition storage unit 74 in which design constraint conditions such as a processing time (the number of clocks) and a desired operation time (clock cycle) of the operation time required for each operation unit to operate at the processing time are recorded;
The internal data output from the translator 72 is used as an input, and the operation time of each operation unit recorded in the operation time library 73 and the design constraint conditions recorded in the constraint condition storage unit 74 are referenced to consider sharing of resources. In addition, each operation unit is allocated so as to be within the processing time required for the logic circuit, and registers required for the operation process are allocated to each operation unit (see FIGS. 9A and 9B; ), And a synthesizing unit 76 that generates a logic circuit at a logic gate level from the internal data output from the scheduling processing unit 75.

【0005】このような構成において、従来の高位合成
装置では、処理時間の短縮や合成された論理回路の規模
を縮小するために、例えば、スケジューリング処理部7
5で動作レベル記述の演算順序を変更したり、演算の共
有化等を行っていた。
In such a configuration, in the conventional high-level synthesis apparatus, for example, in order to reduce the processing time and the scale of the synthesized logic circuit, for example, the scheduling processing unit 7
In No. 5, the operation order of the operation level description was changed, the operation was shared, and the like.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記した
ような従来の高位合成装置では、スケジューリング処理
を演算器単位で行っているため、例えば多ビット演算器
のように、演算時間が設計制約条件で規定されたクロッ
ク周期よりも長い場合、その演算器がクリティカルパス
となり、生成された論理回路が所望の周波数で動作しな
いという問題があった。
However, in the above-described conventional high-level synthesizing apparatus, the scheduling process is performed in units of arithmetic units, so that the operation time is specified by design constraints, for example, as in a multi-bit arithmetic unit. If the clock cycle is longer than the clock cycle, the arithmetic unit becomes a critical path, and the generated logic circuit does not operate at a desired frequency.

【0007】本発明は上記したような従来の技術が有す
る問題点を解決するためになされたものであり、設計制
約条件として与えられた希望時間(クロック周期)より
も長い演算時間を要する演算器が動作レベル記述中にあ
っても、所望の周波数で動作する論理回路を生成する高
位合成装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and requires an arithmetic unit requiring an arithmetic operation time longer than a desired time (clock cycle) given as a design constraint condition. It is an object of the present invention to provide a high-level synthesis device that generates a logic circuit that operates at a desired frequency even when the description is in the operation level description.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
本発明の高位合成装置は、動作レベル記述から論理回路
を自動的に生成する高位合成装置であって、入力された
動作レベル記述を構文解析し、所望の論理回路を合成す
るための内部データを作成するトランスレータと、前記
内部データから所定の演算処理を行う演算器を全て抽出
し、該演算器の演算時間が、前記論理回路を所望の周波
数で動作させるために要求される希望時間内であるか否
かをそれぞれ判定し、該希望時間を越える演算時間を要
する演算器を、該希望時間内に演算時間が収まるビット
数の複数の演算器に分解するビット分解処理部と、前記
ビット分解処理部の処理結果から、前記論理回路に要求
される処理時間に収まるように各演算器を割り当てると
共に、前記演算処理に必要なレジスタを各演算器にそれ
ぞれ割り付けるスケジューリング処理部と、前記スケジ
ューリング処理部の処理結果から論理ゲートレベルの論
理回路を生成する合成部と、を有することを特徴とす
る。
To achieve the above object, a high-level synthesis apparatus according to the present invention is a high-level synthesis apparatus for automatically generating a logic circuit from a behavioral level description. A translator that analyzes and creates internal data for synthesizing a desired logic circuit, and a computing unit that performs a predetermined computation process from the internal data are all extracted, and the computing time of the computing unit is determined by the logic circuit. It is determined whether the operation time is within the desired time required to operate at the frequency. A bit decomposing unit for decomposing the data into operation units, and assigning each operation unit to a processing time required for the logic circuit based on a processing result of the bit decomposition processing unit; Wherein the scheduling processing unit which allocates respective registers required for each operation unit, and a synthesizing unit for generating a logic circuit of the logic gate level from the processing result of the scheduling processing unit, to have to.

【0009】また、本発明の記録媒体は、動作レベル記
述から論理回路を自動的に生成するプログラムを記録し
た記録媒体であって、入力された動作レベル記述を構文
解析し、所望の論理回路を合成するための内部データを
作成するトランスレータ処理と、前記内部データから所
定の演算処理を行う演算器を全て抽出し、該演算器の演
算時間が、前記論理回路を所望の周波数で動作させるた
めに要求される希望時間内であるか否かをそれぞれ判定
し、該希望時間を越える演算時間を要する演算器を、該
希望時間内に演算時間が収まるビット数の複数の演算器
に分解するビット分解処理と、前記ビット分解処理部の
処理結果から、前記論理回路に要求される処理時間に収
まるように各演算器を割り当てると共に、前記演算処理
に必要なレジスタを各演算器にそれぞれ割り付けるスケ
ジューリング処理と、前記スケジューリング処理部の処
理結果から論理ゲートレベルの論理回路を生成する合成
処理と、を高位合成装置に実行させるためのプログラム
を記録したものである。
A recording medium according to the present invention is a recording medium in which a program for automatically generating a logic circuit from a behavioral level description is recorded. A translator process for creating internal data for synthesis, and all the arithmetic units that perform predetermined arithmetic processing are extracted from the internal data, and the arithmetic time of the arithmetic unit is set to operate the logic circuit at a desired frequency. Bit decomposition for judging whether or not the required time is within the required time, and decomposing the operation unit requiring the operation time exceeding the desired time into a plurality of operation units having the number of bits within the desired time. From the processing results of the bit separation processing unit, processing units are allocated so as to be within the processing time required for the logic circuit, and registers necessary for the processing are A scheduling process for allocating to each calculator, is obtained by recording a program for executing a combining process, to high-level synthesis apparatus for generating a logic circuit of the logic gate level from the processing result of the scheduling processing unit.

【0010】上記のように構成された高位合成装置は、
ビット分解処理部によって、内部データから所定の演算
処理を行う演算器を全て抽出し、その演算器の演算時間
が、論理回路を所望の周波数で動作させるために要求さ
れる希望時間内であるか否かをそれぞれ判定し、希望時
間を越える演算時間を要する演算器を、希望時間内に演
算時間が収まるビット数の複数の演算器に分解する。し
たがって、全ての演算器の演算時間が希望時間内に収ま
るようになるため、正確なスケジューリング処理を行う
ことができる。
The high-level synthesizer configured as described above has
The bit decomposition processing unit extracts all the arithmetic units that perform the predetermined arithmetic processing from the internal data, and determines whether the arithmetic time of the arithmetic units is within a desired time required to operate the logic circuit at a desired frequency. It is determined whether or not each of the calculation units requires a calculation time exceeding the desired time, and the calculation unit is decomposed into a plurality of calculation units having the number of bits within the desired time. Therefore, since the operation time of all the arithmetic units falls within the desired time, an accurate scheduling process can be performed.

【0011】[0011]

【発明の実施の形態】次に本発明について図面を参照し
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0012】本発明の高位合成装置は、図7に示した従
来の高位合成装置のスケジューリング処理部の前段にビ
ット分解処理部を追加した構成である。ビット分解処理
部は、各演算器の演算時間と設計制約条件で規定された
クロック周期を比較し、クロック周期よりも長い演算時
間を要する演算器を、クロック周期内に演算時間が収ま
るビット数の複数の演算器に分解するビット分解処理を
行う。
The high-level synthesis apparatus according to the present invention has a configuration in which a bit decomposition processing section is added to a stage preceding the scheduling processing section of the conventional high-level synthesis apparatus shown in FIG. The bit disassembly processing unit compares the operation time of each operation unit with the clock cycle specified by the design constraint condition, and determines the operation unit that requires an operation time longer than the clock period by the number of bits for which the operation time falls within the clock period. A bit decomposition process for decomposing into a plurality of arithmetic units is performed.

【0013】図1は本発明の高位合成装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of a high-level synthesis apparatus according to the present invention.

【0014】図1において、本発明の高位合成装置は、
入力された動作レベル記述を構文解析し、データフロー
図等で表わされる内部データを作成するトランスレータ
1と、所定の演算処理を行う演算器の演算時間がそれぞ
れ記録されている演算時間ライブラリ3と、生成する論
理回路の処理時間(クロック数)やその処理時間で動作
させるために各演算器に要求される演算時間の希望時間
(以下、クロック周期と称す)等の設計制約条件が記録
されている制約条件記憶部4と、演算時間ライブラリ3
に記録された各演算器の演算時間及び制約条件記憶部4
に記録された設計制約条件を参照し、演算器の演算時間
がクロック周期以上である場合にその演算器のビット分
解処理を行うビット分解処理部2と、ビット分解処理部
2から出力された内部データを入力とし、演算時間ライ
ブラリ3に記録された各演算器の演算時間及び制約条件
記憶部4に記録された設計制約条件を参照して、スケジ
ューリング処理を行うスケジューリング処理部5と、ス
ケジューリング処理部5から出力される内部データから
論理ゲートレベルの論理回路を生成する合成部6とによ
って構成されている。
In FIG. 1, the high-level synthesis apparatus of the present invention comprises:
A translator 1 that parses the input operation level description and creates internal data represented by a data flow diagram and the like; an operation time library 3 in which operation times of operation units that perform predetermined operation processing are recorded; Design constraints such as the processing time (the number of clocks) of the logic circuit to be generated and the desired operation time (hereinafter referred to as a clock cycle) required for each operation unit to operate with the processing time are recorded. Constraint condition storage unit 4 and operation time library 3
Time and constraint condition storage unit 4 of each computing unit recorded in
A bit decomposition processing unit 2 for performing a bit decomposition process of the arithmetic unit when the operation time of the arithmetic unit is equal to or longer than the clock cycle with reference to the design constraint conditions recorded in A scheduling processing unit 5 for performing a scheduling process by inputting data and referring to the operation time of each operation unit recorded in the operation time library 3 and the design constraints recorded in the constraint condition storage unit 4; And a synthesizing unit 6 for generating a logic circuit at a logic gate level from the internal data output from the logic circuit 5.

【0015】このような構成において、次に本発明の高
位合成装置の動作について図2及び図3を参照して説明
する。
In such a configuration, the operation of the high-level synthesis apparatus according to the present invention will be described next with reference to FIGS.

【0016】図2は図1に示したビット分解処理部の処
理手順を示すフローチャートである。図3は図1に示し
た高位合成装置の動作を説明する図であり、同図(a)
は動作レベル記述の一例を示す図、同図(b)はトラン
スレータから出力される内部データの一例を示すデータ
フロー図、同図(c)はビット分解処理部から出力され
る内部データの一例を示すデータフロー図である。
FIG. 2 is a flowchart showing a processing procedure of the bit decomposition processing section shown in FIG. FIG. 3 is a diagram for explaining the operation of the high-level synthesis device shown in FIG. 1, and FIG.
Is a diagram showing an example of the behavioral level description, FIG. 4B is a data flow diagram showing an example of internal data output from the translator, and FIG. 4C is a diagram showing an example of internal data output from the bit decomposition processing section. It is a data flow diagram shown.

【0017】図2において、ビット分解処理部2は、ト
ランスレータ1から出力された内部データの中から、所
定の演算処理を行う演算器を全て抽出し(ステップS
1)、演算時間ライブラリ3の内容を参照して各演算器
の演算時間とクロック周期とをそれぞれ比較する(ステ
ップS2)。次に、演算時間がクロック周期以上である
演算器を、それぞれクロック周期内に演算時間が収まる
ビット数の複数の演算器に分解する(ステップS3)。
In FIG. 2, the bit decomposition processing unit 2 extracts all the arithmetic units that perform predetermined arithmetic processing from the internal data output from the translator 1 (Step S).
1) The operation time of each operation unit is compared with the clock cycle with reference to the contents of the operation time library 3 (step S2). Next, the operation unit whose operation time is equal to or longer than the clock period is decomposed into a plurality of operation units each having the number of bits whose operation time falls within the clock period (step S3).

【0018】例えば、図3(a)に示す動作レベル記述
に対して、トランスレータ1が図3(b)に示すような
内部データを出力すると、ビット分解処理部2は、トラ
ンスレータ1から出力された内部データの中から、第1
の演算器(図3(b)の)及び第2の演算器(図3
(b)の)をそれぞれ抽出する(ステップS1)。こ
こで、第1の演算器及び第2の演算器の演算時間がそれ
ぞれクロック周期以上の場合(ステップS2)、ビット
分解処理2は、図3(c)のデータフロー図に示すよう
に第1の演算器を’と”に分解し、また、第2の演
算器を’と”に分解する(ステップS3)。
For example, when the translator 1 outputs internal data as shown in FIG. 3B with respect to the behavior level description shown in FIG. 3A, the bit decomposition processing unit 2 outputs the data output from the translator 1. From the internal data, the first
3 (FIG. 3B) and a second computing unit (FIG. 3B).
(B) are extracted (step S1). Here, when the operation time of each of the first arithmetic unit and the second arithmetic unit is equal to or longer than the clock cycle (step S2), the bit decomposition process 2 performs the first operation as shown in the data flow diagram of FIG. Is decomposed into 'and', and the second operator is decomposed into 'and' (step S3).

【0019】なお、図3(c)中の、Am〜Emは、そ
れぞれ信号A〜Eの上位ビット(MSBを含む)から構
成される信号を示し、Al〜Elは、それぞれ信号A〜
EのLSBを含む下位ビットから構成される信号を示し
ている。
In FIG. 3C, Am to Em indicate signals composed of upper bits (including the MSB) of the signals A to E, respectively, and Al to El indicate the signals A to El, respectively.
A signal composed of lower bits including the LSB of E is shown.

【0020】ところで、本実施の形態の高位合成装置の
構成のうち、トランスレータ1、ビット分解処理部2、
スケジューリング処理部5、及び合成部6で実行する各
処理はCPUを備えた計算機で行ってもよい。その場
合、計算機は高位合成のための処理プログラムが記録さ
れた不図示の記録媒体を有し、上述した高位合成のため
の各処理手順は、記録媒体に記録された処理プログラム
にしたがって実行される。ここで、記録媒体は磁気ディ
スク、半導体メモリ、あるいはその他の記録媒体であっ
てもよい。
In the configuration of the high-level synthesis apparatus according to the present embodiment, the translator 1, the bit decomposition processing unit 2,
Each processing executed by the scheduling processing unit 5 and the synthesis unit 6 may be performed by a computer including a CPU. In that case, the computer has a recording medium (not shown) in which a processing program for high-level synthesis is recorded, and each processing procedure for high-level synthesis described above is executed according to the processing program recorded in the recording medium. . Here, the recording medium may be a magnetic disk, a semiconductor memory, or another recording medium.

【0021】[0021]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0022】図4は本発明の高位合成装置の実施例の動
作を説明する図であり、同図(a)は演算器の演算時間
とクロック周期の関係を示す図、同図(b)はトランス
レータから出力される内部データを示すデータフロー
図、同図(c)はビット分解処理部から出力される内部
データを示すデータフロー図である。図5は本発明の高
位合成装置の実施例の動作を説明する図であり、同図
(a)はスケジューリング処理部から出力される内部デ
ータの一例を示すデータフロー図、同図(b)はスケジ
ューリング処理部から出力される内部データの他の例を
示すデータフロー図である。また、図6は図1に示した
合成部で生成される論理回路の構成を示す図であり、同
図(a)はビット分解処理部が無い場合に生成される論
理回路のブロック図、同図(b)は図5(b)に示した
内部データで生成される論理回路のブロック図、同図
(c)は図5(c)に示した内部データで生成される論
理回路のブロック図である。
FIGS. 4A and 4B are diagrams for explaining the operation of the embodiment of the high-level synthesis apparatus according to the present invention. FIG. 4A shows the relationship between the operation time of the arithmetic unit and the clock cycle, and FIG. FIG. 3C is a data flow diagram showing internal data output from the translator, and FIG. 3C is a data flow diagram showing internal data output from the bit decomposition processing section. FIG. 5 is a diagram for explaining the operation of the embodiment of the high-level synthesis device of the present invention. FIG. 5A is a data flow diagram showing an example of internal data output from the scheduling processing unit, and FIG. It is a data flow figure showing other examples of internal data outputted from a scheduling processing part. FIG. 6 is a diagram showing a configuration of a logic circuit generated by the synthesis unit shown in FIG. 1. FIG. 6A is a block diagram of a logic circuit generated when there is no bit decomposition processing unit. 5B is a block diagram of a logic circuit generated by the internal data shown in FIG. 5B, and FIG. 5C is a block diagram of a logic circuit generated by the internal data shown in FIG. It is.

【0023】なお、本実施例では、高位合成装置に入力
される動作レベル記述に z(99downto0)=x(99downto0)+y(99downt o0)…(1) の100bit加算器があり、この100bit加算器
の演算時間がDelay1である場合を例にして説明す
る。
In this embodiment, the operation level description input to the high-level synthesis device includes a 100-bit adder of z (99down0) = x (99down0) + y (99downto0) (1). An example in which the calculation time of the delay time is Delay1 will be described.

【0024】また、100bit加算器は、ビット分解
処理部2によって演算時間がDelay2である2つの
50bit加算器に分解され、Delay1、Dela
y2、及びクロック周期Tが図4(a)に示すような関
係にあるものとする。
The 100-bit adder is decomposed into two 50-bit adders whose operation time is Delay2 by the bit decomposing unit 2, and Delay1, Delay
It is assumed that y2 and the clock cycle T have a relationship as shown in FIG.

【0025】トランスレータ1から図4(b)のデータ
フロー図に示すような内部データが出力されると、ビッ
ト分解処理部2は、Delay1>Tである100bi
t加算器を、Delay2<Tである2つの50bit
加算器に分解するビット分解処理を行い、トランスレー
タ1から出力された内部データを基に、図4(c)に示
すような内部データを出力する。
When the translator 1 outputs internal data as shown in the data flow diagram of FIG. 4 (b), the bit decomposition processing unit 2 sets 100bi in which Delay1> T holds.
The t adder is divided into two 50 bits where Delay2 <T.
A bit decomposition process for decomposing the data into adders is performed, and based on the internal data output from the translator 1, internal data as shown in FIG.

【0026】次に、スケジュールリング処理部5は、演
算時間ライブラリ3及び制約条件記憶部4の内容を参照
してスケジューリング処理を行い、図5(a)、または
図5(b)に示すようなレジスタR1〜R8、セレクタ
SEL1〜SEL3を含む内部データを出力する。
Next, the scheduling processing unit 5 performs a scheduling process with reference to the contents of the calculation time library 3 and the constraint condition storage unit 4, and performs a scheduling process as shown in FIG. 5 (a) or 5 (b). Outputs internal data including registers R1 to R8 and selectors SEL1 to SEL3.

【0027】合成部6は、図5(a)に示した内部デー
タを基に、図6(b)に示すような論理回路を出力す
る。また、図5(b)に示した内部データを基に図6
(c)に示すような論理回路を出力する。
The combining section 6 outputs a logic circuit as shown in FIG. 6B based on the internal data shown in FIG. Also, based on the internal data shown in FIG.
A logic circuit as shown in FIG.

【0028】なお、図7に示した従来の高位合成装置の
ようにビット分解処理部2が無い場合、合成部6は図4
(b)のデータフロー図に示すような内部データに対し
て図6(a)に示すような論理回路を出力する。
When the bit separation processing unit 2 is not provided as in the conventional high-level synthesis apparatus shown in FIG.
A logic circuit as shown in FIG. 6A is output for the internal data as shown in the data flow diagram of FIG.

【0029】したがって、多ビット演算器等のようにク
ロック周期以上の演算時間を要する演算器を、演算時間
がクロック周期内の複数の演算器にビット分解すること
により、全ての演算器の演算時間をクロック周期内に収
めることができる。よって、正確なスケジューリング処
理を行うことができるため、所望のクロック周期以上の
演算時間を要する演算器を有する動作レベル記述があっ
ても、設計制約条件を満たす論理回路を生成することが
できる。
Therefore, the operation time required for the operation time longer than the clock period, such as a multi-bit operation unit, is divided into a plurality of operation units within the clock period by the operation time. In the clock cycle. Therefore, since accurate scheduling processing can be performed, a logic circuit that satisfies design constraints can be generated even if there is an operation level description including an arithmetic unit that requires an operation time longer than a desired clock cycle.

【0030】なお、図4(c)、図5(a)、及び図5
(b)中の、xm〜zmは、それぞれ信号x〜zの上位
ビット(MSBを含む)から構成される信号を示し、x
l〜zlはそれぞれ信号x〜zのLSBを含む下位ビッ
トから構成される信号を示している。
FIGS. 4C, 5A, and 5
In (b), xm to zm indicate signals composed of upper bits (including the MSB) of the signals x to z, respectively, and x
1 to z1 indicate signals composed of lower bits including the LSB of the signals x to z, respectively.

【0031】[0031]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載する効果を奏する。
Since the present invention is configured as described above, the following effects can be obtained.

【0032】多ビット演算器等のように希望時間を越え
る演算時間を要する演算器を、複数の希望時間内に演算
時間が収まるビット数の演算器に分解することで、全て
の演算器の演算時間を希望時間内に収めることができ
る。よって、正確なスケジューリング処理を行うことが
できるため、希望時間以上の演算時間を要する演算器を
有する動作レベル記述に対しても、設計制約条件を満た
す論理回路を生成することができる。
An arithmetic unit which requires an operation time exceeding a desired time, such as a multi-bit arithmetic unit, is decomposed into a plurality of arithmetic units having the number of bits within which the operation time can be accommodated within the desired time. The time can be set within the desired time. Therefore, since accurate scheduling processing can be performed, a logic circuit that satisfies design constraints can be generated even for an operation level description having an operation unit that requires an operation time longer than a desired time.

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

【図1】本発明の高位合成装置の構成を示すブロック図
である。
FIG. 1 is a block diagram illustrating a configuration of a high-level synthesis device according to the present invention.

【図2】図1に示したビット分解処理部の処理手順を示
すフローチャートである。
FIG. 2 is a flowchart illustrating a processing procedure of a bit decomposition processing unit illustrated in FIG. 1;

【図3】図1に示した高位合成装置の動作を説明する図
であり、同図(a)は動作レベル記述の一例を示す図、
同図(b)はトランスレータから出力される内部データ
の一例を示すデータフロー図、同図(c)はビット分解
処理部から出力される内部データの一例を示すデータフ
ロー図である。
3A and 3B are diagrams for explaining the operation of the high-level synthesis device shown in FIG. 1; FIG. 3A shows an example of a behavior level description;
FIG. 2B is a data flow diagram showing an example of internal data output from the translator, and FIG. 2C is a data flow diagram showing an example of internal data output from the bit decomposition processing section.

【図4】本発明の高位合成装置の実施例の動作を説明す
る図であり、同図(a)は演算器の演算時間とクロック
周期の関係を示す図、同図(b)はトランスレータから
出力される内部データを示すデータフロー図、同図
(c)はビット分解処理部から出力される内部データを
示すデータフロー図である。
4A and 4B are diagrams for explaining the operation of the embodiment of the high-level synthesis apparatus according to the present invention, wherein FIG. 4A shows the relationship between the operation time of a computing unit and a clock cycle, and FIG. FIG. 4C is a data flow diagram showing the internal data output from the bit decomposition processing unit, and FIG.

【図5】本発明の高位合成装置の実施例の動作を説明す
る図であり、同図(a)はスケジューリング処理部から
出力される内部データの一例を示すデータフロー図、同
図(b)はスケジューリング処理部から出力される内部
データの他の例を示すデータフロー図である。
FIG. 5 is a diagram for explaining the operation of the embodiment of the high-level synthesis device of the present invention. FIG. 5A is a data flow diagram showing an example of internal data output from the scheduling processing unit, and FIG. FIG. 8 is a data flow diagram showing another example of internal data output from the scheduling processing unit.

【図6】図1に示した合成部で生成される論理回路の構
成を示す図であり、同図(a)はビット分解処理部が無
い場合に生成される論理回路のブロック図、同図(b)
は図5(b)に示した内部データで生成される論理回路
のブロック図、同図(c)は図5(c)に示した内部デ
ータで生成される論理回路のブロック図である。
6A and 6B are diagrams illustrating a configuration of a logic circuit generated by a synthesis unit illustrated in FIG. 1; FIG. 6A is a block diagram of a logic circuit generated when there is no bit decomposition processing unit; (B)
5 is a block diagram of a logic circuit generated by the internal data shown in FIG. 5B, and FIG. 5C is a block diagram of a logic circuit generated by the internal data shown in FIG.

【図7】従来の高位合成装置の構成を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a configuration of a conventional high-level synthesis device.

【図8】図7に示した高位合成装置の動作を説明する図
であり、同図(a)は動作レベル記述の一例を示す図、
同図(b)は図7に示したトランスレータから出力され
る内部データの一例を示すデータフロー図である。
8 is a diagram for explaining the operation of the high-level synthesis device shown in FIG. 7; FIG. 8A is a diagram showing an example of a behavior level description;
FIG. 2B is a data flow diagram showing an example of internal data output from the translator shown in FIG.

【図9】図7に示したスケジューリング処理部から出力
される内部データの一例を示すデータフロー図である。
FIG. 9 is a data flow diagram illustrating an example of internal data output from the scheduling processing section illustrated in FIG. 7;

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

1 トランスレータ 2 ビット分解処理部 3 演算時間ライブラリ 4 制約条件記憶部 5 スケジューリング処理部 6 合成部 Reference Signs List 1 translator 2 bit decomposition processing unit 3 operation time library 4 constraint condition storage unit 5 scheduling processing unit 6 synthesis unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動作レベル記述から論理回路を自動的に
生成する高位合成装置であって、 入力された動作レベル記述を構文解析し、所望の論理回
路を合成するための内部データを作成するトランスレー
タと、 前記内部データから所定の演算処理を行う演算器を全て
抽出し、該演算器の演算時間が、前記論理回路を所望の
周波数で動作させるために要求される希望時間内である
か否かをそれぞれ判定し、該希望時間を越える演算時間
を要する演算器を、該希望時間内に演算時間が収まるビ
ット数の複数の演算器に分解するビット分解処理部と、 前記ビット分解処理部の処理結果から、前記論理回路に
要求される処理時間に収まるように各演算器を割り当て
ると共に、前記演算処理に必要なレジスタを各演算器に
それぞれ割り付けるスケジューリング処理部と、 前記スケジューリング処理部の処理結果から論理ゲート
レベルの論理回路を生成する合成部と、を有することを
特徴とする高位合成装置。
1. A high-level synthesis apparatus that automatically generates a logic circuit from a behavioral level description, comprising: a translator that parses an input behavioral level description and creates internal data for synthesizing a desired logic circuit; And extracting all arithmetic units that perform predetermined arithmetic processing from the internal data, and determining whether the arithmetic time of the arithmetic unit is within a desired time required to operate the logic circuit at a desired frequency. And a bit decomposition processing unit that decomposes an operation unit that requires an operation time longer than the desired time into a plurality of operation units of a number of bits that can be processed within the desired time; and a process performed by the bit decomposition processing unit. Based on the result, a scheduler for allocating each arithmetic unit so as to be within the processing time required for the logic circuit and allocating registers required for the arithmetic processing to each arithmetic unit. A high-level synthesis device, comprising: a processing unit; and a synthesis unit that generates a logic circuit at a logic gate level from a processing result of the scheduling processing unit.
【請求項2】 動作レベル記述から論理回路を自動的に
生成するプログラムを記録した記録媒体であって、 入力された動作レベル記述を構文解析し、所望の論理回
路を合成するための内部データを作成するトランスレー
タ処理と、 前記内部データから所定の演算処理を行う演算器を全て
抽出し、該演算器の演算時間が、前記論理回路を所望の
周波数で動作させるために要求される希望時間内である
か否かをそれぞれ判定し、該希望時間を越える演算時間
を要する演算器を、該希望時間内に演算時間が収まるビ
ット数の複数の演算器に分解するビット分解処理と、 前記ビット分解処理部の処理結果から、前記論理回路に
要求される処理時間に収まるように各演算器を割り当て
ると共に、前記演算処理に必要なレジスタを各演算器に
それぞれ割り付けるスケジューリング処理と、 前記スケジューリング処理部の処理結果から論理ゲート
レベルの論理回路を生成する合成処理と、を高位合成装
置に実行させるためのプログラムを記録した記録媒体。
2. A recording medium on which a program for automatically generating a logic circuit from a behavioral level description is recorded. The recording medium parses an inputted behavioral level description and stores internal data for synthesizing a desired logic circuit. A translator process to be created, and all arithmetic units that perform a predetermined arithmetic process are extracted from the internal data, and the arithmetic time of the arithmetic unit is within a desired time required to operate the logic circuit at a desired frequency. A bit decomposition process for determining whether or not there is any of them, and decomposing an operation unit requiring an operation time exceeding the desired time into a plurality of operation units having a number of bits within the operation time within the desired time; Based on the processing results of the sections, each operation unit is allocated so as to be within the processing time required for the logic circuit, and registers necessary for the operation processing are allocated to each operation unit. A recording medium that stores a program for causing a high-level synthesis device to execute a scheduling process to attach, and a synthesis process to generate a logic circuit at a logic gate level from a processing result of the scheduling processing unit.
JP9135349A 1997-05-26 1997-05-26 High-level synthesis device and recording medium thereof Expired - Lifetime JP2953431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9135349A JP2953431B2 (en) 1997-05-26 1997-05-26 High-level synthesis device and recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9135349A JP2953431B2 (en) 1997-05-26 1997-05-26 High-level synthesis device and recording medium thereof

Publications (2)

Publication Number Publication Date
JPH10326297A JPH10326297A (en) 1998-12-08
JP2953431B2 true JP2953431B2 (en) 1999-09-27

Family

ID=15149693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9135349A Expired - Lifetime JP2953431B2 (en) 1997-05-26 1997-05-26 High-level synthesis device and recording medium thereof

Country Status (1)

Country Link
JP (1) JP2953431B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006093398A1 (en) 2005-03-04 2006-09-08 Inktec Co., Ltd. Conductive inks and manufacturing method thereof
JP4730536B2 (en) 2005-12-26 2011-07-20 日本電気株式会社 Behavioral synthesis system, behavioral synthesis method and program
JP5935563B2 (en) * 2012-07-17 2016-06-15 株式会社ソシオネクスト Design support apparatus, design support method, and program

Also Published As

Publication number Publication date
JPH10326297A (en) 1998-12-08

Similar Documents

Publication Publication Date Title
Chu et al. HYPER: an interactive synthesis environment for high performance real time applications.
US7484186B2 (en) Method for designing a system LSI
JP2007193529A (en) High-level synthesis method for semiconductor integrated circuit
KR100499720B1 (en) Method for designing a system lsi
US7913204B2 (en) High-level synthesis apparatus, high-level synthesis system and high-level synthesis method
US6654945B1 (en) Storage medium in which data for designing an integrated circuit is stored and method of fabricating an integrated circuit
US8127259B2 (en) Synthesis constraint creating device, behavioral synthesis device, synthesis constraint creating method and recording medium
JP2953431B2 (en) High-level synthesis device and recording medium thereof
Vahid et al. Functional partitioning improvements over structural partitioning for packaging constraints and synthesis: tool performance
JPH1031693A (en) Synthesizing method for exclusive application subsystem
JP2001209670A (en) High order synthesis method and recording medium used for execution of high order synthesis method
JP2002269162A (en) Action synthesizing method
JP2861994B1 (en) Circuit synthesis method, circuit synthesis device, and recording medium
JP2018041301A (en) RTL optimization system and RTL optimization program
JP6735951B2 (en) High-level synthesis device, high-level synthesis method, and high-level synthesis program
JP2006202330A (en) Method for designing system lsi and recording medium storing the same
US8108808B2 (en) Description processing device, description processing method, and recording medium
JP2001209664A (en) High order synthesis method and recording medium used for execution of high order synthesis method
JP5267376B2 (en) Behavioral synthesis apparatus, behavioral synthesis method, and program
US20030140054A1 (en) Processor composing apparatus, system LSI composing apparatus, processor composing method, system LSI composing method, and program therefor
JPH1196203A (en) Method for designing logical circuit
JP2002222228A (en) High order synthesizing system and high order synthesizing method
JP2006202329A (en) Method for designing system lsi and recording medium storing the same
JP3101872B2 (en) Logic synthesis support method and system
JP2000222442A (en) Method and device for dividing logic circuit