JP2012209420A - Semiconductor integrated circuit device - Google Patents

Semiconductor integrated circuit device Download PDF

Info

Publication number
JP2012209420A
JP2012209420A JP2011073878A JP2011073878A JP2012209420A JP 2012209420 A JP2012209420 A JP 2012209420A JP 2011073878 A JP2011073878 A JP 2011073878A JP 2011073878 A JP2011073878 A JP 2011073878A JP 2012209420 A JP2012209420 A JP 2012209420A
Authority
JP
Japan
Prior art keywords
circuit
variation
oscillation
voltage
semiconductor integrated
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.)
Granted
Application number
JP2011073878A
Other languages
Japanese (ja)
Other versions
JP5557783B2 (en
Inventor
Takekazu Ono
豪一 小野
Yusuke Sugano
雄介 菅野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011073878A priority Critical patent/JP5557783B2/en
Publication of JP2012209420A publication Critical patent/JP2012209420A/en
Application granted granted Critical
Publication of JP5557783B2 publication Critical patent/JP5557783B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Logic Circuits (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a circuit for detecting temporarily fluctuating variation which in an integrated circuit.SOLUTION: A detection circuit 100, an arithmetic circuit 101, and a variation/voltage conversion circuit 113 are provided in an integrated circuit. In the detection circuit 100, characteristic variation of the integrated circuit is detected as an oscillation frequency of an output signal of the detection circuit 100. In the arithmetic circuit 101, variation information detected for every time interval regulated by a timer 106 is stored in a register 111, statistical processing is performed by a statistic arithmetic circuit 112, and the temporarily fluctuating characteristic variation of the integrated circuit is detected. The variation/voltage conversion circuit 113 further converts the characteristic variation into voltage information corresponding to the detected characteristic variation.

Description

本発明は、半導体集積回路の特性ばらつき管理に関するものである。   The present invention relates to characteristic variation management of a semiconductor integrated circuit.

微細化の進展に伴い、トランジスタの特性ばらつきは増加し、そのばらつきが半導体集積回路へ与える影響は、電源電圧の低下もあり増大し続けている。この半導体集積回路の特性ばらつきを補償するため、集積回路のばらつきを検出し、その検出結果に基づき電源電圧、トランジスタの基板電圧や動作周波数等を制御する技術がある。この種の従来技術として、例えば、特許文献1では、集積回路内に配置されたモニタ回路において、集積回路の遅延特性を検出することにより、集積回路のばらつきを算出する。そして、検出されたばらつきに基づき、最適な電源電圧と動作周波数を決定し、集積回路のばらつきを補償する。   With the progress of miniaturization, the variation in transistor characteristics increases, and the influence of the variation on the semiconductor integrated circuit continues to increase as the power supply voltage decreases. In order to compensate for the variation in characteristics of the semiconductor integrated circuit, there is a technique for detecting the variation in the integrated circuit and controlling the power supply voltage, the transistor substrate voltage, the operating frequency, and the like based on the detection result. As a conventional technique of this type, for example, in Patent Document 1, a monitor circuit arranged in an integrated circuit detects the delay characteristics of the integrated circuit to calculate the variation of the integrated circuit. Based on the detected variation, the optimum power supply voltage and operating frequency are determined, and the variation of the integrated circuit is compensated.

特開2008−011323号公報JP 2008-011323 A

しかしながら、ある時刻でのモニタ情報を基にばらつきを検出する背景技術の手法では、半導体集積回路内の場所(空間的)なばらつき量は検出できても、時間的に変動するばらつき量に対しては、その検出、及び、補償ができない。なぜなら、ばらつきの経時情報を検出、及び、算出する機構を備えていないからである。そして、チップ製造後におけるばらつき現象に対しても、その影響を低減しなければ半導体の微細化によって生じる問題を解決できないといえる。   However, in the background art method of detecting variation based on monitor information at a certain time, even if the amount of variation (spatial) in a semiconductor integrated circuit can be detected, Cannot detect and compensate. This is because there is no mechanism for detecting and calculating variation information over time. And it can be said that the problem caused by the miniaturization of the semiconductor cannot be solved unless the influence of the variation phenomenon after the chip manufacturing is reduced.

次に、時間的にばらつき量が変動するものの一例として、微細化プロセスでその影響が顕著となる図2に示すRTN(Random Telegraph Noise)と呼ばれる現象がある。RTNは原子レベルのわずかな構造欠陥によって、トランジスタしきい値電圧が時間的に変動する現象である。また、その時間変動はランダムな特性を持つ。従来技術では、時間的に変動するばらつきを検出できないため、そのばらつき量を正確に把握することができない。従って、集積回路の設計では、時間的に変動するばらつき量を予想し、それをマージンとして設計することになるが、この設計手法では過大なマージンを見込んだ設計となる。そのため、集積回路の消費電力の増大やコストの悪化を招くという問題が生じる。   Next, as an example of the variation of the variation amount with time, there is a phenomenon called RTN (Random Telegraph Noise) shown in FIG. RTN is a phenomenon in which the transistor threshold voltage varies with time due to a slight structural defect at the atomic level. Further, the time variation has random characteristics. In the prior art, since variation that varies with time cannot be detected, the amount of variation cannot be accurately grasped. Therefore, in designing an integrated circuit, a variation amount that varies with time is predicted and designed as a margin, but this design method allows for an excessive margin. Therefore, there arises a problem that the power consumption of the integrated circuit is increased and the cost is deteriorated.

本発明はこのような問題を解決するためになされたものであり、その目的の一つは、時間で変動する半導体集積回路の特性ばらつきを検出する回路を提供することである。本発明の前記ならびにそれ以外の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The present invention has been made to solve such a problem, and one of its purposes is to provide a circuit for detecting variation in characteristics of a semiconductor integrated circuit that varies with time. The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、概要を説明すれば次のとおりである。すなわち、本発明は、遅延素子を用いた複数の発振回路を有する検出回路と、前記検出回路に接続され、前記発振回路の発振数を一定の期間カウントするカウンタ回路と、前記カウンタ回路に接続され、前記カウンタ回路を制御する制御信号を出力する制御回路と、前記制御回路に接続され、前記制御信号の基準となるタイマ信号を前記制御回路に対して出力するタイマ回路と、前記カウンタ回路に接続され、前記カウンタ回路のカウント結果を演算する演算回路と、を有し、前記検出回路は第1発振回路を有し、前記タイマ回路は前記カウンタ回路が前記第1発振回路の発振数を前記一定の期間カウントした後に所定の期間をおいて前記タイマ信号を出力し、前記カウンタ回路は前記タイマ信号に基づき前記第1発振回路の発振数を前記一定の期間カウントし、前記演算回路は前記第1発振回路における複数のカウント結果を統計演算することを特徴とする。   The outline of the invention disclosed in the present application will be described as follows. That is, the present invention relates to a detection circuit having a plurality of oscillation circuits using delay elements, a counter circuit connected to the detection circuit and counting the number of oscillations of the oscillation circuit for a certain period, and connected to the counter circuit. A control circuit that outputs a control signal for controlling the counter circuit; a timer circuit that is connected to the control circuit and that outputs a timer signal serving as a reference for the control signal to the control circuit; and is connected to the counter circuit And an arithmetic circuit that calculates a count result of the counter circuit, the detection circuit includes a first oscillation circuit, and the timer circuit includes the counter circuit that determines the number of oscillations of the first oscillation circuit. The timer signal is output after a predetermined period of time, and the counter circuit determines the number of oscillations of the first oscillation circuit based on the timer signal. A period counting, the arithmetic circuit is characterized in that statistical calculation a plurality of counting results in the first oscillation circuit.

本願により、時間的に変動する集積回路のばらつきを管理することが可能となる。   According to the present application, it is possible to manage the variation of the integrated circuit that varies with time.

本発明の実施の形態1によるばらつき検出回路において、その構成例を示す回路図である。FIG. 3 is a circuit diagram showing a configuration example of the variation detection circuit according to the first embodiment of the present invention. 一般的なRTNばらつきの概略図である。It is a schematic diagram of general RTN variation. LSIのトランジスタの特性ばらつきによるLSI動作速度の分布を示した図である。It is the figure which showed distribution of the LSI operation speed by the characteristic variation of the transistor of LSI. 電源電圧制御の構成例を示した図である。It is the figure which showed the structural example of power supply voltage control. LSIばらつき検出から統計演算までの処理フローを示した図である。It is a figure showing a processing flow from LSI variation detection to statistical calculation. 図1の検出回路の詳細な構成例を示す回路図である。FIG. 2 is a circuit diagram illustrating a detailed configuration example of a detection circuit in FIG. 1. 図6のインバータ回路の詳細な構成例を示す回路図である。FIG. 7 is a circuit diagram illustrating a detailed configuration example of the inverter circuit of FIG. 6. 図6のインバータ回路の別の詳細な構成例を示す回路図である。FIG. 7 is a circuit diagram showing another detailed configuration example of the inverter circuit of FIG. 6. 本発明による実施の形態2のばらつき検出回路において、その構成例を示す回路図である。FIG. 6 is a circuit diagram showing a configuration example of a variation detection circuit according to a second embodiment of the present invention.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。また、以下の実施の形態においては便宜上その必要があるときは、複数のセクションまたは実施の形態に分割して説明するが、特に明示した場合を除き、それらはお互いに無関係なものではなく、一方は他方の一部または全部の変形例、詳細、補足説明等の関係にある。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In all the drawings for explaining the embodiments, the same members are denoted by the same reference symbols in principle, and the repeated explanation thereof is omitted. Further, in the following embodiments, when it is necessary for the sake of convenience, the description will be divided into a plurality of sections or embodiments. However, unless otherwise specified, they are not irrelevant to each other. Is related to some or all of the other modifications, details, supplementary explanations, and the like.

また、各実施の形態において、要素の数等(個数、数値、量、範囲等を含む)に言及する場合、特に明示した場合および原理的に明らかに特定の数に限定される場合等を除き、その特定の数に限定されるものではなく、特定の数以上でも以下でも良い。さらに、以下の実施の形態において、その構成要素(要素ステップ等も含む)は、特に明示した場合および原理的に明らかに必須であると考えられる場合等を除き、必ずしも必須のものではないことは言うまでもない。同様に、各実施の形態において、構成要素等の形状、位置関係等に言及するときは、特に明示した場合および原理的に明らかにそうでないと考えられる場合等を除き、実質的にその形状等に近似または類似するもの等を含むものとする。このことは、上記数値および範囲についても同様である。   Further, in each embodiment, when referring to the number of elements (including the number, numerical value, quantity, range, etc.), unless explicitly stated or limited to a specific number in principle, etc. The number is not limited to the specific number, and may be a specific number or more. Further, in the following embodiments, the constituent elements (including element steps and the like) are not necessarily indispensable unless otherwise specified and apparently essential in principle. Needless to say. Similarly, in each embodiment, when referring to the shape, positional relationship, etc. of the component, etc., the shape, etc. substantially, unless otherwise specified, or otherwise apparently not in principle. It shall include those that are approximate or similar to. The same applies to the above numerical values and ranges.

まず、各実施の形態の説明に先立ち、本発明のばらつき検出回路に関する構成を簡単に説明する。   First, prior to the description of each embodiment, a configuration relating to a variation detection circuit of the present invention will be briefly described.

本実施の形態によるばらつき検出回路は、LSIの空間的または時間的ばらつき情報を検出する検出回路と、検出回路において検出されたばらつき情報に統計演算処理を施すことによりLSI全体のばらつきを計算する演算回路と、を備える構成となっている。上記構成により、空間的あるいは時間的に変動する集積回路のばらつきを把握することが可能となる。   The variation detection circuit according to the present embodiment includes a detection circuit that detects spatial or temporal variation information of the LSI, and an operation that calculates the variation of the entire LSI by performing statistical calculation processing on the variation information detected by the detection circuit. And a circuit. With the above configuration, it is possible to grasp the variation of the integrated circuit that varies spatially or temporally.

そして更に、ばらつき情報をLSI電源の制御電圧値に変換するばらつき/電圧変換回路と、を備える構成としてもよい。これによって、トランジスタの特性ばらつきによるLSIの動作速度や消費電力などの特性変動を、設計時の標準状態に補償することが可能となる。   Further, it may be configured to include a variation / voltage conversion circuit that converts variation information into a control voltage value of an LSI power supply. This makes it possible to compensate for variations in characteristics such as LSI operation speed and power consumption due to transistor characteristic variations to the standard state at the time of design.

ここで、LSIの空間的または時間的ばらつき情報を検出する検出回路は、より具体的には、遅延素子を用いた発振回路を備える。例えば、インバータ回路等の遅延素子を多段に接続して構成するリングオシレータ回路である。このリングオシレータ回路は、一個あるいは複数個がLSI内に配置され、発振信号を出力する。このリングオシレータ回路を構成するインバータ回路の入力端子には、入力信号の接続、遮断を制御するトランジスタと、入力端子を前段の入力信号の電圧よりも高い電圧、例えば電源電圧あるいはそれ以上の電圧に固定するトランジスタと、入力端子を前段の入力信号の電圧よりも低い電圧、例えば接地電位に固定するトランジスタとが接続される。このようにして、発振動作と入力信号の電源あるいは接地電位への固定を切り替える可能な構成となっている。   Here, more specifically, the detection circuit for detecting spatial or temporal variation information of the LSI includes an oscillation circuit using a delay element. For example, a ring oscillator circuit configured by connecting delay elements such as an inverter circuit in multiple stages. One or a plurality of ring oscillator circuits are arranged in the LSI and output an oscillation signal. The input terminal of the inverter circuit that constitutes the ring oscillator circuit includes a transistor that controls connection and disconnection of the input signal, and the input terminal is set to a voltage higher than the voltage of the input signal in the previous stage, for example, a power supply voltage or higher. A transistor to be fixed is connected to a transistor whose input terminal is fixed to a voltage lower than the voltage of the previous input signal, for example, a ground potential. In this way, the oscillation operation and the input signal can be switched between power supply and ground potential.

なお、入力端子を前段の入力信号の電圧よりも高い電圧に固定するトランジスタは、検出対象における時間的ばらつきを増加させ、時間的ばらつきの検出を容易にする効果がある(加速試験)。また、入力端子を前段の入力信号の電圧よりも低い電圧に固定するトランジスタは、検出対象における時間的ばらつきを減少させ、相対的に場所的ばらつきの検出を容易にする効果がある。   Note that a transistor in which the input terminal is fixed at a voltage higher than the voltage of the input signal in the previous stage has an effect of increasing temporal variation in the detection target and facilitating detection of temporal variation (acceleration test). Further, the transistor that fixes the input terminal to a voltage lower than the voltage of the input signal in the previous stage has an effect of reducing temporal variation in the detection target and relatively easily detecting the local variation.

また、LSI全体のばらつきを計算する演算回路は、より具体的には、例えば、前記検出回路の検出結果を選択する第1選択回路と、この第1選択回路の検出結果をデジタル信号に変換するカウンタ回路と、このデジタル信号を記憶するレジスタと、このレジスタを選択する第2選択回路と、このレジスタに記憶されたデジタル信号を統計処理する統計演算回路と、検出回路と演算回路の動作時間間隔を計測するタイマ回路と、検出回路と第1および第2選択回路とカウンタ回路と統計演算回路とを制御する制御回路と、で構成されたものとなっている。   More specifically, the arithmetic circuit for calculating the variation of the entire LSI converts, for example, a first selection circuit that selects a detection result of the detection circuit and a detection result of the first selection circuit into a digital signal. A counter circuit, a register for storing the digital signal, a second selection circuit for selecting the register, a statistical operation circuit for statistically processing the digital signal stored in the register, and an operation time interval between the detection circuit and the operation circuit And a control circuit for controlling the detection circuit, the first and second selection circuits, the counter circuit, and the statistical operation circuit.

上記は、1つあるいは複数の空間的または時間的なばらつきの検出結果を、カウンタ回路で計測したカウント数に変換してレジスタに格納することが可能な構成となっている。   In the above configuration, one or a plurality of spatial or temporal variation detection results can be converted into a count number measured by a counter circuit and stored in a register.

前記演算回路内の統計演算回路は、より具体的には、例えば、リングオシレータ回路の発振周波数または複数のリングオシレータの発振周波数の差分を計算し、その二乗和を演算する構成となっている。これによって、LSIのばらつきを検出することが可能となる。   More specifically, the statistical calculation circuit in the calculation circuit is configured to calculate the difference between the oscillation frequencies of the ring oscillator circuit or the oscillation frequencies of the plurality of ring oscillators and calculate the sum of squares thereof. This makes it possible to detect LSI variations.

前記ばらつき/電圧変換回路は、より具体的には、例えば、ばらつき量と制御されるLSIの電源電圧値の関係がテーブルとして格納されている構成となっている。ばらつき/電圧変換回路にて得られたばらつき量に対応した電源電圧をLSIに供給することによって、トランジスタばらつきによって変動したLSIの動作速度や消費電力などの特性を、設計時の標準状態に補償できる。上述したテーブルの一例として、ばらつきによる電圧変化と、その電圧変化を補償するための最適な電源電圧と、電源IC403に対する制御信号値と、が対応付けられているテーブルが挙げられる。   More specifically, the variation / voltage conversion circuit has a configuration in which, for example, the relationship between the variation amount and the power supply voltage value of the controlled LSI is stored as a table. By supplying a power supply voltage corresponding to the amount of variation obtained by the variation / voltage conversion circuit to the LSI, characteristics such as the operating speed and power consumption of the LSI that have fluctuated due to transistor variations can be compensated to the standard state at the time of design. . As an example of the table described above, there is a table in which a voltage change due to variation, an optimum power supply voltage for compensating the voltage change, and a control signal value for the power supply IC 403 are associated with each other.

次にこれらの構成を含んだばらつき検出回路のより具体的な構成に関し、以下に説明する。   Next, a more specific configuration of the variation detection circuit including these configurations will be described below.

図1は、本発明の実施の形態1によるばらつき検出回路において、その構成例を示すブロック図である。図1を説明する前に、図1に示すばらつき検出回路が適用されるLSIとそのシステム構成の一例を図4に示す。   FIG. 1 is a block diagram showing a configuration example of the variation detection circuit according to the first embodiment of the present invention. Before explaining FIG. 1, FIG. 4 shows an example of an LSI to which the variation detection circuit shown in FIG. 1 is applied and its system configuration.

図4に示すシステム構成では、トランジスタの空間的・時間的な特性ばらつきによるLSIの特性ばらつきを、そのLSIの電源電圧を制御することによって補償する。LSI401と、LSI401の外部に配置され電源電圧を生成する電源IC403とから構成される。   In the system configuration shown in FIG. 4, LSI characteristic variations due to transistor spatial and temporal characteristic variations are compensated by controlling the power supply voltage of the LSI. The LSI 401 includes a power supply IC 403 that is disposed outside the LSI 401 and generates a power supply voltage.

LSI401内には、1個または複数の検出回路400とリングオシレータ回路104の検出結果から電源IC403を制御するコントローラ402が配置される。   In the LSI 401, a controller 402 that controls the power supply IC 403 from the detection results of one or a plurality of detection circuits 400 and the ring oscillator circuit 104 is disposed.

コントローラ402では、検出回路400にて検出されたばらつき情報を演算処理し、その演算処理されたばらつき情報を基にLSIの動作電圧を決定する。更に、コントローラ402では、電源IC403の制御信号を出力し、コントローラ402によって決定した動作電圧を電源IC403出力するように制御する。なお、コントローラ402で実現される機能は必ずしも同一LSI内に存在する必要はなく、外部のチップからの入出力によって代えることも出来る。   The controller 402 performs arithmetic processing on the variation information detected by the detection circuit 400, and determines the LSI operating voltage based on the calculated variation information. Further, the controller 402 outputs a control signal for the power supply IC 403 and controls the operation voltage determined by the controller 402 to be output to the power supply IC 403. Note that the function realized by the controller 402 does not necessarily exist in the same LSI, and can be replaced by input / output from an external chip.

図3は本発明に先立ち、発明者が検討を行った図面である。すなわち、あるLSIのトランジスタの特性ばらつきによるLSI動作速度の分布を示した図である。波形300は、LSIの空間的ばらつきによる速度分布である。波形301は、LSIの空間的ばらつきに加えて、時間的にばらつくトランジスタ特性(例えば、RTNなどによる変動)を考慮した速度分布である。   FIG. 3 is a drawing examined by the inventor prior to the present invention. That is, it is a diagram showing a distribution of LSI operation speeds due to characteristic variations of a certain LSI transistor. A waveform 300 is a velocity distribution due to LSI spatial variation. A waveform 301 is a velocity distribution considering transistor characteristics (for example, variation due to RTN) that varies with time in addition to the spatial variation of the LSI.

波形301の分布は、時間で変化するばらつきを含むので、波形300の分布よりもばらつきが大きくなる。そこで、LSIの電源電圧を制御することにより、例えば波形302に示すような分布に変化させ、所望の動作速度を満足させるように、LSIの特性ばらつきを補償することができる。波形302の制御は、動作速度の低いLSIについては電源に高い電圧を供給し、動作速度の高いLSIについては低い電圧を供給した結果である。   Since the distribution of the waveform 301 includes a variation that changes with time, the variation is larger than the distribution of the waveform 300. Therefore, by controlling the power supply voltage of the LSI, it is possible to compensate for variations in the characteristics of the LSI so that the distribution changes as shown in the waveform 302, for example, so as to satisfy a desired operation speed. The control of the waveform 302 is a result of supplying a high voltage to the power supply for an LSI with a low operating speed and supplying a low voltage for an LSI with a high operating speed.

以上、トランジスタの特性ばらつき補償について、LSIの動作速度の補償を例に電圧制御を説明したが、消費電力の補償の観点から電源電圧を制御してもよい。また、電源電圧は動作速度と消費電力の補償のみに限るものではない。   As described above, the voltage control has been described with respect to the compensation of the characteristic variation of the transistor by taking the compensation of the operation speed of the LSI as an example. Further, the power supply voltage is not limited only to compensation for operating speed and power consumption.

図1に示すばらつき検出回路は、検出回路100、演算回路101、ばらつき/電圧変換回路113とから構成される。検出回路100は1つまたは複数のリングオシレータ回路104から構成される。リングオシレータ回路104は、イネーブル信号ROENにより回路の動作及び停止が制御される。リングオシレータ回路104は、動作時には自励発振し、その発信信号は演算回路101に送られる。   The variation detection circuit shown in FIG. 1 includes a detection circuit 100, an arithmetic circuit 101, and a variation / voltage conversion circuit 113. The detection circuit 100 includes one or a plurality of ring oscillator circuits 104. The ring oscillator circuit 104 is controlled to operate and stop by an enable signal ROEN. The ring oscillator circuit 104 self-oscillates during operation, and the transmission signal is sent to the arithmetic circuit 101.

検出回路100では、LSIの空間的または時間的なばらつきを検出する。時間的なばらつきを検出する場合は、同一のリングオシレータ回路104を時間をおいて複数回動作させて、その動作結果を利用する。空間的なばらつきを検出する場合は、LSI内に配置された複数のリングオシレータ回路104の動作結果を用いる。ここで、時間的なばらつきを検出するために複数回動作を行う時間の間隔は、LSI動作速度を適正値に補償できる観点で定めるとよい。時間的なトランジスタの特性ばらつきは、個々の時間隔が大きいためである。   The detection circuit 100 detects a spatial or temporal variation of the LSI. In the case of detecting temporal variation, the same ring oscillator circuit 104 is operated a plurality of times with time, and the operation result is used. When detecting spatial variations, the operation results of a plurality of ring oscillator circuits 104 arranged in the LSI are used. Here, the time interval for performing the operation a plurality of times in order to detect temporal variations may be determined from the viewpoint of compensating the LSI operation speed to an appropriate value. This is because the temporal variation in transistor characteristics is large in individual time intervals.

演算回路101は、リングオシレータ回路104の発振信号を選択する第1選択回路108と、リングオシレータ回路104の発振信号の一つである第1選択回路の出力信号の周期を計測し、デジタル信号に変換するカウンタ109と、このデジタル化された周期情報を格納する1つまたは複数のレジスタ111と、周期情報をどのレジスタ111に格納するかを選択する第2選択回路110と、周期情報を統計処理する統計演算回路112と、検出回路100および演算回路101の動作時間間隔を計測するタイマ回路106と、検出回路100と第1選択回路108および第2選択回路110と統計演算回路112とを制御する制御回路107と、から構成される。   The arithmetic circuit 101 measures the period of the output signal of the first selection circuit 108 that selects the oscillation signal of the ring oscillator circuit 104 and the first selection circuit that is one of the oscillation signals of the ring oscillator circuit 104, and converts it into a digital signal. A counter 109 for conversion, one or more registers 111 for storing the digitized period information, a second selection circuit 110 for selecting which register 111 stores the period information, and statistical processing of the period information Controlling the statistical operation circuit 112, the timer circuit 106 that measures the operation time interval of the detection circuit 100 and the arithmetic circuit 101, the detection circuit 100, the first selection circuit 108, the second selection circuit 110, and the statistical calculation circuit 112. And a control circuit 107.

制御回路107は、制御回路107に入力されるイネーブル信号COUNTENにより動作、停止が制御される。制御回路107はイネーブル信号CONTENにより動作を開始し、タイマ回路106のイネーブル信号TENを出力する。タイマ回路106は、任意の時間を設定できるものである。   The control circuit 107 is controlled to operate and stop by an enable signal COUNTEN input to the control circuit 107. The control circuit 107 starts operation in response to the enable signal CONTEN and outputs the enable signal TEN of the timer circuit 106. The timer circuit 106 can set an arbitrary time.

タイマ回路106は、設定された時間を計測し、設定時間後に制御回路107の動作開始タイミングを規定するトリガ信号TRGを出力する。   The timer circuit 106 measures the set time and outputs a trigger signal TRG that defines the operation start timing of the control circuit 107 after the set time.

制御回路107は、タイマ回路106よりトリガ信号TRGを受けて動作を開始し、リングオシレータ回路104のイネーブル信号ROEN、第1および第2選択回路108、110の選択信号SSEL1、SSEL2、カウンタ回路109のイネーブル信号CEN、統計演算回路112のイネーブル信号STATCALCENを出力する。リングオシレータ回路104はイネーブル信号ROENにより発振動作を開始し、発振信号を第1選択回路108に送信する。   The control circuit 107 receives the trigger signal TRG from the timer circuit 106 and starts its operation. The enable signal ROEN of the ring oscillator circuit 104, the selection signals SSEL1 and SSEL2 of the first and second selection circuits 108 and 110, and the counter circuit 109 The enable signal CEN and the enable signal STATCALCEN of the statistical calculation circuit 112 are output. The ring oscillator circuit 104 starts an oscillation operation in response to the enable signal ROEN and transmits the oscillation signal to the first selection circuit 108.

第1選択回路108では、選択信号SSEL1により、発振信号を一つ選択する。カウンタ回路109は、イネーブル信号CENにより、カウント動作を開始する。選択された発振信号は、カウンタ回路109において、発振周波数がデジタル信号であるカウント数に変換される。   The first selection circuit 108 selects one oscillation signal by the selection signal SSEL1. The counter circuit 109 starts a count operation in response to the enable signal CEN. The selected oscillation signal is converted in the counter circuit 109 into a count number whose oscillation frequency is a digital signal.

第2選択回路110では、選択信号SSEL2によりどのレジスタ111に書き込むかを選択し、カウント数はレジスタ111に格納される。時間的に変動するばらつきを検出する際は、一つのリングオシレータ回路104を一定の時間間隔をおいて連続動作させ、リングオシレータ回路104の発振周波数の時間変動をレジスタ111に格納する。   In the second selection circuit 110, the register 111 to be written is selected by the selection signal SSEL2, and the count number is stored in the register 111. When detecting a variation that varies with time, one ring oscillator circuit 104 is continuously operated at a constant time interval, and the time variation of the oscillation frequency of the ring oscillator circuit 104 is stored in the register 111.

ここで、複数あるリングオシレータのうち、同じリングオシレータから検出される周波数のカウント値を時間を変化させて比較すれば、時間による変動を判別することができる。すなわち、対象のリングオシレータにおけるランダムばらつきの発生の有無が分かる。さらに、検出する時間の間隔をタイマ回路により変化させれば、ランダムばらつきの発生の有無から、どの程度の時間間隔によって発生するのか判別することができる。   Here, among the plurality of ring oscillators, if the count values of the frequencies detected from the same ring oscillator are compared while changing the time, it is possible to determine the fluctuation due to the time. That is, it can be determined whether or not random variation occurs in the target ring oscillator. Further, if the time interval to be detected is changed by the timer circuit, it is possible to determine how much time interval is generated from the presence or absence of the occurrence of random variations.

また、同じリングオシレータから検出される、周波数のカウント値における時間分布を計算することで、対象のリングオシレータにおけるランダムばらつきの電圧変動幅がどの程度であるか求めることが出来る。したがって、レジスタに格納する場合は、リングオシレータの配置されている場所や測定された時間が分かるように格納するとよい。   Further, by calculating the time distribution in the frequency count value detected from the same ring oscillator, it is possible to determine how much the voltage fluctuation width of the random variation in the target ring oscillator is. Therefore, when storing in a register, it is good to store so that the place where the ring oscillator is arrange | positioned, and the measured time may be known.

ばらつきの検出からレジスタへの書き込みまでのこの一連の処理の完了後、制御回路107はタイマ回路106のイネーブル信号TENを、タイマ回路106に送信し、タイマ回路の時間カウントを再び開始する。リングオシレータ回路104の結果をレジスタ111に格納する処理は、詳細に後述するアルゴリズムに従って、1回または複数回の規定回数だけ繰り返される。   After completion of this series of processing from detection of variation to writing to the register, the control circuit 107 transmits the enable signal TEN of the timer circuit 106 to the timer circuit 106, and starts the time count of the timer circuit again. The process of storing the result of the ring oscillator circuit 104 in the register 111 is repeated once or a plurality of prescribed times according to an algorithm described in detail later.

LSI内の空間的なばらつきを検出する際は、複数のリングオシレータ回路104での検出結果を順番にレジスタ111に格納する。時間的なばらつきと空間的なばらつきの両方を検出する際は、両方の処理フローを組み合わせて実施する。なお、空間的なばらつきだけでなく時間的なばらつきも、その性質上、設計ルールや動作環境によってばらつく頻度が変動する。すなわち、どちらのばらつきが支配的になるか、設計時や動作時において変動することから、両方を検出する構成を備えることにより、与えられた動作環境に対して柔軟な補償を行うことが出来る。   When detecting spatial variations in the LSI, the detection results of the plurality of ring oscillator circuits 104 are stored in the register 111 in order. When detecting both temporal and spatial variations, both processing flows are combined. Note that not only spatial variations but also temporal variations vary in nature depending on the design rules and the operating environment. That is, which variation is dominant and varies at the time of design and operation, so that it is possible to perform flexible compensation for a given operating environment by providing a configuration for detecting both.

検出回路100で検出した全ての結果がレジスタ111に格納された後、イネーブル信号STATCALCENにより、統計演算回路112において動作が開始される。そして、レジスタ111に格納されたカウント数に対して統計演算がなされる。これにより、LSIの特性ばらつきを検出できる。   After all the results detected by the detection circuit 100 are stored in the register 111, the operation is started in the statistical calculation circuit 112 by the enable signal STATCALCEN. Then, a statistical calculation is performed on the count number stored in the register 111. Thereby, the characteristic variation of LSI can be detected.

統計演算回路112では、レジスタ111に格納された1つまたは複数のカウント数(各リングオシレータ回路104での検出結果を示す)の統計処理を行い、LSIのばらつきを検出する。統計演算回路112は、カウント数の標準偏差や分散などの分布の広がりを示す統計値を算出し、その結果をばらつき/電圧変換回路113に送付する。   The statistical calculation circuit 112 performs statistical processing on one or more count numbers (indicating detection results in each ring oscillator circuit 104) stored in the register 111 to detect LSI variations. The statistical calculation circuit 112 calculates a statistical value indicating the spread of the distribution such as the standard deviation or variance of the count number, and sends the result to the variation / voltage conversion circuit 113.

ばらつき/電圧変換回路113では、統計演算回路112で演算されたLSIのばらつき情報を、LSIの電源電圧情報に変換する。この電源電圧情報は、LSIのばらつきを補償するのに最適な電圧、すなわち回路の動作速度を安定させる電圧に決定される。ばらつき/電圧変換回路113では、決定された電源電圧をLSI外部の電源IC403が出力するための制御信号を生成する。   The variation / voltage conversion circuit 113 converts LSI variation information calculated by the statistical calculation circuit 112 into LSI power supply voltage information. This power supply voltage information is determined to be an optimum voltage for compensating for variations in LSI, that is, a voltage that stabilizes the operation speed of the circuit. The variation / voltage conversion circuit 113 generates a control signal for the power supply IC 403 outside the LSI to output the determined power supply voltage.

LSIのばらつき情報を電源IC403の制御信号に変換する具体的な方法は、例えばばらつき量と制御信号値とを対応付けたテーブルで実現してもよいが、これに限るものではない。これによって、トランジスタばらつきによって変動するLSIの動作速度や消費電力などの特性を、設計時の標準状態に補償することが可能となる。   A specific method for converting the variation information of the LSI into the control signal of the power supply IC 403 may be realized by, for example, a table in which the variation amount and the control signal value are associated with each other, but is not limited thereto. As a result, it is possible to compensate for characteristics such as LSI operation speed and power consumption, which fluctuate due to transistor variations, in the standard state at the time of design.

図5は、リングオシレータ回路104での時間的に変動するばらつき検出から統計演算回路112での統計解析までの処理フローを示したものである。タイマ回路106で予め規定した時間間隔毎において、ある一つのリングオシレータ回路104の発振周波数を規定回数計測する。この回数は統計処理の結果を得るために、ばらつきが傾向として表れる程度の回数で定めると良い。具体的には、概ね数十回から数百回程度である場合が多いが、この限りではない。   FIG. 5 shows a processing flow from the detection of variation varying with time in the ring oscillator circuit 104 to the statistical analysis in the statistical calculation circuit 112. The oscillation frequency of a certain ring oscillator circuit 104 is measured a prescribed number of times at time intervals prescribed in advance by the timer circuit 106. In order to obtain the result of statistical processing, the number of times may be determined as the number of times that variation appears as a tendency. Specifically, there are many cases where the number of times is approximately several tens to several hundreds, but this is not a limitation.

次に、リングオシレータ回路104(ここでは1番目のリングオシレータ回路を選択し、その回路での計測を例とする)の発振周波数をカウント数に変換した結果をレジスタ111に格納する。そして、上述した規定回数に達したかどうかを判断し、達していなければタイマ回路106で計測した時間後、すなわち規定の間隔で待機し、始めのリングオシレータ回路104でのばらつき検出処理に戻る。一方、規定した回数に達した場合は、統計演算回路112での統計処理および解析に移行し、LSIのばらつきを検出する。   Next, the result of converting the oscillation frequency of the ring oscillator circuit 104 (here, the first ring oscillator circuit is selected as an example and measurement with that circuit) into a count number is stored in the register 111. Then, it is determined whether or not the above-mentioned prescribed number of times has been reached. If not, it waits after the time measured by the timer circuit 106, that is, at a prescribed interval, and returns to the variation detection processing in the first ring oscillator circuit 104. On the other hand, when the specified number of times is reached, the processing shifts to statistical processing and analysis in the statistical operation circuit 112, and the variation of the LSI is detected.

図6は、リングオシレータ回路104の回路図の一例である。リングオシレータ回路104は、NAND回路500と複数段のインバータ回路501とから構成される。NAND回路500は、イネーブル信号ROENによりリングオシレータ回路104の動作と停止を切り替えるために挿入されている。   FIG. 6 is an example of a circuit diagram of the ring oscillator circuit 104. The ring oscillator circuit 104 includes a NAND circuit 500 and a plurality of stages of inverter circuits 501. The NAND circuit 500 is inserted in order to switch the operation and stop of the ring oscillator circuit 104 by the enable signal ROEN.

リングオシレータ回路104の発振信号出力は信号ROUTとして出力される。ROENをHighにすると回路動作し、Lowで停止する。インバータ回路501には、制御信号ACCが接続される。制御信号ACCは、インバータ回路501の入力を前段の出力に接続するか、または、入力を固定電位に接続するかを選択する信号である。すなわち、前段の出力に接続すれば検出動作を行うことができ、入力を任意の固定電位にすればばらつきの発生頻度を変動させることが出来る。   The oscillation signal output of the ring oscillator circuit 104 is output as a signal ROUT. When ROEN is set to High, the circuit operates and stops at Low. A control signal ACC is connected to the inverter circuit 501. The control signal ACC is a signal for selecting whether the input of the inverter circuit 501 is connected to the output of the previous stage or the input is connected to a fixed potential. That is, if it is connected to the output of the previous stage, the detection operation can be performed, and if the input is set to an arbitrary fixed potential, the frequency of occurrence of variation can be varied.

図7は、図6に示すインバータ回路501の詳細回路の一例である。インバータ回路501は、インバータ回路603と、入力信号INの接続、遮断を制御するトランジスタ601と、入力端子を電源電圧あるいはそれ以上の第3の電圧に固定するトランジスタ602と、から構成される。この第3の電圧を電源に直結し、第3の電圧を電源電圧としてもよい。また、トランジスタ601を制御する信号ACCとインバータ回路604によってその反転信号が生成される。なお、トランジスタ601は素子のサイズを大きくすることで時間的ばらつきに対する影響を低減することができる。   FIG. 7 is an example of a detailed circuit of the inverter circuit 501 shown in FIG. The inverter circuit 501 includes an inverter circuit 603, a transistor 601 that controls connection and interruption of the input signal IN, and a transistor 602 that fixes the input terminal to a power supply voltage or a third voltage higher than that. The third voltage may be directly connected to the power supply, and the third voltage may be the power supply voltage. An inverted signal is generated by the signal ACC for controlling the transistor 601 and the inverter circuit 604. Note that the transistor 601 can reduce the influence on temporal variation by increasing the element size.

制御信号ACCをHighにすると入力信号INはインバータ回路603に接続される。制御信号ACCをLowにすると入力信号INはインバータ回路603とは切断される。その際、トランジスタ602によってインバータ回路603の入力信号は、電源電圧あるいはそれ以上の電圧に固定される。その理由として、時間変動するばらつきの発生頻度はトランジスタに印加される電圧に依存することが知られていることが挙げられる。したがって、インバータ回路603の入力信号を電源電圧あるいはそれ以上の電圧に固定すると、時間的に変動するばらつき現象の発生頻度を高めることが可能である。   When the control signal ACC is set to High, the input signal IN is connected to the inverter circuit 603. When the control signal ACC is set to Low, the input signal IN is disconnected from the inverter circuit 603. At that time, the input signal of the inverter circuit 603 is fixed to the power supply voltage or higher by the transistor 602. The reason is that it is known that the frequency of occurrence of time-varying variation depends on the voltage applied to the transistor. Therefore, when the input signal of the inverter circuit 603 is fixed to a power supply voltage or higher, it is possible to increase the frequency of occurrence of a variation phenomenon that varies with time.

図6および図7では、ROENとACCを分離しているが、接続してもよい。その場合は、リングオシレータ回路104を停止させている場合は、常にインバータ回路501の入力は第3の電圧に固定されることになり、時間的に変動するばらつき現象の発生頻度が高い状態を維持する効果がある。   6 and 7, ROEN and ACC are separated, but they may be connected. In that case, when the ring oscillator circuit 104 is stopped, the input of the inverter circuit 501 is always fixed to the third voltage, and the state in which the variation phenomenon that varies with time is high is maintained. There is an effect to.

図8は、図6に示すインバータ回路501の別の構成の一例である。インバータ回路501は、インバータ回路803と、入力信号INの接続、遮断を制御するトランジスタ800と、入力端子を電源電圧あるいはそれ以上の第3の電圧に固定するトランジスタ801と、入力端子を接地電位に固定するトランジスタ802と、トランジスタ800、801、802を制御する制御信号生成部804とから構成される。この第3の電圧を電源に直結し、第3の電圧を電源電圧としてもよい。図7で示した回路とは、インバータ回路803の入力信号が接地電位に固定できる点において、異なった構成を有する。   FIG. 8 shows an example of another configuration of the inverter circuit 501 shown in FIG. The inverter circuit 501 includes an inverter circuit 803, a transistor 800 that controls connection and disconnection of the input signal IN, a transistor 801 that fixes the input terminal to a third voltage higher than the power supply voltage, and the input terminal to the ground potential. A fixed transistor 802 and a control signal generation unit 804 that controls the transistors 800, 801, and 802 are configured. The third voltage may be directly connected to the power supply, and the third voltage may be the power supply voltage. 7 differs from the circuit shown in FIG. 7 in that the input signal of the inverter circuit 803 can be fixed to the ground potential.

制御信号ACCをHighにすると入力信号INはインバータ回路803に接続される。制御信号ACCをLowにすると、接続・遮断を制御するトランジスタ800によって入力信号INはインバータ回路803とは切断される。その際、インバータ回路803の入力信号は、トランジスタ801、802およびそれらへの入力信号である信号HLによって、第3の電圧か接地電位のどちらかに固定される。つまり、インバータ803の入力電位は、信号HLがHighの場合はトランジスタ802が導通して接地電位となり、信号HLがLowの場合はトランジスタ602が導通し、第3の電位となる。   When the control signal ACC is set to High, the input signal IN is connected to the inverter circuit 803. When the control signal ACC is set to Low, the input signal IN is disconnected from the inverter circuit 803 by the transistor 800 that controls connection / disconnection. At that time, the input signal of the inverter circuit 803 is fixed to either the third voltage or the ground potential by the transistors 801 and 802 and the signal HL which is an input signal to them. That is, the input potential of the inverter 803 becomes the third potential when the signal HL is High and the transistor 802 becomes conductive and becomes the ground potential, and when the signal HL is Low, the transistor 602 becomes conductive and becomes the third potential.

インバータ回路803の入力信号を電源電圧あるいはそれ以上の電圧に固定するのは、時間的に変動するばらつき現象の発生頻度を高めるためである。また、接地電位に固定するのは時間変動するばらつきの発生頻度を最も低く抑えるためである。空間的なばらつきを検出する際には、時間的なばらつきの発生頻度を可能な限り抑えておく必要がある。よって、リングオシレータ回路104を動作させる前に、インバータ回路803の入力を接地電位に固定しておく。   The reason why the input signal of the inverter circuit 803 is fixed to the power supply voltage or higher is to increase the frequency of occurrence of a variation phenomenon that varies with time. The reason for fixing to the ground potential is to minimize the occurrence frequency of time-varying variations. When detecting spatial variations, it is necessary to suppress the frequency of temporal variations as much as possible. Therefore, before operating the ring oscillator circuit 104, the input of the inverter circuit 803 is fixed to the ground potential.

以上のように、検出回路100でLSIの特性ばらつきを検出し、演算回路101でLSIの空間的、あるいは時間的なばらつきを求めることにより、LSIのばらつきを精度よく把握することが可能である。また、検出したLSIのばらつき情報を基に、ばらつき/電圧変換回路113で制御電源電圧値を決定し、外部電源IC403を制御することにより、LSIのばらつきを補償することが可能である。   As described above, the detection circuit 100 detects the LSI characteristic variation and the arithmetic circuit 101 obtains the LSI spatial or temporal variation, whereby the LSI variation can be accurately grasped. Further, based on the detected LSI variation information, the variation / voltage conversion circuit 113 determines the control power supply voltage value and controls the external power supply IC 403 to compensate for the LSI variation.

このように、演算回路の後段に検出したばらつき情報をLSI電源の制御電圧値に変換する機構を備えることによって、LSIのばらつき補償も可能となっている。   As described above, by providing a mechanism for converting the variation information detected in the subsequent stage of the arithmetic circuit into the control voltage value of the LSI power supply, it is possible to compensate for the variation of the LSI.

したがって、把握したばらつき情報に基づき、集積回路の電源電圧を制御することにより、ばらつきによって変動した集積回路の動作速度や消費電力などの特性を、設計時の標準状態に補正することが可能になる。   Therefore, by controlling the power supply voltage of the integrated circuit based on the grasped variation information, it becomes possible to correct the characteristics such as the operation speed and the power consumption of the integrated circuit which are fluctuated due to the variation to the standard state at the time of design. .

さらに、本実施の別の形態による検出回路は、前述したような構成を備えつつ、2つ以上のリングオシレータ回路がお互いに近傍に配置される。これらリングオシレータ回路の特性差を用いることによって、システマティックではないLSI内のランダムなばらつきを検出することが可能となる。   Furthermore, a detection circuit according to another embodiment of the present invention has the configuration as described above, and two or more ring oscillator circuits are arranged in the vicinity of each other. By using these characteristic differences between the ring oscillator circuits, it is possible to detect random variations in the LSI that are not systematic.

図9は、本発明による実施の形態2のばらつき検出回路において、その構成例を示すブロック図である。図9に示すばらつき検出回路は、あるばらつき傾向をもったシステマティックなばらつきだけでなく、ばらつきの傾向に相関がないランダムなばらつきを検出することを可能とするものである。はらつき検出回路は、第1の検出回路1000と、第2の検出回路1001と、第1のセレクタ回路1002と、第2のセレクタ回路1003と、演算回路1006と、ばらつき/電圧変換回路1007とから構成される。   FIG. 9 is a block diagram showing a configuration example of the variation detection circuit according to the second embodiment of the present invention. The variation detection circuit shown in FIG. 9 is capable of detecting not only systematic variations having a certain variation tendency but also random variations having no correlation with the variation tendency. The fluctuation detection circuit includes a first detection circuit 1000, a second detection circuit 1001, a first selector circuit 1002, a second selector circuit 1003, an arithmetic circuit 1006, a variation / voltage conversion circuit 1007, and the like. Consists of

第1の検出回路1000、及び、第2の検出回路1001は、1つまたは複数のリングオシレータ回路1008、1009から構成される。リングオシレータ回路1008、1009は、図6に示す実施例1のリングオシレータ回路と同様の構成であるため、その説明は省略する。   The first detection circuit 1000 and the second detection circuit 1001 include one or a plurality of ring oscillator circuits 1008 and 1009. The ring oscillator circuits 1008 and 1009 have the same configuration as the ring oscillator circuit of the first embodiment shown in FIG.

リングオシレータ回路1008と1009は、前述したような構成を備えつつ、お互いに近傍にペアで配置される。このペアで配置されたリングオシレータ回路1008、1009が、LSI内に一つあるいは複数セット配置される。本構成によって、電源からの距離による電圧の変動、およびレイアウトパターンの相互作用による影響を低減することができる。   The ring oscillator circuits 1008 and 1009 are arranged in pairs near each other while having the above-described configuration. One or a plurality of sets of ring oscillator circuits 1008 and 1009 arranged in pairs are arranged in the LSI. With this configuration, it is possible to reduce the influence of the fluctuation of the voltage due to the distance from the power source and the interaction of the layout pattern.

第1のセレクタ回路1002では、第1の検出回路1000の出力信号を選択し、第2のセレクタ回路1003では、第2の検出回路1001の出力信号を選択する。第1と第2のセレクタ回路1002、1003では、ペアで配置されたリングオシレータ回路1008と1009との発振信号出力を選択する。   The first selector circuit 1002 selects the output signal of the first detection circuit 1000, and the second selector circuit 1003 selects the output signal of the second detection circuit 1001. The first and second selector circuits 1002 and 1003 select the oscillation signal output of the ring oscillator circuits 1008 and 1009 arranged in pairs.

演算回路1006は、周波数差分検出回路1004と二乗和演算回路1005とから構成される。第1及び第2のセレクタ回路1002、1003で選択された発振信号は、周波数差分検出回路1004に入力される。周波数差分検出回路は、発振信号の発振周波数をカウント数に変換し、2つのカウント数の差分を演算する。求めたカウント数の差分信号を、二乗和演算回路1005に出力する。二乗和演算回路1005では、差分信号の二乗和を計算し、標準偏差や分散などの分布の広がりを示す統計値を算出する。   The arithmetic circuit 1006 includes a frequency difference detection circuit 1004 and a square sum arithmetic circuit 1005. The oscillation signals selected by the first and second selector circuits 1002 and 1003 are input to the frequency difference detection circuit 1004. The frequency difference detection circuit converts the oscillation frequency of the oscillation signal into a count number and calculates the difference between the two count numbers. The difference signal of the obtained count number is output to the square sum operation circuit 1005. The sum-of-squares calculation circuit 1005 calculates the sum of squares of the difference signal, and calculates a statistical value indicating the spread of the distribution such as standard deviation and variance.

近傍に配置されたペアのリングオシレータ回路1008、1009の発振周波数特性の差分を検出し、統計処理を行うことにより、ある傾向をもったシステマティックなばらつきではなく、LSI内のランダムなばらつきを検出することが可能となる。また、リングオシレータ回路の発振周波数そのものではなく、その差分信号を統計処理することにより、カウント数のビット数を低下させることができ、演算量を大幅に低減した補償をすることが可能である。   By detecting the difference in oscillation frequency characteristics of a pair of ring oscillator circuits 1008 and 1009 arranged in the vicinity and performing statistical processing, it detects not random systematic variations with a certain tendency, but random variations within the LSI. It becomes possible. Further, by statistically processing the difference signal instead of the oscillation frequency itself of the ring oscillator circuit, the number of bits of the count number can be reduced, and compensation with a greatly reduced calculation amount can be performed.

尚、周波数差分検出回路1004において、2つのリングオシレータ回路1008、1009の発振信号の発振周波数カウント数の差分ではなく、どちらかのリングオシレータ回路1008または1009の発振周波数カウント数を統計処理することにより、上記ランダムばらつきを含んだLSI内全体の空間的なばらつきを検出することができる。   The frequency difference detection circuit 1004 statistically processes the oscillation frequency count number of one of the ring oscillator circuits 1008 or 1009, not the difference between the oscillation frequency count numbers of the oscillation signals of the two ring oscillator circuits 1008 and 1009. Thus, it is possible to detect spatial variations in the entire LSI including the random variations.

ばらつき/電圧変換回路1007では、統計演算回路112で演算されたLSIのばらつき情報を、LSIの電源電圧情報に変換する。この電源電圧情報は、LSIのばらつきを補償するのに最適な電圧に決定される。ばらつき/電圧変換回路1007では、決定された電源電圧をLSI外部の電源IC403が出力するための制御信号を生成する。   The variation / voltage conversion circuit 1007 converts the LSI variation information calculated by the statistical calculation circuit 112 into LSI power supply voltage information. This power supply voltage information is determined to be an optimum voltage for compensating for variations in LSI. The variation / voltage conversion circuit 1007 generates a control signal for the power supply IC 403 outside the LSI to output the determined power supply voltage.

LSIのばらつき情報を電源IC403の制御信号に変換する具体的な方法は、実施例1と同様に、例えばばらつき量と制御信号値とを対応付けたテーブルで実現してもよいが、これに限るものではない。   A specific method for converting the variation information of the LSI into the control signal of the power supply IC 403 may be realized by a table in which the variation amount and the control signal value are associated with each other as in the first embodiment, but is not limited thereto. It is not a thing.

これによって、トランジスタばらつきによって変動するLSIの動作速度や消費電力などの特性を、設計時の標準状態に補償することが可能となる。   As a result, it is possible to compensate for characteristics such as LSI operation speed and power consumption, which fluctuate due to transistor variations, in the standard state at the time of design.

以上のように、検出回路1000、及び、検出回路1001でLSIの特性ばらつきを検出し、演算回路1006でLSIのランダムばらつきを含む空間的なばらつきを求めることにより、LSIのばらつきを精度よく把握することが可能である。また、検出したLSIのばらつき情報を基に、ばらつき/電圧変換回路1007で制御電源電圧値を決定し、外部電源IC403を制御することにより、LSIのばらつきを補償することが可能である。   As described above, the detection circuit 1000 and the detection circuit 1001 detect LSI characteristic variation, and the arithmetic circuit 1006 obtains spatial variation including random variation of the LSI, thereby accurately grasping the variation of the LSI. It is possible. Further, the variation of the LSI can be compensated by determining the control power supply voltage value by the variation / voltage conversion circuit 1007 based on the detected variation information of the LSI and controlling the external power supply IC 403.

なお、周波数差分検出回路1004、二乗和演算回路1005、演算回路1006、ばらつき/電圧変換回路1007で実現される機能は必ずしも同一LSI内に存在する必要はなく、外部のチップからの入出力によって代えることも出来ることは言うまでもない。   Note that the functions realized by the frequency difference detection circuit 1004, the sum of squares operation circuit 1005, the operation circuit 1006, and the variation / voltage conversion circuit 1007 do not necessarily exist in the same LSI, and are replaced by input / output from an external chip. Needless to say, it can also be done.

以上、実施の各形態によるばらつき検出回路及びその補償方法は、例えばマイコンやプロセッサなどの論理回路主体の半導体集積回路に適用して特に有益な技術である。またこれに限らず、特性ばらつきの補償が必要な半導体集積回路に対して広く適用可能である。   As described above, the variation detection circuit and the compensation method thereof according to each embodiment are particularly useful techniques when applied to a semiconductor integrated circuit mainly composed of a logic circuit such as a microcomputer or a processor. The present invention is not limited to this, and can be widely applied to semiconductor integrated circuits that need to compensate for characteristic variations.

100、400、1000、1001 検出回路
101、1006 演算回路
104、1008、1009 リングオシレータ回路
106 タイマ回路
107 制御回路
108 第1選択回路
109 カウンタ回路
110 第2選択回路
111 レジスタ回路
112 統計処理回路
113、1007 ばらつき/電圧変換回路
200 RTNばらつき波形
300、301、302 LSI速度分布波形
401 半導体集積回路(LSI)
402 コントローラ
403 電源IC
404 集積回路の電源電圧
405 電源IC制御信号
500 NAND回路
501、603、803 インバータ回路
601、800 スイッチ回路
804 制御信号生成部
1002、1003 セレクタ回路
1004 周波数差分検出回路
1005 二乗和演算回路
1006 演算回路
1007 ばらつき/電圧変換回路
100, 400, 1000, 1001 Detection circuit 101, 1006 Arithmetic circuit 104, 1008, 1009 Ring oscillator circuit 106 Timer circuit 107 Control circuit 108 First selection circuit 109 Counter circuit 110 Second selection circuit 111 Register circuit 112 Statistical processing circuit 113, 1007 Variation / voltage conversion circuit 200 RTN variation waveform 300, 301, 302 LSI speed distribution waveform 401 Semiconductor integrated circuit (LSI)
402 Controller 403 Power supply IC
404 Power supply voltage of integrated circuit 405 Power supply IC control signal 500 NAND circuit 501, 603, 803 Inverter circuit 601, 800 Switch circuit 804 Control signal generator 1002, 1003 Selector circuit 1004 Frequency difference detection circuit 1005 Square sum operation circuit 1006 Operation circuit 1007 Variation / voltage conversion circuit

Claims (11)

遅延素子を用いた複数の発振回路を有する検出回路と、
前記検出回路に接続され、前記発振回路の発振数を一定の期間カウントするカウンタ回路と、
前記カウンタ回路に接続され、前記カウンタ回路を制御する制御信号を出力する制御回路と、
前記制御回路に接続され、前記制御信号の基準となるタイマ信号を前記制御回路に対して出力するタイマ回路と、
前記カウンタ回路に接続され、前記カウンタ回路のカウント結果を演算する演算回路と、を有し、
前記検出回路は第1発振回路を有し、
前記タイマ回路は前記カウンタ回路が前記第1発振回路の発振数を前記一定の期間カウントした後に所定の期間をおいて前記タイマ信号を出力し、
前記カウンタ回路は前記タイマ信号に基づき前記第1発振回路の発振数を前記一定の期間カウントし、
前記演算回路は前記第1発振回路における複数のカウント結果を統計演算する
ことを特徴とする半導体集積回路装置。
A detection circuit having a plurality of oscillation circuits using delay elements;
A counter circuit connected to the detection circuit and counting the number of oscillations of the oscillation circuit for a certain period;
A control circuit connected to the counter circuit and outputting a control signal for controlling the counter circuit;
A timer circuit connected to the control circuit and outputting a timer signal serving as a reference of the control signal to the control circuit;
An arithmetic circuit connected to the counter circuit and calculating a count result of the counter circuit,
The detection circuit includes a first oscillation circuit;
The timer circuit outputs the timer signal after a predetermined period after the counter circuit counts the number of oscillations of the first oscillation circuit for the certain period,
The counter circuit counts the number of oscillations of the first oscillation circuit based on the timer signal for the certain period,
The semiconductor integrated circuit device, wherein the arithmetic circuit statistically calculates a plurality of count results in the first oscillation circuit.
請求項1において、
前記複数の発振回路は、さらに第2発振回路を有し、
前記演算回路は、前記第1発振回路および前記第2発振回路における、前記カウンタ回路のカウント結果を統計演算する
ことを特徴とする半導体集積回路装置。
In claim 1,
The plurality of oscillation circuits further include a second oscillation circuit,
The semiconductor integrated circuit device, wherein the arithmetic circuit statistically calculates a count result of the counter circuit in the first oscillation circuit and the second oscillation circuit.
請求項2において、
前記カウンタ回路に接続され、前記複数回動作させた前記カウンタ回路から出力される、複数のカウント結果を保持するレジスタ回路と、を有する、
ことを特徴とする半導体集積回路装置。
In claim 2,
A register circuit that is connected to the counter circuit and is output from the counter circuit operated a plurality of times, and holds a plurality of count results.
A semiconductor integrated circuit device.
請求項3において、
前記演算回路は、前記レジスタ回路に接続され、前記複数のカウント結果を統計演算する演算回路である
ことを特徴とする半導体集積回路装置。
In claim 3,
The semiconductor integrated circuit device, wherein the arithmetic circuit is an arithmetic circuit that is connected to the register circuit and statistically calculates the plurality of count results.
請求項4において、
前記演算回路は
前記カウント結果により統計演算されるばらつき電圧と、前記ばらつき電圧を補償する電源電圧と、前記外部電源に対する制御信号値と、が対応付けられている情報が保持されている
ことを特徴とする半導体集積回路装置。
In claim 4,
The arithmetic circuit holds information in which a variation voltage statistically calculated based on the count result, a power supply voltage that compensates for the variation voltage, and a control signal value for the external power supply are associated with each other. A semiconductor integrated circuit device.
請求項5において、
前記演算回路は外部電源に対して電圧を可変させる信号を出力し、
前記半導体集積回路装置は前記外部電源より前記可変の電圧を供給される
ことを特徴とする半導体集積回路装置。
In claim 5,
The arithmetic circuit outputs a signal for varying the voltage to an external power source,
The semiconductor integrated circuit device is supplied with the variable voltage from the external power supply.
請求項4において、
前記演算部は
複数のカウント結果における互いの差分を求める差分検出回路と、
前記差分に基づき、標準偏差または分散を求める二乗和計算回路と、を有する
ことを特徴とする半導体集積回路装置。
In claim 4,
The arithmetic unit is a difference detection circuit for obtaining a difference between a plurality of count results,
And a sum of squares calculation circuit for obtaining a standard deviation or variance based on the difference.
請求項2において、
前記第2発振回路は前記第1発振回路の近傍に設置されている
ことを特徴とする半導体集積回路装置。
In claim 2,
The semiconductor integrated circuit device, wherein the second oscillation circuit is disposed in the vicinity of the first oscillation circuit.
請求項1において、
前記複数の発振回路は、インバータ回路を有するリングオシレータである
ことを特徴とする半導体集積回路装置。
In claim 1,
The semiconductor integrated circuit device, wherein the plurality of oscillation circuits are ring oscillators having inverter circuits.
請求項9において、
前記第1発振回路に入力される電圧は前記リングオシレータにおける前段のインバータ回路の入力信号の入力電圧よりも高い電圧が入力される
ことを特徴とする半導体集積回路装置。
In claim 9,
The semiconductor integrated circuit device according to claim 1, wherein a voltage input to the first oscillation circuit is higher than an input voltage of an input signal of an inverter circuit at a preceding stage in the ring oscillator.
請求項9において、
前記第1発振回路に入力される電圧は前記リングオシレータにおける前段のインバータ回路の入力信号の入力電圧よりも低い電圧が入力される
ことを特徴とする半導体集積回路装置。
In claim 9,
The semiconductor integrated circuit device according to claim 1, wherein a voltage input to the first oscillation circuit is lower than an input voltage of an input signal of an inverter circuit at a preceding stage in the ring oscillator.
JP2011073878A 2011-03-30 2011-03-30 Semiconductor integrated circuit device Expired - Fee Related JP5557783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011073878A JP5557783B2 (en) 2011-03-30 2011-03-30 Semiconductor integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011073878A JP5557783B2 (en) 2011-03-30 2011-03-30 Semiconductor integrated circuit device

Publications (2)

Publication Number Publication Date
JP2012209420A true JP2012209420A (en) 2012-10-25
JP5557783B2 JP5557783B2 (en) 2014-07-23

Family

ID=47188924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011073878A Expired - Fee Related JP5557783B2 (en) 2011-03-30 2011-03-30 Semiconductor integrated circuit device

Country Status (1)

Country Link
JP (1) JP5557783B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013254533A (en) * 2012-06-05 2013-12-19 Hitachi Ltd Semiconductor integrated circuit device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011323A (en) * 2006-06-30 2008-01-17 Matsushita Electric Ind Co Ltd Operating speed detection apparatus
JP2008503883A (en) * 2004-06-16 2008-02-07 トランスメータ・コーポレーション System and method for measuring time-dependent breakdown
JP2008124406A (en) * 2006-11-16 2008-05-29 Fujitsu Ltd Semiconductor integrated circuit
JP2009008681A (en) * 2007-06-26 2009-01-15 Dongbu Hitek Co Ltd Measuring device for improving performance of standard cell library
JP2010087275A (en) * 2008-09-30 2010-04-15 Panasonic Corp Semiconductor integrated circuit and electronic device
JP2010109115A (en) * 2008-10-30 2010-05-13 Renesas Technology Corp On-chip type monitor circuit and semiconductor device
WO2011086884A1 (en) * 2010-01-15 2011-07-21 国立大学法人 奈良先端科学技術大学院大学 Method and program for generating test pattern for semiconductor integrated circuit, and computer-readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008503883A (en) * 2004-06-16 2008-02-07 トランスメータ・コーポレーション System and method for measuring time-dependent breakdown
JP2008011323A (en) * 2006-06-30 2008-01-17 Matsushita Electric Ind Co Ltd Operating speed detection apparatus
JP2008124406A (en) * 2006-11-16 2008-05-29 Fujitsu Ltd Semiconductor integrated circuit
JP2009008681A (en) * 2007-06-26 2009-01-15 Dongbu Hitek Co Ltd Measuring device for improving performance of standard cell library
JP2010087275A (en) * 2008-09-30 2010-04-15 Panasonic Corp Semiconductor integrated circuit and electronic device
JP2010109115A (en) * 2008-10-30 2010-05-13 Renesas Technology Corp On-chip type monitor circuit and semiconductor device
WO2011086884A1 (en) * 2010-01-15 2011-07-21 国立大学法人 奈良先端科学技術大学院大学 Method and program for generating test pattern for semiconductor integrated circuit, and computer-readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013254533A (en) * 2012-06-05 2013-12-19 Hitachi Ltd Semiconductor integrated circuit device

Also Published As

Publication number Publication date
JP5557783B2 (en) 2014-07-23

Similar Documents

Publication Publication Date Title
JP6013221B2 (en) Integrated circuit device
US8330478B2 (en) Operating parameter monitoring circuit and method
TWI548886B (en) Aging detection circuit and method thereof
US8629694B1 (en) Method and apparatus of voltage scaling techniques
US8390313B2 (en) Semiconductor integrated circuit device
JP2011066791A (en) Semiconductor integrated circuit device, and power supply voltage control method
JP5180169B2 (en) Semiconductor integrated circuit
JPWO2007026670A1 (en) Semiconductor integrated circuit
JP2008028854A (en) Clock generator
US10809793B2 (en) Power control method and apparatus for low power system of electronic device
US20150300890A1 (en) On-chip temperature sensing device
JP2011047733A (en) Deterioration detection circuit, deterioration detection system, and deterioration detection method
TW201334386A (en) Regulated power supply voltage for digital circuits
JP5557783B2 (en) Semiconductor integrated circuit device
JPH04373009A (en) Phase control method for clock signal
JP5088134B2 (en) Signal measuring device
JP2008180635A (en) Semiconductor device
JP5656760B2 (en) Semiconductor integrated circuit device
JP2005070045A (en) System and method for measuring current
TWI669583B (en) Method for controlling current flowing into circuit module and associated chip
JP2008011323A (en) Operating speed detection apparatus
US7069459B2 (en) Clock skew reduction technique based on distributed process monitors
JP2005249526A (en) Semiconductor device inspection method, semiconductor device inspection device, and semiconductor device
CN111103522B (en) Chip and efficiency monitoring method
TWI788945B (en) Current load circuit and chip for testing power supply circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140213

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: 20140507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140603

LAPS Cancellation because of no payment of annual fees