JP5241218B2 - Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program - Google Patents

Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program Download PDF

Info

Publication number
JP5241218B2
JP5241218B2 JP2007320997A JP2007320997A JP5241218B2 JP 5241218 B2 JP5241218 B2 JP 5241218B2 JP 2007320997 A JP2007320997 A JP 2007320997A JP 2007320997 A JP2007320997 A JP 2007320997A JP 5241218 B2 JP5241218 B2 JP 5241218B2
Authority
JP
Japan
Prior art keywords
clock
circuit
context
flip
value
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 - Fee Related
Application number
JP2007320997A
Other languages
Japanese (ja)
Other versions
JP2009147539A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007320997A priority Critical patent/JP5241218B2/en
Publication of JP2009147539A publication Critical patent/JP2009147539A/en
Application granted granted Critical
Publication of JP5241218B2 publication Critical patent/JP5241218B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Logic Circuits (AREA)

Description

この発明は、消費電力の低減化を図るようにした動的再構成デバイスを用いた導体集積回路設計支援システム並びに半導体集積回路設計支援プログラムに関するものである。 The present invention relates to semi-conductor integrated circuit design support system and a semiconductor integrated circuit design support program using dynamic reconfiguration device which is adapted reduce the power consumption.

PE(Processor Element)の入出力にクロック駆動のフリップフロップを配置してタイミングの管理を行っている従来のコンテキスト型動的再構成デバイスでは、PEを8bit、32bit等の固定ビット長で構成し、格子状に配置している。このため、動作中の信号状態に関係なく、入出力レジスタ駆動用のクロック配線による消費電力を削減出来ない問題があった。この問題に対して、例えば、特許文献1では、回路の動作状態に応じて状態管理部が、接続しているエレメント領域の動作を動作状態の発生しない動作サイクルのときに一時停止させる技術が記載されている。また、例えば特許文献2では、待機状態の電力消費を抑える技術が記載されている。   In a conventional context-type dynamic reconfiguration device in which a clock-driven flip-flop is arranged at the input / output of a PE (Processor Element) to manage timing, the PE is configured with a fixed bit length such as 8 bits or 32 bits, They are arranged in a grid. For this reason, there is a problem that power consumption by the clock wiring for driving the input / output register cannot be reduced regardless of the signal state during operation. To deal with this problem, for example, Patent Document 1 describes a technique in which the state management unit temporarily stops the operation of the connected element region during an operation cycle in which no operation state occurs according to the operation state of the circuit. Has been. For example, Patent Document 2 describes a technique for suppressing power consumption in a standby state.

特開2004−227512号公報JP 2004-227512 A 特開2006−343962号公報Japanese Patent Application Laid-Open No. 2006-343962

しかしながら、従来の特許文献1に記載されているようなアレイ型プロセッサでは、エレメント単位での停止技術であることおよび状態管理部が大規模回路であるが故の電力消費により電力低減とならない恐れがあった。また、特許文献2に記載されているような待機状態での電力消費を抑える技術では、動作中の電力消費を抑える場合には、適用できないといった問題があった。
また、クロックゲーティング回路は、信号の遅延時間を管理しない場合にクロックハザードやクロックのハイ幅やロウ幅の細りが発生し、回路が誤動作するという問題もあった。
However, in the conventional array type processor described in Patent Document 1, there is a possibility that the power consumption is not reduced due to the stop technique in element units and the power consumption because the state management unit is a large-scale circuit. there were. In addition, the technique for suppressing power consumption in a standby state as described in Patent Document 2 has a problem that it cannot be applied when suppressing power consumption during operation.
In addition, the clock gating circuit has a problem that when the signal delay time is not managed, a clock hazard, a high width or a low width of the clock occurs, and the circuit malfunctions.

この発明は上記のような課題を解決するためになされたもので、大規模な制御回路による集中管理を必要とせず、クロック配線による消費電力を抑えることが可能となり、低消費電力でより多くの処理を行える動的再構成デバイス及び半導体集積回路設計支援システム並びにプログラムを得ることを目的とする。   The present invention has been made to solve the above-described problems, and does not require centralized management by a large-scale control circuit, and can reduce power consumption due to clock wiring. An object of the present invention is to obtain a dynamic reconfigurable device, a semiconductor integrated circuit design support system, and a program that can perform processing.

この発明に係る半導体集積回路設計支援システムは、フリップフロップの入力値と出力値に応じてクロックの固定制御を行うクロック制御回路を備え、クロック制御回路は、クロック制御の有無を示すクロック強制有効コンテキストと、フリップフロップの入力値と、フリップフロップの出力値との3信号とクロックを入力とし、3信号の状態に応じてクロックの固定制御を決定し、この結果を前記フリップフロップへのクロックとして出力し、かつ、クロック強制有効コンテキストの値をコンテキストデータとして保持し設定するコンテキストデータ設定手段を備えた動的再構成デバイスに対して、動的再構成デバイス内の隣接するフリップフロップを出力してからコンテキスト値によって構成される回路を通過し終わるまでの最大遅延時間を算出し、当該算出した最大遅延時間値からクロック停止可能なフリップフロップを検出し、このフリップフロップへのクロックを制御するクロック制御回路の制御値を決定し、クロック強制有効コンテキストデータとして生成するクロック停止FF検出手段を備えたものである。 A semiconductor integrated circuit design support system according to the present invention includes a clock control circuit that performs fixed control of a clock in accordance with an input value and an output value of a flip-flop, and the clock control circuit includes a clock forced effective context that indicates the presence or absence of clock control. The input signal of the flip-flop and the output value of the flip-flop and the clock are input, the fixed control of the clock is determined according to the state of the three signals, and the result is output as the clock to the flip-flop And outputting a neighboring flip-flop in the dynamic reconfiguration device to a dynamic reconfiguration device having a context data setting means for holding and setting the value of the forced clock valid context as context data At the maximum delay before passing through the circuit configured by the context value Is detected from the calculated maximum delay time value, the control value of the clock control circuit that controls the clock to this flip-flop is determined, and the clock is generated as the clock forced valid context data A stop FF detection means is provided.

この発明の半導体集積回路設計支援システムによれば、大規模な制御回路による集中管理を必要とせず、クロック配線による消費電力を抑えることが可能な動的再構成デバイスを用いた半導体集積回路の設計支援を行うことができる。

According to the semiconductor integrated circuit design support system of the present invention, design of a semiconductor integrated circuit using a dynamic reconfigurable device that does not require centralized management by a large-scale control circuit and can suppress power consumption due to clock wiring. Can provide support.

実施の形態1.
図1は、この発明の実施の形態1による動的再構成デバイスを示す構成図である。
図において、動的再構成デバイスは、プロセッサエレメント(PE)100とコンテキストデータ設定手段200を備えている。プロセッサエレメント(PE)100はコンテキスト型動的再構成デバイスの回路部であり、コンテキストデータ設定手段200は、データパス部のコンテキストデータ(コンテキスト番号1)201−1〜(コンテキスト番号n)201−nと、クロック強制有効コンテキストデータ(コンテキスト番号1)202−1〜(コンテキスト番号n)202−nをプロセッサエレメント(PE)100に適用して所望の回路を得るための手段である。ここで、コンテキストデータとはコンテキストの集合体での意味で用いる。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a dynamic reconfiguration device according to Embodiment 1 of the present invention.
In the figure, the dynamic reconfiguration device includes a processor element (PE) 100 and context data setting means 200. The processor element (PE) 100 is a circuit unit of the context type dynamic reconfiguration device, and the context data setting unit 200 includes context data (context number 1) 201-1 to (context number n) 201-n of the data path unit. The clock forced effective context data (context number 1) 202-1 to (context number n) 202-n is applied to the processor element (PE) 100 to obtain a desired circuit. Here, the context data is used in the meaning of a collection of contexts.

プロセッサエレメント(PE)100は、外部からのクロック入力ポートCLK、外部からのリセット入力ポートRST_N、外部からの信号入力ポートIN1〜IN6、外部への信号出力ポートOUT1、リセット信号でリセット可能な端子が付いたフリップフロップであるフリップフロップ(FF1)1−1〜(FF4)1−4、クロック制御回路2−1〜2−4、クロック強制有効コンテキスト値を保持したクロック強制有効コンテキスト回路(P1)3−1〜(P4)3−4、フリップフロップやラッチを包含しない組合せ回路(C1)4−1〜(C5)4−5、組合せ回路(C1)4−1〜(C5)4−5のコンテキスト値を保持したデータパス部のコンテキスト回路(Q1)5−1〜(Q5)5−5、FF出力選択回路(M1)6−1〜(M4)6−4、データパス部の未使用FF設定情報を保持したデータパス部の未使用FF設定コンテキスト回路(S1)7−1〜(S4)7−4を備える。尚、以下、プロセッサエレメント(PE)100はPE100として説明する。   The processor element (PE) 100 has an external clock input port CLK, an external reset input port RST_N, an external signal input port IN1 to IN6, an external signal output port OUT1, and a terminal that can be reset by a reset signal. Flip-flops (FF1) 1-1 to (FF4) 1-4, which are attached flip-flops, clock control circuits 2-1 to 2-4, a clock forced effective context circuit (P1) 3 holding a clock forced effective context value -1 to (P4) 3-4, contexts of combinational circuits (C1) 4-1 to (C5) 4-5 and combinational circuits (C1) 4-1 to (C5) 4-5 not including flip-flops and latches Context circuit (Q1) 5-1 to (Q5) 5-5 of the data path unit holding the value, FF output selection circuit (M1) -1~ (M4) 6-4, unused FF configuration context circuit (S1) of the data path unit holding unused FF setting information of the data path unit comprises 7-1~ (S4) 7-4. Hereinafter, the processor element (PE) 100 will be described as PE100.

フリップフロップ(FF1)1−1〜(FF4)1−4は、組合せ回路(C1)4−1〜(C4)4−4の出力を入力し、FF出力選択回路(M1)6−1〜(M4)6−4に対して出力d1〜d4を送出すると共に、クロック制御回路2−1〜2−4からのクロック出力GCLKをクロック入力とするフリップフロップである。尚、以下、フリップフロップ(FF1)1−1〜(FF4)1−4はFF1〜FF4として説明する。また、クロック制御回路2−1〜2−4は、全て同じクロック制御回路であるため、以下、クロック制御回路2として説明する。
図2はクロック制御回路2の構成図である。
図示のように、クロック制御回路2は、クロック入力ポートICLK、クロック強制有効コンテキスト入力ポートp、FFの入力値の入力ポートc、FF出力選択値の入力ポートr、クロック出力ポートGCLKを備えた組合せ回路で、p、c、rの各入力信号値に応じて、入力ICLKからGCLKの出力制御を行う機能を有している。
The flip-flops (FF1) 1-1 to (FF4) 1-4 receive the outputs of the combinational circuits (C1) 4-1 to (C4) 4-4, and the FF output selection circuits (M1) 6-1 to ( M4) A flip-flop which sends outputs d1 to d4 to 6-4 and receives clock outputs GCLK from clock control circuits 2-1 to 2-4 as clock inputs. Hereinafter, the flip-flops (FF1) 1-1 to (FF4) 1-4 will be described as FF1 to FF4. Since the clock control circuits 2-1 to 2-4 are all the same clock control circuit, the clock control circuit 2 will be described below.
FIG. 2 is a configuration diagram of the clock control circuit 2.
As shown in the figure, the clock control circuit 2 includes a clock input port ICLK, a clock forced valid context input port p, an input port c for an FF input value, an input port r for an FF output selection value, and a clock output port GCLK. The circuit has a function of performing output control from input ICLK to GCLK in accordance with input signal values of p, c, and r.

図3は、クロック制御回路2の動作真理値を示す説明図である。
図4は、クロック強制有効コンテキスト入力ポートpの入力状態を示す説明図である。
クロック制御回路2は動的再構成回路であり、図4に示すように、クロック強制有効コンテキスト入力ポートpの値が0の時に、クロック制御が行われるよう設定されている。そして、図3に示すように、クロック強制有効コンテキスト入力ポートpの値が0の時に、FFの入力値の入力ポートcとFF出力選択値の入力ポートrの値が共に1または0で同じ信号状態の時に出力クロックGCLKを固定する機能を有している。このような機能を有したクロック制御回路2を用いることで、FFの入力値と出力値に応じてクロックの固定制御を行うことが可能となる。
FIG. 3 is an explanatory diagram showing operation truth values of the clock control circuit 2.
FIG. 4 is an explanatory diagram showing the input state of the clock forced valid context input port p.
The clock control circuit 2 is a dynamic reconfiguration circuit, and is set to perform clock control when the value of the clock forced valid context input port p is 0, as shown in FIG. Then, as shown in FIG. 3, when the value of the clock forced valid context input port p is 0, the same signal is obtained when both the input port c of the FF input value and the input port r of the FF output selection value are 1 or 0. It has a function of fixing the output clock GCLK when in a state. By using the clock control circuit 2 having such a function, it is possible to perform fixed clock control according to the input value and output value of the FF.

クロック強制有効コンテキスト回路(P1)3−1〜(P4)3−4は、全て同じクロック強制有効コンテキスト回路Pであるため、以下、クロック強制有効コンテキスト回路Pとして説明する。また、クロック強制有効コンテキスト回路Pのブロック図を図5に示す。クロック強制有効コンテキスト回路Pはコンテキストデータによって、クロック制御回路2のクロック強制有効コンテキストpを出力する。   Since the clock forced valid context circuits (P1) 3-1 to (P4) 3-4 are all the same clock forced valid context circuit P, the clock forced valid context circuit P will be described below. A block diagram of the clock forced effective context circuit P is shown in FIG. The clock forced valid context circuit P outputs the clock forced valid context p of the clock control circuit 2 according to the context data.

組合せ回路(C1)4−1〜(C5)4−5は、その演算内容をデータパス部のコンテキスト(コンテキスト番号1〜n)によって変化することを特徴とする動的再構成回路である。本実施の形態では動的再構成回路の一例として組合せ回路Cを定義し、組合せ回路(C1)4−1〜(C5)4−5が全て組合せ回路Cであるとして以下の説明を行う。また、組合せ回路Cの構成を図6に示す。
組合せ回路Cは、信号入力ポートx、信号入力ポートy、データパス部のコンテキスト入力ポートq、信号出力ポートzを備え、コンテキスト入力ポートqの状態により、異なる演算結果を出力することが可能な動的再構成回路である。
The combinational circuits (C1) 4-1 to (C5) 4-5 are dynamic reconfiguration circuits characterized in that their calculation contents vary depending on the context (context numbers 1 to n) of the data path unit. In this embodiment, the combinational circuit C is defined as an example of the dynamic reconfiguration circuit, and the following description will be made assuming that all the combinational circuits (C1) 4-1 to (C5) 4-5 are combinational circuits C. The configuration of the combinational circuit C is shown in FIG.
The combinational circuit C includes a signal input port x, a signal input port y, a context input port q of the data path unit, and a signal output port z, and can output different calculation results depending on the state of the context input port q. Reconfiguration circuit.

図7は組合せ回路Cの動作真理値を示す説明図である。
図7に示すように、組合せ回路Cは、
データパス部のコンテキスト入力ポートqの値が1の時に、入力xと同じ信号状態を出力し、
データパス部のコンテキスト入力ポートqの値が2の時に、入力yと同じ信号状態を出力し、
データパス部のコンテキスト入力ポートqの値が3の時に、入力xの論理反転した信号状態を出力し、
データパス部のコンテキスト入力ポートqの値が4の時に、入力yの論理反転した信号状態を出力し、
データパス部のコンテキスト入力ポートqの値が5の時に、入力xと入力yの論理積を出力し、
データパス部のコンテキスト入力ポートqの値が6の時に、入力xと入力yの論理積反転を出力し、
データパス部のコンテキスト入力ポートqの値が7の時に、入力xと入力yの論理和を出力し、
データパス部のコンテキスト入力ポートqの値が8の時に、入力xと入力yの論理和反転を出力する機能を特徴として備えた動的再構成回路である。
FIG. 7 is an explanatory diagram showing operation truth values of the combinational circuit C.
As shown in FIG.
When the value of the context input port q in the data path part is 1, the same signal state as the input x is output,
When the value of the context input port q in the data path part is 2, the same signal state as the input y is output,
When the value of the context input port q of the data path unit is 3, the signal state obtained by inverting the logic of the input x is output.
When the value of the context input port q in the data path part is 4, the signal state obtained by inverting the logic of the input y is output.
When the value of the context input port q in the data path part is 5, the logical product of the input x and the input y is output,
When the value of the context input port q in the data path part is 6, the logical product inversion of the input x and the input y is output.
When the value of the context input port q in the data path part is 7, the logical sum of the input x and the input y is output,
This is a dynamic reconfiguration circuit characterized by the function of outputting a logical sum inversion of input x and input y when the value of the context input port q of the data path unit is 8.

データパス部のコンテキスト回路(Q1)5−1〜(Q5)5−5は、全て同じデータパス部のコンテキスト回路Qであるため、以下、データパス部のコンテキスト回路Qとして説明を行う。データパス部のコンテキスト回路Qのブロック図を図8に示す。データパス部のコンテキスト回路Qは、コンテキストデータによって、組合せ回路Cのデータパス部のコンテキストqを出力する。   Since the context circuits (Q1) 5-1 to (Q5) 5-5 of the data path unit are all the same context circuit Q of the data path unit, the description will be made below as the context circuit Q of the data path unit. A block diagram of the context circuit Q in the data path unit is shown in FIG. The context circuit Q of the data path unit outputs the context q of the data path unit of the combinational circuit C according to the context data.

FF出力選択回路(M1)6−1〜(M4)6−4は、全て同じFF出力選択回路Mであるため、以下、FF出力選択回路Mとして説明する。FF出力選択回路Mのブロック図を図9に示す。FF出力選択回路Mは、データパス部の未使用FF設定コンテキスト入力ポートs、FFをスルーしたFFの入力信号の入力ポートu、FF出力の入力ポートv、データ出力ポートwを備えた動作再構成回路で、s、u、vの各入力信号値に応じて、入力u、vから出力wの出力制御を行う機能を有している。   Since the FF output selection circuits (M1) 6-1 to (M4) 6-4 are all the same FF output selection circuit M, they will be described below as the FF output selection circuit M. A block diagram of the FF output selection circuit M is shown in FIG. The FF output selection circuit M includes an unused FF setting context input port s of the data path unit, an input port u of the FF input signal that has passed through the FF, an input port v of the FF output, and a data output port w. The circuit has a function of performing output control from the input u, v to the output w according to the input signal values of s, u, v.

図10は、FF出力選択回路Mの動作真理値を示す説明図である。
図示のように、FF出力選択回路Mは、
データパス部の未使用FF設定コンテキスト入力ポートsの値が1の時に、FFをスルーしたFFの入力信号の入力uを出力し、
データパス部の未使用FF設定コンテキスト入力ポートsの値が2の時に、FF出力の入力ポートvを出力する機能を有している。
FIG. 10 is an explanatory diagram showing operation truth values of the FF output selection circuit M.
As shown, the FF output selection circuit M is
When the value of the unused FF setting context input port s in the data path part is 1, the input u of the FF input signal that has passed through the FF is output,
When the value of the unused FF setting context input port s in the data path portion is 2, it has a function of outputting the FF output input port v.

上記のFF出力選択回路Mとクロック制御回路2を組み合わせることにより、未使用FFの場合にもクロックを固定し消費電力を低減することが可能になるという利点もある。具体的には、あるFFを使用しない回路構成を実現する場合、該当するFFに接続するFF出力選択回路Mのデータパス部の未使用FF設定コンテキストの値を2とし、該当するFFに接続するクロック制御回路2のクロック強制有効コンテキストの値を0とする。これにより、FF出力選択回路MはFFをスルーしたFFの入力信号を出力すると共に、クロック制御回路2の入力ポートcと入力ポートrが同じ状態になる。前述したクロック制御回路2の機能によりクロックを固定し消費電力を低減する。   By combining the FF output selection circuit M and the clock control circuit 2, there is an advantage that the clock can be fixed and power consumption can be reduced even in the case of an unused FF. Specifically, when realizing a circuit configuration that does not use a certain FF, the unused FF setting context value of the data path unit of the FF output selection circuit M connected to the corresponding FF is set to 2, and the corresponding FF is connected. The value of the clock forced valid context of the clock control circuit 2 is set to 0. As a result, the FF output selection circuit M outputs the FF input signal that has passed through the FF, and the input port c and the input port r of the clock control circuit 2 are in the same state. The clock is fixed by the function of the clock control circuit 2 described above to reduce power consumption.

データパス部の未使用FF設定コンテキスト回路(S1)7−1〜(S4)7−4は、全て同じデータパス部の未使用FF設定コンテキスト回路であるため、以下、データパス部の未使用FF設定コンテキスト回路Sとして説明する。データパス部の未使用FF設定コンテキスト回路Sのブロック図を図11に示す。図11に示すように、データパス部の未使用FF設定コンテキスト回路Sはコンテキストデータによって、FF出力選択回路Mのコンテキストsを出力する。   Since the unused FF setting context circuits (S1) 7-1 to (S4) 7-4 of the data path unit are all unused FF setting context circuits of the same data path unit, hereinafter, the unused FFs of the data path unit The configuration context circuit S will be described. A block diagram of the unused FF setting context circuit S in the data path unit is shown in FIG. As shown in FIG. 11, the unused FF setting context circuit S in the data path unit outputs the context s of the FF output selection circuit M by the context data.

コンテキストデータ設定手段200は、クロック強制有効コンテキスト回路P1〜P4、データパス部のコンテキスト回路Q1〜Q5、データパス部の未使用FF設定コンテキスト回路S1〜S4のコンテキストデータを保持し、かつ、これら回路に設定する手段である。即ち、コンテキストデータ設定手段200は、データパス部のコンテキストデータ(コンテキスト番号1)201−1〜データパス部のコンテキストデータ(コンテキスト番号n)201−nと、クロック強制有効コンテキストデータ(コンテキスト番号1)202−1〜クロック強制有効コンテキストデータ(コンテキスト番号n)202−nとを保持しており、これらコンテキストデータを対応するコンテキスト番号の回路に設定する。   The context data setting means 200 holds the context data of the clock forced effective context circuits P1 to P4, the context circuits Q1 to Q5 of the data path unit, and the unused FF setting context circuits S1 to S4 of the data path unit, and these circuits It is a means to set to. That is, the context data setting unit 200 includes the context data (context number 1) 201-1 in the data path part 11-1 through the context data (context number n) 201-n in the data path part and the clock forced valid context data (context number 1). 202-1 to forced forced valid context data (context number n) 202-n, and these context data are set in the corresponding context number circuit.

図1において、PE100におけるFF1〜FF4の信号の入出力状態は次の通りである。
FF1には信号c1とクロックgclk1が入力され、FF1からは信号d1が出力される。
FF2には信号c2とクロックgclk2が入力され、FF2からは信号d2が出力される。
FF3には信号c3とクロックgclk3が入力され、FF3からは信号d3が出力される。
FF4には信号c4とクロックgclk4が入力され、FF4からは信号d4が出力される。
In FIG. 1, the input / output states of the signals of FF1 to FF4 in the PE 100 are as follows.
The signal c1 and the clock gclk1 are input to FF1, and the signal d1 is output from FF1.
A signal c2 and a clock gclk2 are input to FF2, and a signal d2 is output from FF2.
The signal c3 and the clock gclk3 are input to the FF3, and the signal d3 is output from the FF3.
The signal c4 and the clock gclk4 are input to the FF4, and the signal d4 is output from the FF4.

尚、図示例では、PE100内のFF1〜FF4をリセット信号でリセット可能な端子が付いたFFとしているが、リセット信号でセット可能な端子が付いたFFでも、リセット信号で制御できないリセット端子無しFFでも良い。またクロックエッジの極性にも制限は無い。   In the illustrated example, the FF1 to FF4 in the PE 100 are FFs with terminals that can be reset with a reset signal, but even FFs with terminals that can be set with a reset signal cannot be controlled with a reset signal. But it ’s okay. There is no restriction on the polarity of the clock edge.

また、クロック制御回路2−1〜2−4における信号の入出力状態は次の通りである。
クロック制御回路2−1には信号q1と信号r1と信号c1、ならびにクロックCLKが入力しており、クロック制御回路2−1からはクロックgclk1が出力される。
クロック制御回路2−2には信号q2と信号r2と信号c2、ならびにクロックCLKが入力しており、クロック制御回路2−2からはクロックgclk2が出力される。
クロック制御回路2−3には信号q3と信号r3と信号c3、ならびにクロックCLKが入力しており、クロック制御回路2−3からはクロックgclk3が出力される。
クロック制御回路2−4には信号q4と信号r4と信号c4、ならびにクロックCLKが入力しており、クロック制御回路2−4からはクロックgclk4が出力される。
The input / output states of signals in the clock control circuits 2-1 to 2-4 are as follows.
A signal q1, a signal r1, a signal c1, and a clock CLK are input to the clock control circuit 2-1, and a clock gclk1 is output from the clock control circuit 2-1.
The clock control circuit 2-2 receives the signal q2, the signal r2, the signal c2, and the clock CLK, and the clock control circuit 2-2 outputs the clock gclk2.
The clock control circuit 2-3 receives the signal q3, the signal r3, the signal c3, and the clock CLK, and the clock control circuit 2-3 outputs the clock gclk3.
The clock control circuit 2-4 receives the signal q4, the signal r4, the signal c4, and the clock CLK, and the clock control circuit 2-4 outputs the clock gclk4.

更に、クロック強制有効コンテキスト回路P1〜P4における信号の入出力状態は次の通りである。
クロック強制有効コンテキスト回路P1からは信号p1が出力される。
クロック強制有効コンテキスト回路P2からは信号p2が出力される。
クロック強制有効コンテキスト回路P3からは信号p3が出力される。
クロック強制有効コンテキスト回路P4からは信号p4が出力される。
Further, the input / output states of signals in the clock forced effective context circuits P1 to P4 are as follows.
A signal p1 is output from the clock forced effective context circuit P1.
A signal p2 is output from the clock forced effective context circuit P2.
A signal p3 is output from the clock forced effective context circuit P3.
A signal p4 is output from the clock forced effective context circuit P4.

また、組合せ回路C1〜C5における信号の入出力状態は次の通りである。
組合せ回路C1には信号p1と信号x1と信号y1が入力しており、組合せ回路C1からは信号c1が出力される。
組合せ回路C2には信号p2と信号x2と信号y2が入力しており、組合せ回路C2からは信号c2が出力される。
組合せ回路C3には信号p3と信号x3と信号y3が入力しており、組合せ回路C3からは信号c3が出力される。
組合せ回路C4には信号p4と信号x4と信号y4が入力しており、組合せ回路C4からは信号c4が出力される。
組合せ回路C5には信号p5と信号x5と信号y5が入力しており、組合せ回路C5からは信号c5が出力される。
The signal input / output states in the combinational circuits C1 to C5 are as follows.
A signal p1, a signal x1, and a signal y1 are input to the combinational circuit C1, and a signal c1 is output from the combinational circuit C1.
A signal p2, a signal x2, and a signal y2 are input to the combinational circuit C2, and a signal c2 is output from the combinational circuit C2.
A signal p3, a signal x3, and a signal y3 are input to the combinational circuit C3, and a signal c3 is output from the combinational circuit C3.
A signal p4, a signal x4, and a signal y4 are input to the combinational circuit C4, and a signal c4 is output from the combinational circuit C4.
A signal p5, a signal x5, and a signal y5 are input to the combinational circuit C5, and a signal c5 is output from the combinational circuit C5.

また、データパス部のコンテキスト回路Q1〜Q5における信号の入出力状態は次の通りである。
データパス部のコンテキスト回路Q1からは信号q1が出力される。
データパス部のコンテキスト回路Q2からは信号q2が出力される。
データパス部のコンテキスト回路Q3からは信号q3が出力される。
データパス部のコンテキスト回路Q4からは信号q4が出力される。
The signal input / output states in the context circuits Q1 to Q5 of the data path unit are as follows.
A signal q1 is output from the context circuit Q1 of the data path unit.
A signal q2 is output from the context circuit Q2 of the data path unit.
A signal q3 is output from the context circuit Q3 of the data path unit.
A signal q4 is output from the context circuit Q4 of the data path unit.

また、FF出力選択回路M1〜M4における信号の入出力状態は次の通りである。
FF出力選択回路M1には信号s1と信号c1と信号d1が入力しており、FF出力選択回路M1からは信号x2が出力される。
FF出力選択回路M2には信号s2と信号c2と信号d2が入力しており、FF出力選択回路M2からは信号x4が出力される。
FF出力選択回路M3には信号s3と信号c3と信号d3が入力しており、FF出力選択回路M3からは信号y4が出力される。
FF出力選択回路M4には信号s4と信号c4と信号d4が入力しており、FF出力選択回路M4からは信号x5が出力される。
The input / output states of signals in the FF output selection circuits M1 to M4 are as follows.
A signal s1, a signal c1, and a signal d1 are input to the FF output selection circuit M1, and a signal x2 is output from the FF output selection circuit M1.
The signal s2, the signal c2, and the signal d2 are input to the FF output selection circuit M2, and the signal x4 is output from the FF output selection circuit M2.
A signal s3, a signal c3, and a signal d3 are input to the FF output selection circuit M3, and a signal y4 is output from the FF output selection circuit M3.
A signal s4, a signal c4, and a signal d4 are input to the FF output selection circuit M4, and a signal x5 is output from the FF output selection circuit M4.

また、データパス部の未使用FF設定コンテキスト回路S1〜S4における信号の入出力状態は次の通りである。
データパス部の未使用FF設定コンテキスト回路S1からは信号s1が出力される。
データパス部の未使用FF設定コンテキスト回路S2からは信号s2が出力される。
データパス部の未使用FF設定コンテキスト回路S3からは信号s3が出力される。
データパス部の未使用FF設定コンテキスト回路S4からは信号s4が出力される。
The input / output states of signals in the unused FF setting context circuits S1 to S4 in the data path unit are as follows.
A signal s1 is output from the unused FF setting context circuit S1 of the data path unit.
A signal s2 is output from the unused FF setting context circuit S2 of the data path unit.
A signal s3 is output from the unused FF setting context circuit S3 of the data path unit.
A signal s4 is output from the unused FF setting context circuit S4 of the data path unit.

図12は、PE100内の各動的再構成回路に回路番号1〜13を割当て、各コンテキスト入力ポートに繋ぐ信号の一覧を示す説明図である。また、図13は、PE100内のデータパス部のコンテキストデータを例示する説明図であり、図14は、クロック強制有効コンテキストデータ例を示す説明図である。
これらの図に示すように、PE100内の各動的再構成回路の各コンテキスト入力ポートに適切な値を設定することにより、各動的再構成回路を任意の回路として実現することができる。
FIG. 12 is an explanatory diagram showing a list of signals that are assigned circuit numbers 1 to 13 to the dynamic reconfiguration circuits in the PE 100 and are connected to the context input ports. FIG. 13 is an explanatory diagram illustrating the context data of the data path unit in the PE 100, and FIG. 14 is an explanatory diagram illustrating an example of the forced clock valid context data.
As shown in these figures, each dynamic reconfigurable circuit can be realized as an arbitrary circuit by setting an appropriate value to each context input port of each dynamic reconfigurable circuit in the PE 100.

尚、PE100の回路構成は図1に示した内容に限定されるものではない。FF毎にクロック制御回路2があれば良いため、回路内部の信号接続を動的に再構成する組合せ回路の有無や、FFの初期値、FF数、動的に再構成可能な組合せ回路個数、各組合せ回路への信号入力本数、信号入力ポート数、信号出力ポート数、クロック入力ポート数、リセット入力ポート数、内部生成クロック数に制限はなく、正論理、負論理を限定するものでもない。   The circuit configuration of the PE 100 is not limited to the contents shown in FIG. Since it is sufficient if there is a clock control circuit 2 for each FF, the presence / absence of a combination circuit that dynamically reconfigures signal connections inside the circuit, the initial value of the FF, the number of FFs, the number of combination circuits that can be dynamically reconfigured, The number of signal inputs to each combinational circuit, the number of signal input ports, the number of signal output ports, the number of clock input ports, the number of reset input ports, and the number of internally generated clocks are not limited, and are not limited to positive logic or negative logic.

以上のように、この実施の形態1の動的再構成デバイスによれば、フリップフロップを有するコンテキスト型の動的再構成デバイスにおいて、フリップフロップの入力値と出力値に応じてクロックの固定制御を行うクロック制御回路を備えたので、不要時のクロック供給を停止して消費電力を削減する機能を有した動的再構成デバイスを実現することが可能となる。   As described above, according to the dynamic reconfigurable device of the first embodiment, in the context-type dynamic reconfigurable device having flip-flops, the clock fixed control is performed according to the input values and output values of the flip-flops. Since the clock control circuit is provided, a dynamic reconfigurable device having a function of reducing power consumption by stopping clock supply when not needed can be realized.

また、この実施の形態1の動的再構成デバイスによれば、クロック制御回路は、クロック制御の有無を示すクロック強制有効コンテキストと、フリップフロップの入力値と、フリップフロップの出力値との3信号とクロックを入力とし、3信号の状態に応じてクロックの固定制御を決定し、この結果をフリップフロップへのクロックとして出力し、かつ、クロック強制有効コンテキストの値をコンテキストデータとして保持し設定するコンテキストデータ設定手段を備えたので、不要時のクロック供給を停止して消費電力を削減する機能を有した動的再構成デバイスを実現することが可能となる。   In addition, according to the dynamic reconfigurable device of the first embodiment, the clock control circuit has three signals including the clock forced valid context indicating the presence / absence of clock control, the input value of the flip-flop, and the output value of the flip-flop. , The clock fixed control is determined according to the state of the three signals, the result is output as a clock to the flip-flop, and the value of the clock forced valid context is held and set as context data Since the data setting means is provided, it is possible to realize a dynamic reconfigurable device having a function of reducing power consumption by stopping clock supply when not required.

実施の形態2.
図15および図16は、実施の形態2による動的再構成デバイスと半導体集積回路設計支援システムの構成を示すブロック図であり、図15は、動的再構成デバイスで実現する対象回路である半導体集積回路内の回路T1と回路T2と示し、図16は、動的再構成デバイスと半導体集積回路設計支援システムとを示している。尚、動的再構成デバイスの回路部であるプロセッサエレメント(PE)100については、図1で示した構成と同様であるため、内部の構成に対する図示は省略している。
Embodiment 2. FIG.
FIGS. 15 and 16 are block diagrams showing configurations of a dynamic reconfigurable device and a semiconductor integrated circuit design support system according to the second embodiment, and FIG. 15 is a semiconductor that is a target circuit realized by the dynamic reconfigurable device. Circuits T1 and T2 in the integrated circuit are shown, and FIG. 16 shows a dynamic reconfigurable device and a semiconductor integrated circuit design support system. Note that the processor element (PE) 100 that is the circuit unit of the dynamic reconfiguration device is the same as the configuration shown in FIG.

対象回路T1(コンテキスト番号1)101は、外部からの信号入力ポートDTI1〜2と外部への信号出力ポートDTO1、外部からのクロック入力ポートCLK80M、外部からのリセット入力ポートRST_N、フリップフロップ(FF5)1−5〜(FF8)1−8、論理反転回路(IV1)8−1〜(IV2)8−2、論理和回路(OR1)9を備える。即ち、フリップフロップ(FF5)1−5の入力には外部からの信号入力ポートDTI1が接続され、出力は論理反転回路(IV1)8−1を介してフリップフロップ(FF6)1−6の入力に接続されている。また、フリップフロップ(FF6)1−6の出力は論理和回路(OR1)9の入力に接続されている。更に、フリップフロップ(FF7)1−7の入力には外部からの信号入力ポートDTI2が論理反転回路(IV2)8−2を介して接続され、出力は論理和回路(OR1)9の入力に接続されている。論理和回路(OR1)9の出力は、フリップフロップ(FF8)1−8の入力に接続され、フリップフロップ(FF8)1−8の出力は、外部への信号出力ポートDTO1に接続されている。尚、以下、対象回路T1(コンテキスト番号1)101は回路T1、フリップフロップ(FF5)1−5〜(FF8)1−8はFF5〜FF8、論理反転回路(IV1)8−1〜(IV2)8−2は論理反転回路IV1〜IV2、論理和回路(OR1)9は論理和回路OR1として説明する。   The target circuit T1 (context number 1) 101 includes an external signal input port DTI1-2, an external signal output port DTO1, an external clock input port CLK80M, an external reset input port RST_N, and a flip-flop (FF5). 1-5 to (FF8) 1-8, logic inversion circuits (IV1) 8-1 to (IV2) 8-2, and an OR circuit (OR1) 9 are provided. That is, an external signal input port DTI1 is connected to the input of the flip-flop (FF5) 1-5, and the output is input to the input of the flip-flop (FF6) 1-6 via the logic inversion circuit (IV1) 8-1. It is connected. The output of the flip-flop (FF6) 1-6 is connected to the input of the OR circuit (OR1) 9. Further, an external signal input port DTI2 is connected to the input of the flip-flop (FF7) 1-7 via the logic inversion circuit (IV2) 8-2, and the output is connected to the input of the OR circuit (OR1) 9. Has been. The output of the OR circuit (OR1) 9 is connected to the input of the flip-flop (FF8) 1-8, and the output of the flip-flop (FF8) 1-8 is connected to the signal output port DTO1 to the outside. Hereinafter, the target circuit T1 (context number 1) 101 is the circuit T1, the flip-flops (FF5) 1-5 to (FF8) 1-8 are FF5 to FF8, and the logic inversion circuits (IV1) 8-1 to (IV2). 8-2 will be described as the logic inversion circuits IV1 to IV2, and the OR circuit (OR1) 9 will be described as the OR circuit OR1.

対象回路T2(コンテキスト番号2)102は、外部からの信号入力ポートDTI3〜4と外部への信号出力ポートDTO2、外部からのクロック入力ポートCLK1M、外部からのリセット入力ポートRST_N、フリップフロップ(FF9)1−9〜(FF11)1−11、論理反転回路(IV3)8−3〜(IV4)8−4、論理積反転回路(NA1)10を備える。即ち、フリップフロップ(FF9)1−9の入力には、論理反転回路(IV3)8−3を介して外部からの信号入力ポートDTI3が接続され、出力は論理積反転回路(NA1)10の入力に接続されている。また、フリップフロップ(FF10)1−10の入力には外部からの信号入力ポートDTI4が接続され、出力は論理積反転回路(NA1)10の入力に接続されている。論理積反転回路(NA1)10の出力は、フリップフロップ(FF11)1−11の入力に接続され、フリップフロップ(FF11)1−11の出力は、論理反転回路(IV4)8−4を介して外部への信号出力ポートDTO2に接続されている。尚、以下、対象回路T2(コンテキスト番号2)102は回路T2、フリップフロップ(FF9)1−9〜(FF11)1−11はFF9〜FF11、論理反転回路(IV3)8−3〜(IV4)8−4はIV3〜IV4、論理積反転回路(NA1)10は論理積反転回路NA1として説明する。   The target circuit T2 (context number 2) 102 includes an external signal input port DTI3 to 4 and an external signal output port DTO2, an external clock input port CLK1M, an external reset input port RST_N, and a flip-flop (FF9). 1-9 to (FF11) 1-11, logical inversion circuits (IV3) 8-3 to (IV4) 8-4, and a logical product inversion circuit (NA1) 10. That is, an external signal input port DTI3 is connected to the input of the flip-flop (FF9) 1-9 via the logic inversion circuit (IV3) 8-3, and the output is input to the AND inversion circuit (NA1) 10. It is connected to the. Further, an external signal input port DTI4 is connected to the input of the flip-flop (FF10) 1-10, and the output is connected to the input of the logical product inversion circuit (NA1) 10. The output of the logical product inverting circuit (NA1) 10 is connected to the input of the flip-flop (FF11) 1-11, and the output of the flip-flop (FF11) 1-11 is passed through the logical inverting circuit (IV4) 8-4. It is connected to an external signal output port DTO2. Hereinafter, the target circuit T2 (context number 2) 102 is the circuit T2, flip-flops (FF9) 1-9 to (FF11) 1-11 are FF9 to FF11, and logic inversion circuits (IV3) 8-3 to (IV4). 8-4 is described as IV3 to IV4, and the logical product inverting circuit (NA1) 10 is described as the logical product inverting circuit NA1.

ここで、論理反転回路IV1〜4は入力論理を反転出力する反転回路、OR1は入力2信号に値1がある場合に値1を出力する論理和回路、NA1は入力2信号が共に1の場合に値0を出力する論理積反転回路である。   Here, the logic inverting circuits IV1 to IV4 are inverting circuits that invert the input logic, OR1 is a logical sum circuit that outputs a value 1 when the input 2 signal has a value 1, and NA1 is a case where both the input 2 signals are 1. Is a logical product inversion circuit that outputs a value of 0 to.

実施の形態2による半導体集積回路設計支援システムは、回路情報記憶手段300、データパス部のコンテキストデータ生成手段400、クロック停止FF検出手段500を備えている。
回路情報記憶手段300は、動的再構成デバイス内の回路構成情報301と、動的再構成デバイス内の遅延時間情報302を記憶する。動的再構成デバイス内の回路構成情報301とは、プロセッサエレメント(PE)100における回路内容と回路間の接続情報である。回路には動的再構成回路とFF、組合せ回路、外部入力ポート、外部出力ポートを含む。また、動的再構成デバイス内の遅延時間情報302とは、コンテキストによって変化する出力遅延時間とクロック配線の到達遅延時間の情報である。尚、これらの情報は動的再構成デバイスの設計結果から容易に得られる情報である。
コンテキストによって変化する出力遅延時間は、動的再構成回路の各入力ポートに対して、前段回路の出力ポートまたは外部入力ポートを起点に、選択した入力ポートを通過して動的再構成回路を出力するまでの時間として定義する。回路間の配線遅延と動的再構成回路内の通過遅延を合わせた値として算出し、動的再構成回路毎の全コンテキストに対して、全入力ポートに対して定義する。
クロック配線の到達遅延時間は、基準点から各FFまでに経由する回路名と経由回路まで到達遅延時間をFF毎に保持している。ただし、以下の手続きで必要な値は動的に再構成した結果得られる回路で接続関係のあるFF間のクロック到達遅延時間差であるので、記憶しておくデータ量を減らす方法としては最大値と最小値の差だけを計算して保持しておいてもよい。
The semiconductor integrated circuit design support system according to the second embodiment includes circuit information storage means 300, data path section context data generation means 400, and clock stop FF detection means 500.
The circuit information storage unit 300 stores circuit configuration information 301 in the dynamic reconfiguration device and delay time information 302 in the dynamic reconfiguration device. The circuit configuration information 301 in the dynamic reconfiguration device is circuit contents in the processor element (PE) 100 and connection information between the circuits. The circuit includes a dynamic reconfiguration circuit and FF, a combinational circuit, an external input port, and an external output port. The delay time information 302 in the dynamic reconfigurable device is information on the output delay time and the arrival delay time of the clock wiring that change depending on the context. Note that these pieces of information can be easily obtained from the design result of the dynamic reconfigurable device.
The output delay time that changes depending on the context is output from the output port of the previous circuit or external input port to the input port of the dynamic reconfiguration circuit, and the dynamic reconfiguration circuit is output through the selected input port. It is defined as the time until. A wiring delay between circuits and a passing delay in the dynamic reconfiguration circuit are calculated as a combined value, and are defined for all input ports for all contexts of each dynamic reconfiguration circuit.
The arrival delay time of the clock wiring holds the name of the circuit passing from the reference point to each FF and the arrival delay time from the reference point to each passing circuit. However, since the required value in the following procedure is the clock arrival delay time difference between the FFs connected in the circuit obtained as a result of the dynamic reconfiguration, the maximum value is used as a method for reducing the amount of data to be stored. Only the difference between the minimum values may be calculated and held.

データパス部のコンテキストデータ生成手段400は、ネットリストやハードウェア記述言語等で記述された対象回路の構成要素及びその接続関係に関する情報、目標動作周波数とクロック特性を入力し、回路情報記憶手段300が保持した動的再構成デバイス内の回路構成情報301と動的再構成デバイス内の遅延時間情報302を用いて、対象回路と論理的に等価な回路を構成する動的再構成デバイスのデータパス部のコンテキストデータ401,402を生成する機能を有する。
尚、実施の形態2で必要な情報は動的再構成デバイスのデータパス部のコンテキストデータのみであるので、論理的に等価な回路を生成する技術の詳細については言及しない。
The context data generation unit 400 of the data path unit inputs information on the constituent elements of the target circuit described in a net list, hardware description language, and the like, connection relations thereof, a target operating frequency, and clock characteristics, and circuit information storage unit 300 The data path of the dynamically reconfigurable device that configures a circuit logically equivalent to the target circuit using the circuit configuration information 301 in the dynamic reconfigurable device and the delay time information 302 in the dynamic reconfigurable device held by A function of generating context data 401 and 402 for each section.
Note that since the information required in the second embodiment is only the context data of the data path unit of the dynamic reconfiguration device, details of the technology for generating a logically equivalent circuit will not be mentioned.

クロック停止FF検出手段500は、データパス部のコンテキストデータ生成手段400が生成したコンテキストデータを適用することで構成される動的再構成デバイスであるプロセッサエレメント(PE)100(以下、PE100という)上の回路に対してクロックを停止しても不具合が発生することのないFFを検出する機能を有する。その構成としては、最大許容遅延算出手段501、繋続FF検出手段502、検出FF記憶手段503、最大遅延時間算出・追記手段504、最大値検出・追記手段505、クロック停止FF判定手段506、クロック強制有効コンテキストデータ生成手段507を有する。   The clock stop FF detection means 500 is on a processor element (PE) 100 (hereinafter referred to as PE 100) which is a dynamic reconfiguration device configured by applying the context data generated by the context data generation means 400 of the data path unit. This circuit has a function of detecting FFs that do not cause a problem even when the clock is stopped. As its configuration, a maximum allowable delay calculating unit 501, a connected FF detecting unit 502, a detected FF storing unit 503, a maximum delay time calculating / adding unit 504, a maximum value detecting / adding unit 505, a clock stop FF determining unit 506, a clock Forced valid context data generation means 507 is provided.

最大許容遅延算出手段501は、動作周波数およびクロック特性からクロックゲーティングパスの最大許容遅延値Tmを算出する機能を有する。
繋続FF検出手段502は、コンテキストデータにより動的に再構成される回路上でFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポートを検出し、各FFと入力ポートに到達するまでの経由回路名とクロック位相情報を検出する機能を有する。
検出FF記憶手段503は、繋続FF検出手段502が検出した結果を記憶し、最大遅延時間算出・追記手段504と最大値検出・追記手段505との情報授受を行う機能を有する。
最大遅延時間算出・追記手段504は、繋続FF検出手段502が検出した結果を保持した検出FF記憶手段503の情報と、データパス部のコンテキストデータ401,402と、動的再構成デバイス内の回路構成情報301と動的再構成デバイス内の遅延時間情報302とに基づいて、終点FFの入力に繋がるFF毎にFFの出力端子からクロック制御回路2内のゲーティング回路までの最大遅延時間と、FF出力選択回路からのクロック制御回路2内のゲーティング回路までの最大遅延時間を算出し、結果を検出して検出FF記憶手段503に追記する機能を備える。
The maximum allowable delay calculation unit 501 has a function of calculating the maximum allowable delay value Tm of the clock gating path from the operating frequency and the clock characteristics.
The connected FF detection unit 502 detects all FFs and input ports connected to the data input terminals of the FFs for each FF on the circuit dynamically reconfigured by the context data until the FFs and the input ports are reached. Has a function of detecting the transit circuit name and clock phase information.
The detection FF storage unit 503 stores a result detected by the connection FF detection unit 502 and has a function of exchanging information between the maximum delay time calculating / adding unit 504 and the maximum value detecting / adding unit 505.
The maximum delay time calculating / adding means 504 includes information in the detected FF storage means 503 that holds the result detected by the connected FF detecting means 502, the context data 401 and 402 in the data path unit, and the dynamic reconfiguration device. Based on the circuit configuration information 301 and the delay time information 302 in the dynamic reconfigurable device, the maximum delay time from the output terminal of the FF to the gating circuit in the clock control circuit 2 for each FF connected to the input of the end point FF, And a function of calculating the maximum delay time from the FF output selection circuit to the gating circuit in the clock control circuit 2, detecting the result, and adding the result to the detection FF storage unit 503.

最大値検出・追記手段505は、最大遅延時間算出・追記手段504が算出し追記した結果を保持した検出FF記憶手段503の情報から、終点FF毎の最大値を検出し、結果を検出FF記憶手段503に追記する機能を備える。
クロック停止FF判定手段506は、最大値検出・追記手段505が算出し追記した結果を保持した検出FF記憶手段503の情報から終点FFを選択し、接続先に外部入力ポートとクロック位相が同期関係にないFFを含む場合はクロック停止不可と判定し、全ての接続先がFFでクロック位相が同期の場合に、その終点FFの最大値Tpと、最大許容遅延算出手段501が算出した値Tmとの比較を行い、Tp<Tmの場合はクロック停止可と判定し、Tp≧Tmの場合は停止不可と判定する機能を有する。
The maximum value detection / addition means 505 detects the maximum value for each end FF from the information in the detection FF storage means 503 that holds the result calculated and added by the maximum delay time calculation / addition means 504, and stores the result as a detection FF. A function for adding to the means 503 is provided.
The clock stop FF determination unit 506 selects the end point FF from the information in the detection FF storage unit 503 that holds the result calculated and added by the maximum value detection / addition unit 505, and the external input port and the clock phase are synchronously connected to the connection destination. If all the connection destinations are FFs and the clock phase is synchronized, the maximum value Tp of the end point FF and the value Tm calculated by the maximum allowable delay calculating unit 501 are determined. And when Tp <Tm, it is determined that the clock can be stopped, and when Tp ≧ Tm, it is determined that the clock cannot be stopped.

