US20110074385A1 - Semiconductor integrated circuit - Google Patents
Semiconductor integrated circuit Download PDFInfo
- Publication number
- US20110074385A1 US20110074385A1 US12/849,807 US84980710A US2011074385A1 US 20110074385 A1 US20110074385 A1 US 20110074385A1 US 84980710 A US84980710 A US 84980710A US 2011074385 A1 US2011074385 A1 US 2011074385A1
- Authority
- US
- United States
- Prior art keywords
- circuit
- current
- amount
- variable delay
- count value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/30—Marginal testing, e.g. by varying supply voltage
- G01R31/3016—Delay or race condition test, e.g. race hazard test
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0084—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R21/00—Arrangements for measuring electric power or power factor
Definitions
- the present invention relates to a test circuit (a Built In Self-Test circuit, abbreviated to a BIST circuit) for evaluating a variable delay circuit and a delay control circuit integrated in a semiconductor device.
- a test circuit a Built In Self-Test circuit, abbreviated to a BIST circuit
- a timing generator LSI for supplying a clock signal to an LSI tester is provided with a variable delay circuit and outputs a clock signal with a phase according to a test timing. Since a timing generator circuit is equipped with a plurality of variable delay circuits to sufficiently ensure the accuracy and the variable delay range of a clock signal to be output therefrom, the timing generator circuit is a complicated one.
- the delay control circuit can perform a small current control by using a digital-to-analog conversion circuit (hereinafter referred to as DAC) to improve the accuracy of delay and save electricity.
- DAC digital-to-analog conversion circuit
- An increase in degree of integration also increases the number of variable delay circuits which can be mounted on one LSI. Accordingly, the number of variable delay circuits mounted on one timing generator LSI reaches about several hundreds.
- a ring oscillator is formed of variable delay circuits to measure its oscillation frequency, ensuring the operation of circuits in such a timing generator LSI.
- JP-A-2000-180514 discusses an example in which, although the document has its purpose to calibrate the phase of an output clock signal, a signal output to the terminal of a signal transmission route is fed back to the starting end thereof to form a closed loop oscillation circuit, which is used to adjust timing.
- US2007/0091701 discloses a test method using the DAC. US2007/0091701 discusses that the operation confirmation of a transistor for controlling the current path of the DAC is performed by a functional test; however, the output current and voltage are outputted to an external tester.
- test time for a delay circuit is spent for measurement by a frequency counter.
- the time required for the test depends on accuracy and oscillation frequency. Measurement time is on the order of several milliseconds to several seconds per circuit.
- the test time increases in proportion to measurement accuracy, the number of variable delay circuits to be measured, and the number of combinations of delay adjustment parameters. As described above in “BACKGROUND OF THE INVENTION,” these factors are being increased.
- pins for test are increased in number to increase in the speed of input and output between a tester and an LSI, allowing reducing the test time, however, the number of pins allocated to the test is limited, which cannot really suppress an increase in the time required for the test.
- a semiconductor integrated circuit includes: a variable delay circuit; and a test circuit for the variable delay circuit; wherein the test circuit forms a ring oscillator using the variable delay circuit, causes the ring oscillator to oscillate at the time of test operation and determines whether the variable delay circuit is normal or abnormal depending on whether the ring oscillator satisfies predetermined monotonic increase and linearity conditions.
- a semiconductor integrated circuit includes: a variable delay circuit; a delay control circuit including a digital analog conversion circuit configured to convert a digital signal to the amount of current and controlling the delay of the variable delay circuit by voltage according to the amount of current; and a test circuit for the delay control circuit; wherein the delay control circuit includes a plurality of unit current sources selected according to the value of a digital signal and the test circuit functionally and digitally determines that the value of a current flowing into each of the plurality of the unit current sources falls within a predetermined range to determine whether the delay control circuit is normal or abnormal.
- FIG. 1 is a block diagram of a variable delay circuit and a delay test circuit therefor;
- FIG. 2 is a flow chart of a test using FIG. 1 ;
- FIG. 3 is a schematic diagram for a linearity evaluation determination of the variable delay circuit
- FIG. 4 is a block diagram of the delay test circuit applied to a plurality of the variable delay circuits
- FIG. 5 is a block diagram of a delay control circuit and a test circuit therefor
- FIG. 6 is a diagram showing a generation probability of current flowing, into a unit current source
- FIG. 7 is a diagram showing a relationship among current, voltage, and determination output in a window comparator
- FIG. 8 is a circuit diagram in which the same control DAC is used as a replica DAC
- FIG. 9 is an example of a configuration in which test results are integrated and output
- FIG. 10 is an example of a configuration in which a current switch is mounted.
- FIG. 11 is an example of a configuration of the variable delay circuit and the delay control circuit.
- test circuit and the test method of the variable delay circuit are described below as a first embodiment.
- FIG. 1 shows a block diagram of a variable delay circuit 100 to be measured and a delay test circuit therefor.
- the variable delay circuit 100 delays an input signal by a delay according to a control signal from a delay control circuit 150 .
- the blocks excluding the variable delay circuit 100 are referred to as the delay test, circuit and include a state machine 200 , a test switching circuit 300 , a frequency measurement circuit 400 , a frequency counter register 500 , an expected value generating circuit 600 , an expected value register 700 , a comparison circuit 800 , and a test result register 900 .
- the test switching circuit 300 selects a clock signal SIG.
- the delay control circuit 150 receives a delay control signal to adjust a delay control parameter.
- the variable delay circuit 100 delays the clock signal SIG input from delay control circuit 150 according to a change in the delay control parameter and outputs the delayed clock signal SIGOUT.
- a test setting signal is inputted into the state machine 200 .
- the state machine 200 includes a setting storage register 210 and a setting control machine 220 .
- Test setting data is scanned in the setting storage register 210 from the outside.
- the setting control machine 220 receives setting data from the setting storage register 210 and controls the delay test circuit.
- the test switching circuit 300 is controlled by the setting control machine 220 and selects a loop path L passing through the variable delay circuit 100 at the time of starting the test, thereby forming a ring oscillator.
- the frequency measurement circuit 400 includes a ring oscillator counter 410 and a reference clock counter 420 .
- the ring oscillator counter 410 counts the number of times of oscillation of the ring oscillator when the test switching circuit 300 forms the ring oscillator.
- the reference clock counter 420 counts the number of times of oscillation of a reference clock. When the count value of the reference clock counter 420 reaches a setting value given by the setting control machine 220 , the reference clock counter 420 stops counting and stores the count value. At the same time, the count of the ring oscillator is ended.
- the test of the variable delay circuit 100 is conducted using the count value of the ring oscillator counter 410 obtained when the count value of the reference clock counter 420 reaches the predetermined setting value.
- the count value of the ring oscillator counter 410 is represented by C N at the time (represented by time P N ) when the reference clock counter 420 reaches N-th predetermined setting value after the test starts.
- the counter register 500 stores the count value of the ring oscillator counter 410 , i.e., C N ⁇ 1 at the time (represented by time P N ⁇ 1 ) when the reference clock counter 420 reaches (N ⁇ 1)th predetermined setting value.
- the expected value generating circuit 600 uses the count value (C N ) of the ring oscillator counter 410 and the count value (C N ⁇ 1 ) of the counter register 500 to generate an expected value at the time of test.
- the expected value register 700 includes a monotonic expected value register 710 , a first linear expected value register 730 , and a second linear expected value register 720 .
- the monotonic expected value register 710 reads the count value stored in the counter register 500 and stores it.
- the first linear expected value register 730 stores the expected value E N+1 , L uN+1 , and L 1N+1 ) generated in the expected value generating circuit 600 .
- the second linear expected value register 720 reads an expected value (E N , L uN , and L 1N ) being earlier by one period than the expected value (E N+1 , L uN+1 , and L 1N+1 ) from the first linear expected value register 730 and stores the expected value (E N , L uN , and L 1N ).
- the comparison circuit 800 compares the count value stored in the ring oscillator counter 410 with the expected value stored in the monotonic expected value register 710 and the second linear expected value register 720 .
- the test result register 900 stores the comparison result from the comparison circuit 800 .
- FIG. 2 is an example of the flow of a delay time test conducted in the circuit shown in FIG. 1 .
- the monotonic increase and linearity of delay of the variable delay circuit 100 are confirmed.
- the test of the variable delay circuit 100 is narrowed to the evaluation of monotonic increase and linearity to allow incorporating the expected value generating circuit and a determination circuit into the LSI.
- step S 1 the external tester writes test setting data into the setting storage register 210 .
- the setting control machine 220 reads the setting data from the setting storage register 210 to execute the control in step S 2 and the subsequent steps.
- step S 2 the test switching circuit 300 selects the loop path L to form the ring oscillator including the variable delay circuit 100 and causes the ring oscillator to oscillate.
- step S 3 the ring oscillator counter 410 and the reference clock counter 420 start measuring count.
- the count value of the reference clock counter 420 reaches the setting value provided by the setting control machine 220
- the reference clock counter 420 outputs a count stop signal to the setting control machine 220 .
- the setting control machine 220 receives the count stop signal and outputs the count stop signal to the ring oscillator counter 410 to stop the ring oscillator from counting.
- the count value C N is stored in the ring oscillator counter 410 and measurement is ended.
- step S 4 the expected value generating circuit 600 reads the count value C N stored in the ring oscillator counter 410 and the count value C N ⁇ 1 stored in the counter register 500 , generates the linear expected value E N+1 and defines a linearity determination range.
- FIG. 3 shows a schematic diagram for a linearity evaluation determination.
- the abscissa denotes time and the ordinate denotes the count value of the ring oscillator counter 410 . If the difference between the count values C N and C N ⁇ 1 is take as ⁇ , the expected value E N+1 of the count value at the time P N ⁇ 1 can be represented by C N + ⁇ .
- the linearity determination range within which the output of the variable delay circuit 100 at the time P N+1 is regarded as satisfying linearity is expressed by the following equations using a linearity allowance range R provided by the setting control machine 220 :
- L uN+1 is the upper limit value of the linearity determination range at the time P N+1 and L 1N+1 is the lower limit value thereof.
- the values are stored in the first linear expected value register 730 .
- step S 5 the count value C N ⁇ 1 stored in the counter register 500 is read into the monotonic expected value register 710 and taken as an expected value to be used for monotonic evaluation.
- step S 6 the comparison circuit 800 compares the count value C N ⁇ 1 stored in the monotonic expected value register 710 with the count value C N stored in the ring oscillator counter 410 . If C N ⁇ 1 ⁇ C N , it is determined that the count value C N monotonically increases. After the comparison is ended, the test result is stored in the test result register 900 . If it is determined that the count value C N monotonically increases, the proceeding proceeds to the following step for linearity evaluation. If it is determined that the count value C N does not monotonically increase, the result is outputted and the processing is ended (step S 11 ).
- step S 7 the comparison circuit 800 reads the upper limit value L uN and the lower limit value L 1N of the linearity determination range stored in the second linear expected value register 720 and the count value C N stored in the ring oscillator counter 410 and if L 1N ⁇ C N ⁇ L uN , it is determined that the count value C N is within a prescribed linearity range. If the linearity comparison is satisfied, it is confirmed whether the parameter is the latest one. If it is confirmed that the parameter is not the latest one, the result is outputted and the proceeding is ended (step S 11 ).
- step S 8 if the control parameter is the latest one, the result is outputted and the proceeding is ended (step S 11 ). If the control parameter is not the latest one, the count value C N stored in the ring oscillator counter 410 is stored in the counter register 500 . The expected value (E N+1 , L uN+1 and L 1N+1 ) stored in the first linear expected value register 730 is stored in the second linear expected value register 720 (step S 9 ). After storage, the time parameter is changed from N to (N+1) in step S 10 , and measurement is continued.
- FIG. 4 shows an example of configuration of a plurality of the variable delay circuits 100 .
- the blocks being common in function to those in FIG. 1 are denoted by the same reference characters and numerals.
- FIG. 4 has two variable delay circuits.
- the blocks and the signals related to a first variable delay circuit 100 a are provided with a subscript “a” and the blocks and the signals related to a second variable delay circuit 100 b are provided with a subscript “b,” the detailed description thereof is omitted.
- a test switching circuit 310 corresponding to the variable delay circuit, a frequency measurement circuit 400 and the like are prepared for the plurality of the variable delay circuits 100 to allow simultaneous test of a plurality of the variable delay circuits. Thereby, testing time can be reduced.
- an inverter 1000 is put between a first variable delay circuit 100 a and a second variable delay circuit 100 b to couple them together, thereby allowing forming a ring oscillator using two variable delay circuits.
- the selector of the test switching circuit 310 switches three inputs. In a normal operation mode, the clock signal SIG input to an input in 1 is inputted. If a plurality of the variable delay circuits is separately tested, the selector selects an input in 2 . In this case, each of the variable delay circuits is tested as is the case with the example in FIG. 1 .
- a loop path of the variable delay circuit 100 a , the inverter 1000 , the test switching circuit 310 b , the variable delay circuit 100 b , and the test switching circuit 310 a is formed to form a ring oscillator using two variable delay circuits 100 a and 100 b.
- variable delay circuit increases the oscillation frequency of the ring oscillator, which makes it difficult to conduct a test.
- the ring oscillator is formed by a plurality of the variable delay circuits to suppress the increase of the oscillation frequency of the ring oscillator even if an individual variable delay circuit is small in delay, increasing the accuracy of a test.
- the delays of the first and the second variable delay circuit are complementarily changed to make constant the oscillation frequency of the coupled ring oscillator, enabling the influence of frequency dependency to be eliminated, which allows further increasing test accuracy.
- a control DAC 2100 has a plurality of unit current sources M 1 to M 3 .
- the control. DAC 2100 performs switching between conduction and non-conduction of transistors M 4 to M 6 using control signals DC 1 to DC 3 .
- Current I D flowing according to a control DAC control signal DC is current/voltage converted by a mirror circuit MR 1 and a voltage according to the current I D is applied to the variable delay circuit 100 to control the delay. It is needless to say that the number of unit current sources of the control DAC 2100 is not limited to three.
- the gate width W of each of the unit current sources M 1 to M 3 may be adjusted to make the current I D multiple. In the present embodiment, it is tested whether all bits in the control DAC 2100 normally operate using the output current of the control DAC. “All bits normally operate” means that both of the following are satisfied: conduction and non-conduction of the transistors M 4 to M 6 are normally performed; and current flowing into the unit current sources M 1 to M 3 falls within a design value.
- a test for each unit current source is conducted instead of conducting a test for all variable delay parameters in the delay control circuit to allow reducing the number of tests from the number of all variable delay parameters to the number of unit current sources in the delay control circuit, enabling the test time to be reduced. Since the magnitude relation between the amounts of current in the unit current sources can be directly tested with respect to a change in delay in the variable delay circuit, measurement accuracy can be improved.
- a test circuit for the delay control circuit 150 is formed of a replica DAC 2200 and a window comparator 2300 .
- the replica DAC 2200 also includes a plurality of unit current sources M 11 to M 13 .
- Replica DAC control signals RDC 1 to RDC 3 perform switching between conduction and non-conduction of transistors M 14 to M 16 .
- the common reference voltage is applied to the gates of the unit current sources of the control DAC 2100 and the replica DAC 2200 . It is necessary only that the replica DAC 2200 can cause current I R required for the test for the control DAC 2100 to flow, so that the replica DAC 2200 does not always need to be similar in configuration to the control DAC 2100 . Since the replica DAC 2200 is mounted in the same LSI, the replica DAC 2200 is desirably as small as possible to reduce overhead.
- the window comparator 2300 includes a window width adjustment circuit 2310 and a determination circuit (an OR circuit in this example) 2320 .
- the window width adjustment circuit 2310 is controlled by window width setting signals WS 1 and WS 2 .
- a current mirror circuit draws a current equivalent to the output current I D of the control DAC 2100 and transistors M 21 and M 22 the size of which is adjusted to the current adjust an output current I w .
- the current I D is mirrored on the source and drain path of the transistor M 21 when the gate width of the transistor M 21 is w.
- the gate width of the transistor M 21 is taken as 0.8 w and the gate width of the transistor M 22 is 0.4 w.
- the determination circuit 2320 determines whether a current in which the output current of the control DAC 2100 is adjusted by the window width adjustment circuit 2310 is greater or smaller than the output current of the replica DAC 2200 .
- the window width setting signal WS, the control DAC control signal DC, the replica DAC control signal RDC, and a test enable TE are inputted from the outside (tester).
- the determination principle of the window comparator 2300 is described below with reference to FIGS. 6 and 7 with the unit current source M 1 of the control DAC 2100 as an example.
- the current I D actual measured value
- the current I D flowing into the unit current source M 1 disperses with a design value I DI as a center, so that if the actual measured value is within the range of the following formula (1), the unit current source M 1 is regarded as being normally operated:
- the upper limit is regarded as being satisfied.
- the unit current source M 1 of the control DAC and the unit current source M 11 of the replica DAC are produced by transistors with the same size to satisfy the supposition.
- FIG. 7 shows the relationship between current and voltage in the window comparator 2300 .
- the voltage at a node Vc at this point is taken as V 1 .
- the voltage at a node Vc at this point is taken as V 2 .
- the window comparator 2300 determines whether the output current I R of the replica DAC and the currents I w and I w ′ corresponding to the upper and the lower limit respectively have the relationship shown in FIG. 7 .
- the OR circuit in the determination circuit 2300 functions as an inverter if the test enable TE is Low and compares the voltage appearing at the node Vc with a logic threshold voltage V TH of the OR circuit. If the currents I R , I w , and I w ′ have the relationship shown in FIG.
- the node Vc V 1 ⁇ V TH , so that the determination result becomes “Low.”
- the node Vc V 2 >V TH , so that the determination result becomes “High.” If the above determination results appear in the determination of the upper and the lower limit, it is determined that the unit current source M 1 of the control DAC 2100 is normally operated. At this point, the determination of the unit current source M 1 is completed and then the determination of the unit current source M 2 is started. Thus, the test of the control DAC is digitally determined to produce an effect in which a logic test of a general LSI test and an interface can be made common.
- FIG. 8 shows an example of a configuration in which the control DAC of the delay control circuit existing in the same LSI is used as a replica DAC of a different delay control circuit.
- a control DAC 2100 b for a variable delay circuit 100 b is used as a replica DAC for a control DAC 2100 a .
- a control DAC 2100 c for a variable delay circuit 100 c is used as a replica DAC for a control DAC 2100 b .
- a control DAC 2100 a for a variable delay circuit 100 a is used as a replica DAC for a control DAC 2100 c .
- the control DACs 2100 are similar in configuration to each other.
- a window comparator 6100 includes a window width adjustment circuit 6110 , a determination circuit 6120 , and a switch circuit 6130 .
- the window width adjustment circuit 6110 is different in polarity from the window width adjustment circuit shown in FIG. 5 , the window width adjustment circuit 6110 functions similarly therewith.
- the switch circuit 6130 In a test operation mode (the test enable TE is low), the switch circuit 6130 conducts to operate the window width adjustment circuit 6110 .
- the switch circuit 6130 In a normal operation mode (the test enable TE is high), the switch circuit 6130 does not conduct, causing the window width adjustment circuit 6110 not to operate.
- the unit current source of the control DAC 2100 a is tested such that the electric potential at the node V c1 determined by the amount of current in which the current flowing into the control.
- DAC 2100 a is adjusted for the upper/lower determination by the window width adjustment circuit 6110 a and the amount of current flowing into the control.
- DAC 2100 c (the replica DAC) is determined by a determination circuit 6120 a .
- the unit current source of the control DAC 2100 b is tested such that the electric potential at the node V c2 determined by the amount of current in which the current flowing into the control DAC 2100 b is adjusted for the upper/lower determination by the window width adjustment circuit 6110 b and the amount of current flowing into the control DAC 2100 b (the replica DAC) is determined by a determination circuit 6120 b .
- the unit current source of the control DAC 2100 c is tested such that the electric potential at the node V 3 determined by the amount of current in which the current flowing into the control DAC 2100 c is adjusted for the upper/lower determination by the window width adjustment circuit 6110 c and the amount of current flowing into the control DAC 2100 b (the replica DAC) is determined by determination circuit 6120 c .
- An example where unit current sources M 61 , M 71 , and M 81 are tested is described below.
- Control signals DC 3 _a, DC 3 _b, and DC 3 _c are rendered to be high to cause the transistors M 62 , M 72 , and M 82 to conduct.
- control signals DC 1 and DC 2 are rendered to be low to cause current to flow into the control DACs 2100 a to 2100 c according to the unit current sources M 61 , M 71 , and M 81 respectively. Thus, the unit current source of the control DAC 2100 is tested.
- control DAC with the same configuration regarded as the replica DAC is used to allow preventing the area overhead of the test circuit from being increased.
- the present invention is not limited to this number.
- FIG. 9 shows an example of a configuration in which the determination results of a plurality of the variable delay circuits are collectively output and determined.
- the delay control circuit 150 corresponding to one variable delay circuit 100 and the test circuits thereof are referred to as one test unit.
- an AND circuit 4400 an OR circuit 4500 , and a selector 4600 to which determination results are inputted from the window comparators 2300 of a plurality of test units 4000 and a selector 4700 for selecting outputs of the AND circuit 4400 , the OR circuit 4500 , and the selector 4600 .
- the output of the window comparator 2300 being Low in the determination of the upper limit of the unit current source and the output of the window comparator 2300 being High in the determination of the lower limit of the unit current source are an expected value in a normal operation mode.
- the selector 4700 selects the OR circuit 4500 . If even one High output exists in the determination result from the test unit, the output result becomes High, so that it can be determined that the test unit deviating from the expected value exists.
- the selector 4700 selects the AND circuit 4400 . If even one Low output exists in the determination result from the test unit, the output result becomes Low, so that it can be determined that the test unit deviating from the expected value exists.
- the selector 4600 is used when the determination result is separately output from each test unit as a debug mode if the integrated determination result is not obtained as expected from the selector 4700 .
- test units are not limited to four.
- Each test unit may use the configuration shown in FIG. 5 or 8 .
- FIG. 10 is an example of configuration for increasing a test accuracy, in which a current switch is used.
- a MOS transistor increases in a production dispersion along with the miniaturization thereof, which disperses the characteristics thereof. The influence of the dispersion can be reduced by increasing the gate length (Lg) of the MOS transistor.
- a transistor M 31 forming a current source 5100 for supplying a control voltage to the variable delay circuit 100 in a normal operation mode is formed of a miniaturized MOS transistor matched to a transistor in the variable delay circuit 100 . This is because a small change in current in a saturation area is desired to improve sensitivity at the time of comparing current.
- the transistor M 31 is configured with the gate length equal to that of the MOS transistor forming the variable delay circuit 100 .
- the power supply NMOS (the transistors M 11 , M 12 , and M 13 of the replica DAC 2200 ) and the power supply PMOS (the transistors M 23 , M 24 , and M 25 of the window width adjustment circuit 2310 ) correspond to the above.
- a MOS transistor shows a great change in current in the saturation area along with the miniaturization thereof. It is desirable that a change in current in the saturation area is small as the MOS transistor of the window comparator 2300 , which may worsen sensitivity.
- a current source M 32 greater in size, that is to say, greater in a gate length (Lg) than the transistor M 31 of a current source 5100 receiving the output of the control DAC used in the normal operation mode is used at the time of test to use the power supply excellent in characteristic, improving the determination accuracy of the determination circuit.
- FIG. 10 The configuration of FIG. 10 is different from that of FIG. 5 in that the output current of the replica DAC 2200 is switched between the upper limit determination and the lower limit determination by a window width adjustment circuit 5210 . It can be determined whether the unit current source is normally operated based on the same principle as those of FIGS. 6 and 7 .
- a current switching circuit receiving the test enable TE is provided.
- the transistors M 43 and M 44 conduct to output a delay control signal according to the delay control signal DC.
- the transistors M 41 and M 42 are caused not to conduct.
- the test enable TE is rendered to be Low to cause the transistors M 43 and M 44 not to conduct and the transistors M 41 and M 42 to conduct.
- the voltage at the node V c determined by the magnitude relation between the output current I X obtained by switching the mirror output current I RM of the replica DAC 2200 by the window width adjustment circuit 5210 and the mirror output current I RM of the control DAC 2100 is determined by the determination circuit 5220 and the determination result is outputted.
- FIG. 11 shows an example of configuration of the variable delay circuit 100 and the delay control circuit 150 .
- the delay control circuit 150 controls the delay of the variable delay circuit 100 by controlling the ON resistance of the NMOS transistor M 51 provided between the delay element 6000 and the reference electric potential and the PMOS transistor M 52 provided between the delay element 6000 and the power supply electric potential.
- the present invention is applicable not only to a circuit having either the variable delay circuit or the DAC, but to a circuit having both the variable delay circuit and the DAC.
- the output of the variable delay circuit may be output by fine adjusting the clock signal coarse adjusted by a first variable delay circuit by a second variable delay circuit instead of outputting the output of the variable delay circuit, as it is.
- the DAC to which the test circuit described in the embodiments can be applied is not limited to the DAC used for the delay control circuit.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
There is provided a semiconductor integrated circuit in which a ring oscillator is formed by a variable delay circuit to cause the ring oscillator to oscillate (S2) at the test operation of the variable delay circuit and it is determined whether the variable delay circuit is normal or abnormal depending on whether the ring oscillator satisfies a predetermined monotonic increase condition (S6) and a predetermined linearity condition (S7).
Description
- The present application claims priority from Japanese patent application JP 2009-221900 filed on Sep. 28, 2009, the content of which is hereby incorporated by reference into this application.
- The present invention relates to a test circuit (a Built In Self-Test circuit, abbreviated to a BIST circuit) for evaluating a variable delay circuit and a delay control circuit integrated in a semiconductor device.
- A timing generator LSI for supplying a clock signal to an LSI tester is provided with a variable delay circuit and outputs a clock signal with a phase according to a test timing. Since a timing generator circuit is equipped with a plurality of variable delay circuits to sufficiently ensure the accuracy and the variable delay range of a clock signal to be output therefrom, the timing generator circuit is a complicated one. The delay control circuit can perform a small current control by using a digital-to-analog conversion circuit (hereinafter referred to as DAC) to improve the accuracy of delay and save electricity. An increase in degree of integration also increases the number of variable delay circuits which can be mounted on one LSI. Accordingly, the number of variable delay circuits mounted on one timing generator LSI reaches about several hundreds.
- A ring oscillator is formed of variable delay circuits to measure its oscillation frequency, ensuring the operation of circuits in such a timing generator LSI. JP-A-2000-180514 discusses an example in which, although the document has its purpose to calibrate the phase of an output clock signal, a signal output to the terminal of a signal transmission route is fed back to the starting end thereof to form a closed loop oscillation circuit, which is used to adjust timing.
- US2007/0091701 discloses a test method using the DAC. US2007/0091701 discusses that the operation confirmation of a transistor for controlling the current path of the DAC is performed by a functional test; however, the output current and voltage are outputted to an external tester.
- Almost all of test time for a delay circuit is spent for measurement by a frequency counter. The time required for the test depends on accuracy and oscillation frequency. Measurement time is on the order of several milliseconds to several seconds per circuit. The test time increases in proportion to measurement accuracy, the number of variable delay circuits to be measured, and the number of combinations of delay adjustment parameters. As described above in “BACKGROUND OF THE INVENTION,” these factors are being increased. On the other hand, pins for test are increased in number to increase in the speed of input and output between a tester and an LSI, allowing reducing the test time, however, the number of pins allocated to the test is limited, which cannot really suppress an increase in the time required for the test.
- According to one aspect of the present invention, there is provided a semiconductor integrated circuit includes: a variable delay circuit; and a test circuit for the variable delay circuit; wherein the test circuit forms a ring oscillator using the variable delay circuit, causes the ring oscillator to oscillate at the time of test operation and determines whether the variable delay circuit is normal or abnormal depending on whether the ring oscillator satisfies predetermined monotonic increase and linearity conditions.
- According to another aspect of the present invention, there is provided a semiconductor integrated circuit includes: a variable delay circuit; a delay control circuit including a digital analog conversion circuit configured to convert a digital signal to the amount of current and controlling the delay of the variable delay circuit by voltage according to the amount of current; and a test circuit for the delay control circuit; wherein the delay control circuit includes a plurality of unit current sources selected according to the value of a digital signal and the test circuit functionally and digitally determines that the value of a current flowing into each of the plurality of the unit current sources falls within a predetermined range to determine whether the delay control circuit is normal or abnormal.
- The time required for the test of the variable delay circuit and the analog characteristic of the DAC is reduced.
-
FIG. 1 is a block diagram of a variable delay circuit and a delay test circuit therefor; -
FIG. 2 is a flow chart of a test usingFIG. 1 ; -
FIG. 3 is a schematic diagram for a linearity evaluation determination of the variable delay circuit; -
FIG. 4 is a block diagram of the delay test circuit applied to a plurality of the variable delay circuits; -
FIG. 5 is a block diagram of a delay control circuit and a test circuit therefor; -
FIG. 6 is a diagram showing a generation probability of current flowing, into a unit current source; -
FIG. 7 is a diagram showing a relationship among current, voltage, and determination output in a window comparator; -
FIG. 8 is a circuit diagram in which the same control DAC is used as a replica DAC; -
FIG. 9 is an example of a configuration in which test results are integrated and output; -
FIG. 10 is an example of a configuration in which a current switch is mounted; and -
FIG. 11 is an example of a configuration of the variable delay circuit and the delay control circuit. - The test circuit and the test method of the variable delay circuit are described below as a first embodiment.
-
FIG. 1 shows a block diagram of avariable delay circuit 100 to be measured and a delay test circuit therefor. Thevariable delay circuit 100 delays an input signal by a delay according to a control signal from adelay control circuit 150. The blocks excluding thevariable delay circuit 100 are referred to as the delay test, circuit and include astate machine 200, atest switching circuit 300, afrequency measurement circuit 400, afrequency counter register 500, an expectedvalue generating circuit 600, anexpected value register 700, acomparison circuit 800, and atest result register 900. - In a normal operation mode, the
test switching circuit 300 selects a clock signal SIG. Thedelay control circuit 150 receives a delay control signal to adjust a delay control parameter. Thevariable delay circuit 100 delays the clock signal SIG input fromdelay control circuit 150 according to a change in the delay control parameter and outputs the delayed clock signal SIGOUT. - The flow on the whole of the test is described later with reference to
FIG. 2 . The function and the operation of each block are described below. - A test setting signal is inputted into the
state machine 200. Thestate machine 200 includes asetting storage register 210 and asetting control machine 220. Test setting data is scanned in thesetting storage register 210 from the outside. Thesetting control machine 220 receives setting data from thesetting storage register 210 and controls the delay test circuit. - The
test switching circuit 300 is controlled by thesetting control machine 220 and selects a loop path L passing through thevariable delay circuit 100 at the time of starting the test, thereby forming a ring oscillator. - The
frequency measurement circuit 400 includes aring oscillator counter 410 and areference clock counter 420. Thering oscillator counter 410 counts the number of times of oscillation of the ring oscillator when thetest switching circuit 300 forms the ring oscillator. Thereference clock counter 420 counts the number of times of oscillation of a reference clock. When the count value of thereference clock counter 420 reaches a setting value given by thesetting control machine 220, thereference clock counter 420 stops counting and stores the count value. At the same time, the count of the ring oscillator is ended. - The test of the
variable delay circuit 100 is conducted using the count value of thering oscillator counter 410 obtained when the count value of thereference clock counter 420 reaches the predetermined setting value. Hereinafter, the count value of thering oscillator counter 410 is represented by CN at the time (represented by time PN) when thereference clock counter 420 reaches N-th predetermined setting value after the test starts. The counter register 500 stores the count value of thering oscillator counter 410, i.e., CN−1 at the time (represented by time PN−1) when thereference clock counter 420 reaches (N−1)th predetermined setting value. - The expected
value generating circuit 600 uses the count value (CN) of thering oscillator counter 410 and the count value (CN−1) of thecounter register 500 to generate an expected value at the time of test. - The expected
value register 700 includes a monotonicexpected value register 710, a first linearexpected value register 730, and a second linear expectedvalue register 720. The monotonic expectedvalue register 710 reads the count value stored in thecounter register 500 and stores it. The first linearexpected value register 730 stores the expected value EN+1, LuN+1, and L1N+1) generated in the expectedvalue generating circuit 600. The second linear expectedvalue register 720 reads an expected value (EN, LuN, and L1N) being earlier by one period than the expected value (EN+1, LuN+1, and L1N+1) from the first linearexpected value register 730 and stores the expected value (EN, LuN, and L1N). - The
comparison circuit 800 compares the count value stored in thering oscillator counter 410 with the expected value stored in the monotonicexpected value register 710 and the second linearexpected value register 720. - The test result register 900 stores the comparison result from the
comparison circuit 800. -
FIG. 2 is an example of the flow of a delay time test conducted in the circuit shown inFIG. 1 . The monotonic increase and linearity of delay of thevariable delay circuit 100 are confirmed. The test of thevariable delay circuit 100 is narrowed to the evaluation of monotonic increase and linearity to allow incorporating the expected value generating circuit and a determination circuit into the LSI. - In step S1, the external tester writes test setting data into the setting
storage register 210. The settingcontrol machine 220 reads the setting data from the settingstorage register 210 to execute the control in step S2 and the subsequent steps. - In step S2, the
test switching circuit 300 selects the loop path L to form the ring oscillator including thevariable delay circuit 100 and causes the ring oscillator to oscillate. - In step S3, the
ring oscillator counter 410 and thereference clock counter 420 start measuring count. When the count value of thereference clock counter 420 reaches the setting value provided by the settingcontrol machine 220, thereference clock counter 420 outputs a count stop signal to the settingcontrol machine 220. The settingcontrol machine 220 receives the count stop signal and outputs the count stop signal to thering oscillator counter 410 to stop the ring oscillator from counting. The count value CN is stored in thering oscillator counter 410 and measurement is ended. - In step S4, the expected
value generating circuit 600 reads the count value CN stored in thering oscillator counter 410 and the count value CN−1 stored in thecounter register 500, generates the linear expected value EN+1 and defines a linearity determination range. -
FIG. 3 shows a schematic diagram for a linearity evaluation determination. InFIG. 3 , the abscissa denotes time and the ordinate denotes the count value of thering oscillator counter 410. If the difference between the count values CN and CN−1 is take as Δ, the expected value EN+1 of the count value at the time PN−1 can be represented by CN+Δ. The linearity determination range within which the output of thevariable delay circuit 100 at the time PN+1 is regarded as satisfying linearity is expressed by the following equations using a linearity allowance range R provided by the setting control machine 220: -
L uN+1 =E N+1 +R -
L 1N+1 =E N+1 −R - where LuN+1 is the upper limit value of the linearity determination range at the time PN+1 and L1N+1 is the lower limit value thereof. The values are stored in the first linear expected
value register 730. - In step S5, the count value CN−1 stored in the
counter register 500 is read into the monotonic expected value register 710 and taken as an expected value to be used for monotonic evaluation. - In step S6, the
comparison circuit 800 compares the count value CN−1 stored in the monotonic expected value register 710 with the count value CN stored in thering oscillator counter 410. If CN−1<CN, it is determined that the count value CN monotonically increases. After the comparison is ended, the test result is stored in thetest result register 900. If it is determined that the count value CN monotonically increases, the proceeding proceeds to the following step for linearity evaluation. If it is determined that the count value CN does not monotonically increase, the result is outputted and the processing is ended (step S11). - In step S7, the
comparison circuit 800 reads the upper limit value LuN and the lower limit value L1N of the linearity determination range stored in the second linear expected value register 720 and the count value CN stored in thering oscillator counter 410 and if L1N<CN<LuN, it is determined that the count value CN is within a prescribed linearity range. If the linearity comparison is satisfied, it is confirmed whether the parameter is the latest one. If it is confirmed that the parameter is not the latest one, the result is outputted and the proceeding is ended (step S11). - In step S8, if the control parameter is the latest one, the result is outputted and the proceeding is ended (step S11). If the control parameter is not the latest one, the count value CN stored in the
ring oscillator counter 410 is stored in thecounter register 500. The expected value (EN+1, LuN+1 and L1N+1) stored in the first linear expected value register 730 is stored in the second linear expected value register 720 (step S9). After storage, the time parameter is changed from N to (N+1) in step S10, and measurement is continued. -
FIG. 4 shows an example of configuration of a plurality of thevariable delay circuits 100. The blocks being common in function to those inFIG. 1 are denoted by the same reference characters and numerals.FIG. 4 has two variable delay circuits. The blocks and the signals related to a firstvariable delay circuit 100 a are provided with a subscript “a” and the blocks and the signals related to a secondvariable delay circuit 100 b are provided with a subscript “b,” the detailed description thereof is omitted. Thus, a test switching circuit 310 corresponding to the variable delay circuit, afrequency measurement circuit 400 and the like are prepared for the plurality of thevariable delay circuits 100 to allow simultaneous test of a plurality of the variable delay circuits. Thereby, testing time can be reduced. - In the configuration of
FIG. 4 , aninverter 1000 is put between a firstvariable delay circuit 100 a and a secondvariable delay circuit 100 b to couple them together, thereby allowing forming a ring oscillator using two variable delay circuits. The selector of the test switching circuit 310 switches three inputs. In a normal operation mode, the clock signal SIG input to an input in1 is inputted. If a plurality of the variable delay circuits is separately tested, the selector selects an input in2. In this case, each of the variable delay circuits is tested as is the case with the example inFIG. 1 . When the selector selects an input in3, a loop path of thevariable delay circuit 100 a, theinverter 1000, thetest switching circuit 310 b, thevariable delay circuit 100 b, and thetest switching circuit 310 a is formed to form a ring oscillator using twovariable delay circuits - A small delay of the variable delay circuit increases the oscillation frequency of the ring oscillator, which makes it difficult to conduct a test. As shown in
FIG. 4 , the ring oscillator is formed by a plurality of the variable delay circuits to suppress the increase of the oscillation frequency of the ring oscillator even if an individual variable delay circuit is small in delay, increasing the accuracy of a test. Furthermore, the delays of the first and the second variable delay circuit are complementarily changed to make constant the oscillation frequency of the coupled ring oscillator, enabling the influence of frequency dependency to be eliminated, which allows further increasing test accuracy. - In the second embodiment, the test circuit and the test method of the
delay control circuit 150 are described below. In a configuration inFIG. 5 , delay is controlled by the DAC. Acontrol DAC 2100 has a plurality of unit current sources M1 to M3. The control.DAC 2100 performs switching between conduction and non-conduction of transistors M4 to M6 using control signals DC1 to DC3. Current ID flowing according to a control DAC control signal DC is current/voltage converted by a mirror circuit MR1 and a voltage according to the current ID is applied to thevariable delay circuit 100 to control the delay. It is needless to say that the number of unit current sources of thecontrol DAC 2100 is not limited to three. The gate width W of each of the unit current sources M1 to M3 may be adjusted to make the current ID multiple. In the present embodiment, it is tested whether all bits in thecontrol DAC 2100 normally operate using the output current of the control DAC. “All bits normally operate” means that both of the following are satisfied: conduction and non-conduction of the transistors M4 to M6 are normally performed; and current flowing into the unit current sources M1 to M3 falls within a design value. - Thus, a test for each unit current source is conducted instead of conducting a test for all variable delay parameters in the delay control circuit to allow reducing the number of tests from the number of all variable delay parameters to the number of unit current sources in the delay control circuit, enabling the test time to be reduced. Since the magnitude relation between the amounts of current in the unit current sources can be directly tested with respect to a change in delay in the variable delay circuit, measurement accuracy can be improved.
- A test circuit for the
delay control circuit 150 is formed of areplica DAC 2200 and awindow comparator 2300. - The
replica DAC 2200 also includes a plurality of unit current sources M11 to M13. Replica DAC control signals RDC1 to RDC3 perform switching between conduction and non-conduction of transistors M14 to M16. The common reference voltage is applied to the gates of the unit current sources of thecontrol DAC 2100 and thereplica DAC 2200. It is necessary only that thereplica DAC 2200 can cause current IR required for the test for thecontrol DAC 2100 to flow, so that thereplica DAC 2200 does not always need to be similar in configuration to thecontrol DAC 2100. Since thereplica DAC 2200 is mounted in the same LSI, thereplica DAC 2200 is desirably as small as possible to reduce overhead. - The
window comparator 2300 includes a windowwidth adjustment circuit 2310 and a determination circuit (an OR circuit in this example) 2320. - The window
width adjustment circuit 2310 is controlled by window width setting signals WS1 and WS2. A current mirror circuit draws a current equivalent to the output current ID of thecontrol DAC 2100 and transistors M21 and M22 the size of which is adjusted to the current adjust an output current Iw. - An example is shown below. Suppose that the current ID is mirrored on the source and drain path of the transistor M21 when the gate width of the transistor M21 is w. In this case, the gate width of the transistor M21 is taken as 0.8 w and the gate width of the transistor M22 is 0.4 w. At this point, both of the transistors M21 and M22 are caused to conduct to obtain the output current Iw=1.2 ID. The transistor M21 is caused to conduct and the transistor M22 is not caused to conduct to obtain the output current Iw=0.8 ID.
- The
determination circuit 2320 determines whether a current in which the output current of thecontrol DAC 2100 is adjusted by the windowwidth adjustment circuit 2310 is greater or smaller than the output current of thereplica DAC 2200. - The window width setting signal WS, the control DAC control signal DC, the replica DAC control signal RDC, and a test enable TE are inputted from the outside (tester).
- The determination principle of the
window comparator 2300 is described below with reference toFIGS. 6 and 7 with the unit current source M1 of thecontrol DAC 2100 as an example. When the transistor M4 is caused to conduct and the transistors M5 and M6 are caused not to conduct, it is supposed that the current ID (actual measured value) flows into the unit current source M1. - As shown in
FIG. 6 , the current ID flowing into the unit current source M1 disperses with a design value IDI as a center, so that if the actual measured value is within the range of the following formula (1), the unit current source M1 is regarded as being normally operated: -
b·I DI <I D(actual measured value)<a·I DI(a>1,0≦b≦1) (1). - In the configuration in
FIG. 5 , a determination is made as described below as to whether the current ID (actual measured value) falls within a predetermined normal range. - As shown in
FIG. 6 , if the current ID is represented by the following formula (2): -
k 1 ·I D <a·I DI(a>k 1>1) (2) - the upper limit is regarded as being satisfied. For the sake of simplicity of description, suppose that the output current IR of the replica DAC is equal to IDI (that is, IR=IDI). For example, the unit current source M1 of the control DAC and the unit current source M11 of the replica DAC are produced by transistors with the same size to satisfy the supposition.
- Therefore, the formula (2) can be replaced by the following formula (3):
-
k 1 ·I D <a·I R(a>k 1>1) (3). - The formula (3) is transformed to the following formula (4):
-
(k 1 /a)·I D =K 1 ·I D <I R(K 1<1) (4). - For this reason, if the parameter of the window
width adjustment circuit 2310 is the output current -
I w =K 1 ·I D ,I w <I R (5), - when the relationship represented by of the formula (5) is satisfied, it can be determined that the upper limit is satisfied.
- As shown in
FIG. 6 , suppose that the following formula (6) satisfies the upper limit: -
B·I DI <k 2 ·I D′(1>k 2 >b>0) (6). - Similarly, if it is supposed that the output current IR of the replica DAC is equal to IDI (that is, IR=IDI), the formula (6) can be replaced by the following formula (7):
-
b·I R <k 2 ·I D′(1>k 2 >b>0) (7). - The formula (7) is transformed to the following formula (8):
-
I R<(k 2 /b)·I D ′=K 2 ·I D′(K 2>1) (8). - For this reason, if the parameter of the window
width adjustment circuit 2310 is the output current Iw′=K2·ID′, -
IR<Iw′ (9), - when the relationship represented by the formula (9) is satisfied, it can be determined that the lower limit is satisfied.
-
FIG. 7 shows the relationship between current and voltage in thewindow comparator 2300. In the determination of the upper limit, the current Iw adjusted so that the output current ID of thecontrol DAC 2100 is reduced by the windowwidth adjustment circuit 2310 and the output current IR of thereplica DAC 2200 is in an equilibrium state at the current I. The voltage at a node Vc at this point is taken as V1. In the determination of the lower limit, the current Iw′ adjusted so that the output current ID′ of thecontrol DAC 2100 is increased by the windowwidth adjustment circuit 2310 and the output current IR of thereplica DAC 2200 is in an equilibrium state at the current I′. The voltage at a node Vc at this point is taken as V2. - The
window comparator 2300 determines whether the output current IR of the replica DAC and the currents Iw and Iw′ corresponding to the upper and the lower limit respectively have the relationship shown inFIG. 7 . The OR circuit in thedetermination circuit 2300 functions as an inverter if the test enable TE is Low and compares the voltage appearing at the node Vc with a logic threshold voltage VTH of the OR circuit. If the currents IR, Iw, and Iw′ have the relationship shown inFIG. 7 , in the determination of the upper limit, the node Vc=V1<VTH, so that the determination result becomes “Low.” In the determination of the lower limit, the node Vc=V2>VTH, so that the determination result becomes “High.” If the above determination results appear in the determination of the upper and the lower limit, it is determined that the unit current source M1 of thecontrol DAC 2100 is normally operated. At this point, the determination of the unit current source M1 is completed and then the determination of the unit current source M2 is started. Thus, the test of the control DAC is digitally determined to produce an effect in which a logic test of a general LSI test and an interface can be made common. -
FIG. 8 shows an example of a configuration in which the control DAC of the delay control circuit existing in the same LSI is used as a replica DAC of a different delay control circuit. In the example ofFIG. 8 , acontrol DAC 2100 b for avariable delay circuit 100 b is used as a replica DAC for acontrol DAC 2100 a. Acontrol DAC 2100 c for avariable delay circuit 100 c is used as a replica DAC for acontrol DAC 2100 b. Acontrol DAC 2100 a for avariable delay circuit 100 a is used as a replica DAC for acontrol DAC 2100 c. Thecontrol DACs 2100 are similar in configuration to each other. A window comparator 6100 includes a window width adjustment circuit 6110, a determination circuit 6120, and aswitch circuit 6130. Although the window width adjustment circuit 6110 is different in polarity from the window width adjustment circuit shown inFIG. 5 , the window width adjustment circuit 6110 functions similarly therewith. In a test operation mode (the test enable TE is low), theswitch circuit 6130 conducts to operate the window width adjustment circuit 6110. In a normal operation mode (the test enable TE is high), theswitch circuit 6130 does not conduct, causing the window width adjustment circuit 6110 not to operate. - The unit current source of the
control DAC 2100 a is tested such that the electric potential at the node Vc1 determined by the amount of current in which the current flowing into the control.DAC 2100 a is adjusted for the upper/lower determination by the window width adjustment circuit 6110 a and the amount of current flowing into the control.DAC 2100 c (the replica DAC) is determined by adetermination circuit 6120 a. The unit current source of thecontrol DAC 2100 b is tested such that the electric potential at the node Vc2 determined by the amount of current in which the current flowing into thecontrol DAC 2100 b is adjusted for the upper/lower determination by the windowwidth adjustment circuit 6110 b and the amount of current flowing into thecontrol DAC 2100 b (the replica DAC) is determined by adetermination circuit 6120 b. The unit current source of thecontrol DAC 2100 c is tested such that the electric potential at the node V3 determined by the amount of current in which the current flowing into thecontrol DAC 2100 c is adjusted for the upper/lower determination by the windowwidth adjustment circuit 6110 c and the amount of current flowing into thecontrol DAC 2100 b (the replica DAC) is determined bydetermination circuit 6120 c. An example where unit current sources M61, M71, and M81 are tested is described below. Control signals DC3_a, DC3_b, and DC3_c are rendered to be high to cause the transistors M62, M72, and M82 to conduct. Other control signals DC1 and DC2 are rendered to be low to cause current to flow into thecontrol DACs 2100 a to 2100 c according to the unit current sources M61, M71, and M81 respectively. Thus, the unit current source of thecontrol DAC 2100 is tested. - Thus, the control DAC with the same configuration regarded as the replica DAC is used to allow preventing the area overhead of the test circuit from being increased. In the example of
FIG. 8 , although three control DACs are used, the present invention is not limited to this number. -
FIG. 9 shows an example of a configuration in which the determination results of a plurality of the variable delay circuits are collectively output and determined. InFIG. 9 , thedelay control circuit 150 corresponding to onevariable delay circuit 100 and the test circuits thereof are referred to as one test unit. - In this example, there are included an AND
circuit 4400, anOR circuit 4500, and aselector 4600 to which determination results are inputted from thewindow comparators 2300 of a plurality of test units 4000 and aselector 4700 for selecting outputs of the ANDcircuit 4400, theOR circuit 4500, and theselector 4600. - As a description is made in relation to
FIG. 7 , the output of thewindow comparator 2300 being Low in the determination of the upper limit of the unit current source and the output of thewindow comparator 2300 being High in the determination of the lower limit of the unit current source are an expected value in a normal operation mode. In the determination of the upper limit of the unit current source, theselector 4700 selects theOR circuit 4500. If even one High output exists in the determination result from the test unit, the output result becomes High, so that it can be determined that the test unit deviating from the expected value exists. On the other hand, in the determination of the lower limit of the unit current source, theselector 4700 selects the ANDcircuit 4400. If even one Low output exists in the determination result from the test unit, the output result becomes Low, so that it can be determined that the test unit deviating from the expected value exists. - The
selector 4600 is used when the determination result is separately output from each test unit as a debug mode if the integrated determination result is not obtained as expected from theselector 4700. - It is needless to say that the number of the test units is not limited to four. Each test unit may use the configuration shown in
FIG. 5 or 8. -
FIG. 10 is an example of configuration for increasing a test accuracy, in which a current switch is used. A MOS transistor increases in a production dispersion along with the miniaturization thereof, which disperses the characteristics thereof. The influence of the dispersion can be reduced by increasing the gate length (Lg) of the MOS transistor. A transistor M31 forming acurrent source 5100 for supplying a control voltage to thevariable delay circuit 100 in a normal operation mode is formed of a miniaturized MOS transistor matched to a transistor in thevariable delay circuit 100. This is because a small change in current in a saturation area is desired to improve sensitivity at the time of comparing current. For this reason, the transistor M31 is configured with the gate length equal to that of the MOS transistor forming thevariable delay circuit 100. InFIG. 5 , the power supply NMOS (the transistors M11, M12, and M13 of the replica DAC 2200) and the power supply PMOS (the transistors M23, M24, and M25 of the window width adjustment circuit 2310) correspond to the above. On the other hand, a MOS transistor shows a great change in current in the saturation area along with the miniaturization thereof. It is desirable that a change in current in the saturation area is small as the MOS transistor of thewindow comparator 2300, which may worsen sensitivity. A current source M32 greater in size, that is to say, greater in a gate length (Lg) than the transistor M31 of acurrent source 5100 receiving the output of the control DAC used in the normal operation mode is used at the time of test to use the power supply excellent in characteristic, improving the determination accuracy of the determination circuit. - The configuration of
FIG. 10 is different from that ofFIG. 5 in that the output current of thereplica DAC 2200 is switched between the upper limit determination and the lower limit determination by a windowwidth adjustment circuit 5210. It can be determined whether the unit current source is normally operated based on the same principle as those ofFIGS. 6 and 7 . - In the example of the present configuration, a current switching circuit receiving the test enable TE is provided. In a normal operation mode, that is to say, in the case where the test enable TE is High, the transistors M43 and M44 conduct to output a delay control signal according to the delay control signal DC. On the other hand, the transistors M41 and M42 are caused not to conduct.
- At the time of test, the test enable TE is rendered to be Low to cause the transistors M43 and M44 not to conduct and the transistors M41 and M42 to conduct. Thereby, the voltage at the node Vc determined by the magnitude relation between the output current IX obtained by switching the mirror output current IRM of the
replica DAC 2200 by the windowwidth adjustment circuit 5210 and the mirror output current IRM of thecontrol DAC 2100 is determined by thedetermination circuit 5220 and the determination result is outputted. - The invention made by the inventors is described above based on the embodiments. It is needless to say that the present invention is not limited to the embodiments and various changes may be made without departing from the sprit and scope of the present invention.
FIG. 11 shows an example of configuration of thevariable delay circuit 100 and thedelay control circuit 150. Thedelay control circuit 150 controls the delay of thevariable delay circuit 100 by controlling the ON resistance of the NMOS transistor M51 provided between the delay element 6000 and the reference electric potential and the PMOS transistor M52 provided between the delay element 6000 and the power supply electric potential. - The present invention is applicable not only to a circuit having either the variable delay circuit or the DAC, but to a circuit having both the variable delay circuit and the DAC. The output of the variable delay circuit may be output by fine adjusting the clock signal coarse adjusted by a first variable delay circuit by a second variable delay circuit instead of outputting the output of the variable delay circuit, as it is. It is to be understood that the DAC to which the test circuit described in the embodiments can be applied is not limited to the DAC used for the delay control circuit.
Claims (14)
1. A semiconductor integrated circuit comprising:
a variable delay circuit; and
a test circuit for the variable delay circuit;
wherein the test circuit forms a ring oscillator using the variable delay circuit, causes the ring oscillator to oscillate at the time of test operation and determines whether the variable delay circuit is normal or abnormal depending on whether the ring oscillator satisfies predetermined monotonic increase and linearity conditions.
2. The semiconductor integrated circuit according to claim 1 , wherein the test circuit stores a first count value of the ring oscillator at a first time and a second count value of the ring oscillator at a second time after a predetermined time elapsed from the first time and determines that the ring oscillator satisfies the monotonic increase condition when the relation of the first count value<the second count value is satisfied.
3. The semiconductor integrated circuit according to claim 1 , wherein the test circuit stores a first count value of the ring oscillator at a first time, a second count value of the ring oscillator at a second time after a predetermined time elapsed from the first time and a third count value of the ring oscillator at a third time after a predetermined time elapsed from the second time and determines that the ring oscillator satisfies the linearity condition if a deviation between the third count value and an expected count value at the third time expected from the second count value and the increment of count value of the ring oscillator at the first to the second time falls within a predetermined range.
4. A semiconductor integrated circuit comprising:
a first variable delay circuit;
a first switching circuit configured to switch an input to the first variable delay circuit by an external input and an output from the first switching circuit;
a ring oscillator counter configured to count the output of a ring oscillator formed by the first switching circuit selecting the output from the first variable delay circuit and output a count value at a predetermined timing;
a first register configured to store the count value preceding by one count value output by the ring oscillator counter; and
a second register configured to predict an expected count value which the ring oscillator counter is expected to output from the past count value of the ring oscillator counter and store the expected count value;
wherein the count value output by the ring oscillator is compared with the count value stored into the first register and the expected count value stored into the second register to determine whether the first variable delay circuit is normal or abnormal.
5. The semiconductor integrated circuit according to claim 4 , wherein if the count value output by the ring oscillator is greater than the count value stored into the first register and a deviation between the count value output by the ring oscillator and the expected count value is equal to or smaller than a predetermined value, it is determined that the first variable delay circuit is normal.
6. The semiconductor integrated circuit according to claim 4 , further comprising:
a second variable delay circuit; and
a second switching circuit configured to switch an input to the second variable delay circuit by an external input and outputs from the first and the second variable delay circuit;
wherein the first switching circuit is configured to enable selecting the output of the second variable delay circuit and the ring oscillator counter counts the output of a ring oscillator including the first and the second variable delay circuit when the first switching circuit selects an output from the second variable delay circuit and the second switching circuit selects an output from the first variable delay circuit.
7. The semiconductor integrated circuit according to claim 6 , wherein the delay of the first variable delay circuit and the delay of the second variable delay circuit are complementarily changed to determine whether the variable delay circuit is normal or abnormal.
8. A semiconductor integrated circuit comprising:
a first variable delay circuit;
a first delay control circuit including a first digital analog conversion circuit configured to convert a digital signal to the amount of current and controlling the delay of the first variable delay circuit by voltage according to the amount of current; and
a first test circuit for the first delay control circuit;
wherein the first digital analog conversion circuit includes a plurality of unit current sources selected according to the value of a digital signal and the first test circuit determines that the value of a current flowing into each of the plurality of the unit current sources falls within a predetermined range to determine whether the first delay control circuit is normal or abnormal.
9. The semiconductor integrated circuit according to claim 8 , further comprising:
a second variable delay circuit;
a second delay control circuit including a second digital analog conversion circuit configured to convert a digital signal to the amount of current and controlling the delay of the second variable delay circuit by voltage according to the amount of current; and
a second test circuit for the second delay control circuit;
wherein the second digital analog conversion circuit includes a plurality of unit current sources selected according to the value of a digital signal and the second test circuit determines whether the value of a current flowing into each of the plurality of the unit current sources falls within a predetermined range to determine whether the second delay control circuit is normal or abnormal.
10. The semiconductor integrated circuit according to claim 9 , wherein the determination results of the first and the second delay control circuit are outputted with the determination results integrated.
11. The semiconductor integrated circuit according to claim 9 ,
wherein the first test circuit includes a current adjustment circuit configured to increase or decrease the amount of current of the second digital analog conversion circuit by a predetermined amount, and
wherein the amount of current flowing into the first digital analog conversion is compared with a first amount of current in which the amount of current flowing into the second digital analog conversion is increased by the current adjustment circuit by a predetermined amount and a second amount of current in which the amount of current flowing into the second digital analog conversion is decreased by the current adjustment circuit by a predetermined amount to determine whether the value of current flowing into the unit current source falls within a predetermined range.
12. The semiconductor integrated circuit according to claim 9 ,
wherein the first test circuit includes a current adjustment circuit configured to increase or decrease the amount of current of the first digital analog conversion circuit by a predetermined amount, and
wherein the amount of current flowing into the second digital analog conversion is compared with a first amount of current in which the amount of current flowing into the first digital analog conversion is increased by the current adjustment circuit by a predetermined amount and a second amount of current in which the amount of current flowing into the first digital analog conversion is decreased by the current adjustment circuit by a predetermined amount to determine whether the value of current flowing into the unit current source falls within a predetermined range.
13. The semiconductor integrated circuit according to claim 8 ,
wherein the first test circuit includes a third digital analog conversion circuit configured to convert a digital signal to the amount of current and a current adjustment circuit configured to increase or decrease the amount of current of the third digital analog conversion circuit by a predetermined amount, and
wherein the amount of current flowing into the first digital analog conversion is compared with a first amount of current in which the amount of current flowing into the third digital analog conversion is increased by the current adjustment circuit by a predetermined amount and a second amount of current in which the amount of current flowing into the second digital analog conversion is decreased by the current adjustment circuit by a predetermined amount to determine whether the value of current flowing into the unit current source falls within a predetermined range.
14. The semiconductor integrated circuit according to claim 8 ,
wherein the first test circuit includes a third digital analog conversion circuit configured to convert a digital signal to the amount of current and a current adjustment circuit configured to increase or decrease the amount of current of the first digital analog conversion circuit by a predetermined amount, and
wherein the amount of current flowing into the third digital analog conversion is compared with a first amount of current in which the amount of current flowing into the first digital analog conversion is increased by the current adjustment circuit by a predetermined amount and a second amount of current in which the amount of current flowing into the first digital analog conversion is decreased by the current adjustment circuit by a predetermined amount to determine whether the value of current flowing into the unit current source falls within a predetermined range.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/084,182 US9291671B2 (en) | 2009-09-28 | 2013-11-19 | Semiconductor integrated circuit |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009-221900 | 2009-09-28 | ||
JP2009221900A JP5292243B2 (en) | 2009-09-28 | 2009-09-28 | Semiconductor integrated circuit |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/084,182 Division US9291671B2 (en) | 2009-09-28 | 2013-11-19 | Semiconductor integrated circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
US20110074385A1 true US20110074385A1 (en) | 2011-03-31 |
Family
ID=43779574
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/849,807 Abandoned US20110074385A1 (en) | 2009-09-28 | 2010-08-03 | Semiconductor integrated circuit |
US14/084,182 Expired - Fee Related US9291671B2 (en) | 2009-09-28 | 2013-11-19 | Semiconductor integrated circuit |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/084,182 Expired - Fee Related US9291671B2 (en) | 2009-09-28 | 2013-11-19 | Semiconductor integrated circuit |
Country Status (2)
Country | Link |
---|---|
US (2) | US20110074385A1 (en) |
JP (1) | JP5292243B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110050247A1 (en) * | 2009-08-31 | 2011-03-03 | Texas Instruments Incorporated | Test circuit allowing precision analysis of delta performance degradation between two logic chains |
US20150084717A1 (en) * | 2013-09-26 | 2015-03-26 | Nec Corporation | Measurement device, semiconductor device and impedance adjustment method |
US10396648B2 (en) * | 2016-12-27 | 2019-08-27 | Nec Corporation | Voltage adjusting circuit and method for adjusting voltage |
US20220286121A1 (en) * | 2021-03-05 | 2022-09-08 | Qualcomm Incorporated | Inverter-based delay element with adjustable current source/sink to reduce delay sensitivity to process and supply voltage variation |
US20230011710A1 (en) * | 2021-07-12 | 2023-01-12 | Realtek Semiconductor Corp. | Test method for delay circuit and test circuitry |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4504749A (en) * | 1981-07-20 | 1985-03-12 | Takeda Riken Co., Ltd. | Delay pulse generating circuit |
US5083299A (en) * | 1990-07-16 | 1992-01-21 | Unisys Corporation | Tester for measuring signal propagation delay through electronic components |
US5351211A (en) * | 1992-07-23 | 1994-09-27 | Hitachi, Ltd. | Semiconductor integrated circuit device having circuit inspection function |
US5430394A (en) * | 1994-03-11 | 1995-07-04 | Advanced Micro Devices, Inc. | Configuration and method for testing a delay chain within a microprocessor clock generator |
US5570294A (en) * | 1994-03-11 | 1996-10-29 | Advanced Micro Devices | Circuit configuration employing a compare unit for testing variably controlled delay units |
US6057691A (en) * | 1996-06-27 | 2000-05-02 | Kabushiki Kaisha Toshiba | Delay element testing apparatus and integrated circuit having testing function for delay elements |
US6466520B1 (en) * | 1996-09-17 | 2002-10-15 | Xilinx, Inc. | Built-in AC self test using pulse generators |
US20050036578A1 (en) * | 2003-08-11 | 2005-02-17 | International Business Machines Corporation | On-chip jitter measurement circuit |
US20070091701A1 (en) * | 2005-10-14 | 2007-04-26 | Nec Electronics Corporation | Semiconductor device and a method of testing the same |
US20070194824A1 (en) * | 2006-02-21 | 2007-08-23 | Sony Corporation | Digital DLL circuit |
US20090051396A1 (en) * | 2006-02-02 | 2009-02-26 | Yukihiro Shimamoto | Ring Oscillation Circuit, Delay Time Measuring Circuit, Testing Circuit, Clock Generating Circuit, Image Sensor, Pulse Generating Circuit, Semiconductor Integrated Circuit, and Testing Method Thereof |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5832178A (en) * | 1981-08-19 | 1983-02-25 | Advantest Corp | Ic tester |
JP2602337Y2 (en) * | 1993-08-25 | 2000-01-11 | 株式会社アドバンテスト | Diagnosis acceleration circuit |
US6002282A (en) * | 1996-12-16 | 1999-12-14 | Xilinx, Inc. | Feedback apparatus for adjusting clock delay |
JP4249831B2 (en) | 1998-12-21 | 2009-04-08 | 株式会社アドバンテスト | Timing calibration method, timing calibration apparatus, and IC test apparatus equipped with this timing calibration apparatus |
JP3452849B2 (en) * | 1999-09-21 | 2003-10-06 | ローム株式会社 | Delay circuit capable of setting delay time and method of measuring the delay time |
JP3625400B2 (en) * | 1999-09-22 | 2005-03-02 | 株式会社東芝 | Test circuit for variable delay element |
JP2006121615A (en) * | 2004-10-25 | 2006-05-11 | Sony Corp | D/a converter, electronic equipment with d/a converting unit and method of inspecting the d/a converter |
JP2006294235A (en) * | 2006-05-12 | 2006-10-26 | Renesas Technology Corp | Synchronous semiconductor memory device |
JPWO2008114307A1 (en) * | 2007-03-16 | 2010-06-24 | 富士通株式会社 | Delay circuit and method for testing the circuit |
-
2009
- 2009-09-28 JP JP2009221900A patent/JP5292243B2/en not_active Expired - Fee Related
-
2010
- 2010-08-03 US US12/849,807 patent/US20110074385A1/en not_active Abandoned
-
2013
- 2013-11-19 US US14/084,182 patent/US9291671B2/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4504749A (en) * | 1981-07-20 | 1985-03-12 | Takeda Riken Co., Ltd. | Delay pulse generating circuit |
US5083299A (en) * | 1990-07-16 | 1992-01-21 | Unisys Corporation | Tester for measuring signal propagation delay through electronic components |
US5351211A (en) * | 1992-07-23 | 1994-09-27 | Hitachi, Ltd. | Semiconductor integrated circuit device having circuit inspection function |
US5430394A (en) * | 1994-03-11 | 1995-07-04 | Advanced Micro Devices, Inc. | Configuration and method for testing a delay chain within a microprocessor clock generator |
US5570294A (en) * | 1994-03-11 | 1996-10-29 | Advanced Micro Devices | Circuit configuration employing a compare unit for testing variably controlled delay units |
US6057691A (en) * | 1996-06-27 | 2000-05-02 | Kabushiki Kaisha Toshiba | Delay element testing apparatus and integrated circuit having testing function for delay elements |
US6466520B1 (en) * | 1996-09-17 | 2002-10-15 | Xilinx, Inc. | Built-in AC self test using pulse generators |
US6611477B1 (en) * | 1996-09-17 | 2003-08-26 | Xilinx, Inc. | Built-in self test using pulse generators |
US20050036578A1 (en) * | 2003-08-11 | 2005-02-17 | International Business Machines Corporation | On-chip jitter measurement circuit |
US20080284477A1 (en) * | 2003-08-11 | 2008-11-20 | Heidel David F | On-chip jitter measurement circuit |
US20070091701A1 (en) * | 2005-10-14 | 2007-04-26 | Nec Electronics Corporation | Semiconductor device and a method of testing the same |
US20090051396A1 (en) * | 2006-02-02 | 2009-02-26 | Yukihiro Shimamoto | Ring Oscillation Circuit, Delay Time Measuring Circuit, Testing Circuit, Clock Generating Circuit, Image Sensor, Pulse Generating Circuit, Semiconductor Integrated Circuit, and Testing Method Thereof |
US20070194824A1 (en) * | 2006-02-21 | 2007-08-23 | Sony Corporation | Digital DLL circuit |
US7636001B2 (en) * | 2006-02-21 | 2009-12-22 | Sony Corporation | Digital DLL circuit |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110050247A1 (en) * | 2009-08-31 | 2011-03-03 | Texas Instruments Incorporated | Test circuit allowing precision analysis of delta performance degradation between two logic chains |
US8304263B2 (en) * | 2009-08-31 | 2012-11-06 | Texas Instruments Incorporated | Test circuit allowing precision analysis of delta performance degradation between two logic chains |
US9052360B2 (en) | 2009-08-31 | 2015-06-09 | Texas Instruments Incorporated | Test circuit allowing precision analysis of delta performance degradation between two logic chains |
US20150084717A1 (en) * | 2013-09-26 | 2015-03-26 | Nec Corporation | Measurement device, semiconductor device and impedance adjustment method |
US9702942B2 (en) * | 2013-09-26 | 2017-07-11 | Nec Corporation | Measurement device, semiconductor device and impedance adjustment method |
US10396648B2 (en) * | 2016-12-27 | 2019-08-27 | Nec Corporation | Voltage adjusting circuit and method for adjusting voltage |
US20220286121A1 (en) * | 2021-03-05 | 2022-09-08 | Qualcomm Incorporated | Inverter-based delay element with adjustable current source/sink to reduce delay sensitivity to process and supply voltage variation |
US11489518B2 (en) * | 2021-03-05 | 2022-11-01 | Qualcomm Incorporated | Inverter-based delay element with adjustable current source/sink to reduce delay sensitivity to process and supply voltage variation |
US20230011710A1 (en) * | 2021-07-12 | 2023-01-12 | Realtek Semiconductor Corp. | Test method for delay circuit and test circuitry |
Also Published As
Publication number | Publication date |
---|---|
JP5292243B2 (en) | 2013-09-18 |
US9291671B2 (en) | 2016-03-22 |
US20140070863A1 (en) | 2014-03-13 |
JP2011069756A (en) | 2011-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7830191B2 (en) | Vernier delay circuit | |
US7940072B2 (en) | Timing generator and semiconductor test apparatus | |
US9291671B2 (en) | Semiconductor integrated circuit | |
KR100919087B1 (en) | Phase-locked loop circuit, delay locked loop circuit, timing generator, semiconductor test instrument, and semiconductor integrated circuit | |
US7071746B2 (en) | Variable delay circuit | |
US7034723B2 (en) | Timing comparator, data sampling apparatus, and testing apparatus | |
JP4943729B2 (en) | Semiconductor integrated circuit device and AC characteristic measurement system | |
US7979218B2 (en) | Test apparatus, test method and computer readable medium | |
US20120086462A1 (en) | Test apparatus | |
JPWO2008020524A1 (en) | Load fluctuation compensation circuit, electronic device, test apparatus, timing generation circuit, and load fluctuation compensation method | |
US20140218060A1 (en) | Degradation diagnosing circuit and degradation diagnosing method | |
JP4825131B2 (en) | Current consumption balance circuit, compensation current amount adjusting method, timing generator, and semiconductor test apparatus | |
Jenkins et al. | An on-chip jitter measurement circuit with sub-picosecond resolution | |
US7944263B2 (en) | Timing generator and semiconductor test apparatus | |
US7960996B2 (en) | Variable delay circuit, timing generator and semiconductor testing apparatus | |
KR100995159B1 (en) | A venier delay circuit, a time digital converter and a testing device using the same | |
US7965209B2 (en) | A/D conversion circuit and A/D conversion method | |
US20080238516A1 (en) | Timing interpolator with improved linearity | |
US8013589B2 (en) | Semiconductor device | |
JP4560819B2 (en) | Semiconductor device | |
JP2006269477A (en) | Semiconductor integrated circuit | |
JP5625086B2 (en) | Semiconductor integrated circuit | |
US20100060323A1 (en) | Test circuit and test method | |
Cui et al. | A calibration technique for DVMC with delay time controllable inverter | |
JP2007248380A (en) | Delay time evaluation method and circuit, and semiconductor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: HITACHI, LTD., JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SUNAGA, YASUYOSHI;SAKAKIBARA, HIDEKI;ITO, YUKO;AND OTHERS;SIGNING DATES FROM 20100708 TO 20100713;REEL/FRAME:024788/0050 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |