US9128146B2 - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit Download PDF

Info

Publication number
US9128146B2
US9128146B2 US13/422,561 US201213422561A US9128146B2 US 9128146 B2 US9128146 B2 US 9128146B2 US 201213422561 A US201213422561 A US 201213422561A US 9128146 B2 US9128146 B2 US 9128146B2
Authority
US
United States
Prior art keywords
ring oscillator
inv
delay
duty cycle
stage inverter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US13/422,561
Other versions
US20130147501A1 (en
Inventor
Toshiyuki Yamagishi
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Assigned to KABUSHIKI KAISHA TOSHIBA reassignment KABUSHIKI KAISHA TOSHIBA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: YAMAGISHI, TOSHIYUKI
Publication of US20130147501A1 publication Critical patent/US20130147501A1/en
Application granted granted Critical
Publication of US9128146B2 publication Critical patent/US9128146B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • G01R31/2884Testing of integrated circuits [IC] using dedicated test connectors, test elements or test circuits on the IC under test
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/31725Timing aspects, e.g. clock distribution, skew, propagation delay
    • G01R31/31726Synchronization, e.g. of test, clock or strobe signals; Signals in different clock domains; Generation of Vernier signals; Comparison and adjustment of the signals

Definitions

  • Embodiments described herein relate generally to a semiconductor integrated circuit.
  • a substrate voltage control technique is effective for securing a margin of operating frequency of and ensuring power consumption of a digital circuit.
  • This is a technique that reduces variations in the characteristics of devices by changing the substrate voltages of chips whose operating frequency and power consumption deviate from the specifications, and aims to obtain characteristics close to the specifications.
  • a variation reduction method for an analog circuit depends on the content of each circuit. As an example, in terms of a digital-to-analog converter, if a reference voltage generation circuit cannot reduce variations in the characteristics of PMOS transistors and NMOS transistors, the amplitude of an output depends on the characteristic variation and varies.
  • a digital code inputted to the digital-to-analog converter is multiplied in advance by a correction parameter in accordance with the characteristic variations of PMOS and NMOS transistors; accordingly, the influence of the characteristic variations can be reduced. It is necessary to separately estimate the characteristic variations of PMOS and NMOS transistors for each chip in order to execute the correction process.
  • FIG. 1 is a view illustrating the configuration of an on-chip measurement circuit in a first embodiment
  • FIG. 2 is a view illustrating the configuration of a ring oscillator in the first embodiment
  • FIG. 3 is a view illustrating the configuration of a delay element in the first embodiment
  • FIG. 4 is a view illustrating the operation of a duty cycle counter in the first embodiment
  • FIG. 5 is a view illustrating operations related to frequency measurement in the first embodiment
  • FIG. 6 is a view illustrating operations related to duty cycle measurement in the first embodiment
  • FIGS. 7A and 7B are views illustrating the principle of the duty cycle measurement in the first embodiment
  • FIGS. 8A , 8 B and 8 C are views illustrating the effects by the first embodiment
  • FIG. 9 is a view illustrating a mode of implementing the on-chip measurement circuit on a semiconductor integrated circuit in the first embodiment
  • FIG. 10 is a view illustrating the configuration of a delay element in a modification of the first embodiment
  • FIG. 11 is a view illustrating the configuration of a delay element in a modification of the first embodiment
  • FIG. 12 is a view illustrating the configuration of a delay element in a modification of the first embodiment
  • FIG. 13 is a view illustrating the configuration of a delay element in a modification of the first embodiment
  • FIG. 14 is a view illustrating the configuration of a delay element in a modification of the first embodiment
  • FIG. 15 is a view illustrating the configuration of an on-chip measurement circuit in a second embodiment
  • FIG. 16 is a view illustrating the operation of a buffer line in the second embodiment
  • FIGS. 17A and 17B are views illustrating the configurations of a ring oscillator and a delay element in a modification of the second embodiment
  • FIG. 18 is a view illustrating the configuration of a ring oscillator in a third embodiment
  • FIG. 19 is a view illustrating the configuration of an on-chip measurement circuit in a fourth embodiment
  • FIG. 20 is a view illustrating the configuration of an on-chip measurement circuit in a fifth embodiment
  • FIG. 21 is a view illustrating the operation of a duty cycle counter in the fifth embodiment
  • FIG. 22 is a view illustrating operations related to frequency measurement in the fifth embodiment.
  • FIG. 23 is a view illustrating the operation of a buffer line in the fifth embodiment.
  • a semiconductor integrated circuit including an on-chip measurement circuit.
  • the measurement circuit includes a buffer line, a ring oscillator, a first measurement unit measuring a duty cycle of a periodic pulse output from the buffer line, and a second measurement unit measuring a frequency of a periodic pulse output from the ring oscillator.
  • the buffer line including a plurality of delay elements connected in series.
  • Each of the plurality of delay elements includes a former-stage inverter unit including a PMOS transistor and an NMOS transistor and having a first delay amount, and a latter-stage inverter unit including a PMOS transistor and an NMOS transistor and having a second delay amount different from the first delay amount.
  • the semiconductor integrated circuit 1 is a circuit mounted on one semiconductor substrate (semiconductor chip), and includes a predetermined circuit, such as a digital circuit, an analog circuit, and a digital-to-analog converter, as well as includes an on-chip measurement circuit 100 mounted on the same semiconductor substrate (semiconductor chip) as the predetermined circuit.
  • the predetermined circuit and the on-chip measurement circuit 100 include PMOS and NMOS transistors manufactured by processes similar to each other.
  • the operating frequency and power consumption of the predetermined circuit may deviate from specified ranges.
  • an input signal to the predetermined circuit is multiplied in advance by a correction parameter in accordance with the characteristic variations of PMOS and NMOS transistors; accordingly, the influence of the characteristic variations can be reduced. It is necessary to separately estimate the characteristic variations of PMOS and NMOS transistors for each chip in order to execute the correction process.
  • the on-chip measurement circuit 100 is mounted on the same semiconductor substrate (semiconductor chip) as the predetermined circuit to obtain parameters for separately estimating the characteristic variations of the PMOS and NMOS transistors.
  • FIG. 1 is a view illustrating the configuration of the on-chip measurement circuit 100 .
  • the measurement circuit 100 includes a unit to be measured 10 , a first measurement unit 20 , and a second measurement unit 30 .
  • the unit to be measured 10 is a measurement target for obtaining parameters for separately estimating the characteristic variations of the PMOS and NMOS transistors.
  • the unit to be measured 10 includes a ring oscillator 101 and a buffer line 105 .
  • the ring oscillator 101 includes a buffer line 105 therein. If an enable signal stays at an active level for a predetermined time or longer, the ring oscillator 101 generates a periodic pulse in a first cycle, delays the generated periodic pulse at the buffer line 105 , and outputs the delayed periodic pulse.
  • the delayed periodic pulse has a waveform with a frequency and a duty cycle, which are dependent on a source-drain current I drP of the PMOS transistor and a source-drain current I drN of the NMOS transistor. If the enable signal is changed to a non-active level, the ring oscillator 101 stops the operation of generating periodic pulses.
  • the first measurement unit 20 measures the duty cycle of the waveform of the periodic pulse output from the unit to be measured 10 .
  • the first measurement unit 20 includes a sampling flip-flop 102 and a duty cycle counter 103 .
  • the sampling flip-flop 102 and the duty cycle counter 103 operate in synchronization with sampling clocks received from the outside (for example, a clock generation unit 142 shown in FIG. 9 ).
  • the sampling clock is a periodic pulse having a second cycle that is asynchronous to the first cycle.
  • the cycle of the sampling clock may be longer than the cycle of the periodic pulse output from the unit to be measured 10 or may be shorter than the cycle of the periodic pulse output from the unit to be measured 10 .
  • the sampling flip-flop 102 maintains the level of the periodic pulse output from the unit to be measured 10 in synchronization with the sampling clock.
  • the duty cycle counter 103 counts the number of times that the level maintained by the sampling flip-flop 102 is an H level (the number of H levels) in synchronization with the sampling clock.
  • the duty cycle counter 103 outputs the number of H levels to a subsequent stage (for example, an estimation unit 144 shown in FIG. 9 ) as a value indicating the duty cycle.
  • the sampling flip-flop 102 and the duty cycle counter 103 are reset if receiving a reset signal at the active level from the outside (for example, a controller 143 shown in FIG. 9 ), and the reset is cancelled if the sampling flip-flop 102 and the duty cycle counter 103 receive a reset signal at the non-active level.
  • the second measurement unit 30 measures the frequency of the periodic pulse output from the unit to be measured 10 .
  • the second measurement unit 30 includes a frequency counter 104 .
  • the frequency counter 104 is reset if receiving a reset signal from the outside (for example, the controller 143 shown in FIG. 9 ), and the reset is cancelled if the frequency counter 104 receives a reset signal at the non-active level.
  • the frequency counter 104 counts the number of pulses of the periodic pulse output from the unit to be measured 10 , for a fixed time within a period from the timing of the reset cancellation to the timing of the next reset.
  • the frequency counter 104 outputs the number of pulses to the subsequent stage (for example, the estimation unit 144 shown in FIG. 9 ) as a value indicating the frequency.
  • FIG. 2 is a view illustrating the internal configuration of the ring oscillator 101 .
  • the ring oscillator 101 includes a NAND circuit 106 and the buffer line 105 , for example.
  • a plurality of delay buffers (a plurality of delay elements) 107 - 1 to 107 -K is connected in series in the buffer line 105 .
  • An input terminal 106 a of the NAND circuit 106 is supplied with an enable signal via a line L 3 , and an input terminal 106 b thereof is connected to an output terminal of the delay buffer 107 -K at the final stage in the buffer line 105 via a line L 2 .
  • An output terminal of the NAND circuit 106 is connected to an input terminal of the buffer line 105 .
  • An output terminal of (the delay buffer 107 -K at the final stage in) the buffer line 105 is connected to the first measurement unit 20 and the second measurement unit 30 (see FIG. 1 ) via a line L 1 , and is connected to the input terminal of the NAND circuit 106 via the line L 2 .
  • the NAND circuit 106 and the plurality of delay buffers 107 - 1 to 107 -K are connected in a ring shape.
  • the NAND circuit 106 is a control gate of the ring oscillator 101 , and inverts the output of the ring oscillator 101 to feed back an enable signal to the first of the ring oscillator when the enable signal is at the H level, and accordingly causes oscillation, and stops oscillation when the enable signal is at the L level.
  • the plurality of delay buffers 107 - 1 to 107 -K is connected to the subsequent stage of the NAND circuit 106 .
  • each delay buffer 107 two inverter units INV 1 and INV 2 are connected in series between an input node N 1 and an output node N 2 via a connection node N 3 as shown in FIG. 3 , for example.
  • Each of the inverter units INV 1 and INV 2 includes a PMOS transistor and an NMOS transistor.
  • the values of the delay amounts of the former-stage inverter unit INV 1 and the latter-stage inverter unit INV 2 are set to be different; accordingly, it is possible to make rising and falling delays by the delay buffer 107 dependent on I drN and I drP , respectively.
  • the delay amount of the former-stage inverter unit INV 1 is designed to be larger than the delay amount of the latter-stage inverter unit INV 2 , currents flow through the NMOS transistor of the former-stage inverter unit INV 1 and the PMOS transistor of the latter-stage inverter unit INV 2 , respectively, as shown in FIG. 7A , when the output waveform of the delay buffer 107 rises from the L level to the H level.
  • the delay amount of the former-stage inverter unit INV 1 is designed to be larger than the delay amount of the latter-stage inverter unit INV 2 , the drain current of the NMOS transistor of the former-stage inverter unit INV 1 is less than the drain current of the PMOS transistor of the latter-stage inverter unit INV 2 as shown by outline arrows in FIG. 7A .
  • the influence of the NMOS transistor of the former-stage inverter unit INV 1 becomes dominant over a rising delay by the delay buffer 107 .
  • the rising delay by the delay buffer 107 is mainly dependent on the drain current I drN of the NMOS transistor.
  • the delay amount of the former-stage inverter unit INV 1 is designed to be larger than the delay amount of the latter-stage inverter unit INV 2 , currents flow through the PMOS transistor of the former-stage inverter unit INV 1 and the NMOS transistor of the latter-stage inverter unit INV 2 , respectively, as shown in FIG. 7B , when the output waveform of the delay buffer 107 falls from the H level to the L level.
  • the delay amount of the former-stage inverter unit INV 1 is designed to be larger than the delay amount of the latter-stage inverter unit INV 2 , the drain current of the PMOS transistor of the former-stage inverter unit INV 1 is less than the drain current of the NMOS transistor of the latter-stage inverter unit INV 2 as shown by outline arrows in FIG. 7B .
  • the influence of the PMOS transistor of the former-stage inverter unit INV 1 becomes dominant over a falling delay by the delay buffer 107 .
  • the falling delay by the delay buffer 107 is mainly dependent on the drain current I drP of the PMOS transistor.
  • the delay buffer 107 that makes the delay mount of the former-stage inverter unit INV 1 larger than the delay mount of the latter-stage inverter unit INV 2 may be configured similarly to FIG. 3 , for example.
  • the delay buffer 107 shown in FIG. 3 is one where the former-stage inverter unit INV 1 has been changed in the current drive capability from the latter-stage inverter unit INV 2 .
  • the current drive capability of the former-stage inverter unit INV 1 has been changed to be smaller than the current drive capability of the latter-stage inverter unit INV 2 .
  • a PMOS transistor 121 - 1 and an NMOS transistor 122 - 1 are connected as an inverter in the inverter INV 21 .
  • An input terminal of the inverter INV 22 is connected to the connection node N 3 , and an output terminal thereof is connected to the output node N 2 .
  • a PMOS transistor 121 - 2 and an NMOS transistor 122 - 2 are connected as an inverter in the inverter INV 22 .
  • An input terminal of the inverter INV 23 is connected to the connection node N 3 , and an output terminal thereof is connected to the output node N 2 .
  • a PMOS transistor 121 - 3 and an NMOS transistor 122 - 3 are connected as an inverter in the inverter INV 23 .
  • the NMOS transistor 112 charges the gates of a total of six devices of the PMOS transistors 121 - 1 to 121 - 3 and the NMOS transistors 122 - 1 to 122 - 3 , three devices of the PMOS transistors 121 - 1 to 121 - 3 charge two devices of the PMOS transistor 111 and the NMOS transistor 112 of the delay buffer 107 in the next stage via the output node N 2 .
  • the delay times of the inverters INV 11 , INV 21 , INV 22 , and INV 23 are proportional to gate capacitance and are inversely proportional to current, a delay at the former stage is nine times longer than that at the latter stage, and a rising delay time is largely dependent on the value of the current through the NMOS transistor 112 . Similarly, a falling delay time is largely dependent on the current through the PMOS transistor 111 .
  • the second row from the top in FIG. 4 shows the waveform of a sampling clock.
  • the third row from the top in FIG. 4 shows a sampling result by the sampling flip-flop 102 .
  • the duty cycle counter 103 is a counter (H level counter) that counts up at the rising edge of a sampling clock if the result of the output of the sampling flip-flop 102 is at the H level, and maintains the value if at the L level.
  • Such operations are performed for a fixed time or longer, and the number of inputted sampling clocks is compared with the value of the duty cycle counter (the number of H levels); accordingly, it is possible to obtain the duty cycle of the output waveform of the ring oscillator 101 .
  • the duty cycle has only a resolution of the extent of the inverse of the integer.
  • the system clock of the semiconductor integrated circuit 1 is used for a sampling clock, or an oscillator for generating sampling clocks is mounted separately from the ring oscillator 101 .
  • the clock generation unit 142 shown in FIG. 9 may be a circuit that generates system clocks, or may be an oscillator for generating sampling clocks.
  • the frequency counter 104 counts the frequency of the output waveform (periodic pulse) of the ring oscillator 101 .
  • the frequency counter 104 should count the number of rising edges of the output (periodic pulse) of the ring oscillator 101 over a fixed time T.
  • the duty cycle counter 103 performs the count-up operation in accordance with the duty cycle of the output (periodic pulse) of the ring oscillator 101 as shown in FIG. 6 .
  • a total of sampling clocks are N S .
  • a reset signal is set to L, and the values of the duty cycle counter 103 , the frequency counter 104 , and the sampling flip-flop 102 are reset.
  • a frequency F and a duty cycle D are obtained from the measurement time T, the number of sampling clocks, N S , the duty cycle counter value N D , and the frequency counter value N F as in the following mathematical expressions 1 and 2.
  • F N F /T Mathematical Expression 1
  • D N D /N S Mathematical Expression 2
  • FIG. 8A shows the frequency contour lines of the drain current of the NMOS transistor and the drain current of the PMOS transistor, and the frequency tends to be high if a total value of the drain current of the NMOS transistor and the drain current of the PMOS transistor is large, and the frequency tends to be low if the total value is small.
  • FIG. 8A shows the frequency contour lines of the drain current of the NMOS transistor and the drain current of the PMOS transistor, and the frequency tends to be high if a total value of the drain current of the NMOS transistor and the drain current of the PMOS transistor is large, and the frequency tends to be low if the total value is small.
  • the use of two parameters of the frequency and the duty cycle makes it possible to estimate the drain current of the NMOS transistor and the drain current of the PMOS transistor independently of each other as shown in FIG. 8C .
  • the relationship between these current values, the frequency and the duty cycle is determined, complicatedly intertwined with various factors; accordingly, rather than converting some model into numbers, it is preferable to take data on the frequency, the duty cycle and the currents of numerous sample chips of the semiconductor integrated circuit 1 , and perform fitting based on the data to calculate values.
  • analog operations are not necessary in the configuration of the first embodiment; accordingly, it is possible to configure the on-chip measurement unit 100 with digital circuits alone.
  • the number of output signals of the ring oscillator 101 itself is one, and therefore it is possible to expect further space saving with the LSI configuration shown in FIG. 9 .
  • FIG. 9 is a view illustrating a mode of implementing the measurement circuit 100 according to the first embodiment on the semiconductor integrated circuit 1 (as a one-chip LSI).
  • the current values may vary also by location on the chip; accordingly, a plurality of ring oscillators 101 and 101 a is mounted to monitor currents at the respective locations. In this case, it is necessary for the ring oscillators 101 and 101 a to be mounted in the respective locations; however, a measurement block 150 including the sampling flip-flop 102 , the duty cycle counter 103 , and the frequency counter 104 can be shared.
  • a switching block 141 is disposed between the plurality of ring oscillators 101 and 101 a and the measurement block 150 , and the plurality of ring oscillators 101 and 101 a are sequentially connected by the switching block 141 to the measurement block 150 to measure.
  • a plurality of signal lines is placed for the long distance between the ring oscillators 101 and 101 a , and the measurement block 150 ; signals transmitted on these signal lines may be deteriorated due to crosstalk.
  • the number of outputs of each of the ring oscillators 101 and 101 a is one as in the first embodiment, it is an advantage to have no such a possibility.
  • the clock generation unit 142 configured to supply sampling clocks
  • the controller 143 configured to supply enable signals and reset signals, and the like may be disposed around the measurement block 150 .
  • the estimation unit 144 configured to receive the measurement results of the duty cycle and the frequency output from the measurement block 150 may be further disposed around the measurement block 150 .
  • the estimation unit 144 receives sampling clocks from the clock generation unit 142 and counts the number of clocks as well as uses the measurement results of the duty cycle and the frequency to obtain the duty cycle D and the frequency F, for example from the mathematical expressions 2 and 1, and accordingly performs the processes shown in FIGS. 8A to 8C to estimate the drain current of the NMOS transistor and the drain current of the PMOS transistor independently of each other.
  • a correction unit 145 configured to receive the estimation results by the estimation unit 144 may be further disposed around the estimation unit 144 .
  • the correction unit 145 uses the estimation results by the estimation unit 144 to obtain a correction parameter in accordance with the characteristic variations of the PMOS and NMOS transistors.
  • the correction unit 145 then multiplies an input signal to a predetermined circuit by the correction parameter. Accordingly, the influence of the characteristic variations of the PMOS and NMOS transistors in the operation of the predetermined circuit can be reduced.
  • a delay buffer 107 i that makes the delay amount of a former-stage inverter unit INV 1 i larger than the delay amount of a latter-stage inverter unit INV 2 i may be configured as shown in FIG. 10 , for example.
  • the delay buffer 107 i shown in FIG. 10 may be configured as shown in FIG. 10 , for example.
  • the number of inverters of the former-stage inverter unit INV 1 i is made equal to the number of inverters of the latter-stage inverter unit INV 2 i , and the gate lengths of the former-stage inverter unit INV 1 i are made longer than the gate lengths of the latter-stage inverter unit INV 2 i ; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV 1 i larger than the delay amount of the latter-stage inverter unit INV 2 i .
  • a gate length Lp 1 of a PMOS transistor 111 i of an inverter INV 11 i of the former-stage inverter unit INV 1 i is longer than a gate length Lp 2 of a PMOS transistor 121 - 1 of an inverter INV 21 of the latter-stage inverter unit INV 2 i .
  • a gate length Ln 1 of an NMOS transistor 112 i of the inverter INV 11 i of the former-stage inverter unit INV 1 i is longer than a gate length Ln 2 of an NMOS transistor 122 - 1 of the inverter INV 21 of the latter-stage inverter unit INV 2 i.
  • a delay buffer 107 j that makes the delay amount of a former-stage inverter INV 1 j larger than the delay amount of a latter-stage inverter unit INV 2 j may be configured as shown in FIG. 11 , for example.
  • a delay buffer 107 j shown in FIG. 11 may be configured as shown in FIG. 11 , for example.
  • the number of inverters of the former-stage inverter unit INV 1 j is made equal to the number of inverters of the latter-stage inverter unit INV 2 j , and the gate insulating film thicknesses of the former-stage inverter unit INV 1 j are made thicker than the gate insulating film thicknesses of the latter-stage inverter unit INV 2 i ; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV 1 j larger than the delay amount of the latter-stage inverter unit INV 2 j .
  • a gate insulating film thickness Dp 1 of a PMOS transistor 111 j of an inverter INV 11 j of the former-stage inverter unit INV 1 j is thicker than a gate insulating film thickness Dp 2 of a PMOS transistor 121 - 1 of an inverter INV 21 of the latter-stage inverter unit INV 2 j .
  • a gate insulating film thickness Dn 1 of an NMOS transistor 112 j of the inverter INV 11 j of the former-stage inverter unit INV 1 j is thicker than a gate insulating film thickness Dn 2 of an NMOS transistor 122 - 1 of the inverter INV 21 of the latter-stage inverter unit INV 2 j.
  • a delay buffer 107 k that makes the delay amount of a former-stage inverter unit INV 1 k larger than the delay amount of a latter-stage inverter unit INV 2 k may be configured as shown in FIG. 12 , for example.
  • a delay buffer 107 k shown in FIG. 12 may be configured as shown in FIG. 12 , for example. In the delay buffer 107 k shown in FIG.
  • the number of inverters of the former-stage inverter unit INV 1 k is made equal to the number of inverters of the latter-stage inverter unit INV 2 k , and the gate widths of the former-stage inverter unit INV 1 k are made narrower than the gate widths of the latter-stage inverter unit INV 2 k ; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV 1 k larger than the delay amount of the latter-stage inverter unit INV 2 k .
  • a gate width Wp 1 of a PMOS transistor 111 k of an inverter INV 11 k of the former-stage inverter unit INV 1 k is narrower than a gate width Wp 2 of a PMOS transistor 121 - 1 of an inverter INV 21 of the latter-stage inverter unit INV 2 k .
  • a gate width Wn 1 of an NMOS transistor 112 k of the inverter INV 11 k of the former-stage inverter unit INV 1 k is narrower than a gate width Wn 2 of an NMOS transistor 122 - 1 of the inverter INV 21 of the latter-stage inverter unit INV 2 k.
  • the number of inverters of the former-stage inverter unit INV 1 p is made equal to the number of inverters of the latter-stage inverter unit INV 2 p , and the back gate biases of the former-stage inverter unit INV 1 p are selectively reverse-biased; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV 1 p larger than the delay amount of the latter-stage inverter unit INV 2 p .
  • a back gate bias V BP of a PMOS transistor 111 p of an inverter INV 11 p of the former-stage inverter unit INV 1 p is reverse-biased, but a back gate bias of a PMOS transistor 121 - 1 of an inverter INV 21 of the latter-stage inverter unit INV 2 p , in contrast, is forward-biased.
  • a back gate bias V BN of an NMOS transistor 112 p of the inverter INV 11 p of the former-stage inverter unit INV 1 p is reverse-biased, but a back gate bias of an NMOS transistor 122 - 1 of the inverter INV 21 of the latter-stage inverter unit INV 2 p , in contrast, is forward-biased.
  • a delay buffer 107 q that makes the delay amount of a former-stage inverter INV 1 q larger than the delay amount of a latter-stage inverter unit INV 2 q may be configured as shown in FIG. 14 , for example.
  • a delay buffer 107 q shown in FIG. 14 may be configured as shown in FIG. 14 , for example. In the delay buffer 107 q shown in FIG.
  • the number of inverters of the former-stage inverter unit INV 1 q is made equal to the number of inverters of the latter-stage inverter unit INV 2 q , and a load device is selectively added to an output side of the former-stage inverter unit INV 1 p ; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV 1 q larger than the delay amount of the latter-stage inverter unit INV 2 q .
  • a capacitive element is connected, as a load device LD, between a line L 13 between an output terminal of an inverter INV 11 of the former-stage inverter unit INV 1 q and the connection node N 3 , and a ground potential gnd.
  • the number of stages of delay buffers in the ring oscillator 201 is denoted by K R
  • the number of stages of delay buffers in the buffer line 105 is denoted by K L .
  • the delay buffer in the ring oscillator 201 is one where a former-stage inverter unit has been changed in the delay amount from a latter-stage inverter unit, similarly to the one in the first embodiment.
  • a deviation from 50% in the duty cycle of the output of the ring oscillator 201 is denoted by D′ R
  • a deviation D′ L from 50% in the duty cycle of the output (periodic pulse) of the buffer line 105 is obtained as in the following mathematical expression 3.
  • D′ L (2 ⁇ K L /K R +1) ⁇ D′ R
  • the deviation D′ R from 50% in the duty cycle of the output of the ring oscillator 201 satisfies a mathematical expression 4.
  • D′R t fall /( t rise +t fall ) ⁇ 1 ⁇ 2 Mathematical expression 4 This indicates that the deviation from 50% in the duty cycle is amplified (2 ⁇ K L /K R +1) times by the buffer line 105 .
  • An input terminal 309 a of the AND circuit 309 is connected to an output terminal of the delay buffer 208 -K 1 at an intermediate stage (for example, a K 1 -th stage) via a line L 4 , and an input terminal 309 b thereof is connected to an output terminal of the delay buffer 208 -K R at the final stage (for example, a K R -th stage). Accordingly, the AND circuit 309 computes the AND of the output of the delay buffer 208 -K R at the final stage and the output of the delay buffer 208 -K 1 at the intermediate stage in the plurality of delay buffers 208 - 1 to 208 -K R to output the computation result to the buffer line 105 via a line L 1 .
  • each delay buffer 208 should have an equal delay amount between the former-stage inverter unit and the latter-stage inverter unit as shown in FIG. 17B . Assuming that the AND is taken between the output of the delay buffer 208 -K 1 at the K 1 -th stage and the output of the delay buffer 208 -K R at the final stage, the delay buffers being shown in FIG.
  • the AND circuit 309 computes the AND of the outputs of the delay buffer 208 -K R at the final stage and the delay buffer 208 -K 1 at the intermediate stage in the plurality of delay buffers 208 - 1 to 208 -K R to output the computation result to the buffer line 105 via the line L 1 .
  • the initial duty cycle output from the ring oscillator 301 can be set to a value smaller than 50%, and therefore it is possible amplify the duty cycle of a periodic pulse by the buffer line 105 in a state where a dynamic range for amplification is secured (for example, in an area where the first measurement unit 20 can measure easily).
  • the buffer line 105 may be included in the ring oscillator 301 .
  • all or a consecutive part of the plurality of delay buffers 208 - 1 to 208 -K R in the ring oscillator 301 may serve as the buffer line 105 .
  • the AND circuit 309 of the ring oscillator 301 outputs the computation result to the first measurement unit 20 and the second measurement unit.
  • the sampling flip-flop 402 maintains the level of the periodic pulse output from the unit to be measured 210 in synchronization with the sampling clock (periodic pulse) output from the ring oscillator 460 .
  • the H level counter 413 counts the number of times that the level maintained by the sampling flip-flop 402 is the H level (the number of H levels) in synchronization with the sampling clock (periodic pulse) output from the ring oscillator 460 .
  • the L level counter 414 counts the number of times that the level maintained by the sampling flip-flop 402 is the L level (the number of L levels) in synchronization with the sampling clock (periodic pulse) output from the ring oscillator 460 .
  • the H level counter 413 and the L level counter 414 output the numbers of H levels and L levels to the subsequent stage as values indicating the duty cycle and the frequency of the periodic pulse.
  • N H denotes the number of counts after measurement by the H level counter 413
  • N L denotes the number of counts after measurement by the L level counter 414
  • the frequency F at this time is the frequency of not the ring oscillator 201 but the ring oscillator 460 .
  • a method for obtaining the currents of the PMOS and NMOS transistors from the frequency F and the duty cycle D is similar to that of the first embodiment.
  • the configuration for measuring the duty cycle of a periodic pulse and the configuration for measuring the frequency of a periodic pulse are shared; accordingly, it is possible to easily reduce the area of the circuit.
  • a periodic pulse generated in the unit to be measured is delayed by the buffer line 105 in the first to fourth embodiments
  • a periodic pulse received from the outside of the unit to be measured, that is, an external clock is delayed by a buffer line 505 in the fifth embodiment.
  • the buffer line 505 of a unit to be measured 510 receives an external clock from the outside (for example, the clock generation unit 142 shown in FIG. 9 ).
  • a clock signal used in an integrated circuit is generally generated so as to have a duty cycle of approximately 50%. If an external clock with a 50% duty cycle passes through the buffer line 505 , the frequency remains the same; however, the external clock becomes a clock signal with a duty cycle in accordance with the characteristic difference between the PMOS and NMOS transistors. This duty cycle is measured by the sampling F/F 502 and the duty cycle counter 503 .
  • the measurement method is similar to those in the first to fourth embodiments, but is different from those in the first to third embodiments and is similar to the one in the fourth embodiment in respect that the sampling clocks of the sampling F/F 502 and the duty cycle counter 503 are supplied from the ring oscillator 460 .
  • Signal waveforms during measurement according to the fifth embodiment are shown in FIG. 22 .
  • the frequency counter 504 counts the number of pulses of the ring oscillator during a measurement time period, and accordingly measures the oscillation frequency of the ring oscillator.
  • the duty cycle counter counts the number of times that the buffer line output is at H on the rising edge of the pulse of the ring oscillator; accordingly, assuming that the count result of the duty cycle counter is denoted by N D , and the count result of the frequency counter is denoted by N S , the frequency F and the duty cycle D are obtained as in the above mathematical expression 1 and 2, similarly to the first embodiment.
  • a method for obtaining the current I drP of the PMOS transistor and the current I drN of the NMOS transistor from the frequency F and the duty cycle D is similar to those of the first embodiment and the like.
  • an advantage in introducing the configuration of the fifth embodiment includes that similarly to the third embodiment, the difference between the characteristics of the PMOS and NMOS transistors can be measured more accurately. Assuming that the cycle of an external clock is denoted by TCLK and a duty cycle thereof is 50%, a change in duty cycle by the buffer line is expressed as in FIG. 23 .
  • the rising and falling edges of the external clock come alternately at intervals of TCLK/2; however, the external clock passes through the buffer line with the number of stages, K L , to delay the rising edge for a time K L t rise , and the falling edge for a time K L t fall .
  • the duty cycle has a value expressed in the following mathematical expression 8.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

According to one embodiment, there is provided a semiconductor integrated circuit including an on-chip measurement circuit. The measurement circuit includes a buffer line, a ring oscillator, a first measurement unit measuring a duty cycle of a periodic pulse output from the buffer line, and a second measurement unit measuring a frequency of a periodic pulse output from the ring oscillator. The buffer line including a plurality of delay elements connected in series. Each of the plurality of delay elements includes a former-stage inverter unit including a PMOS transistor and an NMOS transistor and having a first delay amount, and a latter-stage inverter unit including a PMOS transistor and an NMOS transistor and having a second delay amount different from the first delay amount.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS
This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2011-267942, filed on Dec. 7, 2011; the entire contents of which are incorporated herein by reference.
FIELD
Embodiments described herein relate generally to a semiconductor integrated circuit.
BACKGROUND
In recent years, with the miniaturization of semiconductor devices, variations in the characteristics of devices have been increased, and therefore it is becoming difficult to secure a margin of operating frequency of and ensure power consumption of a digital circuit unit on a semiconductor integrated circuit. Moreover, also in terms of an analog circuit, since the power supply voltage has been decreased due to recent years' decrease in power consumption, it is becoming difficult to design a reference voltage generation circuit or reference current generation circuit for counteracting variations in the characteristics of devices and ensuring a fixed output.
It is known that a substrate voltage control technique is effective for securing a margin of operating frequency of and ensuring power consumption of a digital circuit. This is a technique that reduces variations in the characteristics of devices by changing the substrate voltages of chips whose operating frequency and power consumption deviate from the specifications, and aims to obtain characteristics close to the specifications. A variation reduction method for an analog circuit depends on the content of each circuit. As an example, in terms of a digital-to-analog converter, if a reference voltage generation circuit cannot reduce variations in the characteristics of PMOS transistors and NMOS transistors, the amplitude of an output depends on the characteristic variation and varies. In this case, a digital code inputted to the digital-to-analog converter is multiplied in advance by a correction parameter in accordance with the characteristic variations of PMOS and NMOS transistors; accordingly, the influence of the characteristic variations can be reduced. It is necessary to separately estimate the characteristic variations of PMOS and NMOS transistors for each chip in order to execute the correction process.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a view illustrating the configuration of an on-chip measurement circuit in a first embodiment;
FIG. 2 is a view illustrating the configuration of a ring oscillator in the first embodiment;
FIG. 3 is a view illustrating the configuration of a delay element in the first embodiment;
FIG. 4 is a view illustrating the operation of a duty cycle counter in the first embodiment;
FIG. 5 is a view illustrating operations related to frequency measurement in the first embodiment;
FIG. 6 is a view illustrating operations related to duty cycle measurement in the first embodiment;
FIGS. 7A and 7B are views illustrating the principle of the duty cycle measurement in the first embodiment;
FIGS. 8A, 8B and 8C are views illustrating the effects by the first embodiment;
FIG. 9 is a view illustrating a mode of implementing the on-chip measurement circuit on a semiconductor integrated circuit in the first embodiment;
FIG. 10 is a view illustrating the configuration of a delay element in a modification of the first embodiment;
FIG. 11 is a view illustrating the configuration of a delay element in a modification of the first embodiment;
FIG. 12 is a view illustrating the configuration of a delay element in a modification of the first embodiment;
FIG. 13 is a view illustrating the configuration of a delay element in a modification of the first embodiment;
FIG. 14 is a view illustrating the configuration of a delay element in a modification of the first embodiment;
FIG. 15 is a view illustrating the configuration of an on-chip measurement circuit in a second embodiment;
FIG. 16 is a view illustrating the operation of a buffer line in the second embodiment;
FIGS. 17A and 17B are views illustrating the configurations of a ring oscillator and a delay element in a modification of the second embodiment;
FIG. 18 is a view illustrating the configuration of a ring oscillator in a third embodiment;
FIG. 19 is a view illustrating the configuration of an on-chip measurement circuit in a fourth embodiment;
FIG. 20 is a view illustrating the configuration of an on-chip measurement circuit in a fifth embodiment;
FIG. 21 is a view illustrating the operation of a duty cycle counter in the fifth embodiment;
FIG. 22 is a view illustrating operations related to frequency measurement in the fifth embodiment; and
FIG. 23 is a view illustrating the operation of a buffer line in the fifth embodiment.
DETAILED DESCRIPTION
In general, according to one embodiment, there is provided a semiconductor integrated circuit including an on-chip measurement circuit. The measurement circuit includes a buffer line, a ring oscillator, a first measurement unit measuring a duty cycle of a periodic pulse output from the buffer line, and a second measurement unit measuring a frequency of a periodic pulse output from the ring oscillator. The buffer line including a plurality of delay elements connected in series. Each of the plurality of delay elements includes a former-stage inverter unit including a PMOS transistor and an NMOS transistor and having a first delay amount, and a latter-stage inverter unit including a PMOS transistor and an NMOS transistor and having a second delay amount different from the first delay amount.
Exemplary embodiments of a semiconductor integrated circuit will be explained below in detail with reference to the accompanying drawings. The present invention is not limited to the following embodiments.
First Embodiment
A description will be given of a semiconductor integrated circuit 1 according to a first embodiment.
The semiconductor integrated circuit 1, for example, is a circuit mounted on one semiconductor substrate (semiconductor chip), and includes a predetermined circuit, such as a digital circuit, an analog circuit, and a digital-to-analog converter, as well as includes an on-chip measurement circuit 100 mounted on the same semiconductor substrate (semiconductor chip) as the predetermined circuit. The predetermined circuit and the on-chip measurement circuit 100 include PMOS and NMOS transistors manufactured by processes similar to each other.
In the semiconductor integrated circuit 1, the operating frequency and power consumption of the predetermined circuit may deviate from specified ranges. At this time, an input signal to the predetermined circuit is multiplied in advance by a correction parameter in accordance with the characteristic variations of PMOS and NMOS transistors; accordingly, the influence of the characteristic variations can be reduced. It is necessary to separately estimate the characteristic variations of PMOS and NMOS transistors for each chip in order to execute the correction process. Hence, in the embodiment, the on-chip measurement circuit 100 is mounted on the same semiconductor substrate (semiconductor chip) as the predetermined circuit to obtain parameters for separately estimating the characteristic variations of the PMOS and NMOS transistors.
Next, a description will be given of the configuration of the on-chip measurement circuit 100 with reference to FIG. 1. FIG. 1 is a view illustrating the configuration of the on-chip measurement circuit 100.
The measurement circuit 100 includes a unit to be measured 10, a first measurement unit 20, and a second measurement unit 30.
The unit to be measured 10 is a measurement target for obtaining parameters for separately estimating the characteristic variations of the PMOS and NMOS transistors. The unit to be measured 10 includes a ring oscillator 101 and a buffer line 105. Specifically, the ring oscillator 101 includes a buffer line 105 therein. If an enable signal stays at an active level for a predetermined time or longer, the ring oscillator 101 generates a periodic pulse in a first cycle, delays the generated periodic pulse at the buffer line 105, and outputs the delayed periodic pulse. The delayed periodic pulse has a waveform with a frequency and a duty cycle, which are dependent on a source-drain current IdrP of the PMOS transistor and a source-drain current IdrN of the NMOS transistor. If the enable signal is changed to a non-active level, the ring oscillator 101 stops the operation of generating periodic pulses.
The first measurement unit 20 measures the duty cycle of the waveform of the periodic pulse output from the unit to be measured 10. Specifically, the first measurement unit 20 includes a sampling flip-flop 102 and a duty cycle counter 103. The sampling flip-flop 102 and the duty cycle counter 103 operate in synchronization with sampling clocks received from the outside (for example, a clock generation unit 142 shown in FIG. 9). The sampling clock is a periodic pulse having a second cycle that is asynchronous to the first cycle. As long as being asynchronous to the cycle of the periodic pulse output from the unit to be measured 10, the cycle of the sampling clock may be longer than the cycle of the periodic pulse output from the unit to be measured 10 or may be shorter than the cycle of the periodic pulse output from the unit to be measured 10.
The sampling flip-flop 102 maintains the level of the periodic pulse output from the unit to be measured 10 in synchronization with the sampling clock. The duty cycle counter 103 counts the number of times that the level maintained by the sampling flip-flop 102 is an H level (the number of H levels) in synchronization with the sampling clock. The duty cycle counter 103 outputs the number of H levels to a subsequent stage (for example, an estimation unit 144 shown in FIG. 9) as a value indicating the duty cycle. Moreover, the sampling flip-flop 102 and the duty cycle counter 103 are reset if receiving a reset signal at the active level from the outside (for example, a controller 143 shown in FIG. 9), and the reset is cancelled if the sampling flip-flop 102 and the duty cycle counter 103 receive a reset signal at the non-active level.
The second measurement unit 30 measures the frequency of the periodic pulse output from the unit to be measured 10. Specifically, the second measurement unit 30 includes a frequency counter 104. The frequency counter 104 is reset if receiving a reset signal from the outside (for example, the controller 143 shown in FIG. 9), and the reset is cancelled if the frequency counter 104 receives a reset signal at the non-active level. The frequency counter 104 counts the number of pulses of the periodic pulse output from the unit to be measured 10, for a fixed time within a period from the timing of the reset cancellation to the timing of the next reset. The frequency counter 104 outputs the number of pulses to the subsequent stage (for example, the estimation unit 144 shown in FIG. 9) as a value indicating the frequency.
Next, a detailed description will be given of the ring oscillator 101. FIG. 2 is a view illustrating the internal configuration of the ring oscillator 101.
The ring oscillator 101 includes a NAND circuit 106 and the buffer line 105, for example. A plurality of delay buffers (a plurality of delay elements) 107-1 to 107-K is connected in series in the buffer line 105. An input terminal 106 a of the NAND circuit 106 is supplied with an enable signal via a line L3, and an input terminal 106 b thereof is connected to an output terminal of the delay buffer 107-K at the final stage in the buffer line 105 via a line L2. An output terminal of the NAND circuit 106 is connected to an input terminal of the buffer line 105. An output terminal of (the delay buffer 107-K at the final stage in) the buffer line 105 is connected to the first measurement unit 20 and the second measurement unit 30 (see FIG. 1) via a line L1, and is connected to the input terminal of the NAND circuit 106 via the line L2. The NAND circuit 106 and the plurality of delay buffers 107-1 to 107-K are connected in a ring shape.
The NAND circuit 106 is a control gate of the ring oscillator 101, and inverts the output of the ring oscillator 101 to feed back an enable signal to the first of the ring oscillator when the enable signal is at the H level, and accordingly causes oscillation, and stops oscillation when the enable signal is at the L level. The plurality of delay buffers 107-1 to 107-K is connected to the subsequent stage of the NAND circuit 106.
In each delay buffer 107, two inverter units INV1 and INV2 are connected in series between an input node N1 and an output node N2 via a connection node N3 as shown in FIG. 3, for example. Each of the inverter units INV1 and INV2 includes a PMOS transistor and an NMOS transistor. In this configuration, the values of the delay amounts of the former-stage inverter unit INV1 and the latter-stage inverter unit INV2 are set to be different; accordingly, it is possible to make rising and falling delays by the delay buffer 107 dependent on IdrN and IdrP, respectively.
For example, if the delay amount of the former-stage inverter unit INV1 is designed to be larger than the delay amount of the latter-stage inverter unit INV2, currents flow through the NMOS transistor of the former-stage inverter unit INV1 and the PMOS transistor of the latter-stage inverter unit INV2, respectively, as shown in FIG. 7A, when the output waveform of the delay buffer 107 rises from the L level to the H level. At this time, since the delay amount of the former-stage inverter unit INV1 is designed to be larger than the delay amount of the latter-stage inverter unit INV2, the drain current of the NMOS transistor of the former-stage inverter unit INV1 is less than the drain current of the PMOS transistor of the latter-stage inverter unit INV2 as shown by outline arrows in FIG. 7A. Hence, the influence of the NMOS transistor of the former-stage inverter unit INV1 becomes dominant over a rising delay by the delay buffer 107. In other words, the rising delay by the delay buffer 107 is mainly dependent on the drain current IdrN of the NMOS transistor.
For example, if the delay amount of the former-stage inverter unit INV1 is designed to be larger than the delay amount of the latter-stage inverter unit INV2, currents flow through the PMOS transistor of the former-stage inverter unit INV1 and the NMOS transistor of the latter-stage inverter unit INV2, respectively, as shown in FIG. 7B, when the output waveform of the delay buffer 107 falls from the H level to the L level. At this time, since the delay amount of the former-stage inverter unit INV1 is designed to be larger than the delay amount of the latter-stage inverter unit INV2, the drain current of the PMOS transistor of the former-stage inverter unit INV1 is less than the drain current of the NMOS transistor of the latter-stage inverter unit INV2 as shown by outline arrows in FIG. 7B. Hence, the influence of the PMOS transistor of the former-stage inverter unit INV1 becomes dominant over a falling delay by the delay buffer 107. In other words, the falling delay by the delay buffer 107 is mainly dependent on the drain current IdrP of the PMOS transistor.
The delay buffer 107 that makes the delay mount of the former-stage inverter unit INV1 larger than the delay mount of the latter-stage inverter unit INV2 may be configured similarly to FIG. 3, for example. The delay buffer 107 shown in FIG. 3 is one where the former-stage inverter unit INV1 has been changed in the current drive capability from the latter-stage inverter unit INV2. For example, the current drive capability of the former-stage inverter unit INV1 has been changed to be smaller than the current drive capability of the latter-stage inverter unit INV2.
The former-stage inverter unit INV1 includes one inverter INV11, for example. An input terminal of the inverter INV11 is connected to the input node N1, and an output terminal thereof is connected to the connection node N3. A PMOS transistor 111 and an NMOS transistor 112 are connected as an inverter in the inverter INV11. The latter-stage inverter unit INV2 includes three inverters INV21 to INV23, for example. The three inverters INV21 to INV23 are connected in parallel between the connection node N3 and the output node N2. An input terminal of the inverter INV21 is connected to the connection node N3, and an output terminal thereof is connected to the output node N2. A PMOS transistor 121-1 and an NMOS transistor 122-1 are connected as an inverter in the inverter INV21. An input terminal of the inverter INV22 is connected to the connection node N3, and an output terminal thereof is connected to the output node N2. A PMOS transistor 121-2 and an NMOS transistor 122-2 are connected as an inverter in the inverter INV22. An input terminal of the inverter INV23 is connected to the connection node N3, and an output terminal thereof is connected to the output node N2. A PMOS transistor 121-3 and an NMOS transistor 122-3 are connected as an inverter in the inverter INV23.
In rising propagation, after the NMOS transistor 112 charges the gates of a total of six devices of the PMOS transistors 121-1 to 121-3 and the NMOS transistors 122-1 to 122-3, three devices of the PMOS transistors 121-1 to 121-3 charge two devices of the PMOS transistor 111 and the NMOS transistor 112 of the delay buffer 107 in the next stage via the output node N2. Simply given that the delay times of the inverters INV11, INV21, INV22, and INV23 are proportional to gate capacitance and are inversely proportional to current, a delay at the former stage is nine times longer than that at the latter stage, and a rising delay time is largely dependent on the value of the current through the NMOS transistor 112. Similarly, a falling delay time is largely dependent on the current through the PMOS transistor 111.
Mathematical expressions will be used for explanations. Assume that a rising delay time of one device of the delay buffers 107 is trise, and a falling delay time thereof is tfall. Since trise and tfall are largely dependent on IdrN and IdrP, respectively, it is necessary that trise and tfall can be measured in order to obtain IdrN and IdrP. Assuming that the number of delay buffers of the ring oscillator 101 in FIG. 2 is denoted by K, the output cycle of the ring oscillator 101 is K(trise+tfall), and the duty cycle is tfall/(trise+tfall). However, for simplification, it is assumed that there is no delay by the NAND circuit 106. Hence, it is made possible to measure a rising delay time and a falling delay time by measuring the frequency and the duty cycle of the output of the ring oscillator 101.
Next, a description will be given of the operation of the sampling flip-flop 102 and the duty cycle counter 103, which are mechanisms for measuring the duty cycle of the output of the ring oscillator by a digital circuit alone with reference to FIG. 4.
The topmost row of FIG. 4 shows an output waveform of the ring oscillator 101, which is a rectangular wave (periodic pulse) having a certain cycle and duty cycle. The sampling flip-flop 102 samples the output waveform of the ring oscillator 101 at the rising timing of a sampling clock.
The second row from the top in FIG. 4 shows the waveform of a sampling clock. The third row from the top in FIG. 4 shows a sampling result by the sampling flip-flop 102.
As shown in the bottom row of FIG. 4, the duty cycle counter 103 is a counter (H level counter) that counts up at the rising edge of a sampling clock if the result of the output of the sampling flip-flop 102 is at the H level, and maintains the value if at the L level. Such operations are performed for a fixed time or longer, and the number of inputted sampling clocks is compared with the value of the duty cycle counter (the number of H levels); accordingly, it is possible to obtain the duty cycle of the output waveform of the ring oscillator 101.
To accurately measure the duty cycle, it is necessary that the cycle of the output (periodic pulse) of the ring oscillator 101 and the cycle of a sampling clock (periodic pulse) are asynchronous, and a period of level transition is adequately short.
If two waveforms are synchronous and the cycle can be expressed by a simple integer ratio, the duty cycle has only a resolution of the extent of the inverse of the integer. As a measure against this, it is conceivable, for example, that the system clock of the semiconductor integrated circuit 1 is used for a sampling clock, or an oscillator for generating sampling clocks is mounted separately from the ring oscillator 101. For example, the clock generation unit 142 shown in FIG. 9 may be a circuit that generates system clocks, or may be an oscillator for generating sampling clocks.
Otherwise, if a period of level transition of a waveform is long, the rising edge of a sampling clock comes while the level of the output of the ring oscillator 101 is changing, and a metastable state occurs, and therefore it becomes impossible to measure accurately, either. In terms of a measure against this, the transition period is made short by passing two waveforms through the delay buffer respectively before inputting the two waveforms to the sampling flip-flop 102. Moreover, if a metastable state occurs, when the duration of the metastable state becomes substantially equal to the cycle of a sampling clock, the duty cycle counter may malfunction. To handle this, the sampling flip-flop 102 is configured of two stages.
Next, a description will be given of operations related to frequency measurement. In terms of the frequency measurement, the frequency counter 104 counts the frequency of the output waveform (periodic pulse) of the ring oscillator 101. The frequency counter 104 should count the number of rising edges of the output (periodic pulse) of the ring oscillator 101 over a fixed time T.
A series of operations at the time of measurement are shown in FIGS. 5 and 6. When measurement is started, a reset signal is firstly cancelled, and then an enable signal is set to the H level only for the fixed time T to oscillate the ring oscillator. A reset signal is usually implemented by a negative logic, and is shown in that way in FIG. 5, too. If an enable signal is set to H, the ring oscillator 101 starts oscillating, and the frequency counter 104 starts counting the number of rising edges of the output (periodic pulse) of the ring oscillator 101. Furthermore, if a sampling clock is inputted, the duty cycle counter 103, too, performs the count-up operation in accordance with the duty cycle of the output (periodic pulse) of the ring oscillator 101 as shown in FIG. 6. Assume that a total of sampling clocks are NS. When the measurement time T ends and an enable signal is set to L as well as a sampling clock is stopped, the ring oscillator 101, too, stops oscillating for a short time. After a count value ND of the duty cycle counter 103 and a count value NF of the frequency counter 104 at this time are read, a reset signal is set to L, and the values of the duty cycle counter 103, the frequency counter 104, and the sampling flip-flop 102 are reset.
A frequency F and a duty cycle D are obtained from the measurement time T, the number of sampling clocks, NS, the duty cycle counter value ND, and the frequency counter value NF as in the following mathematical expressions 1 and 2.
F=N F /T   Mathematical Expression 1
D=N D /N S  Mathematical Expression 2
Lastly, it is necessary to obtain the current IdrP of the PMOS transistor and the current IdrN of the NMOS transistor from the frequency F and the duty cycle D. These relationships qualitatively become those shown in FIGS. 8A to 8C. FIG. 8A shows the frequency contour lines of the drain current of the NMOS transistor and the drain current of the PMOS transistor, and the frequency tends to be high if a total value of the drain current of the NMOS transistor and the drain current of the PMOS transistor is large, and the frequency tends to be low if the total value is small. FIG. 8B shows the duty cycle contour lines of the drain current of the NMOS transistor and the drain current of the PMOS transistor, and the duty cycle tends to be high if a difference value (which means including a code) obtained by subtracting the drain current of the PMOS transistor from the drain current of the NMOS transistor is large, and the duty cycle tends to be low if the difference value is small.
In this manner, the use of two parameters of the frequency and the duty cycle makes it possible to estimate the drain current of the NMOS transistor and the drain current of the PMOS transistor independently of each other as shown in FIG. 8C. In terms of a detailed method for obtaining values, the relationship between these current values, the frequency and the duty cycle is determined, complicatedly intertwined with various factors; accordingly, rather than converting some model into numbers, it is preferable to take data on the frequency, the duty cycle and the currents of numerous sample chips of the semiconductor integrated circuit 1, and perform fitting based on the data to calculate values.
As described above, in the on-chip measurement circuit 100 in the first embodiment, the unit to be measured 10 generates a periodic pulse, causes the buffer line where a plurality of delay buffers where the delay amount of the former-stage inverter unit is different from the delay amount of the latter-stage inverter unit is connected in series to delay the periodic pulse, and outputs the periodic pulse. Additionally, the first measurement unit 20 measures the duty cycle of the periodic pulse output from the unit to be measured 10, and the second measurement unit 30 measures the frequency of the periodic pulse output from the unit to be measured 10. Accordingly, it is possible to obtain the duty cycle and the frequency of the periodic pulse as parameters for separately estimating the characteristic variations of the PMOS and NMOS transistors.
Moreover, analog operations are not necessary in the configuration of the first embodiment; accordingly, it is possible to configure the on-chip measurement unit 100 with digital circuits alone.
Moreover, in the unit to be measured 10 in the first embodiment, the ring oscillator 101 includes the buffer line 105 therein. Accordingly, it is possible to configure circuits for oscillation and delay as the ring oscillator 101 and expect space saving.
Moreover, in the first embodiment, the number of output signals of the ring oscillator 101 itself is one, and therefore it is possible to expect further space saving with the LSI configuration shown in FIG. 9.
FIG. 9 is a view illustrating a mode of implementing the measurement circuit 100 according to the first embodiment on the semiconductor integrated circuit 1 (as a one-chip LSI). The current values may vary also by location on the chip; accordingly, a plurality of ring oscillators 101 and 101 a is mounted to monitor currents at the respective locations. In this case, it is necessary for the ring oscillators 101 and 101 a to be mounted in the respective locations; however, a measurement block 150 including the sampling flip-flop 102, the duty cycle counter 103, and the frequency counter 104 can be shared. At this time, a switching block 141 is disposed between the plurality of ring oscillators 101 and 101 a and the measurement block 150, and the plurality of ring oscillators 101 and 101 a are sequentially connected by the switching block 141 to the measurement block 150 to measure. At this time, it is necessary to connect between each of the ring oscillators 101 and 101 a and the measurement block 150 with a signal line. Given that there is a plurality of output signals of each of the ring oscillators 101 and 101 a, a plurality of signal lines is placed for the long distance between the ring oscillators 101 and 101 a, and the measurement block 150; signals transmitted on these signal lines may be deteriorated due to crosstalk. However, if the number of outputs of each of the ring oscillators 101 and 101 a is one as in the first embodiment, it is an advantage to have no such a possibility.
Moreover, as shown in FIG. 9, the clock generation unit 142 configured to supply sampling clocks, the controller 143 configured to supply enable signals and reset signals, and the like may be disposed around the measurement block 150. Moreover, the estimation unit 144 configured to receive the measurement results of the duty cycle and the frequency output from the measurement block 150 may be further disposed around the measurement block 150. The estimation unit 144 receives sampling clocks from the clock generation unit 142 and counts the number of clocks as well as uses the measurement results of the duty cycle and the frequency to obtain the duty cycle D and the frequency F, for example from the mathematical expressions 2 and 1, and accordingly performs the processes shown in FIGS. 8A to 8C to estimate the drain current of the NMOS transistor and the drain current of the PMOS transistor independently of each other. A correction unit 145 configured to receive the estimation results by the estimation unit 144 may be further disposed around the estimation unit 144. The correction unit 145 uses the estimation results by the estimation unit 144 to obtain a correction parameter in accordance with the characteristic variations of the PMOS and NMOS transistors. The correction unit 145 then multiplies an input signal to a predetermined circuit by the correction parameter. Accordingly, the influence of the characteristic variations of the PMOS and NMOS transistors in the operation of the predetermined circuit can be reduced.
A delay buffer 107 i that makes the delay amount of a former-stage inverter unit INV1 i larger than the delay amount of a latter-stage inverter unit INV2 i may be configured as shown in FIG. 10, for example. In the delay buffer 107 i shown in FIG. 10, for example, the number of inverters of the former-stage inverter unit INV1 i is made equal to the number of inverters of the latter-stage inverter unit INV2 i, and the gate lengths of the former-stage inverter unit INV1 i are made longer than the gate lengths of the latter-stage inverter unit INV2 i; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV1 i larger than the delay amount of the latter-stage inverter unit INV2 i. In other words, a gate length Lp1 of a PMOS transistor 111 i of an inverter INV11 i of the former-stage inverter unit INV1 i is longer than a gate length Lp2 of a PMOS transistor 121-1 of an inverter INV21 of the latter-stage inverter unit INV2 i. A gate length Ln1 of an NMOS transistor 112 i of the inverter INV11 i of the former-stage inverter unit INV1 i is longer than a gate length Ln2 of an NMOS transistor 122-1 of the inverter INV21 of the latter-stage inverter unit INV2 i.
Otherwise, a delay buffer 107 j that makes the delay amount of a former-stage inverter INV1 j larger than the delay amount of a latter-stage inverter unit INV2 j may be configured as shown in FIG. 11, for example. In the delay buffer 107 j shown in FIG. 11, for example, the number of inverters of the former-stage inverter unit INV1 j is made equal to the number of inverters of the latter-stage inverter unit INV2 j, and the gate insulating film thicknesses of the former-stage inverter unit INV1 j are made thicker than the gate insulating film thicknesses of the latter-stage inverter unit INV2 i; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV1 j larger than the delay amount of the latter-stage inverter unit INV2 j. In other words, a gate insulating film thickness Dp1 of a PMOS transistor 111 j of an inverter INV11 j of the former-stage inverter unit INV1 j is thicker than a gate insulating film thickness Dp2 of a PMOS transistor 121-1 of an inverter INV21 of the latter-stage inverter unit INV2 j. A gate insulating film thickness Dn1 of an NMOS transistor 112 j of the inverter INV11 j of the former-stage inverter unit INV1 j is thicker than a gate insulating film thickness Dn2 of an NMOS transistor 122-1 of the inverter INV21 of the latter-stage inverter unit INV2 j.
Otherwise, a delay buffer 107 k that makes the delay amount of a former-stage inverter unit INV1 k larger than the delay amount of a latter-stage inverter unit INV2 k may be configured as shown in FIG. 12, for example. In the delay buffer 107 k shown in FIG. 12, for example, the number of inverters of the former-stage inverter unit INV1 k is made equal to the number of inverters of the latter-stage inverter unit INV2 k, and the gate widths of the former-stage inverter unit INV1 k are made narrower than the gate widths of the latter-stage inverter unit INV2 k; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV1 k larger than the delay amount of the latter-stage inverter unit INV2 k. In other words, a gate width Wp1 of a PMOS transistor 111 k of an inverter INV11 k of the former-stage inverter unit INV1 k is narrower than a gate width Wp2 of a PMOS transistor 121-1 of an inverter INV21 of the latter-stage inverter unit INV2 k. A gate width Wn1 of an NMOS transistor 112 k of the inverter INV11 k of the former-stage inverter unit INV1 k is narrower than a gate width Wn2 of an NMOS transistor 122-1 of the inverter INV21 of the latter-stage inverter unit INV2 k.
Otherwise, a delay buffer 107 p that makes the delay amount of a former-stage inverter INV1 p larger than the delay amount of a latter-stage inverter unit INV2 p may be configured as shown in FIG. 13, for example. In the delay buffer 107 p shown in FIG. 13, for example, the number of inverters of the former-stage inverter unit INV1 p is made equal to the number of inverters of the latter-stage inverter unit INV2 p, and the back gate biases of the former-stage inverter unit INV1 p are selectively reverse-biased; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV1 p larger than the delay amount of the latter-stage inverter unit INV2 p. In other words, a back gate bias VBP of a PMOS transistor 111 p of an inverter INV11 p of the former-stage inverter unit INV1 p is reverse-biased, but a back gate bias of a PMOS transistor 121-1 of an inverter INV21 of the latter-stage inverter unit INV2 p, in contrast, is forward-biased. A back gate bias VBN of an NMOS transistor 112 p of the inverter INV11 p of the former-stage inverter unit INV1 p is reverse-biased, but a back gate bias of an NMOS transistor 122-1 of the inverter INV21 of the latter-stage inverter unit INV2 p, in contrast, is forward-biased.
Otherwise, a delay buffer 107 q that makes the delay amount of a former-stage inverter INV1 q larger than the delay amount of a latter-stage inverter unit INV2 q may be configured as shown in FIG. 14, for example. In the delay buffer 107 q shown in FIG. 14, for example, the number of inverters of the former-stage inverter unit INV1 q is made equal to the number of inverters of the latter-stage inverter unit INV2 q, and a load device is selectively added to an output side of the former-stage inverter unit INV1 p; accordingly, it is possible to make the delay amount of the former-stage inverter unit INV1 q larger than the delay amount of the latter-stage inverter unit INV2 q. In other words, for example, a capacitive element is connected, as a load device LD, between a line L13 between an output terminal of an inverter INV11 of the former-stage inverter unit INV1 q and the connection node N3, and a ground potential gnd.
Moreover, in each delay buffer included in the buffer line, the delay amount of the former-stage inverter unit may be smaller than the delay mount of the latter-stage inverter unit. For example, in FIGS. 3 and 10 to 13, the configuration of the former-stage inverter unit is interchanged with the configuration of the latter-stage inverter unit; accordingly, the delay amount of the former-stage inverter unit can be configured to be smaller than the delay amount of the latter-stage inverter unit.
Second Embodiment
Next, a description will be given of a semiconductor integrated circuit according to a second embodiment. A description will hereinafter be given, focusing on parts that are different from the first embodiment.
In the first embodiment, the buffer line 105 is included in the ring oscillator 101 in the unit to be measured 10; however, in the second embodiment, the buffer line 105 is disposed outside the ring oscillator 101 to measure a duty cycle more accurately. Specifically, for example as shown in FIG. 15, an output terminal of a ring oscillator 201 is connected to the buffer line 105 in a unit to be measured 210 in a measurement unit 200. In other words, the buffer line 105 is electrically connected between the ring oscillator 201, and the first measurement unit 20 and the second measurement unit 30.
Comparing this configuration with the first embodiment, once the output of the ring oscillator 201 passes through the buffer line 105, the duty cycle and the frequency are measured. Similarly to the buffer line 105 in the ring oscillator 101 in the first embodiment, this buffer line 105 is constructed such that delay buffers where the delay amount of a former-stage inverter unit is different from the delay amount of a latter-stage inverter unit are arranged in a plurality of stages, and can emphasize the duty cycle.
A description will hereinafter be given with mathematical expressions. The number of stages of delay buffers in the ring oscillator 201 is denoted by KR, and the number of stages of delay buffers in the buffer line 105 is denoted by KL. In the configuration of the second embodiment, it is assumed that the delay buffer in the ring oscillator 201 is one where a former-stage inverter unit has been changed in the delay amount from a latter-stage inverter unit, similarly to the one in the first embodiment.
At this time, the waveform of the output (periodic pulse) of the ring oscillator 201 is a rectangular wave that repeats the L level for a time KRtrise and the H level for a time KRtfall as shown in the upper row of FIG. 16. If passing through the buffer line 105, this waveform becomes a waveform whose rising edge is delayed for KLtrise, and whose falling edge is delayed for KLtfall as shown in the lower row of FIG. 16. As a result, assuming that a deviation from 50% in the duty cycle of the output of the ring oscillator 201 is denoted by D′R, a deviation D′L from 50% in the duty cycle of the output (periodic pulse) of the buffer line 105 is obtained as in the following mathematical expression 3.
D′ L=(2×K L /K R+1)×D′ R  Mathematical Expression 3
However, the deviation D′R from 50% in the duty cycle of the output of the ring oscillator 201 satisfies a mathematical expression 4.
D′R=t fall/(t rise +t fall)−½  Mathematical expression 4
This indicates that the deviation from 50% in the duty cycle is amplified (2×KL/KR+1) times by the buffer line 105.
As described above, in the second embodiment, the output terminal of the ring oscillator 201 is connected to the buffer line 105, and the periodic pulse output from the ring oscillator 201 is delayed by the buffer line 105. Accordingly, it is possible to amplify the duty cycle of the periodic pulse and improve the measurement accuracy of the duty cycle of the periodic pulse. Accordingly, it is possible to estimate the difference between the currents of the PMOS and NMOS transistors with higher accuracy.
If the buffer line 105 is disposed outside the ring oscillator 201, each of a plurality of delay buffers 208-1 to 208-K in the ring oscillator 201 as shown in FIG. 17A may be one where the delay amount of a former-stage inverter unit INV3 is equal to the delay amount of a latter-stage inverter unit INV4 as shown in FIG. 17B. Also in this case, if the output duty cycle of the ring oscillator 201 is 50%, the output duty cycle of the buffer line 105 can be amplified as shown in a mathematical expression 5, for example.
K L /K R×(t fall /t rise +t fall)−½)+½  Mathematical Expression 5
Third Embodiment
Next, a description will be given of a semiconductor integrated circuit according to a third embodiment. A description will hereinafter be given, focusing on parts that are different from the second embodiment.
The device sizes of PMOS and NMOS transistors are generally designed substantially the same in a digital circuit; however, in this case, the NMOS transistor has a larger current than the PMOS transistor. Therefore, even if the transistors can be manufactured as designed without process variations, the duty cycle may greatly deviate from 50% in the implementation of the first and second embodiments. If the duty cycle becomes 0% or 100%, it is not possible to measure; accordingly, there is a limit to the amplification shown in the second embodiment.
For example, in the configuration of the second embodiment, samples whose values of tfall/(trise+tfall) are 65% and 66% are desired to be distinguished. If KL/KR=1 in the configuration of the second embodiment, they have the duty cycles of 95% and 98%, and accordingly the difference can be amplified three times; however, if they are amplified more than that, the duty cycles exceed 100% and it becomes impossible to perform detection.
Hence, the third embodiment adopts a configuration that can set an initial duty cycle output from a ring oscillator 301 to a value smaller than 50%. As shown in FIG. 18, the internal configuration of the ring oscillator 301 is different from that of the second embodiment. Specifically, the ring oscillator 301 further includes an AND circuit 309. The AND circuit 309 is disposed between an output terminal of a delay buffer 208-KR at a final stage in a plurality of delay buffers 208-1 to 208-KR and an output terminal of the ring oscillator 301. An input terminal 309 a of the AND circuit 309 is connected to an output terminal of the delay buffer 208-K1 at an intermediate stage (for example, a K1-th stage) via a line L4, and an input terminal 309 b thereof is connected to an output terminal of the delay buffer 208-KR at the final stage (for example, a KR-th stage). Accordingly, the AND circuit 309 computes the AND of the output of the delay buffer 208-KR at the final stage and the output of the delay buffer 208-K1 at the intermediate stage in the plurality of delay buffers 208-1 to 208-KR to output the computation result to the buffer line 105 via a line L1.
What is characteristic is an output part that ANDs the final waveform of the ring oscillator 301 and the intermediate waveform of the ring oscillator 301, and therefore it is possible to design the duty cycle of the output to a value that is not 50%. At this time, it is preferable that each delay buffer 208 should have an equal delay amount between the former-stage inverter unit and the latter-stage inverter unit as shown in FIG. 17B. Assuming that the AND is taken between the output of the delay buffer 208-K1 at the K1-th stage and the output of the delay buffer 208-KR at the final stage, the delay buffers being shown in FIG. 18, the duty cycle of a final output waveform is K1/(2KR); accordingly, if the value K1 is selected, the output duty cycle of the ring oscillator 301 can be arbitrarily set. For example, a selector may be disposed between the input terminal 309 a of the AND circuit 309 and each of the output terminals of the plurality of delay buffers 208-1 to 208-(KR−1) to make is possible to arbitrarily set the number of an intermediate stage computed by the AND circuit 309.
For example, assuming that K1:KR=1:5, the output duty cycle of the ring oscillator 301 is 10%. If the buffer line 105 in the subsequent stage is designed to have a length of KL/KR=2.5, the output duty cycles of the buffer line of the above-mentioned samples whose values of tfall/(trise+tfall) are 65% and 66% are 85% and 90%, respectively; accordingly, it is possible to amplify the difference five times.
As described above, in the ring oscillator 301 in the third embodiment, the AND circuit 309 computes the AND of the outputs of the delay buffer 208-KR at the final stage and the delay buffer 208-K1 at the intermediate stage in the plurality of delay buffers 208-1 to 208-KR to output the computation result to the buffer line 105 via the line L1. Accordingly, the initial duty cycle output from the ring oscillator 301 can be set to a value smaller than 50%, and therefore it is possible amplify the duty cycle of a periodic pulse by the buffer line 105 in a state where a dynamic range for amplification is secured (for example, in an area where the first measurement unit 20 can measure easily). Accordingly, it is possible to further improve accuracy in measurement of the duty cycle of a periodic pulse and measure the difference in currents between the PMOS and NMOS transistors with higher accuracy. The buffer line 105 may be included in the ring oscillator 301. For example, all or a consecutive part of the plurality of delay buffers 208-1 to 208-KR in the ring oscillator 301 may serve as the buffer line 105. In this case, the AND circuit 309 of the ring oscillator 301 outputs the computation result to the first measurement unit 20 and the second measurement unit. This too makes it possible to set the initial duty cycle output from the ring oscillator 301 to a value smaller than 50%, and therefore it is possible to amplify the duty cycle of a periodic pulse by the buffer line 105 in the state where a dynamic range for amplification is secured (for example, in an area where the first measurement unit 20 can measure easily).
Fourth Embodiment
Next, a description will be given of a semiconductor integrated circuit according to a fourth embodiment. A description will hereinafter be given, focusing on parts that are different from the second embodiment.
In the fourth embodiment, sampling clocks are not acquired from the outside, but are generated inside. Specifically, as shown in FIG. 19, a measurement circuit 400 further includes a ring oscillator 460 to generate sampling clocks, and a first measurement unit 420 and a second measurement unit 430 are shared. The first measurement unit 420 and the second measurement unit 430 include a sampling flip-flop 402, an H level counter 413, and an L level counter 414.
The ring oscillator 460 generates sampling clocks to supply the sampling clocks to the sampling flip-flop 402, the H level counter 413, and the L level counter 414 respectively. The point that the cycle of a sampling clock (periodic pulse) is asynchronous to the cycle of the periodic pulse output from the unit to be measured 210 is similar to the second embodiment.
The sampling flip-flop 402 maintains the level of the periodic pulse output from the unit to be measured 210 in synchronization with the sampling clock (periodic pulse) output from the ring oscillator 460. The H level counter 413 counts the number of times that the level maintained by the sampling flip-flop 402 is the H level (the number of H levels) in synchronization with the sampling clock (periodic pulse) output from the ring oscillator 460. The L level counter 414 counts the number of times that the level maintained by the sampling flip-flop 402 is the L level (the number of L levels) in synchronization with the sampling clock (periodic pulse) output from the ring oscillator 460. The H level counter 413 and the L level counter 414 output the numbers of H levels and L levels to the subsequent stage as values indicating the duty cycle and the frequency of the periodic pulse.
In other words, it is necessary to know the number of sampling clocks, NS, in order to calculate the duty cycle; however, if sampling clocks are generated inside, it is possible to take a measure by mounting the H level counter 413 and the L level counter 414 as shown in FIG. 19 instead of the frequency counter and the duty cycle counter. The H level counter 413 counts up when the output of the sampling flip-flop 402 is at H at the time of arrival of a sampling clock, and maintains the value when at L. Conversely, the L level counter 414 counts up when at L and maintains the value when at H. Such a configuration makes it possible to calculate the frequency F and the duty cycle D as in the following mathematical expressions 6 and 7.
F=(N H +N L)/ T   Mathematical Expression 6
D=N H/(N H +N L)  Mathematical Expression 7
However, NH denotes the number of counts after measurement by the H level counter 413, and NL denotes the number of counts after measurement by the L level counter 414. Moreover, the frequency F at this time is the frequency of not the ring oscillator 201 but the ring oscillator 460. A method for obtaining the currents of the PMOS and NMOS transistors from the frequency F and the duty cycle D is similar to that of the first embodiment.
As described above, in the fourth embodiment, the ring oscillator 460 generates sampling clocks to supply the sampling clocks to the sampling flip-flop 402, the H level counter 413, and the L level counter 414, respectively. Accordingly, even if sampling clocks cannot be supplied from the outside of the measurement circuit, the measurement circuit can measure the duty cycle and the frequency of a periodic pulse.
Moreover, in the fourth embodiment, the configuration for measuring the duty cycle of a periodic pulse and the configuration for measuring the frequency of a periodic pulse are shared; accordingly, it is possible to easily reduce the area of the circuit.
Fifth Embodiment
Next, a description will be given of a semiconductor integrated circuit according to a fifth embodiment. A description will hereinafter be given, focusing on parts that are different from the first to fourth embodiments. While a periodic pulse generated in the unit to be measured is delayed by the buffer line 105 in the first to fourth embodiments, a periodic pulse received from the outside of the unit to be measured, that is, an external clock is delayed by a buffer line 505 in the fifth embodiment. Specifically, the buffer line 505 of a unit to be measured 510 receives an external clock from the outside (for example, the clock generation unit 142 shown in FIG. 9). The received external clock is then delayed by the buffer line 505, and the duty cycle is measured by a sampling F/F 502 and a duty cycle counter 503 of a first measurement unit 520. Moreover, the ring oscillator 460 oscillates when receiving an enable signal from the outside (for example, the controller 143 shown in FIG. 9), and generates a periodic pulse. The frequency of the periodic pulse generated by the ring oscillator 460 is measured by a frequency counter 504 of a second measurement unit 530. The periodic pulse generated by the ring oscillator 460 is also used as a sampling clock at the sampling F/F 502 and the duty cycle counter 503. FIG. 21 is a waveform chart for explaining the operation of the sampling F/F 502 and the duty cycle counter 503. A clock signal used in an integrated circuit is generally generated so as to have a duty cycle of approximately 50%. If an external clock with a 50% duty cycle passes through the buffer line 505, the frequency remains the same; however, the external clock becomes a clock signal with a duty cycle in accordance with the characteristic difference between the PMOS and NMOS transistors. This duty cycle is measured by the sampling F/F 502 and the duty cycle counter 503. The measurement method is similar to those in the first to fourth embodiments, but is different from those in the first to third embodiments and is similar to the one in the fourth embodiment in respect that the sampling clocks of the sampling F/F 502 and the duty cycle counter 503 are supplied from the ring oscillator 460. Signal waveforms during measurement according to the fifth embodiment are shown in FIG. 22. The frequency counter 504 counts the number of pulses of the ring oscillator during a measurement time period, and accordingly measures the oscillation frequency of the ring oscillator. The duty cycle counter counts the number of times that the buffer line output is at H on the rising edge of the pulse of the ring oscillator; accordingly, assuming that the count result of the duty cycle counter is denoted by ND, and the count result of the frequency counter is denoted by NS, the frequency F and the duty cycle D are obtained as in the above mathematical expression 1 and 2, similarly to the first embodiment. A method for obtaining the current IdrP of the PMOS transistor and the current IdrN of the NMOS transistor from the frequency F and the duty cycle D is similar to those of the first embodiment and the like. As in the above, it is possible to obtain the duty cycle and the frequency of a periodic pulse as parameters for separately estimating the characteristic variations of the PMOS and NMOS transistors also with the configuration of the fifth embodiment, similarly to the first to fourth embodiments. Moreover, an advantage in introducing the configuration of the fifth embodiment includes that similarly to the third embodiment, the difference between the characteristics of the PMOS and NMOS transistors can be measured more accurately. Assuming that the cycle of an external clock is denoted by TCLK and a duty cycle thereof is 50%, a change in duty cycle by the buffer line is expressed as in FIG. 23. In other words, the rising and falling edges of the external clock come alternately at intervals of TCLK/2; however, the external clock passes through the buffer line with the number of stages, KL, to delay the rising edge for a time KLtrise, and the falling edge for a time KLtfall. As a result, the duty cycle has a value expressed in the following mathematical expression 8.
D=½+K L(t fall −t rise)/T CLK  Mathematical Expression 8
The more there is the number of stages, KL, the more accurately the characteristic difference between the PMOS and NMOS transistors can be measured; however, it is not possible to measure unless the duty cycle is less than 100%, and accordingly the number of stages, KL, has an upper limit value as shown in the following mathematical expression 9.
K L <T CLK/{2(t fall −t rise)}  Mathematical Expression 9
It can be seen from the mathematical expression 9 that the longer the cycle TCLK of a clock inputted to the buffer line is, the greater the value of the number of stages, KL, can be made. However, if a periodic pulse inputted to the buffer line is generated by the ring oscillator in the measurement circuit as in the first to fourth embodiments, the number of stages of the ring oscillator becomes larger to have a long cycle; accordingly, the area of the circuit increases. Therefore, a clock signal that is used on the same integrated circuit and has a long cycle is brought in from the outside to make it possible to inhibit the area from increasing and measure the characteristic difference between the PMOS and NMOS transistors with high accuracy.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.

Claims (1)

What is claimed is:
1. A semiconductor integrated circuit comprising an on-chip measurement circuit,
the measurement circuit comprising:
a unit to be measured including a first ring oscillator generating a periodic pulse in a first cycle, and a buffer line delaying and outputting the periodic pulse generated by the first ring oscillator;
a second ring oscillator generating a periodic pulse in a second cycle asynchronous to the first cycle;
an H level counter counting the number of H levels of the periodic pulse output from the unit to be measured in synchronization with a periodic pulse output from the second ring oscillator; and
an L level counter counting the number of L levels of the periodic pulse output from the unit to be measured in synchronization with the periodic pulse output from the second ring oscillator,
the buffer line comprising a plurality of delay elements connected in series,
each of the plurality of delay elements comprising:
a former-stage inverter unit including a first PMOS transistor and a first NMOS transistor and having a first propagation delay; and
a latter-stage inverter unit including a second PMOS transistor and a second NMOS transistor and having a second propagation delay different from the first propagation delay, a gate of the second PMOS transistor being electrically connected to a drain of the first PMOS transistor and to a drain of the first NMOS transistor, a gate of the second NMOS transistor being electrically connected to the drain of the first PMOS transistor and to the drain of the first NMOS transistor.
US13/422,561 2011-12-07 2012-03-16 Semiconductor integrated circuit Expired - Fee Related US9128146B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011267942A JP5752577B2 (en) 2011-12-07 2011-12-07 Semiconductor integrated circuit
JP2011-267942 2011-12-07

