JP2007074160A - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
JP2007074160A
JP2007074160A JP2005257053A JP2005257053A JP2007074160A JP 2007074160 A JP2007074160 A JP 2007074160A JP 2005257053 A JP2005257053 A JP 2005257053A JP 2005257053 A JP2005257053 A JP 2005257053A JP 2007074160 A JP2007074160 A JP 2007074160A
Authority
JP
Japan
Prior art keywords
circuit
delay
data
semiconductor device
latch circuit
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.)
Withdrawn
Application number
JP2005257053A
Other languages
Japanese (ja)
Inventor
Jun Ichikawa
純 市川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2005257053A priority Critical patent/JP2007074160A/en
Publication of JP2007074160A publication Critical patent/JP2007074160A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Logic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To expand an operation environmental range of a synchronous type circuit which latches input/output data of a logic circuit in synchronism with a clock. <P>SOLUTION: A semiconductor device is provided with a variable delay circuit 10 which delays output data of the logic circuit 5 between the logic circuit 5 and an output latch circuit 2 and equipped with a control circuit 6 which controls a delay quantity of the variable delay circuit 109 based upon an observed operation environment. As the operation environment, temperature, delay of a circuit element accompanying process variation and a source voltage, etc. are observed. Instead of the variable delay circuit 10, a variable delay circuit may be provided which delays a clock CK of the latch circuit 2. One operation range is permitted for each of a plurality delay quantities that the variable delay circuit 10 employs, and the semiconductor device operates over all the operation ranges and then has the wide operation range. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、論理回路の入出力データをクロックに同期してラッチするラッチ回路を備えた半導体装置に関し、とくに広範囲の動作環境にわたりラッチ回路のタイミングマージンが確保される半導体装置に関する。   The present invention relates to a semiconductor device including a latch circuit that latches input / output data of a logic circuit in synchronization with a clock, and more particularly to a semiconductor device in which a timing margin of the latch circuit is ensured over a wide range of operating environments.

論理演算を行なう半導体装置では、論理回路の入力データ及び出力データをそれぞれクロックに同期してラッチ回路でラッチする同期式回路が広く使用されている。   In a semiconductor device that performs a logical operation, a synchronous circuit that latches input data and output data of a logic circuit by a latch circuit in synchronization with a clock is widely used.

従来、かかる同期式回路のタイミング調整は、静的タイミング解析(STA:Static Timing Analysis)ツールを用いてラッチ回路のホールドマージン及びセットアップマージンを解析し、これらのマージンが確保されるように、各回路にバッファ回路を挿入して各回路のデータ遅延時間を調整することでなされていた。以下、静的タイミング解析ツールを用いた半導体回路のタイミング調整について説明する。   Conventionally, the timing adjustment of such a synchronous circuit is performed by analyzing the hold margin and the setup margin of the latch circuit using a static timing analysis (STA) tool, and ensuring that these margins are secured. This is done by inserting a buffer circuit to adjust the data delay time of each circuit. Hereinafter, timing adjustment of a semiconductor circuit using a static timing analysis tool will be described.

図7は従来の論理回路及びその周辺回路の回路図であり、論理回路とその入出力データをラッチするラッチ回路とを含む回路を表している。図7を参照して、ラッチ回路1の入力端Dに入力された入力データDinは、クロックCK1に同期してラッチ回路1にラッチされ、ラッチ回路1の出力端Qから出力される。このラッチ回路1の出力データは、論理回路5に入力され、論理演算結果が論理回路5から出力される。論理回路5の出力データは遅延回路3を通りラッチ回路2の入力端Dに印加される。このラッチ回路2の入力端Dに印加されたデータD2は、クロックCK2に同期してラッチ回路2にラッチされ、ラッチ回路2の出力端Qから論理演算結果として出力される。   FIG. 7 is a circuit diagram of a conventional logic circuit and its peripheral circuits, showing a circuit including the logic circuit and a latch circuit for latching input / output data thereof. Referring to FIG. 7, input data Din input to input terminal D of latch circuit 1 is latched by latch circuit 1 in synchronization with clock CK 1 and output from output terminal Q of latch circuit 1. The output data of the latch circuit 1 is input to the logic circuit 5, and the logical operation result is output from the logic circuit 5. The output data of the logic circuit 5 is applied to the input terminal D of the latch circuit 2 through the delay circuit 3. The data D2 applied to the input terminal D of the latch circuit 2 is latched by the latch circuit 2 in synchronization with the clock CK2, and is output as a logical operation result from the output terminal Q of the latch circuit 2.

かかる論理回路を有する従来の半導体装置は、回路素子を仮にレイアウトした後、この仮にレイアウトされた回路について静的タンミング解析ツールを用いてタイミング解析を行ない、全てのタイミングが満足されるまで修正を加えることで設計される。   A conventional semiconductor device having such a logic circuit tentatively lays out circuit elements, performs timing analysis on the tentatively laid out circuit using a static tamming analysis tool, and corrects until all timings are satisfied. It is designed by that.

図8は従来の論理回路のタイミングチャートであり、ラッチ回路2が論理回路5の出力データをラッチするタイミングを表している。図8中、D2はラッチ回路2の入力端Dに印加されたデータを表す。   FIG. 8 is a timing chart of a conventional logic circuit, showing the timing at which the latch circuit 2 latches the output data of the logic circuit 5. In FIG. 8, D2 represents data applied to the input terminal D of the latch circuit 2.

図8を参照して、クロックCK1の立ち上がり時刻t0でラッチ回路1にラッチされたデータD1(入力データDin)は、ラッチ回路1、論理回路5、遅延回路3及びラッチ回路1とラッチ回路2間の配線による遅延時間tdを経過した後、演算結果がデータD2としてラッチ回路2の入力端Dに到達する。この遅延時間tdは、これらの回路1、2、3、5の動作速度に影響を及ぼす因子、及び、論理回路5の論理演算の内容により異なる。なぜなら、回路の動作速度は回路の遅延時間に直接影響するし、また論理演算の違いは論理回路5内を伝播するデータのパスP1〜P4を変更するからである。   Referring to FIG. 8, data D1 (input data Din) latched in latch circuit 1 at rising time t0 of clock CK1 is between latch circuit 1, logic circuit 5, delay circuit 3, and latch circuit 1 and latch circuit 2. After the delay time td due to the wiring of elapses, the calculation result reaches the input terminal D of the latch circuit 2 as data D2. This delay time td differs depending on factors that affect the operation speed of these circuits 1, 2, 3, and 5 and the contents of the logic operation of the logic circuit 5. This is because the operation speed of the circuit directly affects the delay time of the circuit, and the difference in logic operation changes the paths P1 to P4 of data propagating in the logic circuit 5.

静的タイミング解析ツールは、回路の動作速度が最速となる動作環境であるBest条件及び動作速度が最低となるWorst条件下でのデータD2の遅延時間tdをそれぞれ算出し、クロックCK2の立ち上がり時刻t1(ラッチのタイミング)と比較する。そして、データD2がラッチのタイミング条件、即ちセットアップ時間ts及びホールド時間thを満たすか否かを解析する。   The static timing analysis tool calculates the delay time td of the data D2 under the Best condition that is the operating environment in which the operation speed of the circuit is the highest and the worst condition in which the operation speed is the lowest, and the rising time t1 of the clock CK2 (Latch timing). Then, it is analyzed whether or not the data D2 satisfies the latch timing condition, that is, the setup time ts and the hold time th.

このタイミング解析では、Best条件のとき、遅延時間tdが最小となる論理回路の最短パスP1が選択され、このときホールドエラーが問題とされる。他方、Worst条件のとき、遅延時間tdが最大となる論理回路の最長パスP4が選択され、このときセットアップエラーが問題とされる。   In this timing analysis, under the Best condition, the shortest path P1 of the logic circuit that minimizes the delay time td is selected. At this time, a hold error is a problem. On the other hand, in the worst condition, the longest path P4 of the logic circuit having the maximum delay time td is selected. At this time, a setup error is a problem.

ホールドエラーが生ずるときは、図7を参照して、論理回路5の出力データを遅延する遅延回路3に遅延素子を付加して遅延時間を長くしてエラーを解消する。他方、セットアップエラーを生ずるときは、遅延回路3の遅延素子を削減して遅延時間を短くする、又はクロックCK2を遅延するクロック遅延回路4−2に遅延素子を付加してクロックCK1とクロックCK2間の時間間隔を長くして解消する。このようなタイミング解析と修正を繰り返して、タイミング条件を満たすように遅延回路3及びクロック遅延回路4−2の遅延時間を決定する。(データを遅延するものは、例えば特許文献1参照。クロックを遅延するものは、例えば特許文献2参照。)
このようにして設計された半導体装置の動作範囲について説明する。
When a hold error occurs, a delay element is added to the delay circuit 3 that delays the output data of the logic circuit 5 with reference to FIG. On the other hand, when a setup error occurs, the delay element of the delay circuit 3 is reduced to shorten the delay time, or a delay element is added to the clock delay circuit 4-2 that delays the clock CK2, and the clock CK1 and the clock CK2 Eliminate the problem by increasing the time interval. By repeating such timing analysis and correction, the delay times of the delay circuit 3 and the clock delay circuit 4-2 are determined so as to satisfy the timing condition. (See, for example, Patent Document 1 for data delaying; see, for example, Patent Document 2 for delaying a clock.)
The operation range of the semiconductor device designed in this way will be described.

図9は、従来の論理回路の動作範囲説明図であり、ラッチ回路2のセットアップマージン及びホールドマージンが確保され、論理回路の出力データが正しくラッチ回路2にラッチされる動作環境の範囲を表している。縦軸は、動作環境、即ち半導体装置のラッチ回路1、2、及び論理回路5の動作速度に影響を与える動作条件であり、例えば、温度、電源電圧、半導体装置の製造プロセスである。なお、本明細書では、動作速度が速くなる条件(図の下方)をBest方向とし、遅くなる条件(図の上方)をWorst方向として表している。   FIG. 9 is an explanatory diagram of the operation range of the conventional logic circuit, and shows the range of the operation environment in which the setup margin and the hold margin of the latch circuit 2 are secured and the output data of the logic circuit is correctly latched in the latch circuit 2. Yes. The vertical axis represents operating conditions that affect the operating environment, that is, the operating speed of the latch circuits 1 and 2 and the logic circuit 5 of the semiconductor device, such as temperature, power supply voltage, and manufacturing process of the semiconductor device. In the present specification, the condition for increasing the operation speed (downward in the figure) is represented as the Best direction, and the condition for increasing the operation speed (upper in the figure) is represented as the Worst direction.

図9中の直線イ及びロは、論理回路5の最短パスP1を経由したデータD2min(最短パスデータ)の立ち上がり及び立ち下がり時刻を表している。また、直線ハ及びニは、論理回路5の最長パスP1を経由したデータD2max(最長パスデータ)の立ち上がり及び立ち下がり時刻を表している。これらの立ち上がり及び立ち下がり時刻は、直線イ〜ニが示すように、動作環境がBest方向からWorst方向へ変化するにつれて、遅延が大きくなる方向へ移動する。なお、最短パスデータD2minと最長パスデータD2maxでは、遅延に関与する回路素子の直列接続数が異なるので、一般に動作環境に起因する遅延の変化は異なり図9に示すように異なる傾斜を有する。   9 represent the rise and fall times of the data D2min (shortest path data) that has passed through the shortest path P1 of the logic circuit 5. Straight lines C and D represent the rise and fall times of the data D2max (longest path data) via the longest path P1 of the logic circuit 5. These rising and falling times move in a direction in which the delay increases as the operating environment changes from the Best direction to the Worst direction, as shown by the straight lines A to D. Note that the shortest path data D2min and the longest path data D2max differ in the number of series connection of circuit elements involved in the delay, so that the delay change caused by the operating environment is generally different and has different slopes as shown in FIG.

上記の従来の半導体装置では、図9の直線ハが示すように、最長パスデータD2maxがセットアップ時間tsを満たすのは、動作環境が条件1よりBest方向になる場合である。一方、直線ロが示すように、最短パスデータD2minがホールド時間thを満たすのは、動作環境が条件2よりWorst方向になる場合である。従って、この半導体装置は、条件1と条件2の間でセットアップエラー及びホールドエラーを生ずることなく正しく動作する。
特開2003−162556号公報 特開2004−185466号公報
In the conventional semiconductor device described above, the longest path data D2max satisfies the setup time ts when the operating environment is in the Best direction from Condition 1 as indicated by the straight line C in FIG. On the other hand, as indicated by the straight line B, the shortest path data D2min satisfies the hold time th when the operating environment is in the worst direction from condition 2. Therefore, this semiconductor device operates correctly without causing a setup error and a hold error between condition 1 and condition 2.
JP 2003-162556 A JP 2004-185466 A

上述した静的タイミング解析ツールを用いて設計される従来の半導体装置は、設計段階で修正されるのであり、すでに製造された半導体装置に適用してこれを修正することはできない。例えば、製造プロセス条件、使用環境温度又は電源電圧が設計規格外となった場合、これらの条件下でも正常に動作するように修正することはできない。このため、製造プロセス条件、使用環境温度及び電源電圧のばらつきを予め十分な設計マージンを持たせて設計しなければならず、これらの条件についての動作保証範囲が狭くなるという問題があった。   A conventional semiconductor device designed using the above-described static timing analysis tool is corrected at the design stage, and cannot be applied to a semiconductor device already manufactured and corrected. For example, when the manufacturing process conditions, the use environment temperature, or the power supply voltage is out of the design standard, it cannot be corrected so as to operate normally even under these conditions. For this reason, it has been necessary to design the manufacturing process conditions, operating environment temperature, and power supply voltage in advance with a sufficient design margin, and there is a problem that the operation guarantee range for these conditions is narrowed.

また、従来の半導体装置では、静的タイミング解析ツールを用いて設計する際にWorst条件における修正がBest条件でのタイミングを満たさなくなる場合、又はその逆にBest条件における修正がWorst条件でのタイミングを満たさなくなる場合も多く、静的タイミング解析の収束が遅いあるいは収束しないことがあるという問題があった。   Further, in the conventional semiconductor device, when designing using the static timing analysis tool, when the correction under the worst condition does not satisfy the timing under the best condition, or conversely, the correction under the best condition causes the timing under the worst condition to be corrected. There are many cases where it is not satisfied, and there is a problem that the convergence of the static timing analysis is slow or may not converge.

本発明は、半導体装置の製造後又は静的タイミング解析ツールを用いて設計する際に、動作環境に合わせてタイミングを修正することができる半導体装置を提供することで、広範な動作保証範囲を有し、かつ設計の際の静的タイミング解析の収束が速い半導体装置を提供することを目的としている。   The present invention provides a semiconductor device capable of correcting the timing in accordance with the operating environment when the semiconductor device is manufactured or designed using a static timing analysis tool. An object of the present invention is to provide a semiconductor device in which static timing analysis at the time of design converges quickly.

上記課題を解決するための本発明の第1構成に係る半導体装置は、第1ラッチ回路の出力データを入力し演算結果を第2ラッチ回路へ出力する論理回路を備えた半導体装置に関し、前記論理回路の出力データを遅延して前記第2ラッチ回路へ出力する可変遅延回路と、入力された動作環境の観測データが示す動作環境の下で前記論理回路の出力データが正しくラッチされるように前記可変遅延回路の遅延時間を制御する制御回路とを備える。   In order to solve the above problems, a semiconductor device according to a first configuration of the present invention relates to a semiconductor device including a logic circuit that inputs output data of a first latch circuit and outputs an operation result to a second latch circuit. A variable delay circuit that delays the output data of the circuit and outputs the delayed output data to the second latch circuit, and the output data of the logic circuit is correctly latched under the operating environment indicated by the input observation data of the operating environment And a control circuit for controlling the delay time of the variable delay circuit.

本第1構成では、論理回路の出力データの遅延時間は、可変遅延回路の遅延時間を制御回路により制御することで調整される。従って、論理回路の出力データの遅延時間を、半導体装置のプロセス工程の製造後に、例えばウエーハ工程の終了後に変更してタイミング調整を行なうことができる。   In the first configuration, the delay time of the output data of the logic circuit is adjusted by controlling the delay time of the variable delay circuit by the control circuit. Therefore, the timing adjustment can be performed by changing the delay time of the output data of the logic circuit after manufacturing the process step of the semiconductor device, for example, after the end of the wafer step.

このように、製造後に論理回路の出力データの遅延時間を変更してタイミング調整を行なうことができるので、プロセス条件の変動に起因する回路素子の動作速度の変動、あるいは動作環境温度若しくは電源電圧等の動作環境の変動など製造後に判明する因子に基づく回路動作速度の変動があってもこれを変更してタイミング条件を満たすことが容易になる。このため、半導体装置の設計段階における設計規格のマージンを小さくすることができる。   As described above, the timing adjustment can be performed by changing the delay time of the output data of the logic circuit after the manufacture, so that the operation speed of the circuit element due to the process condition change, the operating environment temperature, the power supply voltage, etc. Even if there are fluctuations in the circuit operating speed based on factors found after manufacturing, such as fluctuations in the operating environment, it is easy to change this to meet the timing conditions. For this reason, the margin of the design standard in the design stage of the semiconductor device can be reduced.

また、タイミング調整に可変遅延回路を用いるため、静的タイミング解析を異なる遅延時間毎に互いに独立して行ない、全ての遅延時間での動作範囲を合わせて半導体装置の動作範囲として設定することができる。従って、遅延時間を一つに固定する従来の半導体装置に比べて動作範囲が格段に拡大する。また、半導体装置の動作範囲に比べて一つのパスの遅延時間についての動作範囲を狭く設定することができるので、静的タイミング解析の収束性が向上し、さらには静的タイミング解析でセットアップ時間とホールド時間とが両立しないという事態を回避することができる。   In addition, since a variable delay circuit is used for timing adjustment, static timing analysis can be performed independently for each different delay time, and the operation range for all delay times can be set as the operation range of the semiconductor device. . Therefore, the operation range is greatly expanded as compared with the conventional semiconductor device in which the delay time is fixed to one. In addition, since the operating range for the delay time of one path can be set narrower than the operating range of the semiconductor device, the convergence of the static timing analysis is improved. It is possible to avoid a situation where the hold time is incompatible.

制御回路には半導体装置内部の回路の動作速度に影響を与える動作環境の観測データが入力され、制御装置は、この観測データが表示する動作環境下で論理回路の出力データが正しくラッチされるように可変遅延回路の遅延時間を制御する。かかる制御は、例えば可変遅延回路がとり得る各遅延時間と、その各遅延時間の下で論理回路の出力データが正しくラッチされる動作環境の範囲とを予め設定しておき、観測データが示す動作環境と設定されている動作環境の範囲とを比較して、論理回路の出力データが正しくラッチされる遅延時間をとるように可変遅延回路を制御することにより実現することができる。   The control circuit receives the observation data of the operating environment that affects the operation speed of the circuit inside the semiconductor device, and the control device correctly latches the output data of the logic circuit under the operating environment displayed by this observation data. The delay time of the variable delay circuit is controlled. For this control, for example, each delay time that can be taken by the variable delay circuit and an operating environment range in which the output data of the logic circuit is correctly latched under each delay time are set in advance, and the operation indicated by the observation data This can be realized by comparing the environment and the range of the set operating environment and controlling the variable delay circuit so as to take a delay time in which the output data of the logic circuit is correctly latched.

この可変遅延回路は、制御回路により遅延時間を制御できるものであればよく、例えば複数の異なる遅延回路から構成し、その一つの遅延回路をセレクタを用いて選択するようにしてもよい。   This variable delay circuit may be any circuit as long as the control circuit can control the delay time. For example, the variable delay circuit may be composed of a plurality of different delay circuits, and one of the delay circuits may be selected using a selector.

このように、制御装置は、動作環境の観測データに基づき可変遅延回路の遅延時間を制御する。言い換えれば、動作環境がある一つの遅延時間で許容された動作範囲を逸脱したとき、逸脱後の動作環境を動作範囲に含む他の遅延時間を選択して、この他の遅延時間をとるように可変遅延回路を制御する。従って、一つの遅延時間で許容される動作範囲が狭くても、本第1構成の半導体装置の動作範囲は非常に広くなる。   As described above, the control device controls the delay time of the variable delay circuit based on the observation data of the operating environment. In other words, when the operating environment deviates from the allowable operating range with a certain delay time, another delay time including the operating environment after the departure in the operating range is selected, and this other delay time is taken. Control the variable delay circuit. Therefore, even if the operating range allowed for one delay time is narrow, the operating range of the semiconductor device of the first configuration is very wide.

上述した制御回路に入力される観測データは、半導体装置内部の回路の動作速度に影響を与える動作環境、とくに論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データである。かかる動作環境には、半導体装置のチップ温度、パッケージ温度並びに周囲温度、及び、半導体装置のリードと回路基板との接続点の温度がある。また、半導体装置への供給電源電圧又は論理回路5に実際に印加されている電源電圧を含めることもできる。さらに、半導体装置の回路を製造するプロセス条件も、回路素子の遅延を変動させる動作環境の一つとすることができる。   The observation data input to the control circuit described above is an observation of the operating environment that affects the operating speed of the circuit inside the semiconductor device, particularly the operating environment that affects the operating speed of the logic circuit or the first or second latch circuit. It is data. Such operating environments include the chip temperature of the semiconductor device, the package temperature and the ambient temperature, and the temperature of the connection point between the lead of the semiconductor device and the circuit board. Further, the power supply voltage supplied to the semiconductor device or the power supply voltage actually applied to the logic circuit 5 can be included. Furthermore, the process conditions for manufacturing the circuit of the semiconductor device can be one of operating environments in which the delay of the circuit element is varied.

このうち温度は、温度計又は温度測定回路により電気信号に変換され、この電気信号を観測データとして制御回路に入力される。なお、温度計又は温度測定回路をチップ内に備えることもできる。プロセス条件の観測は、半導体装置内に内蔵するゲート遅延を測定するモニタ回路(たとえばリング発信器の発信周波数を観測する回路)を監視することでなされ、その観測データ(例えば発信周波数に対応する電圧)を制御回路に入力する。   Of these, the temperature is converted into an electric signal by a thermometer or a temperature measuring circuit, and this electric signal is input to the control circuit as observation data. A thermometer or a temperature measurement circuit can be provided in the chip. The process condition is observed by monitoring a monitor circuit (for example, a circuit for observing the oscillation frequency of the ring oscillator) that measures the gate delay incorporated in the semiconductor device, and the observation data (for example, a voltage corresponding to the oscillation frequency). ) Is input to the control circuit.

上述した可変遅延回路は、第1ラッチ回路と第2ラッチ回路の間の任意の位置に挿入することができる。しかし、論理回路は他のラッチ回路から送出される信号と関連を有することがあるため、論理回路の出力の前に挿入すると他のラッチ回路のタイミングを変化させなければならない場合がある。また、論理回路内のパスによっては遅延時間の変更により別のタイミングエラーを発生する場合がある。これらの場合はさらなる解析・修正が必要になる。このため、可変遅延回路は論理回路の出力後に挿入することが好ましい。   The variable delay circuit described above can be inserted at an arbitrary position between the first latch circuit and the second latch circuit. However, since the logic circuit may be related to a signal transmitted from another latch circuit, the timing of the other latch circuit may have to be changed if it is inserted before the output of the logic circuit. Further, depending on the path in the logic circuit, another timing error may occur due to a change in the delay time. In these cases, further analysis and correction are required. For this reason, the variable delay circuit is preferably inserted after the output of the logic circuit.

本発明の第2構成は、第2ラッチ回路のクロックを遅延する可変遅延回路を設ける。   In the second configuration of the present invention, a variable delay circuit for delaying the clock of the second latch circuit is provided.

本第2構成では、論理回路の出力データを遅延する代わりに、第2ラッチ回路のラッチ時刻を定める第2クロックを遅延することで、セットアップエラー及びホールドエラーを修正する。この第2構成の動作は、第1構成で出力データを遅延してタイミング調整する代わりに、第2ラッチ回路のラッチ時刻を遅延してタイミング調整する点を除きほぼ同様であるから説明を省略する。   In the second configuration, the setup error and the hold error are corrected by delaying the second clock that determines the latch time of the second latch circuit instead of delaying the output data of the logic circuit. The operation of the second configuration is substantially the same except that the timing adjustment is performed by delaying the latch time of the second latch circuit instead of delaying the output data in the first configuration and adjusting the timing. .

本構成は、とくに複数の論理回路のそれぞれに対応して1つの第2クロックで駆動される複数の第2ラッチ回路が設けられている場合、その第2クロックを遅延する1個の可変遅延回路を設けることで足りるという利点がある。なお、第1構成では、論理回路ごとに可変遅延回路を設けなければならない。   In the present configuration, in particular, when a plurality of second latch circuits driven by one second clock are provided corresponding to each of the plurality of logic circuits, one variable delay circuit that delays the second clock. There is an advantage that it is sufficient to provide. In the first configuration, a variable delay circuit must be provided for each logic circuit.

さらに、論理回路の出力データを遅延する可変論理回路と第2ラッチ回路のクロックを遅延する可変遅延回路とを設けることもできる。この構成では、論理回路の出力データと第2ラッチ回路のクロックとの2つを変数としてタイミング調整を行なうので、より広範囲の動作範囲を確保することができる。   Further, a variable logic circuit that delays output data of the logic circuit and a variable delay circuit that delays the clock of the second latch circuit may be provided. In this configuration, timing adjustment is performed using two of the output data of the logic circuit and the clock of the second latch circuit as variables, so that a wider operating range can be secured.

本発明によれば、半導体装置の製造後にタイミング調整が可能となるから、広い動作環境下で動作し、かつ、静的タイミング解析ツールを用いた設計でタイミング調整が迅速に収束する半導体装置を提供することができる。   According to the present invention, since timing adjustment is possible after manufacturing a semiconductor device, a semiconductor device that operates in a wide operating environment and that converges quickly in a design using a static timing analysis tool is provided. can do.

図1は本発明の第1実施形態の回路図であり、論理回路とその周辺回路を表している。図1を参照して、本発明の第1実施形態は、論理回路5の出力データの遅延を可変遅延回路10を用いて調整する半導体装置に関する。   FIG. 1 is a circuit diagram of a first embodiment of the present invention, showing a logic circuit and its peripheral circuits. Referring to FIG. 1, a first embodiment of the present invention relates to a semiconductor device that adjusts a delay of output data of a logic circuit 5 using a variable delay circuit 10.

第1実施形態では、論理回路5の入力データをラッチするラッチ回路1と、論理回路5の出力データをラッチするラッチ回路2とを構成する、Dプリップフロップからなる2個のラッチ回路1、2を備える。   In the first embodiment, two latch circuits 1 and 2 composed of D flip-flops that constitute a latch circuit 1 that latches input data of the logic circuit 5 and a latch circuit 2 that latches output data of the logic circuit 5. Is provided.

ラッチ回路1は、その入力端Dに印加された入力データDinを、クロックCK1の立ち上がりに同期してラッチし、出力端Qから論理回路5へ出力する。論理回路5は、多段の論理回路からなり、論理演算の結果を出力データとして可変遅延回路10へ出力する。可変遅延回路10は、複数の遅延回路3−1、3−2と、その一つの出力を選択してラッチ回路2へ出力するセレクタ8とを有する。ラッチ回路2は、セレクタ8の出力(即ち、遅延回路3−1、3−2の一つで遅延された論理回路5の出力データ)をクロックCK2の立ち上がりに同期してラッチする。ラッチ回路2にラッチされたデータD2は、出力データDoutとしてラッチ回路2の出力端Dから出力される。   The latch circuit 1 latches the input data Din applied to the input terminal D in synchronization with the rising edge of the clock CK1, and outputs the latched data from the output terminal Q to the logic circuit 5. The logic circuit 5 is composed of a multi-stage logic circuit, and outputs the result of the logic operation to the variable delay circuit 10 as output data. The variable delay circuit 10 includes a plurality of delay circuits 3-1 and 3-2 and a selector 8 that selects one of the outputs and outputs the selected output to the latch circuit 2. The latch circuit 2 latches the output of the selector 8 (that is, the output data of the logic circuit 5 delayed by one of the delay circuits 3-1 and 3-2) in synchronization with the rising edge of the clock CK2. The data D2 latched by the latch circuit 2 is output from the output terminal D of the latch circuit 2 as output data Dout.

ラッチ回路1、2のクロックCK1、CK2は、共通のクロックCKからそれぞれクロック遅延回路4−1及びクロック遅延回路4−2を介して供給される。このクロック遅延回路4−1、4−2は、クロックCK1とクロックCK2のタイミング調整のために設けられている。   The clocks CK1 and CK2 of the latch circuits 1 and 2 are supplied from the common clock CK via the clock delay circuit 4-1 and the clock delay circuit 4-2, respectively. The clock delay circuits 4-1 and 4-2 are provided for timing adjustment of the clock CK1 and the clock CK2.

制御回路6は、可変遅延回路10がとり得る遅延時間(即ち、セレクタ8が遅延回路3−1又は遅延回路3−2を選択したときの可変遅延回路10の遅延時間)と、その遅延時間に可変遅延回路10を設定したときに許容される動作環境の範囲(即ち、正しくラッチされる動作環境の範囲)とを予めテーブルに記憶している。   The control circuit 6 determines the delay time that the variable delay circuit 10 can take (that is, the delay time of the variable delay circuit 10 when the selector 8 selects the delay circuit 3-1 or the delay circuit 3-2) and the delay time. The range of operating environments allowed when the variable delay circuit 10 is set (that is, the range of operating environments that are correctly latched) is stored in a table in advance.

そして、入力された観測データDobで示される動作環境を用いてテーブルを検索し、この動作環境下で正しくラッチがなされる可変遅延回路の遅延時間を抽出する。   Then, the table is searched using the operating environment indicated by the input observation data Dob, and the delay time of the variable delay circuit that is correctly latched under this operating environment is extracted.

次いで、抽出した遅延時間を可変遅延回路8の現在の遅延時間と比較し、抽出した遅延時間の一つが現在選択している遅延時間と等しいときは、セレクタ8の選択をそのままに維持する。一方、抽出した遅延時間の全てが現在選択している遅延時間に一致しないときは、抽出した遅延時間の何れか一つを選択するようにセレクタ8の選択を切り換える。   Next, the extracted delay time is compared with the current delay time of the variable delay circuit 8, and when one of the extracted delay times is equal to the currently selected delay time, the selection of the selector 8 is maintained as it is. On the other hand, if all of the extracted delay times do not match the currently selected delay time, the selector 8 is switched to select one of the extracted delay times.

制御回路6から出力されるセレクタの切換を指示する信号は、Dフリップフロップ7によりクロックCKと同期がとられてセレルタ8へ出力される。このフリップフロップ7のクロックは、クロック遅延回路4−3を通してクロックCKより遅れて入力される。このクロック遅延回路4−3により、ラッチ回路2のラッチタイミングとセレクタ8の切換のタイミングの調整がなされる。   A signal instructing switching of the selector output from the control circuit 6 is output to the selector 8 in synchronization with the clock CK by the D flip-flop 7. The clock of the flip-flop 7 is input later than the clock CK through the clock delay circuit 4-3. The clock delay circuit 4-3 adjusts the latch timing of the latch circuit 2 and the switching timing of the selector 8.

上述した制御回路6は、遅延時間と許容される動作環境の範囲の関係を予めテーブルに記憶している。このテーブルに代えて、電圧の発生回路(例えばプログラマブル電圧発生回路)又は電圧比較回路の比較用の基準電圧として記憶することもできる。例えば、電圧として入力された観測データを内部で発生する複数の基準電圧と比較し、観測データの範囲を基準電圧で分類する。   The control circuit 6 described above stores in advance a relationship between the delay time and the allowable operating environment range in a table. Instead of this table, it can also be stored as a reference voltage for comparison in a voltage generation circuit (for example, a programmable voltage generation circuit) or a voltage comparison circuit. For example, the observation data input as a voltage is compared with a plurality of internally generated reference voltages, and the range of the observation data is classified by the reference voltage.

本実施形態に係る半導体装置のチップには、温度観測用の回路が形成されており、チップ温度を電圧又はデジタル信号の観測データDobとして制御回路6へ入力する。必要ならば、他の部位の温度、例えば回路基板とリードとの接合点の温度、パッケージ温度又は大気温度の観測データをチップ外部から入力することもできる。   A circuit for temperature observation is formed on the chip of the semiconductor device according to the present embodiment, and the chip temperature is input to the control circuit 6 as observation data Dob of a voltage or digital signal. If necessary, observation data of the temperature of other parts, for example, the temperature of the junction between the circuit board and the lead, the package temperature, or the atmospheric temperature can be input from outside the chip.

さらに、本実施形態に係る半導体装置のチップに、リング発信器とその発信周波数の測定回路とからなるモニタ回路を設けることができる。このモニタ回路は、リング発信器の発信周波数の観測データから、リング発信器を構成するゲートの遅延時間を観測する。このゲートの遅延時間に基づき、ウェーハプロセスを経て実際に製造された半導体装置のラッチ回路1、2、論理回路5、可変遅延回路10、及びクロック遅延回路4−1〜4−3の遅延時間を算出する。制御回路6は、この回路素子の遅延時間を考慮して、例えば動作環境の範囲を記憶するテーブルに反映させて、タイミングを調整する。これにより、プロセス条件のばらつきから生ずる回路素子の遅延時間のばらつきに起因するタイミングのずれを吸収するように調整することができる。このため、製造歩留りが向上する。   Further, the chip of the semiconductor device according to the present embodiment can be provided with a monitor circuit including a ring oscillator and a measurement circuit for the transmission frequency. This monitor circuit observes the delay time of the gate constituting the ring transmitter from the observation data of the transmission frequency of the ring transmitter. Based on the delay time of the gate, the delay times of the latch circuits 1 and 2, the logic circuit 5, the variable delay circuit 10, and the clock delay circuits 4-1 to 4-3 of the semiconductor device actually manufactured through the wafer process are obtained. calculate. In consideration of the delay time of the circuit elements, the control circuit 6 reflects the timing of the operating environment, for example, in a table storing the operating environment, and adjusts the timing. As a result, it is possible to adjust so as to absorb the timing shift caused by the variation of the delay time of the circuit element caused by the variation of the process condition. For this reason, a manufacturing yield improves.

以下、本第1実施形態に係る半導体装置の製造工程を参照して、本発明をさらに詳細に説明する。   Hereinafter, the present invention will be described in more detail with reference to the manufacturing process of the semiconductor device according to the first embodiment.

図2は本発明の第1実施形態におけるタイミングチャートであり、ラッチ回路2が論理回路5の出力データをラッチするタイミングを表している。図中のデータD2(1)min、D2(1)max、D2(2)min及びD2(2)maxは、ラッチ回路2の入力端Dへ入力されたデータを表している。ここで、(1)及び(2)は、それぞれ可変遅延回路10を構成する最小遅延時間を有する遅延回路3−1又は最大遅延時間を有する遅延回路3−2を通過するデータを表している。また、サフィックスmin及びmaxは、それぞれ論理回路5の最短パスP1及び最長パスP4を経由するデータを表している。なお、データD2(1)、D2(2)のハッチング部分は、ラッチ回路2が時刻t1でラッチすべきデータを表す。   FIG. 2 is a timing chart according to the first embodiment of the present invention, showing the timing at which the latch circuit 2 latches the output data of the logic circuit 5. Data D2 (1) min, D2 (1) max, D2 (2) min, and D2 (2) max in the figure represent data input to the input terminal D of the latch circuit 2. Here, (1) and (2) represent data passing through the delay circuit 3-1 having the minimum delay time or the delay circuit 3-2 having the maximum delay time, respectively, constituting the variable delay circuit 10. Suffixes min and max represent data passing through the shortest path P1 and the longest path P4 of the logic circuit 5, respectively. Note that hatched portions of the data D2 (1) and D2 (2) represent data that the latch circuit 2 should latch at time t1.

先ず、半導体装置の仮レイアウト後、静的タイミング解析ツールを用いてラッチ回路2のセットアップマージン及びホールドマージンを解析し、回路設計を修正する。この静的タイミング解析は、半導体装置に要求される動作環境範囲のBest条件及びWorst条件について以下の手順によりなされる。   First, after the temporary layout of the semiconductor device, the setup margin and hold margin of the latch circuit 2 are analyzed using a static timing analysis tool, and the circuit design is corrected. This static timing analysis is performed according to the following procedure for the best condition and worst condition of the operating environment range required for the semiconductor device.

まず、Worst条件下でセットアップエラーが発生しないように可変遅延回路10を修正する。図2の遅延(2)を参照して、遅延時間が最大の遅延回路3−2を選択したとき、Worst条件下で論理回路5の最長パスP4を経由するデータD2(2)maxのラッチでセットアップ時間tsが確保されるように遅延回路3−2の遅延時間を修正する。この修正は、たとえば遅延回路3−2を構成する遅延素子を削除する、又は、遅延回路3−2を構成する遅延素子を駆動能力の大きなバッファに置き換えることでなされる。このとき、遅延回路3−2の遅延時間をこれ以上に短くできない場合は、クロック遅延回路4−2の遅延時間を大きくする。   First, the variable delay circuit 10 is corrected so that a setup error does not occur under worst conditions. Referring to the delay (2) in FIG. 2, when the delay circuit 3-2 having the maximum delay time is selected, the data D2 (2) max is latched via the longest path P4 of the logic circuit 5 under the worst condition. The delay time of the delay circuit 3-2 is corrected so that the setup time ts is secured. This correction is made, for example, by deleting the delay element constituting the delay circuit 3-2 or replacing the delay element constituting the delay circuit 3-2 with a buffer having a large driving capability. At this time, if the delay time of the delay circuit 3-2 cannot be further shortened, the delay time of the clock delay circuit 4-2 is increased.

次ぎに、Best条件下でホールドエラーが生じないように可変遅延回路10を修正する。図2の遅延(1)を参照して、遅延時間が最小の遅延回路3−1を選択したとき、Best条件下で論理回路5の最短パスP1を経由するデータD2(1)minのラッチでホールド時間thが確保されるように遅延回路3−1の遅延時間を修正する。この修正は、たとえば遅延回路3−1に遅延素子となるゲートを挿入することでなされる。   Next, the variable delay circuit 10 is corrected so that a hold error does not occur under the Best condition. Referring to delay (1) in FIG. 2, when the delay circuit 3-1 having the shortest delay time is selected, the latch of data D2 (1) min that passes through the shortest path P1 of the logic circuit 5 under the best condition. The delay time of the delay circuit 3-1 is corrected so that the hold time th is secured. This correction is made, for example, by inserting a gate serving as a delay element into the delay circuit 3-1.

本実施形態では、後述するように遅延回路3−1、3−2を使用する環境条件(環境範囲)が一部重畳するように設定されている。このため、Worst条件でセットアップ条件を満たせば、Best条件のタイミングは満たされる。また、Worst条件でセットアップ条件を満たせば、Best条件のタイミングは満たされる。かりに、2個の遅延回路3−1、3−2で予定する環境条件を満たすことができない場合は、さらに多くの遅延回路を有する可変遅延回路10を用いることで予定の環境条件の全範囲をカバーする。   In the present embodiment, as will be described later, the environmental conditions (environmental ranges) for using the delay circuits 3-1 and 3-2 are set so as to partially overlap. For this reason, if the setup condition is satisfied under the worst condition, the timing of the best condition is satisfied. If the setup condition is satisfied under the worst condition, the timing of the best condition is satisfied. If the planned environmental condition cannot be satisfied by the two delay circuits 3-1 and 3-2, the entire range of the planned environmental conditions can be achieved by using the variable delay circuit 10 having more delay circuits. Cover.

上述したように、本実施形態の半導体装置は、複数の遅延回路3−1、3−2のそれぞれについて狭い動作範囲で設計を行い、これらの動作範囲を合わせた広い範囲を設計上の動作環境とすることができる。このため、静的タイミング解析の収束性がよく、かつ半導体装置の広い動作範囲が確保される。

以上のようにして設計された本実施形態の半導体装置は、ウエーハ工程を経て製造される。以下、このようにして製造された半導体装置について、ラッチタイミングと動作環境について説明する。
As described above, the semiconductor device according to the present embodiment is designed in a narrow operating range for each of the plurality of delay circuits 3-1 and 3-2, and a wide range including these operating ranges is set as a design operating environment. It can be. For this reason, the convergence property of the static timing analysis is good, and a wide operation range of the semiconductor device is ensured.

The semiconductor device of this embodiment designed as described above is manufactured through a wafer process. Hereinafter, the latch timing and the operating environment of the semiconductor device manufactured in this way will be described.

図3は本発明の第1実施形態の論理回路の動作範囲説明図であり、論理回路5の出力データが正しくラッチ回路2にラッチされる動作環境の範囲を表している。図3中、D2(1)max、D2(2)maxは、論理回路5の最長パスP4を経由し、それぞれ最小遅延時間を有する遅延回路3−1及び最大遅延時間を有する遅延回路3−2を経てラッチ回路2へ出力された論理回路5の出力データを表している。図3中、D2(1)min、D2(2)minは、論理回路5の最短パスP1を経由し、それぞれ最小遅延時間を有する遅延回路3−1及び最大遅延時間を有する遅延回路3−2を経て出力された論理回路5の出力データを表している。なお、簡明にするため、図3にはラッチ回路2に時刻t1でラッチされるべきデータのみを表示している。   FIG. 3 is an explanatory diagram of the operation range of the logic circuit according to the first embodiment of the present invention, and represents the range of the operating environment in which the output data of the logic circuit 5 is correctly latched by the latch circuit 2. In FIG. 3, D2 (1) max and D2 (2) max pass through the longest path P4 of the logic circuit 5, and the delay circuit 3-1 having the minimum delay time and the delay circuit 3-2 having the maximum delay time, respectively. Represents the output data of the logic circuit 5 output to the latch circuit 2 via. In FIG. 3, D2 (1) min and D2 (2) min pass through the shortest path P1 of the logic circuit 5, respectively, and the delay circuit 3-1 having the minimum delay time and the delay circuit 3-2 having the maximum delay time, respectively. Represents the output data of the logic circuit 5 output through the above. For simplicity, FIG. 3 shows only the data that should be latched in the latch circuit 2 at time t1.

図3を参照して、論理回路5の最長パスP4を経た出力データは、最小遅延時間を有する遅延回路3−1を通る場合はデータD2(1)maxとしてラッチ回路2の入力端Dに入力され、最大遅延時間を有する遅延回路3−2を通る場合はデータD2(2)maxとしてこれより遅れて入力される。図3中の直線ハ、トは、それぞれデータD2(1)max及びデータD2(2)maxの立ち上がりを、直線ニ、チは、それぞれデータD2(1)max及びデータD2(2)maxの立ち下がり時刻を表している。このデータD2(1)max及びデータD2(2)maxの立ち上がり及び立ち下がり時刻は、動作環境がBest方向になるにつれて速くなり、Worst方向になると遅くなる。なお
既述のように、Worst条件、即ち条件1においては、最長パスP4を経由するデータのセットアップ時間tsが問題とされる。最長パスP4を経由し最小遅延時間を有する遅延回路3−1を通ったデータD2(1)maxは、条件1及びこれよりBest方向でセットアップ時間を満たしている。これに対して、最大遅延時間を有する遅延回路3−2を通るデータD2(2)maxはセットアップ時間tsが不足する。データD2(2)maxがセットアップ時間tsを満たすのは、動作環境が条件3又はこれよりBest方向のときである。即ち、セットアップ条件は、遅延回路3−1を用いる場合は条件1よりBestの動作環境で満たされ、遅延回路3−2を用いる場合は条件3よりBestの動作環境で満たされる。
Referring to FIG. 3, the output data that has passed through longest path P4 of logic circuit 5 is input to input terminal D of latch circuit 2 as data D2 (1) max when passing through delay circuit 3-1 having the minimum delay time. When the signal passes through the delay circuit 3-2 having the maximum delay time, the data is input as data D2 (2) max later. In FIG. 3, straight lines C and G respectively indicate the rising edges of data D2 (1) max and data D2 (2) max, and straight lines D and H indicate the rising edges of data D2 (1) max and data D2 (2) max, respectively. Represents the fall time. The rise and fall times of the data D2 (1) max and the data D2 (2) max are faster as the operating environment is in the Best direction, and are later in the Worst direction. As described above, in the worst condition, that is, the condition 1, the setup time ts of data passing through the longest path P4 is a problem. The data D2 (1) max passing through the longest path P4 and passing through the delay circuit 3-1 having the minimum delay time satisfies the setup time in the condition 1 and the best direction. On the other hand, the setup time ts is insufficient for the data D2 (2) max passing through the delay circuit 3-2 having the maximum delay time. The data D2 (2) max satisfies the setup time ts when the operating environment is the condition 3 or the best direction. That is, the setup condition is satisfied in the best operating environment from condition 1 when the delay circuit 3-1 is used, and is satisfied in the best operating environment from condition 3 when the delay circuit 3-2 is used.

Best条件では、既述のように最短パスP1を経由するデータのホールド時間thが問題とされる。最短パスを経由し最小遅延時間を有する遅延回路3−1を通るデータD2(1)minは、条件2又はそれよりWorst方向の動作環境でホールド時間tsを満足する。これに対して、遅延回路3−2を通るデータD2(2)minは、条件4までホールド時間thを満足している。即ち、ホールド条件は、遅延回路3−1を用いる場合は条件2よりWorstの動作環境で満たされ、遅延回路3−2を用いる場合は条件4よりWorstの動作環境で満たされる。   In the Best condition, the hold time th of data passing through the shortest path P1 is a problem as described above. The data D2 (1) min passing through the delay circuit 3-1 having the minimum delay time via the shortest path satisfies the hold time ts in the condition 2 or the operating environment in the worst direction. On the other hand, the data D2 (2) min passing through the delay circuit 3-2 satisfies the hold time th until the condition 4. That is, the hold condition is satisfied in the worst operating environment from condition 2 when the delay circuit 3-1 is used, and is satisfied in the worst operating environment from condition 4 when the delay circuit 3-2 is used.

これらをまとめると、最小遅延時間を有する遅延回路3−1を選択した場合、動作範囲は図3中に示す範囲A(条件1〜条件2)であり、最大遅延時間を有する遅延回路3−2を選択した場合、動作範囲は図3中に示す範囲B(条件3〜条件4)となる。従って、本実施形態に係る半導体装置の動作範囲は、範囲A及び範囲Bを含む範囲(条件1〜条件4)となり、一つの遅延回路のみを用いる場合の範囲A又は範囲Bよりも拡張される。   In summary, when the delay circuit 3-1 having the minimum delay time is selected, the operation range is the range A (condition 1 to condition 2) shown in FIG. 3, and the delay circuit 3-2 having the maximum delay time is shown. When is selected, the operation range is a range B (condition 3 to condition 4) shown in FIG. Therefore, the operation range of the semiconductor device according to the present embodiment is a range including the range A and the range B (condition 1 to condition 4), and is expanded from the range A or the range B when only one delay circuit is used. .

本実施形態に係る半導体装置では、遅延回路3−1、3−2の何れか一つを、動作環境の観測データDobに従って選択する。制御回路6は、観測データDobを条件1〜4に相当する値と比較し、現在使用している遅延回路、例えば遅延回路3−1が使用可能な動作環境A内に在る場合、そのまま遅延回路3−1の使用を維持する。一方、観測データが動作環境AよりBest方向へ逸脱する場合、遅延回路3−1を遅延回路3−2に切り換えて可変遅延回路10の遅延時間を小さくする。その結果、半導体装置の動作範囲は動作範囲Bへ変更される。   In the semiconductor device according to the present embodiment, one of the delay circuits 3-1 and 3-2 is selected according to the observation data Dob of the operating environment. The control circuit 6 compares the observation data Dob with values corresponding to the conditions 1 to 4, and if the delay circuit currently used, for example, the delay circuit 3-1, is in the usable operating environment A, the control circuit 6 delays as it is. Maintain use of circuit 3-1. On the other hand, when the observation data deviates from the operating environment A in the best direction, the delay circuit 3-1 is switched to the delay circuit 3-2 to reduce the delay time of the variable delay circuit 10. As a result, the operating range of the semiconductor device is changed to the operating range B.

このように、製造プロセスを経た後の半導体装置に対して、動作環境に応じて自動的に可変遅延回路10の遅延時間を変更して動作範囲を切り換えることができるので、広い動作範囲の半導体装置を容易に実現することができる。また、製造プロセスに起因する回路素子の動作速度のばらつきを観測し、その結果を動作環境の一つとして利用することができるので、静的タイミング解析における設計段階で見込まなければならない製造プロセスのばらつきの余裕を非常に小さくすることができる。   As described above, the semiconductor device after the manufacturing process can be switched automatically by changing the delay time of the variable delay circuit 10 according to the operating environment, so that the semiconductor device having a wide operating range can be obtained. Can be easily realized. In addition, it is possible to observe variations in the operating speed of circuit elements due to the manufacturing process, and use the results as one of the operating environments. Therefore, variations in the manufacturing process that must be expected at the design stage in static timing analysis. Can be made very small.

上述した本実施形態の半導体装置では、図3を参照して、動作範囲Aと動作範囲Bとが一部重畳するように可変遅延回路10の遅延回路3−1、3−2を設計する。そして、制御回路6に、動作環境がこの重畳する動作範囲(条件3〜条件2)へ出入りするときのヒステリシス特性をもたせる。即ち、遅延回路3−1を選択している条件1〜条件3から条件3〜条件2内へ移動するとき、または遅延回路3−1を選択しているときに条件3〜条件2内から条件1〜条件3へ移動するときは、遅延回路3−1をそのまま維持する。そして、条件3〜条件2で遅延回路3−1を選択しているときに条件2〜条件4内へ移動したときは、遅延回路3−1を遅延回路3−2へ切り換える。同様に、遅延回路3−2を選択している条件2〜条件4から条件3〜条件2内へ移動するとき、または遅延回路3−2を選択しているときに条件3〜条件2内から条件2〜条件4へ移動するときは、遅延回路3−2をそのまま維持する。そして、条件3〜条件2で遅延回路3−2を選択しているときに条件1〜条件3内へ移動したときは、遅延回路3−2を遅延回路3−1へ切り換える。このように、遅延回路3−1、3−2の切換にヒステリシス特性をもたせることで、条件2及び条件3近傍での切換のチャッタリングを防止する。   In the semiconductor device of the present embodiment described above, with reference to FIG. 3, the delay circuits 3-1 and 3-2 of the variable delay circuit 10 are designed so that the operation range A and the operation range B partially overlap. Then, the control circuit 6 is provided with a hysteresis characteristic when the operating environment enters and exits the overlapping operating range (condition 3 to condition 2). That is, when the delay circuit 3-1 is selected, the condition 1 to the condition 3 is moved to the condition 3 to the condition 2, or when the delay circuit 3-1 is selected, the condition 3 to the condition 2 is selected. When moving to 1 to condition 3, the delay circuit 3-1 is maintained as it is. When the delay circuit 3-1 is selected in the condition 3 to the condition 2 and the process moves to the condition 2 to the condition 4, the delay circuit 3-1 is switched to the delay circuit 3-2. Similarly, when moving from condition 2 to condition 4 selecting delay circuit 3-2 to condition 3 to condition 2 or when selecting delay circuit 3-2, from condition 3 to condition 2 When moving from condition 2 to condition 4, the delay circuit 3-2 is maintained as it is. When the delay circuit 3-2 is selected in the condition 3 to the condition 2 and the process moves to the condition 1 to the condition 3, the delay circuit 3-2 is switched to the delay circuit 3-1. In this way, the switching of the delay circuits 3-1 and 3-2 is provided with a hysteresis characteristic, thereby preventing switching chattering in the vicinity of condition 2 and condition 3.