クロック強制有効コンテキストデータ生成手段507は、回路情報記憶手段300が保持した動的再構成デバイス内の回路構成情報301から、FF毎にFFにクロックを供給するクロック制御回路2のクロック強制有効コンテキスト入力ポートpの初期値を値1に設定後、クロック停止FF判定手段506の検出結果からクロック停止可能なFFにクロックを供給するクロック制御回路2のクロック強制有効コンテキスト入力ポートに繋がるクロック強制有効コンテキストpを値0に再設定し、動的再構成デバイス全体のクロック強制有効コンテキストデータを生成する機能を有する。クロック停止FF検出手段500におけるクロック強制有効コンテキストデータ(コンテキスト番号1)508−1,(コンテキスト番号2)508−2がクロック強制有効コンテキストデータ生成手段507によって生成されたクロック強制有効コンテキストデータを示している。   The clock forced effective context data generation unit 507 inputs the clock forced effective context input of the clock control circuit 2 that supplies a clock to the FF for each FF from the circuit configuration information 301 in the dynamic reconfiguration device held by the circuit information storage unit 300. After setting the initial value of the port p to the value 1, the clock forced valid context p connected to the clock forced valid context input port of the clock control circuit 2 that supplies the clock to the FF capable of clock stop based on the detection result of the clock stop FF determination means 506 Is reset to a value of 0 to generate clock forced valid context data for the entire dynamic reconfiguration device. The clock forced valid context data (context number 1) 508-1 and (context number 2) 508-2 in the clock stop FF detection unit 500 indicate the clock forced valid context data generated by the clock forced valid context data generation unit 507. Yes.

また、コンテキストデータ設定手段200におけるデータパス部のコンテキストデータ(コンテキスト番号1)201−1,(コンテキスト番号2)201−2は、データパス部のコンテキストデータ生成手段400で生成されたデータパス部のコンテキストデータ(コンテキスト番号1)401,(コンテキスト番号2)402が設定されたものであり、クロック強制有効コンテキストデータ(コンテキスト番号1)202−1,(コンテキスト番号2)202−2は、クロック強制有効コンテキストデータ(コンテキスト番号1)508−1,(コンテキスト番号2)508−2が設定されたものである。   Further, the context data (context number 1) 201-1 and (context number 2) 201-2 in the data path part in the context data setting means 200 are the data path part generated by the context data generating means 400 in the data path part. Context data (context number 1) 401 and (context number 2) 402 are set, and clock forced valid context data (context number 1) 202-1 and (context number 2) 202-2 are clock forced valid. Context data (context number 1) 508-1 and (context number 2) 508-2 are set.

実施の形態2による半導体集積回路設計支援システムを構成するデータパス部のクロック停止FF検出手段506、クロック強制有効コンテキストデータ生成手段507、データパス部のコンテキストデータ生成手段400は、コンピュータを用いて実現することができる。つまり、最大許容遅延算出手段501、繋続FF検出手段502、最大遅延時間算出・追記手段504、最大値検出・追記手段505、クロック停止FF判定手段506は、本発明に従う半導体集積回路設計支援プログラムを上記コンピュータのCPUに実行させてその動作を制御することにより、ハードウェアとソフトウェアが協働した具体的手段として当該コンピュータ上に実現することができる。
また、回路情報記憶手段300、検出FF記憶手段503は、コンピュータのメモリや外部記憶装置等に構築される。対象回路の構成要素間の接続関係に関する情報は、例えば上記コンピュータに装備された記憶装置に格納され、上記手段に適宜読み出されて利用される。
尚、以下の説明において、本発明の半導体集積回路設計支援システムを具現化するコンピュータ自体の構成及びその基本的な機能については、当業者が当該技術分野の技術常識に基づいて容易に認識できるものであり、本発明の本質に直接関わるものでないので詳細な記載を省略する。
The data path unit clock stop FF detection unit 506, the clock forced valid context data generation unit 507, and the data path unit context data generation unit 400 that constitute the semiconductor integrated circuit design support system according to the second embodiment are realized by using a computer. can do. That is, the maximum allowable delay calculation unit 501, the connected FF detection unit 502, the maximum delay time calculation / addition unit 504, the maximum value detection / addition unit 505, and the clock stop FF determination unit 506 are the semiconductor integrated circuit design support program according to the present invention. Can be implemented on the computer as specific means in which hardware and software cooperate.
The circuit information storage unit 300 and the detection FF storage unit 503 are constructed in a computer memory, an external storage device, or the like. Information relating to the connection relationship between the components of the target circuit is stored in, for example, a storage device equipped in the computer, and is appropriately read and used by the above means.
In the following description, the configuration and basic functions of the computer that embodies the semiconductor integrated circuit design support system of the present invention can be easily recognized by those skilled in the art based on the common general technical knowledge in the technical field. Since it is not directly related to the essence of the present invention, detailed description is omitted.

次に実施の形態2の動作を説明する。
図17および図18は、実施の形態2の動作を示すフローチャートであり、この図に沿って動作の詳細を説明する。
以下、図15に例示しているように動的再構成デバイスの回路部であるPE100で説明を行う。回路構成情報は実施の形態1に記載した内容であり、遅延情報はコンテキストによって変化する出力遅延時間定義の数値例を図19〜21に示し、クロック入力ポートCLKからの各FFまでのクロック配線の到達遅延時間を図22に示す。尚、図22から分かるようにクロック配線の到達遅延時間の最大値と最小値の差は1[ns]である。
Next, the operation of the second embodiment will be described.
17 and 18 are flowcharts showing the operation of the second embodiment, and the details of the operation will be described with reference to this figure.
Hereinafter, as illustrated in FIG. 15, description will be made on the PE 100 that is the circuit unit of the dynamic reconfiguration device. The circuit configuration information is the contents described in the first embodiment, and the delay information is shown in FIGS. 19 to 21 as numerical examples of the output delay time definition that changes depending on the context. The clock wiring from the clock input port CLK to each FF is shown in FIGS. The arrival delay time is shown in FIG. As can be seen from FIG. 22, the difference between the maximum value and the minimum value of the arrival delay time of the clock wiring is 1 [ns].

先ず、データパス部のコンテキストデータ生成手段400に、対象回路情報とコンテキスト番号と目標動作周波数とクロック特性ならびに外部入出力タイミング制約を入力する(ステップST1)。
対象回路は回路T1、コンテキスト番号は1、目標動作周波数は80[MHz]、クロック特性としてクロックデューティを45[%]、クロックジッタは2[%]、外部入出力タイミング制約としては制約無しに相当する0[ns]を入力する。ここで[]は単位表記であり、%は周期に対する割合で使用しているが、時間単位にするなどの単位の変更も可能である。尚、対象回路内に複数のクロックがある場合はクロック名と各数値をクロックの本数分入力し、外部入出力タイミング制約指定が必要な外部入力ポートや外部出力ポート、外部入出力ポートが有る場合は、ポート名とタイミング制約を必要な数だけ入力する。
次に、データパス部のコンテキストデータ生成手段400は、コンテキスト番号1に対するデータパス部のコンテキストデータ401を生成する(ステップST2)。以下、データパス部のコンテキストデータ生成手段400で行うステップST2の処理について説明を行う。
First, the target circuit information, context number, target operating frequency, clock characteristics, and external input / output timing constraints are input to the context data generating means 400 of the data path unit (step ST1).
The target circuit is the circuit T1, the context number is 1, the target operating frequency is 80 [MHz], the clock duty is 45 [%] as the clock characteristics, the clock jitter is 2 [%], and the external input / output timing constraint corresponds to no restriction Enter 0 [ns]. Here, [] is a unit notation and% is used as a ratio to the period, but the unit can be changed such as a time unit. If there are multiple clocks in the target circuit, input the clock name and each number for the number of clocks, and there are external input ports, external output ports, and external input / output ports that need to specify external input / output timing constraints. Enter as many port names and timing constraints as you need.
Next, the context data generation unit 400 of the data path unit generates the context data 401 of the data path unit for the context number 1 (step ST2). Hereinafter, the process of step ST2 performed by the context data generation unit 400 of the data path unit will be described.

タイミング制約値を決定し、対象回路からクロック抽出、リセット抽出、FF抽出、出力ポート抽出の順に処理を行い、出力ポートから接続を遡りながら、PE100で構成するコンテキストデータが決定するまで各コンテキストの選択とタイミング判定とコンテキストの決定を繰り返す。
先ず、ステップST1で入力された情報と回路情報記憶手段300の内容を元に、動的再構成デバイスのタイミング制約を決定する。外部入出力タイミング制約は入力情報をそのまま使用し、FF間のデータパス遅延の最大許容遅延時間Tfは、目標動作周波数の周期からクロックジッタとクロック配線の到達遅延時間差を減算して決定する。
コンテキスト番号1の場合は、外部入出力タイミング制約が0のため制約無し、Tf=12.50×(1−2/100)−1=11.25となる。
回路T1に対する外部入出力タイミング制約は無いので、入力ポートDTI1〜2、および出力ポートDTO1に対するタイミング判定はスキップされる。また、FF間のタイミング判定は、データパス遅延Tdが、Td≦11.25であるかを判定する。タイミング判定で違反した場合は別の回路構成の探索とそのタイミング判定を違反が無くなるまで繰り返し、違反が残った場合は違反値が最小になるFF間の回路構成情報と違反値を記憶することになるが、この処理は本発明の本質に関わるものではないので省略する。
The timing constraint value is determined, processing is performed in the order of clock extraction, reset extraction, FF extraction, and output port extraction from the target circuit, and selection of each context is performed until the context data configured by the PE 100 is determined while tracing the connection from the output port. Repeat the timing determination and context determination.
First, based on the information input in step ST1 and the contents of the circuit information storage means 300, the timing constraints of the dynamically reconfigurable device are determined. The input / output timing constraint uses the input information as it is, and the maximum allowable delay time Tf of the data path delay between FFs is determined by subtracting the clock jitter and the arrival delay time difference of the clock wiring from the period of the target operating frequency.
In the case of context number 1, there is no restriction because the external input / output timing restriction is 0, and Tf = 12.50 × (1-2 / 100) −1 = 11.25.
Since there is no external input / output timing restriction for the circuit T1, timing determination for the input ports DTI1-2 and the output port DTO1 is skipped. Further, the timing determination between the FFs determines whether the data path delay Td is Td ≦ 11.25. If the timing judgment is violated, the search for another circuit configuration and the timing judgment are repeated until the violation disappears. If the violation remains, the circuit configuration information between the FFs that minimizes the violation value and the violation value are stored. However, since this process is not related to the essence of the present invention, it is omitted.

回路T1のクロック信号数とクロック接続情報を抽出する。回路T1の抽出結果は、クロック信号数は1、この接続数は4、全てポジエッジトリガのFF。次にリセット信号数とリセット接続情報を抽出する。回路T1の抽出結果は、リセット信号数は1、この接続数は4、全てリセット信号で制御可能な端子が付いた初期値0のリセット端子付きリセットFF。
クロックとリセットに関して抽出した情報からPE100内のクロック信号接続とリセット信号接続を決定する。回路T1のFF数4個に対して、PE100から同じクロックに繋がる4個のリセット端子付きリセットFF1〜FF4から選択する。
次に、回路T1の出力ポート数と接続情報を確認する。回路T1の抽出結果は、出力ポート数が1、1個のFFから回路経由無し接続。
抽出結果に対して、回路T1の出力ポートDTO1とFF8をPE100の出力ポートOUT1とFF4に割当てる。この時、PE100の組合せ回路C5の出力はFF4出力から入力ポートxのスルー出力である必要があるためコンテキストq5は値1に、M4の出力もFF経由出力である必要があるためコンテキストs4は値1に決定される。前述した理由によりタイミング判定はスキップされる。
The number of clock signals of the circuit T1 and clock connection information are extracted. The extraction result of the circuit T1 is that the number of clock signals is 1, the number of connections is 4, and all are positive edge trigger FFs. Next, the number of reset signals and reset connection information are extracted. The extraction result of the circuit T1 is a reset FF with a reset terminal having an initial value of 0, with the number of reset signals being 1, the number of connections being 4, and all terminals being controllable by reset signals.
The clock signal connection and reset signal connection in the PE 100 are determined from the information extracted regarding the clock and reset. For the number of FFs in the circuit T1, four reset FF1 to FF4 with reset terminals connected to the same clock from the PE 100 are selected.
Next, the number of output ports and connection information of the circuit T1 are confirmed. The extraction result of the circuit T1 indicates that the number of output ports is one and one FF without connection via the circuit.
For the extraction result, the output ports DTO1 and FF8 of the circuit T1 are assigned to the output ports OUT1 and FF4 of the PE100. At this time, since the output of the combination circuit C5 of the PE 100 needs to be a through output of the input port x from the FF4 output, the context q5 needs to be a value 1, and the output of M4 also needs to be an output via the FF, so the context s4 has a value 1 is determined. Timing determination is skipped for the reasons described above.

次に、回路T1内の4個のFFに対して、FFの入力に繋がる接続情報を抽出する。出力ポートに繋がるFFから順に選び、FF8はFF6とFF7から論理和回路OR1を経由して接続、FF6はFF5から論理反転回路IV1を経由して接続、FF7は入力ポートDTI2から論理反転回路IV2を経由して接続、FF5は入力ポートDTI1から回路経由無く接続している。
抽出結果に対して、回路T1の論理和回路OR1とFF6とFF7を回路PE100の組合せ回路C4とFF2とFF3に割当てる。この時、PE100の組合せ回路C4は論理和である必要があるためコンテキストq4は値7に、FF出力選択回路M2とFF出力選択回路M3の出力もFF経由である必要があるためコンテキストs2とs3は共に値1が選ばれる。
ここで、FF間のデータパス遅延Tdのタイミング判定が行われる。FF2からFF4までの間にはFF出力選択回路M2の入力ポートvと組合せ回路C4の入力ポートxを経由している。図20、図21からTd=3+6=9≦Tfとなりタイミング判定を満たす。FF3からFF4までの間にはFF出力選択回路M3の入力ポートvと組合せ回路C4の入力ポートyを経由しており、同様に、Td=3+5=8≦Tfでタイミング判定を満たす。以上により、FF4に繋がる全てのFFのタイミング判定に違反が無かったので選ばれたコンテキスト値が決定される。
Next, connection information connected to the input of the FF is extracted from the four FFs in the circuit T1. FF8 is connected in order from the FF connected to the output port, FF8 is connected from FF6 and FF7 via the OR circuit OR1, FF6 is connected from FF5 via the logic inversion circuit IV1, and FF7 is connected from the input port DTI2 to the logic inversion circuit IV2. FF5 is connected from the input port DTI1 without a circuit.
For the extraction result, the OR circuit OR1, FF6, and FF7 of the circuit T1 are assigned to the combinational circuit C4, FF2, and FF3 of the circuit PE100. At this time, since the combinational circuit C4 of the PE 100 needs to be a logical sum, the context q4 has a value of 7, and the outputs of the FF output selection circuit M2 and the FF output selection circuit M3 also need to go through the FF, so the contexts s2 and s3 The value 1 is chosen for both.
Here, the timing of the data path delay Td between FFs is determined. Between FF2 and FF4, the input port v of the FF output selection circuit M2 and the input port x of the combinational circuit C4 are routed. 20 and 21, Td = 3 + 6 = 9 ≦ Tf, which satisfies the timing determination. Between FF3 and FF4, the input port v of the FF output selection circuit M3 and the input port y of the combinational circuit C4 are routed. Similarly, the timing determination is satisfied with Td = 3 + 5 = 8 ≦ Tf. As described above, since there is no violation in the timing determination of all the FFs connected to FF4, the selected context value is determined.