Publications (2)

Publication Number Publication Date
US20130147501A1 US20130147501A1 (en) 2013-06-13
US9128146B2 true US9128146B2 (en) 2015-09-08

Family

ID=48571400

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/422,561 Expired - Fee Related US9128146B2 (en) 2011-12-07 2012-03-16 Semiconductor integrated circuit

Country Status (2)

Country Link
US (1) US9128146B2 (en)
JP (1) JP5752577B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10396802B2 (en) 2015-08-06 2019-08-27 Renesas Electronics Corporation Semiconductor device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013076799A1 (en) * 2011-11-21 2013-05-30 富士通株式会社 Delay measurement device, method, and program for electronic circuit, as well as medium
JP6237310B2 (en) * 2014-02-14 2017-11-29 株式会社ソシオネクスト Semiconductor integrated circuit
KR20160092835A (en) * 2015-01-28 2016-08-05 에스케이하이닉스 주식회사 Degradation detection circuit and degradation adjusting apparatus including the same
US10114782B2 (en) * 2016-09-27 2018-10-30 Nxp B.V. USB type C dual-role-port unattached duty cycle randomization
US11099224B2 (en) * 2019-05-24 2021-08-24 Marvell Israel (M.I.S.L) Ltd. Method and circuitry for semiconductor device performance characterization
JP7241652B2 (en) 2019-09-17 2023-03-17 ルネサスエレクトロニクス株式会社 Semiconductor devices, electronic devices and electronic systems

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003121505A (en) 2001-10-17 2003-04-23 Sharp Corp Testing circuit and testing method
US20040068674A1 (en) * 2002-10-03 2004-04-08 Rodriguez John Anthony Apparatus and methods for ferroelectric ram fatigue testing
US7042971B1 (en) * 2001-06-12 2006-05-09 Lsi Logic Corporation Delay-locked loop with built-in self-test of phase margin
JP2007093476A (en) 2005-09-29 2007-04-12 Toshiba Corp Semiconductor integrated circuit
US20080278223A1 (en) * 2006-11-22 2008-11-13 Kent Kernahan Apparatus and method for controlling the propagation delay of a circuit by controlling the voltage applied to the circuit
JP2010066019A (en) 2008-09-08 2010-03-25 Nec Electronics Corp Test circuit and test method
JP2010283054A (en) 2009-06-03 2010-12-16 Kawasaki Microelectronics Inc Process monitor circuit and method of determining process characteristics
US20110187419A1 (en) * 2010-02-02 2011-08-04 Renesas Electronics Corporaiton Semiconductor integrated circuit and voltage controller therewith
US8786347B1 (en) * 2013-05-14 2014-07-22 Texas Instruments Incorporated Delay circuits for simulating delays based on a single cycle of a clock signal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05122019A (en) * 1991-10-25 1993-05-18 Nec Ic Microcomput Syst Ltd Ring oscillator
US8553503B2 (en) * 2008-12-31 2013-10-08 Intel Corporation On-die signal timing measurement

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7042971B1 (en) * 2001-06-12 2006-05-09 Lsi Logic Corporation Delay-locked loop with built-in self-test of phase margin
JP2003121505A (en) 2001-10-17 2003-04-23 Sharp Corp Testing circuit and testing method
US20040068674A1 (en) * 2002-10-03 2004-04-08 Rodriguez John Anthony Apparatus and methods for ferroelectric ram fatigue testing
JP2007093476A (en) 2005-09-29 2007-04-12 Toshiba Corp Semiconductor integrated circuit
US20080278223A1 (en) * 2006-11-22 2008-11-13 Kent Kernahan Apparatus and method for controlling the propagation delay of a circuit by controlling the voltage applied to the circuit
JP2010066019A (en) 2008-09-08 2010-03-25 Nec Electronics Corp Test circuit and test method
JP2010283054A (en) 2009-06-03 2010-12-16 Kawasaki Microelectronics Inc Process monitor circuit and method of determining process characteristics
US20110187419A1 (en) * 2010-02-02 2011-08-04 Renesas Electronics Corporaiton Semiconductor integrated circuit and voltage controller therewith
US8786347B1 (en) * 2013-05-14 2014-07-22 Texas Instruments Incorporated Delay circuits for simulating delays based on a single cycle of a clock signal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
H. Notani, et al., "On-chip Digital /dn and /dp Measurement by 65 nm CMOS Speed Monitor Circuit", IEEE Asian Solid-State Circuits Conference, Nov. 3-5, 2008, pp. 405-408.
Japanese Office Action issued on Jan. 6, 2015 in Patent Application No. 2011-267942 with English translation.
Tetsuya Iizuka, et al., "All-Digital On-Chip Monitor for PMOS and NMOS Process Variability Measurement Utilizing Buffer Ring with Pulse Counter", In Proceedings of IEEE European Solid-State Circuit Conference, IEICE Transactions on Electronics, vol. E94-C, No. 4, 2010, pp. 182-185.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10396802B2 (en) 2015-08-06 2019-08-27 Renesas Electronics Corporation Semiconductor device