本発明の第2実施形態は第2ラッチ回路2のクロックCKの遅延時間を切り換える形態に関する。図4は本発明の第2実施形態の論理回路及びその周辺回路の回路図である。   The second embodiment of the present invention relates to a mode for switching the delay time of the clock CK of the second latch circuit 2. FIG. 4 is a circuit diagram of a logic circuit and its peripheral circuits according to the second embodiment of the present invention.

図4を参照して、本第2実施形態の半導体装置では、第1実施形態の半導体装置の可変遅延回路10に代えて固定された遅延時間を有する遅延回路3とし、さらに、第2ラッチ回路2のクロックCK2を可変遅延回路11を介して供給する。この可変遅延回路11は第1実施形態と同様の制御回路6により制御される。   Referring to FIG. 4, in the semiconductor device of the second embodiment, a delay circuit 3 having a fixed delay time is used instead of the variable delay circuit 10 of the semiconductor device of the first embodiment, and further, a second latch circuit is provided. Two clocks CK <b> 2 are supplied via the variable delay circuit 11. The variable delay circuit 11 is controlled by the same control circuit 6 as in the first embodiment.

制御回路6は、第1実施形態と同様に、観測データDobに基づき可変遅延回路11のセレクタ9に切換え信号を送出し、遅延回路12−1、12−2から一つを選択することで可変遅延回路11の遅延時間を切り換える。なお、最小の遅延時間を有する遅延回路12−1は、第1実施形態の可変遅延回路10と同様に、ゲート等の遅延素子を設けず単に配線のみとすることもできる。フリップフロップ13は、可変遅延回路11の出力をクロックCKに同期させるために設けられている。   As in the first embodiment, the control circuit 6 sends a switching signal to the selector 9 of the variable delay circuit 11 based on the observation data Dob, and is variable by selecting one from the delay circuits 12-1 and 12-2. The delay time of the delay circuit 11 is switched. Note that the delay circuit 12-1 having the minimum delay time may be simply a wiring without providing a delay element such as a gate, as in the variable delay circuit 10 of the first embodiment. The flip-flop 13 is provided to synchronize the output of the variable delay circuit 11 with the clock CK.

本実施形態に係る半導体装置の設計では、仮りのレイアウトについて静的タイミング解析を行なう。   In designing the semiconductor device according to the present embodiment, static timing analysis is performed on a temporary layout.

まず、最大遅延時間を有する遅延回路12−2を通るクロックCK2を選択し、Worst条件下で論理回路5の最長パスP4を経由した最長パスデータD2maxがセットアップエラーを発生しないように遅延回路3を修正する。このとき、遅延回路3−2の遅延時間を短くできない場合は、クロック遅延回路4−2の遅延時間を大きくする。   First, the clock CK2 passing through the delay circuit 12-2 having the maximum delay time is selected, and the delay circuit 3 is set so that the longest path data D2max via the longest path P4 of the logic circuit 5 does not generate a setup error under the worst condition. Correct it. At this time, if the delay time of the delay circuit 3-2 cannot be shortened, the delay time of the clock delay circuit 4-2 is increased.

次ぎに、最小遅延時間を有する遅延回路12−1を通るクロックCK2を選択し、Best条件下で論理回路5の最短パスP1を経由した最短パスデータD2minがホールドエラーを生じないように遅延回路12−1を修正する。   Next, the clock CK2 passing through the delay circuit 12-1 having the minimum delay time is selected, and the delay circuit 12 prevents the shortest path data D2min passing through the shortest path P1 of the logic circuit 5 from causing a hold error under the Best condition. -1 is corrected.

上記の修正結果、遅延回路12−1、12−2を用いた場合のそれぞれの動作範囲A、Dを制御回路6に記憶させ、静的タイミング解析を終了する。このようにして設計された半導体装置は、さらにウェーハプロセスを経て製造される。以下、ウェーハプロセス後の半導体装置の動作範囲について説明する。   As a result of the correction, the operation ranges A and D when the delay circuits 12-1 and 12-2 are used are stored in the control circuit 6, and the static timing analysis is completed. The semiconductor device designed in this way is further manufactured through a wafer process. Hereinafter, the operation range of the semiconductor device after the wafer process will be described.

図5は本発明の第2実施形態の論理回路の動作範囲説明図であり、論理回路5の出力データが正しくラッチ回路2にラッチされる動作環境の範囲を表している。図3中、D2max、D2minは、それぞれ論理回路5の最長パスP4及び最短パスを経由して、ラッチ回路2へ出力された論理回路5の出力データを表している。なお、簡明にするため、図3にはラッチ回路2に時刻t1でラッチされるべきデータのみを表示している。   FIG. 5 is an explanatory diagram of the operation range of the logic circuit according to the second embodiment of the present invention, and represents the range of the operation environment where the output data of the logic circuit 5 is correctly latched by the latch circuit 2. 3, D2max and D2min represent the output data of the logic circuit 5 output to the latch circuit 2 via the longest path P4 and the shortest path of the logic circuit 5, respectively. For simplicity, FIG. 3 shows only the data that should be latched in the latch circuit 2 at time t1.

動作環境がWorst、即ち条件1のとき、既述したように最長パスデータD2maxのセットアップ時間tsのマージンが問題にされる。条件1でセットアップ時間tsを満たすのは、最大遅延時間を有する遅延回路12−2により遅延されたクロックCK2の立ち上がり時刻t2である。最小遅延時間を有する遅延回路12−1により遅延されたクロックCK2の立ち上がり時刻t1はセットアップマージンが不足する。この時刻t1で立ち上がるクロックCK2がセットアップ条件を満たすのは、条件3よりBest方向の動作環境である。   When the operating environment is worst, that is, condition 1, the margin of the setup time ts of the longest path data D2max is a problem as described above. The condition 1 satisfying the setup time ts is the rising time t2 of the clock CK2 delayed by the delay circuit 12-2 having the maximum delay time. The rise time t1 of the clock CK2 delayed by the delay circuit 12-1 having the minimum delay time has a short setup margin. The clock CK2 rising at the time t1 satisfies the setup condition in the operating environment in the direction of Best from Condition 3.

他方、動作環境がBest、即ち条件4のとき、最短パスデータD2maxのホールド時間thのマージンが問題にされる。最小遅延時間を有する遅延回路12−1により遅延されたクロックCK2の立ち上がり時刻t1はこのホールド条件を満足する。これに対して、最大遅延時間を有する遅延回路12−2により遅延されたクロックCK2の立ち上がり時刻t2がホールド条件を満足するのは、条件2よりWorst方向の動作環境下である。   On the other hand, when the operating environment is Best, that is, the condition 4, the margin of the hold time th of the shortest path data D2max is a problem. The rising time t1 of the clock CK2 delayed by the delay circuit 12-1 having the minimum delay time satisfies this hold condition. On the other hand, the rising time t2 of the clock CK2 delayed by the delay circuit 12-2 having the maximum delay time satisfies the hold condition under the operating environment in the worst direction from condition 2.

上記の結果を整理すると、最大遅延時間を有する遅延回路12−2により遅延された立ち上がり時刻t2を有するクロックCK2を用いた場合、半導体装置は条件1〜条件2までの動作範囲Cで動作する。一方、最小遅延時間を有する遅延回路12−1により遅延された立ち上がり時刻t1のクロックCK2を用いた場合、条件3〜条件4の動作範囲Dで動作する。   To summarize the above results, when the clock CK2 having the rising time t2 delayed by the delay circuit 12-2 having the maximum delay time is used, the semiconductor device operates in the operation range C from Condition 1 to Condition 2. On the other hand, when the clock CK2 at the rising time t1 delayed by the delay circuit 12-1 having the minimum delay time is used, the operation is performed in the operation range D of Condition 3 to Condition 4.

制御回路6は第1実施形態と同様に、観測データが示す動作環境が動作範囲C又は動作範囲Dのいずれに相当するかを判別して、遅延回路12−1、12−2を切り換える。動作範囲C、Dが一部重複する場合も第1実施形態と同様に処理する。従って、動作範囲が広い半導体装置が実現される。   As in the first embodiment, the control circuit 6 determines whether the operating environment indicated by the observation data corresponds to the operating range C or the operating range D, and switches the delay circuits 12-1 and 12-2. When the operation ranges C and D partially overlap, the same processing as in the first embodiment is performed. Therefore, a semiconductor device having a wide operation range is realized.

本発明の第3実施形態は、論理回路5の出力を遅延する第1実施形態の可変遅延回路10と、ラッチ回路2のクロックCK2をクロックCKから遅延して生成する可変遅延回路11とを備えた半導体装置に関する。   The third embodiment of the present invention includes the variable delay circuit 10 of the first embodiment that delays the output of the logic circuit 5, and the variable delay circuit 11 that generates the clock CK2 of the latch circuit 2 by delaying it from the clock CK. The present invention relates to a semiconductor device.

図6は本発明の第3実施形態の論理回路及びその周辺回路の回路図である。図1及び図4と同様の機能を有する回路には同一符号を付している。   FIG. 6 is a circuit diagram of a logic circuit and its peripheral circuits according to the third embodiment of the present invention. Circuits having functions similar to those in FIGS. 1 and 4 are denoted by the same reference numerals.