同様に、回路T1のFF5と論理反転回路IV1を回路PE100のFF1と組合せ回路C2に、回路T1のDTI2と論理反転回路IV2を回路PE100のIN6と組合せ回路C3の入力ポートxに、回路T1のDTI1をPE100のIN4と組合せ回路C1の入力ポートxに割当てる。
この時、PE100の組合せ回路C2のコンテキストq2と組合せ回路C3のコンテキストq3は共に入力ポートxの論理反転の値3に、組合せ回路C1のコンテキストq1は入力ポートxのスルー出力の値1に、FF出力選択回路M1の出力もFF経由である必要があるため、コンテキストs1は値1が選ばれる。ここでFF間のデータパス遅延のタイミング判定が行われ、入力ポートのタイミング判定は前述した理由によりスキップされる。FF1からFF2までの間には、FF出力選択回路M1の入力ポートvと組合せ回路C2の入力ポートxを経由している。Td=3+1=4≦Tfを満たす。
以上により、FF2に繋がる全てのFFのタイミング判定に違反が無く、FF1とFF3は入力ポートのみに繋がっているのでタイミング判定に違反が無かったので選ばれたコンテキスト値が決定される。
このような処理により、回路T1に対する全ての回路と入力ポートと出力ポートの割当が終了し、データパス部のコンテキストデータ生成手段400は、回路T1に対するPE100のデータパス部のコンテキストデータとして、図23に示すような結果を得る。尚、PE100の入力ポートIN1〜3、IN5は使用されない。
Similarly, FF5 and logic inversion circuit IV1 of circuit T1 are connected to FF1 and combination circuit C2 of circuit PE100, DTI2 of circuit T1 and logic inversion circuit IV2 are connected to IN6 of circuit PE100 and input port x of combination circuit C3, and circuit T1 DTI1 is assigned to IN4 of PE100 and input port x of combinational circuit C1.
At this time, the context q2 of the combination circuit C2 and the context q3 of the combination circuit C3 of the PE 100 are both set to the logical inversion value 3 of the input port x, the context q1 of the combination circuit C1 is set to the through output value 1 of the input port x, and FF Since the output of the output selection circuit M1 also needs to pass through the FF, the value 1 is selected for the context s1. Here, the timing determination of the data path delay between the FFs is performed, and the timing determination of the input port is skipped for the reason described above. Between FF1 and FF2, the input port v of the FF output selection circuit M1 and the input port x of the combinational circuit C2 are routed. Td = 3 + 1 = 4 ≦ Tf is satisfied.
As described above, there is no violation in the timing determination of all the FFs connected to FF2, and since FF1 and FF3 are connected only to the input ports, there is no violation in the timing determination, so the selected context value is determined.
By such processing, assignment of all circuits, input ports, and output ports to the circuit T1 is completed, and the context data generation unit 400 of the data path unit uses FIG. 23 as context data of the data path unit of the PE 100 for the circuit T1. The result shown in is obtained. Note that the input ports IN1 to 3 and IN5 of the PE 100 are not used.

データパス部のコンテキストデータ生成手段400は、次のコンテキスト番号入力が無いかを判定する(ステップST3)。ステップST3において、次のコンテキストデータ生成が必要なため、ステップST1に戻る。
対象回路は回路T2、コンテキスト番号は2、目標動作周波数は1[MHz]、クロック特性としてクロックデューティを25[%]、クロックジッタは20[%]、外部入出力タイミング制約としては制約無しに相当する0[ns]を入力する。
次に、データパス部のコンテキストデータ生成手段400は、コンテキスト番号2に対するデータパス部のコンテキストデータを生成する(ステップST2)。前述の回路T1の場合のステップST2と同様に、先ず、ステップST1で入力された情報と回路情報記憶手段300の内容を元に、動的再構成デバイスのタイミング制約を決定する。コンテキスト番号2の場合は、外部入出力タイミング制約が0のため制約無し、Tf=1000×(1−20/100)−1=799となる。
回路T2のクロック信号数とクロック接続情報を抽出する。回路T2の抽出結果は、クロック信号数は1、この接続数は3、全てポジエッジトリガのFF。次にリセット信号数とリセット接続情報を抽出する。回路T2の抽出結果は、リセット信号数は1、この接続数は3、全てリセット信号で制御可能な端子が付いた初期値0のリセット端子付きリセットFF。
The context data generation means 400 of the data path unit determines whether there is no next context number input (step ST3). In step ST3, the next context data needs to be generated, so the process returns to step ST1.
The target circuit is the circuit T2, the context number is 2, the target operating frequency is 1 [MHz], the clock duty is 25 [%] as the clock characteristics, the clock jitter is 20 [%], and the external input / output timing constraint corresponds to no restriction Enter 0 [ns].
Next, the context data generating unit 400 of the data path unit generates context data of the data path unit for the context number 2 (step ST2). Similar to step ST2 in the case of the circuit T1, the timing constraint of the dynamic reconfigurable device is first determined based on the information input in step ST1 and the contents of the circuit information storage means 300. In the case of the context number 2, since the external input / output timing constraint is 0, there is no constraint, and Tf = 1000 × (1-20 / 100) −1 = 799.
The number of clock signals of the circuit T2 and clock connection information are extracted. The extraction result of the circuit T2 is that the number of clock signals is 1, the number of connections is 3, and all are positive edge triggered FFs. Next, the number of reset signals and reset connection information are extracted. The extraction result of the circuit T2 is a reset FF with a reset terminal having an initial value of 0, with the number of reset signals being 1 and the number of connections being 3, all having terminals that can be controlled by reset signals.

クロックとリセットに関して抽出した情報からPE100内のクロック信号接続とリセット信号接続を決定する。回路T2のFF数3個に対して、PE100から同じクロックに繋がる4個のリセット端子付きリセットFF1〜FF4から選択する。
次に、回路T2の出力ポート数と接続情報を確認する。回路T2の抽出結果は、出力ポート数が1、1個のFFから論理反転して接続。
抽出結果に対して、回路T2の出力ポートDTO2と論理反転回路IV4とFF11をPE100の出力ポートOUT1と組合せ回路C5とFF4に割当てる。この時、PE100の組合せ回路C5の出力はFF4出力の入力ポートxの論理反転のためコンテキストq5は値3に、FF出力選択回路M4の出力もFF経由のためコンテキストs4は値1に決定される。前述した理由によりタイミング判定はスキップされる。
次に、回路T2内の3個のFFに対して、FFの入力に繋がる接続情報を抽出する。出力ポートに繋がるFFから順に選び、FF11はFF9とFF10から論理積反転NA1を経由して接続、FF10は入力ポートDTI4から直接接続、FF9は入力ポートDTI3の論理反転回路IV3を経由して接続している。
The clock signal connection and reset signal connection in the PE 100 are determined from the information extracted regarding the clock and reset. For the number of FFs of the circuit T2, the number of resets FF1 to FF4 with four reset terminals connected from the PE 100 to the same clock is selected.
Next, the number of output ports and connection information of the circuit T2 are confirmed. The extraction result of the circuit T2 is obtained by logically inverting the output port number from one and one FF.
For the extraction result, the output port DTO2 of the circuit T2, the logic inversion circuit IV4, and the FF11 are assigned to the output port OUT1 of the PE100, the combinational circuit C5, and the FF4. At this time, the output of the combination circuit C5 of the PE 100 is the logic inversion of the input port x of the FF4 output, so that the context q5 is set to the value 3, and the output of the FF output selection circuit M4 is also passed through the FF. . Timing determination is skipped for the reasons described above.
Next, connection information connected to the input of the FF is extracted for the three FFs in the circuit T2. FF11 is selected in order from the FF connected to the output port, FF11 is connected from FF9 and FF10 via AND inversion NA1, FF10 is directly connected from input port DTI4, and FF9 is connected via logic inversion circuit IV3 of input port DTI3. ing.

抽出結果に対して、回路T2の論理積反転回路NA1とFF9とFF10をPE100の組合せ回路C4とFF2とFF3に割当てる。この時、PE100の組合せ回路C4は論理積反転のためq4は値6に、FF出力選択回路M3とFF出力選択回路M2の出力はFF経由のためコンテキストs3とs2は共に値1が選ばれる。
ここで、FF間のデータパス遅延Tdのタイミング判定が行われる。FF2からFF4までの間にはFF出力選択回路M2の入力ポートvと組合せ回路C4の入力ポートxを経由している。図20、図21からTd=3+2=5≦Tfとなりタイミング判定を満たす。FF3からFF4までの間にはFF出力選択回路M3の入力ポートvと組合せ回路C4の入力ポートyを経由しており、同様に、Td=3+1=4≦Tfでタイミング判定を満たす。以上により、FF4に繋がる全てのFFのタイミング判定に違反が無かったので選ばれたコンテキスト値が決定される。
For the extraction result, the logical product inverting circuits NA1, FF9, and FF10 of the circuit T2 are assigned to the combinational circuits C4, FF2, and FF3 of the PE100. At this time, the combination circuit C4 of the PE 100 is selected as the value 6 for q4 because of logical inversion, and the value 1 is selected for both the contexts s3 and s2 because the outputs of the FF output selection circuit M3 and the FF output selection circuit M2 are via FF.
Here, the timing of the data path delay Td between FFs is determined. Between FF2 and FF4, the input port v of the FF output selection circuit M2 and the input port x of the combinational circuit C4 are routed. From FIG. 20 and FIG. 21, Td = 3 + 2 = 5 ≦ Tf, which satisfies the timing determination. Between FF3 and FF4, the input port v of the FF output selection circuit M3 and the input port y of the combinational circuit C4 are routed. Similarly, the timing determination is satisfied with Td = 3 + 1 = 4 ≦ Tf. As described above, since there is no violation in the timing determination of all the FFs connected to FF4, the selected context value is determined.

同様に、回路T2の論理反転回路IV3とDTI3を回路PE100の組合せ回路C2とIN2に、回路T2のDTI4をPE100のIN6に割当てる。この時、PE100の組合せ回路C2のコンテキストq2は入力ポートyの論理反転の値4に、組合せ回路C3のコンテキストq3は入力ポートxのスルー出力の値1が選ばれる。
ここで入力ポートのタイミング判定は前述した理由によりスキップされる。
以上により、回路T2に対する全ての回路と入力ポートと出力ポートの割当が終了し、データパス部のコンテキストデータ生成手段400は回路T2に対するPE100のデータパス部のコンテキストデータとして、図29を得る。尚、PE100の入力ポートIN1、IN3〜5、FF1、組合せ回路C1、FF出力選択回路M1は使用されない。
以上が、ステップST1〜ステップST2の詳細である。
Similarly, the logic inversion circuits IV3 and DTI3 of the circuit T2 are assigned to the combinational circuits C2 and IN2 of the circuit PE100, and the DTI4 of the circuit T2 is assigned to IN6 of the PE100. At this time, the context q2 of the combination circuit C2 of the PE 100 is selected as the logic inversion value 4 of the input port y, and the through output value 1 of the input port x is selected as the context q3 of the combination circuit C3.
Here, the timing determination of the input port is skipped for the reason described above.
Thus, the assignment of all circuits, input ports, and output ports to the circuit T2 is completed, and the context data generation unit 400 of the data path unit obtains FIG. 29 as the context data of the data path unit of the PE 100 for the circuit T2. Note that the input ports IN1, IN3 to 5, FF1, the combinational circuit C1, and the FF output selection circuit M1 of the PE100 are not used.
The above is the details of Step ST1 to Step ST2.

次に、データパス部のコンテキストデータ生成手段400は、次のコンテキスト番号の入力が無いかを判定する(ステップST3)。このステップST3において、次のコンテキストデータ生成は不要なため、ステップST4に移る。次に、クロック停止FF検出手段500は、任意のコンテキスト番号を選ぶ(ステップST4)。ここでは、コンテキスト番号1を選ぶ。
次に、クロック強制有効コンテキストデータ生成手段507は、データパス部のコンテキストデータ生成手段400がステップST2で生成したデータパス部のコンテキストデータ401から未使用FFを検出し、クロック強制有効コンテキストデータの初期値を作成する(ステップST5)。未使用FF情報は、データパス部のコンテキストデータ401のうち、FF出力選択回路Mのコンテキスト入力ポートsの値により判定することが出来る。sの値が1の時は未使用FFで、sの値が2の時は動作FFである。
Next, the context data generation unit 400 of the data path unit determines whether or not the next context number has been input (step ST3). In this step ST3, the next context data generation is unnecessary, so the process moves to step ST4. Next, the clock stop FF detection means 500 selects an arbitrary context number (step ST4). Here, context number 1 is selected.
Next, the clock forced valid context data generation unit 507 detects unused FFs from the context data 401 of the data path unit generated by the context data generation unit 400 of the data path unit in step ST2, and initializes the clock forced valid context data. A value is created (step ST5). Unused FF information can be determined from the value of the context input port s of the FF output selection circuit M in the context data 401 of the data path unit. When the value of s is 1, it is an unused FF, and when the value of s is 2, it is an operational FF.

ここで、図23に示すようにコンテキスト番号1のFF出力選択回路M1〜4のコンテキスト入力ポートsの値は全て2であるため、クロック強制有効コンテキストp1〜4の全ての初期値を1に設定する。クロック強制有効コンテキストデータ生成手段507が作成したコンテキスト番号1のクロック強制有効コンテキストデータの初期値を図24に示す。
次に、最大許容遅延算出手段501は、クロックゲーティングパスの最大許容遅延値Tmを算出する(ステップST6)。Tmの算出方法は、周期からジッタを減算した値にデューティを乗じ、クロック配線の遅延時間差を減算する。
コンテキスト番号1のTm=12.50×(1−2/100)×45/100−1=4.51。
Here, as shown in FIG. 23, since the values of the context input ports s of the FF output selection circuits M1 to M4 having the context number 1 are all 2, the initial values of the clock forced effective contexts p1 to p4 are set to 1. To do. FIG. 24 shows an initial value of the clock forced valid context data of the context number 1 created by the clock forced valid context data generation unit 507.
Next, the maximum allowable delay calculation unit 501 calculates the maximum allowable delay value Tm of the clock gating path (step ST6). The calculation method of Tm multiplies the value obtained by subtracting the jitter from the period by the duty, and subtracts the delay time difference of the clock wiring.
Tm of context number 1 = 12.50 × (1-2 / 100) × 45 / 100-1 = 4.51.

次に、繋続FF検出手段502は、データパス部のコンテキストデータ401から、対象回路内の回路構成を復元する(ステップST7)。図23に示すコンテキスト番号1のデータパス部のコンテキストデータ401から、回路T1内の回路構成をPE100に復元する。
次に、繋続FF検出手段502は、対象回路内の動作FFを検出し、番号付けする(ステップST8)。図23に示すコンテキスト番号1のデータパス部のコンテキストデータ401から、PE100内の動作FFである、FF1、FF2、FF3、FF4を検出し、1、2、3、4と番号付けする。
Next, the connected FF detection unit 502 restores the circuit configuration in the target circuit from the context data 401 of the data path unit (step ST7). The circuit configuration in the circuit T1 is restored to the PE 100 from the context data 401 of the data path unit with the context number 1 shown in FIG.
Next, the connected FF detection means 502 detects the operation FFs in the target circuit and numbers them (step ST8). FF1, FF2, FF3, and FF4, which are operation FFs in the PE 100, are detected from the context data 401 in the data path unit with the context number 1 shown in FIG.

次に、繋続FF検出手段502は、ステップST8で番号付けしたFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポートと経由回路を検出する(ステップST9)。ここで、番号1から4まで順番にFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポートと経由回路を検出する。
終点FF1のデータ入力端子に繋がるFFは無く、入力ポートIN4が検出される。
終点FF2のデータ入力端子に繋がるFFはFF1が検出され、入力ポートは検出されない。
終点FF3のデータ入力端子に繋がるFFは無く、入力ポートIN6が検出される。
終点FF4のデータ入力端子に繋がるFFはFF2とFF3が検出され、入力ポートは検出されない。
Next, the connected FF detection means 502 detects all FFs, input ports, and transit circuits connected to the data input terminals of the FFs for each FF numbered in step ST8 (step ST9). Here, all FFs, input ports, and transit circuits connected to the data input terminals of the FFs are detected for each FF in order from numbers 1 to 4.
There is no FF connected to the data input terminal of the end point FF1, and the input port IN4 is detected.
The FF connected to the data input terminal of the end point FF2 is detected as FF1, and the input port is not detected.
There is no FF connected to the data input terminal of the end point FF3, and the input port IN6 is detected.
The FFs connected to the data input terminal of the end point FF4 are detected as FF2 and FF3, and the input port is not detected.

次に、繋続FF検出手段502は、ステップST9の検出結果から終点FFの駆動クロックとFFの駆動クロックの間に、クロック位相が同期関係にあるかどうかを判定する(ステップST10)。終点FF2の駆動クロックとFF1の駆動クロックは同一のクロックCLKであるため同期関係にあると判定する。終点FF4の駆動クロックとFF2とFF3の駆動クロックは同一のクロックCLKであるため同期関係にあると判定する。
次に、検出FF記憶手段503は、ステップST9とステップST10の結果からFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポートと経由回路の情報を記憶する(ステップST11)。ステップST11で記憶したステップST8の検出結果とステップST9の判定結果を図25に示す。
Next, the connected FF detector 502 determines whether or not the clock phase is in a synchronous relationship between the driving clock of the end point FF and the driving clock of the FF from the detection result of step ST9 (step ST10). Since the driving clock of the end point FF2 and the driving clock of the FF1 are the same clock CLK, it is determined that they are in a synchronous relationship. Since the driving clock of the end point FF4 and the driving clocks of the FF2 and FF3 are the same clock CLK, it is determined that they are in a synchronous relationship.
Next, the detected FF storage unit 503 stores information on all FFs, input ports, and transit circuits connected to the data input terminals of the FFs for each FF based on the results of steps ST9 and ST10 (step ST11). FIG. 25 shows the detection result of step ST8 and the determination result of step ST9 stored in step ST11.