Also Published As

Publication number Publication date
JP5752577B2 (en) 2015-07-22
US20130147501A1 (en) 2013-06-13
JP2013120836A (en) 2013-06-17

Similar Documents

Publication Publication Date Title
US9128146B2 (en) Semiconductor integrated circuit
US7957923B2 (en) Device for jitter measurement and method thereof
US7315270B2 (en) Differential delay-line analog-to-digital converter
JP4914836B2 (en) Semiconductor integrated circuit
US8330478B2 (en) Operating parameter monitoring circuit and method
JP4725418B2 (en) Time measurement circuit
US20140145707A1 (en) Voltage fluctuation detection circuit and semiconductor integrated circuit
US7653170B2 (en) Electrical circuit for measuring times and method for measuring times
US7795920B2 (en) Semiconductor integrated circuit
US6373307B1 (en) Semiconductor integrated circuit
KR101605941B1 (en) Ring oscillator and semiconductor device
JP6686571B2 (en) Counter circuit, time measuring circuit and temperature sensor circuit
US10037011B2 (en) Time measuring circuit and temperature sensor circuit
US7932848B2 (en) Pulse delay circuit and A/D converter including same
JP2013005177A (en) Delay circuit and system
US20140132319A1 (en) Dll circuit and semiconductor device
JP2006229622A (en) Load fluctuation compensating circuit, electronic device, testing device and timing generating circuit
US10054632B2 (en) Semiconductor apparatus and characteristic measurement circuit therefor
US20140254742A1 (en) Delay measurement device, method and medium
US8841945B2 (en) Semiconductor device and method of driving the same
KR101090448B1 (en) apparatus for measuring capacitance using on chip pulse generator
JP2009282916A (en) Clock jitter estimation method and semiconductor device designing method
JP6218297B2 (en) Semiconductor integrated circuit and delay measurement circuit
JP6746876B2 (en) Temperature sensor circuit
JP4614785B2 (en) Delay time evaluation circuit and method

Legal Events

Date Code Title Description
AS Assignment

Owner name: KABUSHIKI KAISHA TOSHIBA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:YAMAGISHI, TOSHIYUKI;REEL/FRAME:027880/0163

Effective date: 20120305

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Expired due to failure to pay maintenance fee

Effective date: 20190908