第3実施形態に係る半導体装置は、第1実施形態と同様のラッチ回路1、2、論理回路5、クロック遅延回路4−1、遅延回路3−1、3−2及びセレクタ8からなる可変遅延回路10、及び、フリップフロップ7を備える。さらに、第2実施形態と同様の遅延回路12−1、12−2及びセレクタ9からなる可変遅延回路11、及び、フリップフロップ回路13を有する。これらの回路は、第1及び第2実施形態で既述したと同様に動作する。   The semiconductor device according to the third embodiment includes a variable delay including latch circuits 1 and 2, a logic circuit 5, a clock delay circuit 4-1, delay circuits 3-1 and 3-2, and a selector 8 as in the first embodiment. A circuit 10 and a flip-flop 7 are provided. Further, it has a delay circuit 12-1, 12-2 similar to the second embodiment, a variable delay circuit 11 including a selector 9, and a flip-flop circuit 13. These circuits operate in the same manner as already described in the first and second embodiments.

第3実施形態の制御回路6は、データを遅延する可変遅延回路10の遅延時間を第1変数とし、クロックCKを遅延する可変遅延回路11の遅延時間を第2変数とするテーブルを有する。このテーブルの各欄には、その欄に該当する第1及び第2変数を可変遅延回路10、11の遅延時間としたとき、対応可能な(タイミング条件を満たす)動作環境の範囲(具体的にはその観測データDobの値の範囲)が書き込まれている。   The control circuit 6 of the third embodiment has a table in which the delay time of the variable delay circuit 10 that delays data is the first variable, and the delay time of the variable delay circuit 11 that delays the clock CK is the second variable. Each column of this table includes a range of operating environments (specifically satisfying timing conditions) that can be handled when the first and second variables corresponding to the column are the delay times of the variable delay circuits 10 and 11 (specifically, Is the range of the value of the observation data Dob).

制御回路は、テーブルから入力された観測データDobが含まれる欄を検索し、検索された欄の第1及び第2変数と現在使用している遅延時間とを比較し、その比較結果に基づき可変遅延回路10、11のいずれを切り換えるかを判断する。   The control circuit searches the column including the observation data Dob input from the table, compares the first and second variables in the searched column with the delay time currently used, and varies based on the comparison result. It is determined which of the delay circuits 10 and 11 is to be switched.

この実施形態では、観測された動作環境下で正しくラッチすることができる可変遅延回路10、11の遅延時間が、第1及び第2変数を基底とする2次元のテーブル上に表現されるから、第1及び第2変数のいずれをどれだけ変更すれば最も適切に動作環境に対応することができるかが容易に判断できる。たとえば、最も高速動作を得るには、抽出された欄が描く2次元パターンの周辺近傍で、最もクロックCKが短い条件を選択する。このように、本実施形態によれば観測された動作環境に適合させるのに、2つの変数を利用できるから、より適切な制御が可能となる。   In this embodiment, the delay times of the variable delay circuits 10 and 11 that can be correctly latched under the observed operating environment are expressed on a two-dimensional table based on the first and second variables. It can be easily determined which of the first and second variables is changed and how much the operating environment can be most appropriately handled. For example, in order to obtain the fastest operation, a condition in which the clock CK is the shortest is selected in the vicinity of the periphery of the two-dimensional pattern drawn by the extracted column. As described above, according to the present embodiment, since two variables can be used for adapting to the observed operating environment, more appropriate control is possible.

本明細書に上述した記載には、以下の付記記載の発明が開示されている。   The invention described in the following supplementary notes is disclosed in the above description.

(付記1)第1クロックに同期してデータをラッチし出力する第1ラッチ回路と、第2クロックに同期してデータをラッチする第2ラッチ回路と、前記第1ラッチ回路の出力データが入力され前記第2ラッチ回路へ演算結果を出力する論理回路とを備えた半導体装置において、
前記論理回路の出力データを遅延して前記第2ラッチ回路へ出力する可変遅延回路と、
前記論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データが入力され、入力された前記観測データが示す前記動作環境の下で前記論理回路の出力データが正しくラッチされるように前記可変遅延回路の遅延時間を制御する制御回路とを備えたことを特徴とする半導体装置。
(Supplementary Note 1) A first latch circuit that latches and outputs data in synchronization with the first clock, a second latch circuit that latches data in synchronization with the second clock, and output data of the first latch circuit is input And a logic circuit that outputs an operation result to the second latch circuit,
A variable delay circuit that delays output data of the logic circuit and outputs the delayed data to the second latch circuit;
The observation data of the operation environment that affects the operation speed of the logic circuit or the first or second latch circuit is input, and the output data of the logic circuit is correct under the operation environment indicated by the input observation data. A semiconductor device comprising: a control circuit that controls a delay time of the variable delay circuit so as to be latched.

(付記2) 第1クロックに同期してデータをラッチし出力する第1ラッチ回路と、第2クロックに同期してデータをラッチする第2ラッチ回路と、前記第1ラッチ回路の出力データが入力され前記第2ラッチ回路へ演算結果を出力する論理回路とを備えた半導体装置において、
前記第2クロックを遅延する可変遅延回路と、
前記論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データが入力され、前記観測データが示す前記動作環境の下で前記論理回路の出力データが正しくラッチされるように前記可変遅延回路の遅延時間を制御する制御回路とを備えたことを特徴とする半導体装置。
(Supplementary Note 2) A first latch circuit that latches and outputs data in synchronization with the first clock, a second latch circuit that latches data in synchronization with the second clock, and output data of the first latch circuit is input. And a logic circuit that outputs an operation result to the second latch circuit,
A variable delay circuit for delaying the second clock;
The observation data of the operation environment that affects the operation speed of the logic circuit or the first or second latch circuit is input, and the output data of the logic circuit is correctly latched under the operation environment indicated by the observation data. And a control circuit for controlling the delay time of the variable delay circuit.

(付記3) 前記可変遅延回路は、互いに異なる遅延時間を有する複数の遅延回路と、前記複数の遅延回路の出力から一つを選択して前記第2ラッチ回路へ出力するセレクタとを有し、 前記制御回路は、前記遅延回路の遅延時間毎に前記論理回路の出力データが正しくラッチされる前記動作環境の範囲が予め設定されており、前記観測データが示す前記動作環境と設定されている前記動作環境の範囲とを比較して、前記論理回路の出力データが正しくラッチされる遅延時間を有する前記遅延回路を選択するように前記セレクタを制御することを特徴とする付記1又は2記載の半導体装置。  (Supplementary Note 3) The variable delay circuit includes a plurality of delay circuits having different delay times, and a selector that selects one of the outputs from the plurality of delay circuits and outputs the selected one to the second latch circuit. In the control circuit, a range of the operating environment in which the output data of the logic circuit is correctly latched for each delay time of the delay circuit is set in advance, and the operating environment indicated by the observation data is set. 3. The semiconductor according to claim 1, wherein the selector is controlled so as to select the delay circuit having a delay time in which the output data of the logic circuit is correctly latched by comparing with a range of an operating environment. apparatus.

(付記4) 前記可変遅延回路は、互いに異なる遅延時間を有する複数の遅延回路と、前記複数の遅延回路の出力データから一つを選択して前記第2ラッチ回路へ出力するセレクタとを有し、
前記制御回路は、前記論理回路の出力データが正しくラッチされる遅延時間を有する前記遅延回路を選択するように前記セレクタを制御することを特徴とする付記1又は2記載の半導体装置。
(Supplementary Note 4) The variable delay circuit includes a plurality of delay circuits having different delay times, and a selector that selects one of the output data of the plurality of delay circuits and outputs the selected data to the second latch circuit. ,
3. The semiconductor device according to claim 1, wherein the control circuit controls the selector so as to select the delay circuit having a delay time in which output data of the logic circuit is correctly latched.

(付記5) 前記動作環境は、前記半導体装置のチップ温度、前記半導体装置のパッケージ温度、前記半導体装置のチップ又はパッケージの周囲の温度、及び、前記半導体装置のリードと回路基板との接続点の温度の中から選択された1又は複数の温度を含むことを特徴とする付記1、2、3又は4記載の半導体装置。  (Supplementary Note 5) The operating environment includes a chip temperature of the semiconductor device, a package temperature of the semiconductor device, a temperature around the chip or package of the semiconductor device, and a connection point between the lead of the semiconductor device and the circuit board. 5. The semiconductor device according to appendix 1, 2, 3 or 4 including one or a plurality of temperatures selected from the temperatures.

(付記6) 前記半導体装置内に設けられたゲート遅延を測定するモニタ回路を有し、
前記動作環境に、前記モニタ回路で測定されたゲート遅延時間を含むことを特徴とする付記1、2、3、4又は5記載の半導体装置。
(Additional remark 6) It has the monitor circuit which measures the gate delay provided in the said semiconductor device,
6. The semiconductor device according to appendix 1, 2, 3, 4 or 5, wherein the operating environment includes a gate delay time measured by the monitor circuit.

(付記7) 第1クロックに同期してデータをラッチし出力する第1ラッチ回路と、第2クロックに同期してデータをラッチする第2ラッチ回路と、前記第1ラッチ回路の出力データが入力され前記第2ラッチ回路へ演算結果を出力する論理回路とを備えた半導体装置において、
前記論理回路の出力データを遅延して前記第2ラッチ回路へ出力する第1可変遅延回路と、
前記第2クロックを遅延する第2可変遅延回路と、
前記論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データが入力され、前記観測データが示す前記動作環境の下で前記論理回路の出力データが正しくラッチされるように前記第1及び第2可変遅延回路の遅延時間を制御する制御回路とを備えたことを特徴とする半導体装置。
(Supplementary Note 7) A first latch circuit that latches and outputs data in synchronization with the first clock, a second latch circuit that latches data in synchronization with the second clock, and output data of the first latch circuit is input. And a logic circuit that outputs an operation result to the second latch circuit,
A first variable delay circuit that delays output data of the logic circuit and outputs the delayed data to the second latch circuit;
A second variable delay circuit for delaying the second clock;
The observation data of the operation environment that affects the operation speed of the logic circuit or the first or second latch circuit is input, and the output data of the logic circuit is correctly latched under the operation environment indicated by the observation data. And a control circuit for controlling the delay times of the first and second variable delay circuits.

本発明は、同期式の論理回路を有する半導体装置に適用して、広い使用環境を有しかつ静的タイミング解析では迅速に収束する半導体装置を実現することができる。   The present invention can be applied to a semiconductor device having a synchronous logic circuit to realize a semiconductor device that has a wide use environment and converges quickly in static timing analysis.

本発明の第1実施形態の回路図1 is a circuit diagram of a first embodiment of the present invention. 本発明の第1実施形態におけるタイミングチャートTiming chart in the first embodiment of the present invention 本発明の第1実施形態の論理回路の動作範囲説明図Operational range explanatory diagram of the logic circuit of the first embodiment of the present invention 本発明の第2実施形態の論理回路及びその周辺回路の回路図Circuit diagram of logic circuit and peripheral circuit thereof according to second embodiment of the present invention 本発明の第2実施形態の論理回路の動作範囲説明図Operating range explanatory diagram of the logic circuit of the second embodiment of the present invention 本発明の第3実施形態の論理回路及びその周辺回路の回路図Circuit diagram of logic circuit and peripheral circuit thereof according to third embodiment of the present invention 従来の論理回路及びその周辺回路の回路図Circuit diagram of conventional logic circuit and its peripheral circuits 従来の論理回路のタイミングチャートConventional logic circuit timing chart 従来の論理回路の動作範囲説明図Operating range explanatory diagram of conventional logic circuit

符号の説明Explanation of symbols

1、2 ラッチ回路
3、3−1、3−2、12−1、12−2 遅延回路
4−1、4−2 クロック遅延回路
5 論理回路
6 制御回路
7、13 フリップフロップ
8、9 セレクタ
10、11 可変遅延回路
D1、D2 データ
Din 入力データ
Dout 出力データ
CK、CK1、CK2 クロック
P1〜P4 パス
t0、t1、t2 時刻(ラッチタイミング)
ts セットアップ時間
th ホールド時間
DESCRIPTION OF SYMBOLS 1, 2 Latch circuit 3, 3-1, 3-2, 12-1, 12-2 Delay circuit 4-1, 4-2 Clock delay circuit 5 Logic circuit 6 Control circuit 7, 13 Flip-flop 8, 9 Selector 10 , 11 Variable delay circuit D1, D2 Data Din Input data Dout Output data CK, CK1, CK2 Clock P1-P4 Path t0, t1, t2 Time (latch timing)
ts setup time th hold time

Claims (5)

第1クロックに同期してデータをラッチし出力する第1ラッチ回路と、第2クロックに同期してデータをラッチする第2ラッチ回路と、前記第1ラッチ回路の出力データが入力され前記第2ラッチ回路へ演算結果を出力する論理回路とを備えた半導体装置において、
前記論理回路の出力データを遅延して前記第2ラッチ回路へ出力する可変遅延回路と、
前記論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データが入力され、入力された前記観測データが示す前記動作環境の下で前記論理回路の出力データが正しくラッチされるように前記可変遅延回路の遅延時間を制御する制御回路とを備えたことを特徴とする半導体装置。
A first latch circuit that latches and outputs data in synchronization with a first clock; a second latch circuit that latches data in synchronization with a second clock; and the output data of the first latch circuit is input to the second latch circuit. In a semiconductor device including a logic circuit that outputs an operation result to a latch circuit,
A variable delay circuit that delays output data of the logic circuit and outputs the delayed data to the second latch circuit;
The observation data of the operation environment that affects the operation speed of the logic circuit or the first or second latch circuit is input, and the output data of the logic circuit is correct under the operation environment indicated by the input observation data. A semiconductor device comprising: a control circuit that controls a delay time of the variable delay circuit so as to be latched.
第1クロックに同期してデータをラッチし出力する第1ラッチ回路と、第2クロックに同期してデータをラッチする第2ラッチ回路と、前記第1ラッチ回路の出力データが入力され前記第2ラッチ回路へ演算結果を出力する論理回路とを備えた半導体装置において、
前記第2クロックを遅延する可変遅延回路と、
前記論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データが入力され、前記観測データが示す前記動作環境の下で前記論理回路の出力データが正しくラッチされるように前記可変遅延回路の遅延時間を制御する制御回路とを備えたことを特徴とする半導体装置。
A first latch circuit that latches and outputs data in synchronization with a first clock; a second latch circuit that latches data in synchronization with a second clock; and the output data of the first latch circuit is input to the second latch circuit. In a semiconductor device including a logic circuit that outputs an operation result to a latch circuit,
A variable delay circuit for delaying the second clock;
The observation data of the operation environment that affects the operation speed of the logic circuit or the first or second latch circuit is input, and the output data of the logic circuit is correctly latched under the operation environment indicated by the observation data. And a control circuit for controlling the delay time of the variable delay circuit.
前記可変遅延回路は、互いに異なる遅延時間を有する複数の遅延回路と、前記複数の遅延回路の出力から一つを選択して前記第2ラッチ回路へ出力するセレクタとを有し、 前記制御回路は、前記遅延回路の遅延時間毎に前記論理回路の出力データが正しくラッチされる前記動作環境の範囲が予め設定されており、前記観測データが示す前記動作環境と設定されている前記動作環境の範囲とを比較して、前記論理回路の出力データが正しくラッチされる遅延時間を有する前記遅延回路を選択するように前記セレクタを制御することを特徴とする請求項1又は2記載の半導体装置。 The variable delay circuit includes a plurality of delay circuits having different delay times, and a selector that selects one of the outputs from the plurality of delay circuits and outputs the selected one to the second latch circuit. A range of the operating environment in which the output data of the logic circuit is correctly latched for each delay time of the delay circuit is preset, and the operating environment range indicated by the observation data is set. 3. The semiconductor device according to claim 1, wherein the selector is controlled so as to select the delay circuit having a delay time in which the output data of the logic circuit is correctly latched. 前記動作環境は、前記半導体装置のチップ温度、前記半導体装置のパッケージ温度、前記半導体装置のチップ又はパッケージの周囲の温度、及び、前記半導体装置のリードと回路基板との接続点の温度の中から選択された1又は複数の温度を含むことを特徴とする請求項1、2又は3記載の半導体装置。 The operating environment includes a chip temperature of the semiconductor device, a package temperature of the semiconductor device, a temperature around the chip or package of the semiconductor device, and a temperature of a connection point between the lead of the semiconductor device and the circuit board. 4. The semiconductor device according to claim 1, comprising one or a plurality of selected temperatures. 第1クロックに同期してデータをラッチし出力する第1ラッチ回路と、第2クロックに同期してデータをラッチする第2ラッチ回路と、前記第1ラッチ回路の出力データが入力され前記第2ラッチ回路へ演算結果を出力する論理回路とを備えた半導体装置において、
前記論理回路の出力データを遅延して前記第2ラッチ回路へ出力する第1可変遅延回路と、
前記第2クロックを遅延する第2可変遅延回路と、
前記論理回路又は前記第1若しくは第2ラッチ回路の動作速度に影響を及ぼす動作環境の観測データが入力され、前記観測データが示す前記動作環境の下で前記論理回路の出力データが正しくラッチされるように前記第1及び第2可変遅延回路の遅延時間を制御する制御回路とを備えたことを特徴とする半導体装置。
A first latch circuit that latches and outputs data in synchronization with a first clock; a second latch circuit that latches data in synchronization with a second clock; and the output data of the first latch circuit is input to the second latch circuit. In a semiconductor device including a logic circuit that outputs an operation result to a latch circuit,
A first variable delay circuit that delays output data of the logic circuit and outputs the delayed data to the second latch circuit;
A second variable delay circuit for delaying the second clock;
The observation data of the operation environment that affects the operation speed of the logic circuit or the first or second latch circuit is input, and the output data of the logic circuit is correctly latched under the operation environment indicated by the observation data. And a control circuit for controlling the delay times of the first and second variable delay circuits.
JP2005257053A 2005-09-05 2005-09-05 Semiconductor device Withdrawn JP2007074160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005257053A JP2007074160A (en) 2005-09-05 2005-09-05 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005257053A JP2007074160A (en) 2005-09-05 2005-09-05 Semiconductor device

Publications (1)

Publication Number Publication Date
JP2007074160A true JP2007074160A (en) 2007-03-22

Family

ID=37935262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005257053A Withdrawn JP2007074160A (en) 2005-09-05 2005-09-05 Semiconductor device

Country Status (1)

Country Link
JP (1) JP2007074160A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195751A (en) * 2011-03-16 2012-10-11 Seiko Epson Corp Semiconductor integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195751A (en) * 2011-03-16 2012-10-11 Seiko Epson Corp Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
KR101215760B1 (en) Time measurement circuit, time measurement method, time digital converter and test device using the same
JP5183269B2 (en) Vernier delay circuit, time digital converter and test apparatus using the same
JP2020155841A (en) Semiconductor integrated circuit and transmitting device
JP6783535B2 (en) Clock correction device and clock correction method
US20080129357A1 (en) Adaptive Integrated Circuit Clock Skew Correction
US7034589B2 (en) Multi-stage delay clock generator
KR20090002643A (en) Clock generating apparatus for performing bit error rate measurement
JP6932290B2 (en) Phase-locked loop
US11962313B2 (en) Adaptive DCO VF curve slope control
JP4655683B2 (en) Slew rate adjustment circuit and slew rate adjustment method
JP2007074160A (en) Semiconductor device
WO2008145703A1 (en) Register with process, supply voltage and temperature variation independent propagation delay path
US9059716B1 (en) Digital PVT compensation for delay chain
KR20090103744A (en) A venier delay circuit, a time digital converter and a testing device using the same
JP5580763B2 (en) Semiconductor integrated circuit
JP2008249529A (en) Jitter determination circuit and jitter determination method
US10033525B2 (en) Transmission device and signal processing method
KR20130002671A (en) Semiconductor device
US7487571B2 (en) Control adjustable device configurations to induce parameter variations to control parameter skews
JP5092794B2 (en) Frame pulse signal latch circuit and phase adjustment method
JP2005050228A (en) Clock delay circuit and data output circuit
KR20080001124A (en) Semiconductor memory device
US20060232314A1 (en) Phase adjustment device, phase adjustment method, and semiconductor integrated circuit
JP6111739B2 (en) Clock skew correction circuit, correction method thereof, and clock distribution device
US11605407B2 (en) Memory system and delay control method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202