次に、クロック停止FF検出手段500は、ステップST11の結果から接続種別がFFでクロック位相が同期の終点FFを選ぶ(ステップST12)。ここでは、FF2を選択する。
次に、最大遅延時間算出・追記手段504は、ST12で選んだFFのデータ入力端子に繋がるFF毎にFFの出力端子からクロック制御回路2内のゲーティング回路までの最大遅延時間とFF出力選択回路からのクロック制御回路2内のゲーティング回路までの最大遅延時間を算出し追記する(ステップST13)。FF2に繋がるFFはFF1のみであり、FF1からクロック制御回路2−2内のゲーティング回路までの経路遅延計算式は、Tc=M1v+C2x+CK2c=2+1+1=4
FF2の出力選択回路からクロック制御回路2−2内のゲーティング回路までの経路遅延計算式は、Tr=M2v+CK2r=2+1=3
Next, the clock stop FF detection means 500 selects an end point FF whose connection type is FF and whose clock phase is synchronous from the result of step ST11 (step ST12). Here, FF2 is selected.
Next, the maximum delay time calculating / adding means 504 selects the maximum delay time from the FF output terminal to the gating circuit in the clock control circuit 2 and the FF output selection for each FF connected to the data input terminal of the FF selected in ST12. The maximum delay time from the circuit to the gating circuit in the clock control circuit 2 is calculated and added (step ST13). The only FF connected to FF2 is FF1, and the path delay calculation formula from FF1 to the gating circuit in the clock control circuit 2-2 is Tc = M1v + C2x + CK2c = 2 + 1 + 1 = 4
The path delay calculation formula from the output selection circuit of FF2 to the gating circuit in the clock control circuit 2-2 is Tr = M2v + CK2r = 2 + 1 = 3

次に、最大値検出・追記手段505は、ST13の結果から最大遅延時間Tpを検出し、追記する(ステップST14)。FF2に繋がるFFはFF1のみであるので、Tc>TrとなりTp=Tc=4となる。
次に、クロック停止FF判定手段506は、Tp<Tmが成立するかどうかを判定し、成立の場合はステップST16、不成立の場合はステップST18へ移る(ステップST15)。Tp=4、Tm=4.51であるのでTp<Tmが成立し、ステップST16へ移る。
次に、クロック停止FF判定手段506は、クロック停止可能なFFとして検出FF記憶手段503に追記する(ステップST16)。FF2がクロック停止可能と追記する。
次に、クロック強制有効コンテキストデータ生成手段507は、クロック強制有効コンテキスト値を値0に書き換える(ステップST17)。クロック制御回路2−2のクロック強制有効コンテキストp2の値を0に書き換える。
次に、クロック停止FF判定手段506は、接続種別がFFでクロック位相が同期である全ての終点FFに対する処理が終了しているか判定し、終了していればステップST19に移り、終了していなければステップST12に移る(ステップST18)。ここでは、FF4に対する処理が終了していないので、ステップST12に移る。
Next, the maximum value detecting / adding means 505 detects the maximum delay time Tp from the result of ST13 and adds it (step ST14). Since FF1 is the only FF connected to FF2, Tc> Tr and Tp = Tc = 4.
Next, the clock stop FF determination means 506 determines whether or not Tp <Tm is satisfied, and if it is satisfied, the process proceeds to step ST16, and if not, the process proceeds to step ST18 (step ST15). Since Tp = 4 and Tm = 4.51, Tp <Tm is established, and the process proceeds to step ST16.
Next, the clock stop FF determination means 506 additionally writes the detected FF storage means 503 as an FF that can stop the clock (step ST16). It is added that FF2 can stop the clock.
Next, the clock forced valid context data generation unit 507 rewrites the clock forced valid context value to the value 0 (step ST17). The value of the clock forced valid context p2 of the clock control circuit 2-2 is rewritten to 0.
Next, the clock stop FF determination means 506 determines whether or not the processing for all end FFs whose connection type is FF and the clock phase is synchronous is completed, and if completed, the process proceeds to step ST19 and must be completed. Then, the process proceeds to step ST12 (step ST18). Here, since the process for FF4 has not ended, the process proceeds to step ST12.

クロック停止FF検出手段500は、ステップST11の結果から接続種別がFFでクロック位相が同期の終点FFを選ぶ(ステップST12)。ここでは、FF4を選択する。
次に、最大遅延時間算出・追記手段504は、ST12で選んだFFのデータ入力端子に繋がるFF毎にFFの出力端子からクロック制御回路2内のゲーティング回路までの最大遅延時間とFF出力選択回路からのクロック制御回路2内のゲーティング回路までの最大遅延時間を算出し追記する(ステップST13)。FF4に繋がるFFはFF2とFF3があり、FF2からクロック制御回路2−4内のゲーティング回路までの経路遅延計算式は、Tc2=M2v+C4x+CK4c=2+6+1=9
FF3からクロック制御回路2−4内のゲーティング回路までの経路遅延計算式は、Tc3=M3v+C4y+CK4c=2+5+1=8
FF4の出力選択回路からクロック制御回路2−4内のゲーティング回路までの経路遅延計算式は、Tr=M4v+CK4r=2+1=3
次に、最大値検出・追記手段505は、ST13の結果から最大遅延時間Tpを検出し、追記する(ステップST14)。FF4に繋がるFFはFF2とFF3であるので、Tc2>Tc3>TrとなりTp=Tc2=9となる。
The clock stop FF detection means 500 selects an end point FF whose connection type is FF and whose clock phase is synchronous from the result of step ST11 (step ST12). Here, FF4 is selected.
Next, the maximum delay time calculating / adding means 504 selects the maximum delay time from the FF output terminal to the gating circuit in the clock control circuit 2 and the FF output selection for each FF connected to the data input terminal of the FF selected in ST12. The maximum delay time from the circuit to the gating circuit in the clock control circuit 2 is calculated and added (step ST13). The FFs connected to FF4 include FF2 and FF3, and the path delay calculation formula from FF2 to the gating circuit in the clock control circuit 2-4 is Tc2 = M2v + C4x + CK4c = 2 + 6 + 1 = 9
The path delay calculation formula from FF3 to the gating circuit in the clock control circuit 2-4 is Tc3 = M3v + C4y + CK4c = 2 + 5 + 1 = 8
The path delay calculation formula from the output selection circuit of the FF 4 to the gating circuit in the clock control circuit 2-4 is Tr = M4v + CK4r = 2 + 1 = 3
Next, the maximum value detecting / adding means 505 detects the maximum delay time Tp from the result of ST13 and adds it (step ST14). Since FFs connected to FF4 are FF2 and FF3, Tc2>Tc3> Tr and Tp = Tc2 = 9.

次に、クロック停止FF判定手段506は、Tp<Tmが成立するかどうかを判定し、成立の場合はステップST16、不成立の場合はステップST18へ移る(ステップST15)。Tp=9、Tm=4.51であるのでTp<Tmが成立せず、ステップST18へ移る。
次に、クロック停止FF判定手段506は、接続種別がFFでクロック位相が同期である全ての終点FFに対する処理が終了しているか判定し、終了していればステップST19に移り、終了していなければステップST12に移る(ステップST18)。全てのFFに対する処理が終了したので、ステップST19に移る。
Next, the clock stop FF determination means 506 determines whether or not Tp <Tm is satisfied, and if it is satisfied, the process proceeds to step ST16, and if not, the process proceeds to step ST18 (step ST15). Since Tp = 9 and Tm = 4.51, Tp <Tm is not satisfied, and the routine goes to Step ST18.
Next, the clock stop FF determination means 506 determines whether or not the processing for all end FFs whose connection type is FF and the clock phase is synchronous is completed, and if completed, the process proceeds to step ST19 and must be completed. Then, the process proceeds to step ST12 (step ST18). Since the processing for all FFs has been completed, the process proceeds to step ST19.

ここまでの手続きにより、コンテキスト番号1に対する処理が完了する。
最大遅延時間算出・追記手段504が算出したコンテキスト番号1に関するクロック制御回路2内のクロックゲーティング回路までの遅延計算式と最大遅延時間を図26に示す。
また、検出FF記憶手段503上のコンテキスト番号1に関する最終情報を図27に示す。
また、コンテキスト番号1のクロック強制有効コンテキストデータを図28に示す。
次に、クロック停止FF判定手段506は、全てのコンテキスト番号に対する処理が終了したか判定し、終了していればステップST20に移り、終了していなければステップST4に移る(ステップST19)。コンテキスト番号2に対する処理が終了していないので、ステップST4に移る。
With the procedure so far, the processing for the context number 1 is completed.
FIG. 26 shows the delay calculation formula up to the clock gating circuit in the clock control circuit 2 and the maximum delay time related to the context number 1 calculated by the maximum delay time calculating / adding means 504.
FIG. 27 shows the final information regarding the context number 1 on the detection FF storage unit 503.
Further, FIG. 28 shows the clock forced valid context data of context number 1.
Next, the clock stop FF determination means 506 determines whether or not the processing for all the context numbers has been completed. If completed, the process proceeds to step ST20. If not completed, the process proceeds to step ST4 (step ST19). Since the process for the context number 2 has not been completed, the process proceeds to step ST4.

次に、クロック停止FF検出手段500は、任意のコンテキスト番号を選ぶ(ステップST4)。ここでは、コンテキスト番号2を選ぶ。次に、クロック強制有効コンテキストデータ生成手段507は、データパス部のコンテキストデータ生成手段400がステップST2で生成したデータパス部のコンテキストデータ402から未使用FFを検出し、クロック強制有効コンテキストデータの初期値を作成する(ステップST5)。ここで、図29に示すようにコンテキスト番号2のFF出力選択回路M1〜4のコンテキスト入力ポートsの値はs1が1で、s2〜s4は2であるため、クロック強制有効コンテキストp1の初期値を0、p2〜4の初期値を1に設定する。
クロック強制有効コンテキストデータ生成手段507が作成したコンテキスト番号2のクロック強制有効コンテキストデータの初期値を図30に示す。
Next, the clock stop FF detection means 500 selects an arbitrary context number (step ST4). Here, context number 2 is selected. Next, the clock forced valid context data generation unit 507 detects an unused FF from the context data 402 of the data path unit generated by the context data generation unit 400 of the data path unit in step ST2, and initializes the clock forced valid context data. A value is created (step ST5). Here, as shown in FIG. 29, since the values of the context input ports s of the FF output selection circuits M1 to M4 of the context number 2 are 1 and s2 to s4 are 2, the initial value of the clock forced effective context p1 Is set to 0, and the initial value of p2 to 4 is set to 1.
FIG. 30 shows an initial value of the clock forced valid context data of the context number 2 created by the clock forced valid context data generation unit 507.

次に、最大許容遅延算出手段501は、クロックゲーティングパスの最大許容遅延値Tmを算出する(ステップST6)。Tmの算出方法は、周期からジッタを減算した値にデューティを乗じ、クロック配線の遅延時間差を減算する。
コンテキスト番号2のTm=1000×(1−20/100)×25/100−1=199。
次に、繋続FF検出手段502は、データパス部のコンテキストデータ402から、対象回路内の回路構成を復元する(ステップST7)。図29に示すコンテキスト番号2のデータパス部のコンテキストデータ402から、回路T2内の回路構成をPE100に復元する。次に、繋続FF検出手段502は、対象回路内の動作FFを検出し、番号付けする。(ステップST8)。図29に示すコンテキスト番号2のデータパス部のコンテキストデータ402から、PE100内の動作FFである、FF2、FF3、FF4を検出し、1、2、3と番号付けする。次に、繋続FF検出手段502は、ステップST8で番号付けしたFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポートと経由回路を検出する(ステップST9)。ここで、番号1から3まで順番にFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポート名を検出する。
終点FF2のデータ入力端子に繋がるFFは無く、入力ポートIN2が検出される。
終点FF3のデータ入力端子に繋がるFFは無く、入力ポートIN6が検出される。
終点FF4のデータ入力端子に繋がるFFはFF2とFF3が検出され、入力ポートは検出されない。
Next, the maximum allowable delay calculation unit 501 calculates the maximum allowable delay value Tm of the clock gating path (step ST6). The calculation method of Tm multiplies the value obtained by subtracting the jitter from the period by the duty, and subtracts the delay time difference of the clock wiring.
Tm of context number 2 = 1000 × (1-20 / 100) × 25 / 100-1 = 199.
Next, the connected FF detection unit 502 restores the circuit configuration in the target circuit from the context data 402 of the data path unit (step ST7). The circuit configuration in the circuit T2 is restored to the PE 100 from the context data 402 of the data path unit with the context number 2 shown in FIG. Next, the connected FF detection unit 502 detects the operation FFs in the target circuit and numbers them. (Step ST8). FF2, FF3, and FF4, which are operation FFs in the PE 100, are detected from the context data 402 in the data path portion with the context number 2 shown in FIG. Next, the connected FF detection means 502 detects all FFs, input ports, and transit circuits connected to the data input terminals of the FFs for each FF numbered in step ST8 (step ST9). Here, all FFs connected to the data input terminals of the FFs and input port names are detected for each FF in order from numbers 1 to 3.
There is no FF connected to the data input terminal of the end point FF2, and the input port IN2 is detected.
There is no FF connected to the data input terminal of the end point FF3, and the input port IN6 is detected.
The FFs connected to the data input terminal of the end point FF4 are detected as FF2 and FF3, and the input port is not detected.

次に、繋続FF検出手段502は、ステップST9の検出結果から終点FFの駆動クロックとFFの駆動クロックの間に、クロック位相が同期関係にあるかどうかを判定する(ステップST10)。終点FF4の駆動クロックとFF2とFF3の駆動クロックは同一のクロックCLKであるため同期関係にあると判定する。
次に、検出FF記憶手段503は、ステップST9とステップST10の結果からFF毎にFFのデータ入力端子に繋がる全てのFFと入力ポートと経由回路の情報を記憶する(ステップST11)。ステップST11で記憶したステップST8の検出結果とステップST9の判定結果を図31に示す。
Next, the connected FF detector 502 determines whether or not the clock phase is in a synchronous relationship between the driving clock of the end point FF and the driving clock of the FF from the detection result of step ST9 (step ST10). Since the driving clock of the end point FF4 and the driving clocks of the FF2 and FF3 are the same clock CLK, it is determined that they are in a synchronous relationship.
Next, the detected FF storage unit 503 stores information on all FFs, input ports, and transit circuits connected to the data input terminals of the FFs for each FF based on the results of steps ST9 and ST10 (step ST11). FIG. 31 shows the detection result of step ST8 and the determination result of step ST9 stored in step ST11.

次に、クロック停止FF検出手段500は、ステップST11の結果から接続種別がFFでクロック位相が同期の終点FFを選ぶ(ステップST12)。ここでは、FF4を選択する。
次に、最大遅延時間算出・追記手段504は、ST12で選んだFFのデータ入力端子に繋がるFF毎にFFの出力端子からクロック制御回路2内のゲーティング回路までの最大遅延時間とFF出力選択回路からのクロック制御回路2内のゲーティング回路までの最大遅延時間を算出し追記する(ステップST13)。FF4に繋がるFFはFF2とFF3があり、FF2からクロック制御回路2−4内のゲーティング回路までの経路遅延計算式は、Tc2=M2v+C4x+CK4c=2+3+1=6
FF3からクロック制御回路2−4内のゲーティング回路までの経路遅延計算式は、Tc3=M3v+C4y+CK4c=2+2+1=5
FF4の出力選択回路からクロック制御回路2−4内のゲーティング回路までの経路遅延計算式は、Tr=M4v+CK4r=2+1=3
Next, the clock stop FF detection means 500 selects an end point FF whose connection type is FF and whose clock phase is synchronous from the result of step ST11 (step ST12). Here, FF4 is selected.
Next, the maximum delay time calculating / adding means 504 selects the maximum delay time from the FF output terminal to the gating circuit in the clock control circuit 2 and the FF output selection for each FF connected to the data input terminal of the FF selected in ST12. The maximum delay time from the circuit to the gating circuit in the clock control circuit 2 is calculated and added (step ST13). The FFs connected to FF4 are FF2 and FF3, and the path delay calculation formula from FF2 to the gating circuit in the clock control circuit 2-4 is Tc2 = M2v + C4x + CK4c = 2 + 3 + 1 = 6
The path delay calculation formula from FF3 to the gating circuit in the clock control circuit 2-4 is Tc3 = M3v + C4y + CK4c = 2 + 2 + 1 = 5
The path delay calculation formula from the output selection circuit of the FF 4 to the gating circuit in the clock control circuit 2-4 is Tr = M4v + CK4r = 2 + 1 = 3

次に、最大値検出・追記手段505は、ST13の結果から最大遅延時間Tpを検出し、追記する(ステップST14)。FF4に繋がるFFはFF2とFF3であるので、Tc2>Tc3>TrとなりTp=Tc2=6となる。
次に、クロック停止FF判定手段506は、Tp<Tmが成立するかどうかを判定し、成立の場合はステップST16、不成立の場合はステップST18へ移る(ステップST15)。Tp=6、Tm=199であるのでTp<Tmが成立し、ステップST16へ移る。次に、クロック停止FF判定手段506は、クロック停止可能なFFとして検出FF記憶手段503に追記する(ステップST16)。FF4がクロック停止可能と追記する。
次に、クロック強制有効コンテキストデータ生成手段507は、クロック強制有効コンテキスト値を値0に書き換える(ステップST17)。クロック制御回路2−4のクロック強制有効コンテキストp4の値を0に書き換える。
Next, the maximum value detecting / adding means 505 detects the maximum delay time Tp from the result of ST13 and adds it (step ST14). Since FFs connected to FF4 are FF2 and FF3, Tc2>Tc3> Tr and Tp = Tc2 = 6.
Next, the clock stop FF determination means 506 determines whether or not Tp <Tm is satisfied, and if it is satisfied, the process proceeds to step ST16, and if not, the process proceeds to step ST18 (step ST15). Since Tp = 6 and Tm = 199, Tp <Tm is established, and the process proceeds to step ST16. Next, the clock stop FF determination means 506 additionally writes the detected FF storage means 503 as an FF that can stop the clock (step ST16). It is added that FF4 can stop the clock.
Next, the clock forced valid context data generation unit 507 rewrites the clock forced valid context value to the value 0 (step ST17). The value of the clock forced valid context p4 of the clock control circuit 2-4 is rewritten to 0.

次に、クロック停止FF判定手段506は、接続種別がFFでクロック位相が同期である全ての終点FFに対する処理が終了しているか判定し、終了していればステップST19に移り、終了していなければステップST12に移る(ステップST18)。全てのFFに対する処理が終了したので、ステップST19に移る。
ここまでの手続きにより、コンテキスト番号2に対する処理が完了する。
最大遅延時間算出・追記手段504が算出したコンテキスト番号2に関するクロック制御回路2内のクロックゲーティング回路までの遅延計算式と最大遅延時間を図32に示す。
検出FF記憶手段503上のコンテキスト番号2に関する最終情報を図33に示す。
コンテキスト番号2のクロック強制有効コンテキストデータを図34に示す。
Next, the clock stop FF determination means 506 determines whether or not the processing for all end FFs whose connection type is FF and the clock phase is synchronous is completed, and if completed, the process proceeds to step ST19 and must be completed. Then, the process proceeds to step ST12 (step ST18). Since the processing for all FFs has been completed, the process proceeds to step ST19.
With the procedure so far, the processing for the context number 2 is completed.
FIG. 32 shows the delay calculation formula up to the clock gating circuit in the clock control circuit 2 and the maximum delay time related to the context number 2 calculated by the maximum delay time calculating / adding means 504.
FIG. 33 shows final information regarding the context number 2 on the detection FF storage unit 503.
FIG. 34 shows the clock forced valid context data of context number 2.

次に、クロック停止FF判定手段506は、全てのコンテキスト番号に対する処理が終了したか判定し、終了していればステップST20に移り、終了していなければステップST4に移る(ステップST19)。全てのコンテキスト番号に対する処理が終了したのでステップST20に移る。最後に、クロック停止FF検出手段500は、クロック停止FF検出を完了する(ステップST20)。
PE100のコンテキストデータの説明を図35に、また、PE100のビット割当て例を図36に示す。
Next, the clock stop FF determination means 506 determines whether or not the processing for all the context numbers has been completed. If completed, the process proceeds to step ST20. If not completed, the process proceeds to step ST4 (step ST19). Since the processing for all context numbers has been completed, the process proceeds to step ST20. Finally, the clock stop FF detection means 500 completes the clock stop FF detection (step ST20).
The description of the context data of the PE 100 is shown in FIG. 35, and the bit allocation example of the PE 100 is shown in FIG.

なお、実施の形態2ではPE100を例に述べたが、例えば図37のように複数プロセッサエレメントが搭載された動的再構成デバイス(PP1)103でも同様に、PE2とPE3の間のFF間のデータパス遅延を算出し、クロック停止FFを検出することが出来る。尚、PE2〜PE5内のフリップフロップ(FF1)1−1〜(FF4)1−4やクロック制御回路2−1〜2−4の各構成は、図1に示した構成と同等であるため、対応する部分に同一符号を付してその説明を省略する。   In the second embodiment, the PE 100 is described as an example. However, in the dynamic reconfiguration device (PP1) 103 in which a plurality of processor elements are mounted as shown in FIG. 37, for example, between the FFs between the PE2 and the PE3. The data path delay can be calculated and the clock stop FF can be detected. The configurations of the flip-flops (FF1) 1-1 to (FF4) 1-4 and the clock control circuits 2-1 to 2-4 in the PE2 to PE5 are the same as those shown in FIG. Corresponding portions are denoted by the same reference numerals and description thereof is omitted.

以上のように、この実施の形態2の半導体集積回路設計支援システムによれば、実施の形態1の動的再構成デバイスに対して、動的再構成デバイス内の隣接するフリップフロップを出力してからコンテキスト値によって構成される回路を通過し終わるまでの最大遅延時間を算出し、算出した最大遅延時間値からクロック停止可能なフリップフロップを検出し、このフリップフロップへのクロックを制御するクロック制御回路の制御値を決定し、クロック強制有効コンテキストデータとして生成するクロック停止FF検出手段を備えたので、大規模な制御回路による集中管理を必要とせず、クロック配線による消費電力を抑えることが可能な動的再構成デバイスを用いた半導体集積回路の設計支援を行うことができる。   As described above, according to the semiconductor integrated circuit design support system of the second embodiment, the adjacent flip-flops in the dynamic reconfiguration device are output to the dynamic reconfiguration device of the first embodiment. A clock control circuit that calculates the maximum delay time from the start to the end of the circuit configured by the context value, detects a flip-flop that can stop the clock from the calculated maximum delay time value, and controls the clock to this flip-flop The clock stop FF detection means that determines the control value for the clock and generates it as the forced clock valid context data is provided, so that centralized management by a large-scale control circuit is not required and power consumption by the clock wiring can be suppressed. It is possible to support the design of a semiconductor integrated circuit using a static reconfigurable device.

また、この実施の形態2の半導体集積回路設計支援システムによれば、クロック停止FF検出手段は、動作周波数およびクロック特性からクロックゲーティングパスの最大許容遅延を算出する最大許容遅延算出手段と、コンテキストデータにより動的に再構成される回路上でフリップフロップ毎にフリップフロップのデータ入力端子に繋がる全てのフリップフロップを検出する繋続FF検出手段と、繋続FF検出手段の検出結果に基づいて、フリップフロップ間の最大遅延時間であるFF間最大遅延時間を算出する最大遅延時間算出・追記手段と、最大遅延時間算出・追記手段の算出結果に基づいて、フリップフロップ毎の遅延時間の最大値を検出する最大値検出・追記手段と、最大値検出・追記手段が検出した最大値と、最大許容遅延の値からクロック停止可能なフリップフロップを判定するクロック停止FF判定手段と、クロック停止FF判定手段が判定した結果からクロック強制有効コンテキストデータを生成するクロック強制有効コンテキストデータ生成手段とを備えたので、更に、クロックゲーティングパスの最大許容遅延値を閾値としてデータパス遅延値からクロックゲーティングの可否を判定することで、クロック停止するフリップフロップに繋がるクロック制御回路による誤動作を回避することが可能となる。   In addition, according to the semiconductor integrated circuit design support system of the second embodiment, the clock stop FF detection means includes the maximum allowable delay calculation means for calculating the maximum allowable delay of the clock gating path from the operating frequency and the clock characteristics, and the context. On the basis of the detection result of the connected FF detection means, which detects all flip-flops connected to the data input terminal of the flip-flop for each flip-flop on the circuit dynamically reconfigured by data, The maximum delay time calculation / addition means for calculating the maximum delay time between FFs, which is the maximum delay time between flip-flops, and the maximum delay time for each flip-flop based on the calculation result of the maximum delay time calculation / addition means Maximum value detection / addition means to be detected, maximum value detected by maximum value detection / addition means, and maximum allowable delay value A clock stop FF determination means for determining a flip-flop capable of stopping the clock, and a clock forced valid context data generation means for generating clock forced valid context data from the result determined by the clock stop FF determination means. By determining whether or not clock gating is possible from the data path delay value using the maximum allowable delay value of the clock gating path as a threshold value, it is possible to avoid a malfunction by the clock control circuit connected to the flip-flop that stops the clock.

また、この実施の形態2の半導体集積回路設計支援プログラムによれば、半導体集積回路設計支援を行うコンピュータを、実施の形態1の動的再構成デバイスに対して、動的再構成デバイス内の隣接するフリップフロップを出力してからコンテキスト値によって構成される回路を通過し終わるまでの最大遅延時間を算出し、算出した最大遅延時間値からクロック停止可能なフリップフロップを検出し、このフリップフロップへのクロックを制御するクロック制御回路の制御値を決定し、クロック強制有効コンテキストデータとして生成するクロック停止FF検出手段として機能させるようにしたので、大規模な制御回路による集中管理を必要とせず、クロック配線による消費電力を抑えることが可能な動的再構成デバイスを用いた半導体集積回路の設計支援を行うことができる半導体集積回路設計支援システムをコンピュータ上に実現することができる。   In addition, according to the semiconductor integrated circuit design support program of the second embodiment, the computer that supports the semiconductor integrated circuit design is arranged adjacent to the dynamic reconfigurable device of the first embodiment in the dynamic reconfigurable device. The maximum delay time from the output of the flip-flop to the end of passing through the circuit configured by the context value is calculated, and the flip-flop capable of stopping the clock is detected from the calculated maximum delay time value. The control value of the clock control circuit that controls the clock is determined, and it is made to function as a clock stop FF detection means that generates clock forced valid context data, so centralized management by a large-scale control circuit is not required, and clock wiring Integration using dynamic reconfigurable devices that can reduce power consumption It is possible to realize a semiconductor integrated circuit design support system can be designed support road on the computer.

また、この実施の形態2の半導体集積回路設計支援プログラムによれば、クロック停止FF検出手段は、動作周波数およびクロック特性からクロックゲーティングパスの最大許容遅延を算出する最大許容遅延算出手段と、コンテキストデータにより動的に再構成される回路上でフリップフロップ毎にフリップフロップのデータ入力端子に繋がる全てのフリップフロップを検出する繋続FF検出手段と、繋続FF検出手段の検出結果に基づいて、フリップフロップ間の最大遅延時間であるFF間最大遅延時間を算出する最大遅延時間算出・追記手段と、最大遅延時間算出・追記手段の算出結果に基づいて、フリップフロップ毎の遅延時間の最大値を検出する最大値検出・追記手段と、最大値検出・追記手段が検出した最大値と、最大許容遅延の値からクロック停止可能なフリップフロップを判定するクロック停止FF判定手段と、クロック停止FF判定手段が判定した結果からクロック強制有効コンテキストデータを生成するクロック強制有効コンテキストデータ生成手段とを備えたので、更に、クロックゲーティングパスの最大許容遅延値を閾値としてデータパス遅延値からクロックゲーティングの可否を判定することで、クロック停止するフリップフロップに繋がるクロック制御回路による誤動作を回避することが可能な半導体集積回路設計支援システムをコンピュータ上に実現することができる。   Also, according to the semiconductor integrated circuit design support program of the second embodiment, the clock stop FF detection means includes a maximum allowable delay calculation means for calculating the maximum allowable delay of the clock gating path from the operating frequency and the clock characteristics, and a context. On the basis of the detection result of the connected FF detection means, which detects all flip-flops connected to the data input terminal of the flip-flop for each flip-flop on the circuit dynamically reconfigured by data, The maximum delay time calculation / addition means for calculating the maximum delay time between FFs, which is the maximum delay time between flip-flops, and the maximum delay time for each flip-flop based on the calculation result of the maximum delay time calculation / addition means Maximum value detection / addition means to be detected, maximum value detected by maximum value detection / addition means, and maximum allowable delay The clock stop FF determination means for determining a flip-flop capable of stopping the clock from, and the clock forced valid context data generation means for generating the clock forced valid context data from the result determined by the clock stop FF determination means. Semiconductor integrated circuit capable of avoiding malfunction due to clock control circuit connected to flip-flop that stops clock by determining whether clock gating is possible or not from data path delay value with the maximum allowable delay value of clock gating path as a threshold The design support system can be realized on a computer.

この発明の実施の形態1による動的再構成デバイスを示す構成図である。It is a block diagram which shows the dynamic reconfiguration | reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのクロック制御回路の構成図である。It is a block diagram of the clock control circuit of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのクロック制御回路の動作真理値を示す説明図である。It is explanatory drawing which shows the operation | movement truth value of the clock control circuit of the dynamic reconfigurable device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのクロック強制有効コンテキスト入力ポートpの入力状態を示す説明図である。It is explanatory drawing which shows the input state of the clock forced effective context input port p of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのクロック強制有効コンテキスト回路の構成図である。It is a block diagram of the clock forced effective context circuit of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスの組合せ回路Cの構成図である。It is a block diagram of the combination circuit C of the dynamic reconfigurable device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスの組合せ回路Cの動作真理値を示す説明図である。It is explanatory drawing which shows the operation | movement truth value of the combination circuit C of the dynamic reconfigurable device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのデータパス部のコンテキスト回路の構成図である。It is a block diagram of the context circuit of the data path part of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのFF出力選択回路の構成図である。It is a block diagram of the FF output selection circuit of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのFF出力選択回路の動作真理値を示す説明図である。It is explanatory drawing which shows the operation | movement truth value of FF output selection circuit of the dynamic reconfigurable device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのデータパス部の未使用FF設定コンテキスト回路の構成図である。It is a block diagram of the unused FF setting context circuit of the data path part of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスの各コンテキスト入力ポートに繋ぐ信号の説明図である。It is explanatory drawing of the signal connected to each context input port of the dynamic reconfiguration | reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのデータパス部のコンテキストデータの説明図である。It is explanatory drawing of the context data of the data path part of the dynamic reconfiguration | reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態1による動的再構成デバイスのクロック強制有効コンテキストデータの説明図である。It is explanatory drawing of the clock forced effective context data of the dynamic reconfiguration device by Embodiment 1 of this invention. この発明の実施の形態2による動的再構成デバイスの動的再構成デバイスと半導体集積回路設計支援システムの構成を示すブロック図(その1)である。It is the block diagram (the 1) which shows the structure of the dynamic reconfigurable device of the dynamic reconfigurable device and semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による動的再構成デバイスの動的再構成デバイスと半導体集積回路設計支援システムの構成を示すブロック図(その2)である。It is a block diagram (the 2) which shows the structure of the dynamic reconfigurable device of the dynamic reconfigurable device and semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの動作を示すフローチャート(その1)である。It is a flowchart (the 1) which shows operation | movement of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの動作を示すフローチャート(その2)である。It is a flowchart (the 2) which shows operation | movement of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのクロック制御回路の出力遅延時間定義の説明図である。It is explanatory drawing of the output delay time definition of the clock control circuit of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの組合せ回路Cの出力遅延時間定義の説明図である。It is explanatory drawing of the output delay time definition of the combinational circuit C of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの組合せ回路Mの出力遅延時間定義の説明図である。It is explanatory drawing of the output delay time definition of the combinational circuit M of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのFF毎のクロック配線の到達遅延時間の説明図である。It is explanatory drawing of the arrival delay time of the clock wiring for every FF of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキスト番号1のデータパス部のコンテキストデータの説明図である。It is explanatory drawing of the context data of the data path part of the context number 1 of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキスト番号1のクロック強制有効コンテキストデータの初期値の説明図である。It is explanatory drawing of the initial value of the clock forced effective context data of the context number 1 of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの繋続FF検出手段が検出したコンテキスト番号1に関する情報の説明図である。It is explanatory drawing of the information regarding the context number 1 which the connection FF detection means of the semiconductor integrated circuit design support system by Embodiment 2 of this invention detected. この発明の実施の形態2による半導体集積回路設計支援システムの最大遅延時間算出・追記手段が算出したコンテキスト番号1に関するクロック制御回路内のクロックゲーティング回路までの遅延計算式と最大遅延時間を示す説明図である。Description showing the delay calculation formula to the clock gating circuit in the clock control circuit and the maximum delay time for the context number 1 calculated by the maximum delay time calculation / addition means of the semiconductor integrated circuit design support system according to the second embodiment of the present invention FIG. この発明の実施の形態2による半導体集積回路設計支援システムの検出FF記憶手段上のコンテキスト番号1に関する最終情報を示す説明図である。It is explanatory drawing which shows the last information regarding the context number 1 on the detection FF memory | storage means of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキスト番号1のクロック強制有効コンテキストデータを示す説明図である。It is explanatory drawing which shows the clock forced effective context data of the context number 1 of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキスト番号2のデータパス部のコンテキストデータを示す説明図である。It is explanatory drawing which shows the context data of the data path part of the context number 2 of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキスト番号2のクロック強制有効コンテキストデータの初期値の説明図である。It is explanatory drawing of the initial value of the clock forced effective context data of the context number 2 of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの繋続FF検出手段が検出したコンテキスト番号2に関する情報の説明図である。It is explanatory drawing of the information regarding the context number 2 which the connection FF detection means of the semiconductor integrated circuit design support system by Embodiment 2 of this invention detected. この発明の実施の形態2による半導体集積回路設計支援システムの最大遅延時間算出・追記手段が算出したコンテキスト番号2に関する終点FFの入力パスと出力パスに関する遅延計算式を示す説明図である。It is explanatory drawing which shows the delay calculation type | formula regarding the input path and output path of the end point FF regarding the context number 2 which the maximum delay time calculation and additional recording means of the semiconductor integrated circuit design support system by Embodiment 2 of this invention calculated. この発明の実施の形態2による半導体集積回路設計支援システムの検出FF記憶手段上のコンテキスト番号2に関する最終情報を示す説明図である。It is explanatory drawing which shows the last information regarding the context number 2 on the detection FF memory | storage means of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキスト番号2のクロック強制有効コンテキストデータの説明図である。It is explanatory drawing of the clock forced effective context data of the context number 2 of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキストデータの説明図である。It is explanatory drawing of the context data of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムのコンテキストデータのビット割当て例を示す説明図である。It is explanatory drawing which shows the bit allocation example of the context data of the semiconductor integrated circuit design support system by Embodiment 2 of this invention. この発明の実施の形態2による半導体集積回路設計支援システムの複数プロセッサエレメント間に跨る場合の動的再構成デバイスを示す構成図である。It is a block diagram which shows the dynamic reconfiguration device in the case of straddling between the several processor elements of the semiconductor integrated circuit design support system by Embodiment 2 of this invention.

符号の説明Explanation of symbols

1−1〜1−11 フリップフロップ(FF1〜FF11)、2−1〜2−4 クロック制御回路、3−1〜3−4 クロック強制有効コンテキスト回路(P1〜P4)、4−1〜4−5 組合せ回路(C1〜C5)、5−1〜5−5 データパス部のコンテキスト回路(Q1〜Q5)、6−1〜6−4 FF出力選択回路(M1〜M4)、7−1〜7−4 データパス部の未使用FF設定コンテキスト回路(S1〜S4)、8−1〜8−4 論理反転回路(IV1〜IV4)、9 論理和回路(OR1)、10 論理積反転回路(NA1)、100 プロセッサエレメント(PE)、101 対象回路T1、102 対象回路T2、103 動的再構成デバイス(PP1)、200 コンテキストデータ設定手段、201−1〜201−n データパス部のコンテキストデータ(コンテキスト番号1〜コンテキスト番号n)、202−1〜202−n クロック強制有効コンテキストデータ(コンテキスト番号1〜コンテキスト番号n)、300 回路情報記憶手段、301 動的再構成デバイス内の回路構成情報、302 動的再構成デバイス内の遅延時間情報、400 データパス部のコンテキストデータ生成手段、401 データパス部のコンテキストデータ(コンテキスト番号1)、402 データパス部のコンテキストデータ(コンテキスト番号2)、500 クロック停止FF検出手段、501 最大許容遅延算出手段、502 繋続FF検出手段、503 検出FF記憶手段、504 最大遅延時間算出・追記手段、505 最大値検出・追記手段、506 クロック停止FF判定手段、507 クロック強制有効コンテキストデータ生成手段、508−1,508−2 クロック強制有効コンテキストデータ(コンテキスト番号1,コンテキスト番号2)。   1-1 to 1-11 flip-flops (FF1 to FF11), 2-1 to 2-4 clock control circuits, 3-1 to 3-4 clock forced effective context circuits (P1 to P4), 4-1 to 4- 5 Combination circuit (C1 to C5), 5-1 to 5-5 Context circuit (Q1 to Q5) of data path unit, 6-1 to 6-4 FF output selection circuit (M1 to M4), 7-1 to 7 -4 Unused FF setting context circuit (S1 to S4), 8-1 to 8-4 logic inversion circuit (IV1 to IV4), 9 OR circuit (OR1), 10 AND product inversion circuit (NA1) , 100 Processor element (PE), 101 Target circuit T1, 102 Target circuit T2, 103 Dynamic reconfiguration device (PP1), 200 Context data setting means, 201-1 to 201-n Data path Context data (context number 1 to context number n), 202-1 to 202-n clock forced valid context data (context number 1 to context number n), 300 circuit information storage means, 301 in the dynamic reconfiguration device Circuit configuration information, 302 delay time information in the dynamically reconfigurable device, 400 data path section context data generating means, 401 data path section context data (context number 1), 402 data path section context data (context number 2) ), 500 clock stop FF detection means, 501 maximum allowable delay calculation means, 502 continuous FF detection means, 503 detection FF storage means, 504 maximum delay time calculation / addition means, 505 maximum value detection / addition means, 506 clock stop FF Judgment means 507 clock forced valid context data generating means, 508-1,508-2 clock forced valid context data (context number 1, context number 2).

Claims (4)

リップフロップの入力値と出力値に応じてクロックの固定制御を行うクロック制御回路を備え、前記クロック制御回路は、クロック制御の有無を示すクロック強制有効コンテキストと、フリップフロップの入力値と、フリップフロップの出力値との3信号とクロックを入力とし、前記3信号の状態に応じてクロックの固定制御を決定し、この結果を前記フリップフロップへのクロックとして出力し、
かつ、
前記クロック強制有効コンテキストの値をコンテキストデータとして保持し設定するコンテキストデータ設定手段を備えた動的再構成デバイスに対して、
前記動的再構成デバイス内の隣接するフリップフロップを出力してからコンテキスト値によって構成される回路を通過し終わるまでの最大遅延時間を算出し、当該算出した最大遅延時間値からクロック停止可能なフリップフロップを検出し、このフリップフロップへのクロックを制御するクロック制御回路の制御値を決定し、クロック強制有効コンテキストデータとして生成するクロック停止FF検出手段を備えた半導体集積回路設計支援システム。
With the input value of the flip-flop and a clock control circuit for fixed control clock in response to the output value, said clock control circuit includes a clock forced valid context indicating the presence or absence of a clock control, the input value of the flip-flop, flip 3 signals and a clock with the output value of the group are input, the fixed control of the clock is determined according to the state of the three signals, and the result is output as a clock to the flip-flop,
And,
For a dynamic reconfiguration device having a context data setting means for holding and setting the value of the clock forced effective context as context data,
A flip-flop capable of calculating a maximum delay time from output of an adjacent flip-flop in the dynamic reconfigurable device to completion of passing through a circuit configured by a context value, and stopping the clock from the calculated maximum delay time value A semiconductor integrated circuit design support system comprising clock stop FF detection means for detecting a clock, determining a control value of a clock control circuit for controlling a clock to the flip-flop, and generating as a clock forced effective context data.
半導体集積回路設計支援を行うコンピュータを、
フリップフロップの入力値と出力値に応じてクロックの固定制御を行うクロック制御回路を備え、前記クロック制御回路は、クロック制御の有無を示すクロック強制有効コンテキストと、フリップフロップの入力値と、フリップフロップの出力値との3信号とクロックを入力とし、前記3信号の状態に応じてクロックの固定制御を決定し、この結果を前記フリップフロップへのクロックとして出力し、
かつ、
前記クロック強制有効コンテキストの値をコンテキストデータとして保持し設定するコンテキストデータ設定手段を備えた動的再構成デバイスに対して、
前記動的再構成デバイス内の隣接するフリップフロップを出力してからコンテキスト値によって構成される回路を通過し終わるまでの最大遅延時間を算出し、当該算出した最大遅延時間値からクロック停止可能なフリップフロップを検出し、このフリップフロップへのクロックを制御するクロック制御回路の制御値を決定し、クロック強制有効コンテキストデータとして生成するクロック停止FF検出手段として機能させるための半導体集積回路設計支援プログラム。
A computer that supports semiconductor integrated circuit design
A clock control circuit that performs fixed control of a clock according to an input value and an output value of the flip-flop, and the clock control circuit includes a clock forced effective context indicating presence / absence of clock control, an input value of the flip-flop, and a flip-flop; The three values of the output signal and the clock are input, the fixed control of the clock is determined according to the state of the three signals, and the result is output as the clock to the flip-flop.
And,
For a dynamic reconfiguration device having a context data setting means for holding and setting the value of the clock forced effective context as context data ,
A flip-flop capable of calculating a maximum delay time from output of an adjacent flip-flop in the dynamic reconfigurable device to completion of passing through a circuit configured by a context value, and stopping the clock from the calculated maximum delay time value A semiconductor integrated circuit design support program for detecting a clock, determining a control value of a clock control circuit for controlling a clock to the flip-flop, and functioning as a clock stop FF detection means for generating clock forced effective context data.
クロック停止FF検出手段は、
動作周波数およびクロック特性からクロックゲーティングパスの最大許容遅延を算出する最大許容遅延算出手段と、
コンテキストデータにより動的に再構成される回路上でフリップフロップ毎にフリップフロップのデータ入力端子に繋がる全てのフリップフロップを検出する繋続FF検出手段と、
繋続FF検出手段の検出結果に基づいて、フリップフロップ間の最大遅延時間であるFF間最大遅延時間を算出する最大遅延時間算出・追記手段と、
前記最大遅延時間算出・追記手段の算出結果に基づいて、フリップフロップ毎の遅延時間の最大値を検出する最大値検出・追記手段と、
前記最大値検出・追記手段が検出した最大値と、前記最大許容遅延の値からクロック停止可能なフリップフロップを判定するクロック停止FF判定手段と、
前記クロック停止FF判定手段が判定した結果からクロック強制有効コンテキストデータを生成するクロック強制有効コンテキストデータ生成手段とを備えたことを特徴とする請求項記載の半導体集積回路設計支援システム。
The clock stop FF detection means is
A maximum allowable delay calculating means for calculating the maximum allowable delay of the clock gating path from the operating frequency and the clock characteristics;
Connected FF detection means for detecting all flip-flops connected to the data input terminal of the flip-flop for each flip-flop on the circuit dynamically reconfigured by the context data;
Based on the detection result of the connected FF detection means, the maximum delay time calculation / addition means for calculating the maximum delay time between FFs, which is the maximum delay time between flip-flops,
Based on the calculation result of the maximum delay time calculation and additional recording means, maximum value detection and additional recording means for detecting the maximum value of the delay time for each flip-flop,
A clock stop FF determination means for determining a maximum value detected by the maximum value detection / addition means and a flip-flop capable of stopping the clock from the maximum allowable delay value;
The semiconductor integrated circuit design support system according to claim 1, characterized in that a clock forced valid context data generating means for generating a clock forced valid contextual data from the result the clock stop FF judging means judges.
クロック停止FF検出手段は、
動作周波数およびクロック特性からクロックゲーティングパスの最大許容遅延を算出する最大許容遅延算出手段と、
コンテキストデータにより動的に再構成される回路上でフリップフロップ毎にフリップフロップのデータ入力端子に繋がる全てのフリップフロップを検出する繋続FF検出手段と、
繋続FF検出手段の検出結果に基づいて、フリップフロップ間の最大遅延時間であるFF間最大遅延時間を算出する最大遅延時間算出・追記手段と、
前記最大遅延時間算出・追記手段の算出結果に基づいて、フリップフロップ毎の遅延時間の最大値を検出する最大値検出・追記手段と、
前記最大値検出・追記手段が検出した最大値と、前記最大許容遅延の値からクロック停止可能なフリップフロップを判定するクロック停止FF判定手段と、
前記クロック停止FF判定手段が判定した結果からクロック強制有効コンテキストデータを生成するクロック強制有効コンテキストデータ生成手段とを備えたことを特徴とする請求項記載の半導体集積回路設計支援プログラム。
The clock stop FF detection means is
A maximum allowable delay calculating means for calculating the maximum allowable delay of the clock gating path from the operating frequency and the clock characteristics;
Connected FF detection means for detecting all flip-flops connected to the data input terminal of the flip-flop for each flip-flop on the circuit dynamically reconfigured by the context data;
Based on the detection result of the connected FF detection means, the maximum delay time calculation / addition means for calculating the maximum delay time between FFs, which is the maximum delay time between flip-flops,
Based on the calculation result of the maximum delay time calculation and additional recording means, maximum value detection and additional recording means for detecting the maximum value of the delay time for each flip-flop,
A clock stop FF determination means for determining a maximum value detected by the maximum value detection / addition means and a flip-flop capable of stopping the clock from the maximum allowable delay value;
3. The semiconductor integrated circuit design support program according to claim 2, further comprising: clock forced effective context data generating means for generating clock forced effective context data from the result determined by the clock stop FF determining means.
JP2007320997A 2007-12-12 2007-12-12 Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program Expired - Fee Related JP5241218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007320997A JP5241218B2 (en) 2007-12-12 2007-12-12 Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007320997A JP5241218B2 (en) 2007-12-12 2007-12-12 Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program

Publications (2)

Publication Number Publication Date
JP2009147539A JP2009147539A (en) 2009-07-02
JP5241218B2 true JP5241218B2 (en) 2013-07-17

Family

ID=40917672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007320997A Expired - Fee Related JP5241218B2 (en) 2007-12-12 2007-12-12 Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program

Country Status (1)

Country Link
JP (1) JP5241218B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5658077B2 (en) * 2011-04-20 2015-01-21 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit delay analysis method, delay analysis program, and delay analysis apparatus
WO2018069787A1 (en) 2016-10-14 2018-04-19 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device, broadcasting system, and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11145789A (en) * 1997-07-29 1999-05-28 Sharp Corp Low power consumption type register circuit
JP3339562B2 (en) * 1998-05-22 2002-10-28 日本電気株式会社 Flip-flop circuit
JP2000013195A (en) * 1998-06-24 2000-01-14 Nec Corp Low power consumption circuit and integrated circuit containing the same
JP3580736B2 (en) * 1998-08-26 2004-10-27 株式会社東芝 Flip-flop circuit with clock signal control function and clock control circuit
JP2002271188A (en) * 2001-03-14 2002-09-20 Matsushita Electric Ind Co Ltd Semiconductor integrated circuit device
JP2007166377A (en) * 2005-12-15 2007-06-28 Yaskawa Electric Corp Reconfigurable arithmetic operation circuit

Also Published As

Publication number Publication date
JP2009147539A (en) 2009-07-02

Similar Documents

Publication Publication Date Title
US7143221B2 (en) Method of arbitrating between a plurality of transfers to be routed over a corresponding plurality of paths provided by an interconnect circuit of a data processing apparatus
US11842199B2 (en) Controlling the operating speed of stages of an asynchronous pipeline
JP4272108B2 (en) Improved flexibility in designing bus interconnect blocks for data processing equipment.
US9740454B2 (en) Crossing pipelined data between circuitry in different clock domains
US7461187B2 (en) Bus system and data transfer method
Villiger et al. Self-timed ring for globally-asynchronous locally-synchronous systems
JP4076973B2 (en) Improved flexibility when using data processing equipment
US9842187B1 (en) Representation of complex timing characteristics of startpoint-endpoint pairs in a circuit design
JP5063511B2 (en) Method and system for efficiently utilizing a multi-source network of control logic to achieve timing closure in a clock-driven logic circuit
Hassoun et al. Optimal buffered routing path constructions for single and multiple clock domain systems
JP5241218B2 (en) Semiconductor integrated circuit design support system and semiconductor integrated circuit design support program
JP3651588B2 (en) Data processing system with adjustable clock for a segmented synchronization interface
US6505340B2 (en) Circuit synthesis method
US9729153B1 (en) Multimode multiplexer-based circuit
US6532584B1 (en) Circuit synthesis method
US7353297B2 (en) Handling of write transactions in a data processing apparatus
Wang et al. Prototyping a globally asynchronous locally synchronous network-on-chip on a conventional FPGA device using synchronous design tools
JP4840963B2 (en) Bus system and control method thereof
Sadasivam et al. Autonomous buffer controller design for concurrent execution in block level pipelined dataflow
WO2010055706A1 (en) Data processing device, data processing method, and program
JP4319081B2 (en) Low power circuit design support device
JP2010113405A (en) Device for synthesizing semiconductor integrated circuit
JP2008242527A (en) Operation composition device, operation composition method, production method for semiconductor integrated circuit, operation composition program and readable storage medium
JP2007018264A (en) Bus system and route selection method therefor
JP2006163822A (en) Logic synthesis system, method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121016

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121212

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130402

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

Free format text: PAYMENT UNTIL: 20160412

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5241218

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees