Circuit, chip and semiconductor device
11533056 · 2022-12-20
Assignee
Inventors
- Chao Chieh Li (Hsinchu, TW)
- Chia-Chun Liao (Taipei, TW)
- Min-Shueh Yuan (Taipei, TW)
- Chih-Hsien Chang (New Taipei, TW)
Cpc classification
H03L7/00
ELECTRICITY
International classification
G04F10/00
PHYSICS
Abstract
A circuit is disclosed. The circuit includes a time-to-digital converter (TDC), and an evaluation circuit coupled to the TDC and a phase-locked loop (PLL) external to the circuit.
Claims
1. A circuit, comprising: a time-to-digital converter(TDC), configured to receive a first signal having an identification and a first frequency, and output a digital signal associated with the identification of the first signal; and an evaluation circuit, coupled to the TDC and a phase-locked loop (PLL) external to the circuit, wherein the evaluation circuit is configured to receive the digital signal, and output a signal indicating a parameter associated with the digital signal to the PLL.
2. The circuit of claim 1, wherein the identification comprises a duty cycle.
3. The circuit of claim 2, wherein a level of the parameter corresponds to a range within which the duty cycle falls.
4. The circuit of claim 1, further comprising: a frequency divider coupled to the TDC to provide a second signal having a second frequency to the TDC.
5. The circuit of claim 4, wherein the digital signal is generated based on the second signal from the frequency divider.
6. The circuit of claim 4, wherein the digital signal is generated by sampling the first signal by means of the second signal.
7. The circuit of claim 1, wherein the TDC comprises: a first buffer having a first input and a first output; a second buffer having a second input coupled to the first output of the first buffer, and a second output; a first sampling circuit having a first input coupled to the first output of the first buffer, a second input, and a first output; and a second sampling circuit having a third input coupled to the second output of the second buffer, a fourth input coupled to the second input of the first sampling circuit, and a second output.
8. The circuit of claim 7, wherein the first input of the first buffer is configured to receive the first signal having the identification and the first frequency.
9. The circuit of claim 8, further comprising a frequency divider, wherein the second input of the first sampling circuit is coupled to the frequency divider to receive a second signal having a second frequency.
10. The circuit of claim 9, wherein the first output of the first sampling circuit provides a first voltage level in accordance with the first signal and the second signal.
11. The circuit of claim 10, wherein the second output of the second sampling circuit provides a second voltage level in accordance with a signal received from the second output of the second buffer and the second signal.
12. The circuit of claim 11, wherein the TDC outputs the first voltage level and the second voltage level to the evaluation circuit.
13. The circuit of claim 2, wherein the evaluation circuit is configured to evaluate the duty cycle by determining a rising edge and a falling edge of the digital signal.
14. The circuit of claim 1, wherein the evaluation circuit is configured to evaluate the identification, based on the digital signal, to provide an evaluated identification.
15. The circuit of claim 14, wherein the evaluation circuit is configured to determine the parameter based on the evaluated identification.
16. The circuit of claim 15, wherein the identification is evaluated based on a transition between a first voltage level and a second voltage level of the digital signal.
17. A phase-locked loop (PLL), comprising: a time-to-digital converter (TDC); an evaluation circuit coupled to the TDC; and an output divider (OD), coupled to the evaluation circuit and a device under test (DUT) external to the PLL; wherein the TDC is configured to receive a first signal having an identification and a first frequency, and output a digital signal associated with the identification of the first signal to the evaluation circuit; the identification comprises a duty cycle.
18. The PLL of claim 17, wherein the evaluation circuit is configured to receive a predetermined quantity of voltage levels in a period of time.
19. A semiconductor device, comprising: a time-to-digital converter (TDC), configured to receive a first signal having a first frequency and an identification; an evaluation circuit coupled to the TDC; an output divider (OD) coupled to the evaluation circuit; and a device under test (DUT) coupled to the output divider; wherein the OD is configured to output a second signal having a second frequency associated with the identification to the DUT.
20. The PLL of claim 17, wherein a test pattern is coupled to the OD to control operation the OD; when the second frequency is changed from a first frequency level to a second frequency level different from the first frequency level, the test pattern is kept the same.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It should be noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION
(12) The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
(13)
(14) Referring to
(15) A level of the first frequency F.sub.1 is adjustable, as shown in the block 16. An adjustment of the level of the first frequency F.sub.1 can be achieved by a test equipment, such as 93000. In some embodiments, the first frequency F.sub.1 refers to a crystal frequency. In some embodiments, the first frequency F.sub.1 ranges from about 25 megahertz (MHz) to about 50 MHz. However, the present disclosure is not limited to these specific values.
(16) In the present embodiment, the identification ID includes a duty cycle; however, the present disclosure is not limited to the duty cycle. It should be noted that in addition to levels of the first frequency F.sub.1, the duty cycle is also adjustable for identification. For example, the duty cycle may be approximately 12.5%, 37.5%, 62.5%, or 87.5%. However, the present disclosure is not limited to these specific values. An adjustment of the duty cycle can be achieved by a test equipment, such as 93000.
(17) Moreover, levels of the first frequency F.sub.1 and the duty cycle can be adjusted and combined freely, depending on the required level of the output frequency F.sub.OUT. For example, setting the first frequency F.sub.1 at 25 MHz of and the duty cycle at 87.5% results in the output frequency F.sub.OUT of 2500 MHz. Alternatively, setting the first frequency F.sub.1 at 25 MHz and the duty cycle at 62.5% results in the output frequency F.sub.OUT of 1250 MHz. Alternatively, setting the first frequency F.sub.1 at 50 MHz and the duty cycle at 62.5% results in the first frequency F.sub.1 of 2500 MHz.
(18) The evaluation circuit 102, coupled to the digital converter 100 and the PLL 12 external to the circuit 10, functions to receive the digital signal S.sub.D, provide an evaluated identification based on the identification ID of the first signal S.sub.1, evaluate a parameter level based on the evaluated identification, and output a fourth signal S.sub.4 indicating the parameter level to the PLL 12. It should be noted that the evaluated identification is ideally equal to the identification ID of the first signal S.sub.1.
(19) In some embodiments, the fourth signal S.sub.4 is a digital signal consisting of a first voltage level and a second voltage level. In some embodiments, the first voltage level refers to a voltage level corresponding to a logic high, and the second voltage level refers to a voltage level corresponding to a logic low. In some embodiments, the evaluation circuit 102 is implemented with a combinational logic.
(20) In some embodiments, where the identification ID is a duty cycle, a parameter level is generated by indexing a lookup table. An exemplary lookup table is shown in TABLE 1 below.
(21) TABLE-US-00001 TABLE 1 Responsible range of duty cycle parameter level Band 1 ≥75% 0 Band 2 <75% & ≥50% 1 Band 3 <50% & ≥25% 2 Band 4 <25% 3
(22) In the present embodiment, four bands, i.e., Band 1, Band 2, Band 3 and Band 4, are defined. However, the present disclosure is not limited thereto. A quantity of bands can be adjusted, depending on the desired resolution. When a greater resolution is desired, the evaluated duty cycle is closer to the duty cycle of the first signal S.sub.1.
(23) In addition, in the present embodiment, responsible ranges of duty cycles for all bands are equal, for example, 25%. However, the present disclosure is not limited thereto. In some embodiments, the responsible ranges of duty cycles for the bands may not be equal.
(24) Moreover, it should be noted that an approach to determining critical points can be adjusted. For example, in the present embodiment, if an evaluated duty cycle is “equal to or greater than” 75%, then the evaluated duty cycle is classified as Band 1. In other embodiments, an evaluated duty cycle is classified as Band 1 only if the evaluated duty cycle is “greater than” 75%.
(25) Each of the bands corresponds to one parameter level. According to such correspondence, the evaluation circuit 102 evaluates a parameter level based on an evaluated duty cycle. For example, if an evaluated duty cycle is 87.5%, since 87.5% is greater than 75%, the evaluated duty cycle is classified as Band 1. Accordingly, a parameter level is evaluated as 0. Alternatively, if an evaluated duty cycle is 62.5%, since 62.5% is greater than 50% and less than 75%, the evaluated duty cycle is classified as Band 2. Accordingly, a parameter level is evaluated as 1, and so on.
(26) The duty correction circuit 108 functions to receive the first signal S.sub.1, and next converts the first signal S.sub.1 into a third signal S.sub.3 by correcting a duty cycle of the first signal S.sub.1, and then outputs the third signal S.sub.3 to the PLL 12, wherein the third signal S.sub.3 has the first frequency F.sub.1. It should be noted that the duty correction circuit 108 is optional. In a case where the core 120 functions based on a positive edge trigger of a signal, the duty correction circuit 108 can be omitted. In a case where the core 120 functions based on a negative edge trigger of a signal, the duty correction circuit 108 is required, since different duty cycles lead to the negative edge occurring at different timings, which may result in the core 120 functioning abnormally.
(27) The PLL 12 functions to receive the third signal S.sub.3, to receive the fourth signal S.sub.4, and to generate the output signal S.sub.OUT based on the third signal S.sub.3 and the fourth signal S4, based on a parameter level indicated by the fourth signal S.sub.4. In further detail, the PLL 12 includes a core 120 and an output divider (OD) 122.
(28) The core 120 functions to generate a default signal S.sub.DEF having a default frequency F.sub.DEF by multiplying the first frequency F.sub.1 by a default multiple number, such as 100. A relationship between the default frequency F.sub.DEF and the first frequency F.sub.1 can be expressed in equation (1):
F.sub.DEF=F.sub.1×DMN (1)
(29) Where DMN represents the default multiple number, the default multiple number being a positive integer.
(30) The OD 122 functions to receive the default signal S.sub.DEF, to receive the fourth signal S.sub.4, and to generate the output signal S.sub.OUT by dividing the default frequency F.sub.DEF of the default signal S.sub.DEF by a parameter level. A relationship between the output frequency F.sub.OUT and the default frequency F.sub.DEF can be expressed in equation (2):
(31)
(32) Where PA represents a parameter
(33) Based on information shown in Table 1, given that the first frequency F.sub.1 ranges from about 25 MHZ to about 50 MHZ and the default multiple number is 100, and based on equations (1) and (2), the output frequency F.sub.OUT can be obtained and summarized in the following TABLE 2.
(34) TABLE-US-00002 TABLE 2 parameter Duty cycle level F.sub.1 F.sub.OUT Band 1 ≥75% 0 35 3500 25 2500 Band 2 <75% & ≥50% 1 50 2500 25 1250 Band 3 <50% & ≥25% 2 50 1250 25 625 Band 4 <25% 3 50 625 25 312.5
(35) Verification of a function of the DUT 14 operating at the output frequency F.sub.OUT ranging from about 312.5 MHz to about 3500 MHz can be achieved based on different duty cycles of the first signal S.sub.1 and function of the evaluation circuit 102. There is no need to prepare a test pattern to obtain a parameter level of 0, then prepare another test pattern to obtain a parameter level of 1, etc. Further, there is no need to prepare a multitude of test patterns merely for changing a parameter level. Time and effort to prepare such patterns is therefore conserved. Often, significant time has already been invested in the preparation of a single test pattern, and by eliminating the need to prepare a plurality of test patterns, the method of the present disclosure improves time efficiency.
(36) The digital converter 100 includes a time-to-digital converter (TDC) 104 and a frequency divider (DIV) 106. The TDC 104 functions to receive the first signal S.sub.1 and a second signal S.sub.2 from the DIV 106, and outputs the digital signal S.sub.D associated with the identification ID based on the first signal S.sub.1 and the second signal S.sub.2. In further detail, the digital signal S.sub.D is generated by sampling the first signal S.sub.1 by means of the second signal S.sub.2. That is, the digital signal S.sub.D is generated based on the second signal S.sub.2 from the DIV 106.
(37) The DIV 106 is coupled to the TDC 104 to provide the second signal S.sub.2 having a second frequency F.sub.2 to the TDC 104. In the present embodiment, the second signal S.sub.2 is generated by dividing the first frequency F.sub.1 of the first signal S.sub.1 by a predetermined number. Therefore, the second frequency F.sub.2 of the second signal S.sub.2 is proportional to the first frequency F.sub.1 of the first signal S.sub.1. However, the present disclosure is not limited thereto. The second signal S.sub.2 is able to be generated in other suitable manners.
(38)
(39) The core 120 generates a default signal S.sub.DEF having a default frequency F.sub.DEF of 5000 MHz by multiplying the first frequency F.sub.1 of 50 MHz by a default multiple number of 100, wherein the default signal S.sub.DEF has a duty cycle of 50%. The OD 122 generates an output signal S.sub.OUT having an output frequency F.sub.OUT of 2500 MHz based on a parameter level of 1 and the default frequency F.sub.DEF of 5000 MHz with reference to equation (2).
(40)
(41) Referring to
(42) As observed from
(43)
(44) The sampling circuit 22 includes an input, an output, and a clock input. The input, the output, and the clock input of the sampling circuit 22 are coupled to the corresponding output of the buffer 200, the evaluation circuit 102, and to the DIV 106, respectively. As such, the sampling circuit 22 samples a signal at the corresponding output of the buffer 200 by means of the second signal S.sub.2, and outputs a signal indicating the sampling result to the evaluation circuit 102. For distinguishing one from another, the signal output from the first sampling circuit 22 is denoted as Q[0], the signal output from the second sampling circuit 22 is denoted as Q[1], and the signal output from the last sampling circuit is demoted as Q[N]. In some embodiments, the sampling circuit 22 includes a flip-flop. In some embodiments, N is 4, and the digital signal S.sub.D consisting Q[0] to Q[4] can be indicated as 00000, 00001, 00010, and so on.
(45)
(46) The second delay signal is delayed from the first delay signal. Such circumstance is equivalent to a voltage level of the first delay signal and a voltage level of the second delay signal corresponding to voltage levels at two different sampling points on the same first signal S.sub.1, as shown in
(47) Referring to
(48) TABLE-US-00003 TABLE 3 Q[13] Q[12] Q[11] Q[10] Q[9] Q[8] Q[7] Q[6] Q[5] Q[4] Q[3] Q[2] Q[1] Q[0] 0 0 1 1 1 1 1 0 0 0 1 1 1 1
(49) The TDC 104 outputs the digital signal S.sub.D including a binary code “00111110001111” to the evaluation circuit 102. The evaluation circuit 102 according to the binary code determines a rising edge and a falling edge of the digital signal S.sub.D. For example, the evaluation circuit 102 determines that a first edge is a first rising edge Rise 1 occurring at a sampling point associated with the signal Q[4]; a second edge is a falling edge Fall occurring at a sampling point associated with the signal Q[7]; and a third edge is a second rising edge Rise 2 occurring at a sampling point associated with the signal Q[12]. Subsequently, the evaluation circuit 102 determines a parameter level based on an order of the first rising edge Rise 1, the second rising edge Rise 2 and the falling edge Fall in a rank of the digital signal S.sub.D.
(50) In further detail, the evaluation circuit 102 determines a sampling point corresponding to the first rising edge Rise 1 is prior to a sampling point corresponding to the falling edge Fall in the rank of the digital signal S.sub.D. Next, the evaluation circuit 102 determines an inactive time of a period according to the following equation (3):
TN=S[F]−S[R] (3)
(51) Where TN represents the inactive time of a period; S[F] represents the sampling point of a falling edge; and, S[R] represents the sampling point of a rising edge.
(52) In the present embodiment, according to the signals Q[4] and Q[7], the sampling point of the first rising edge Rise 1 is 4, and the sampling point of the falling edge Fall is 7. Therefore, the inactive time of a period is 3 based on the equation (3).
(53) Moreover, the evaluation circuit 102 determines an active time of a period according to the following equation (4):
TA=S[R]−S[F] (4)
(54) Where TA represents the active time of a period.
(55) In the present embodiment, according to the signals Q[12] and Q[7], the sampling point of the second rising edge Rise 2 is 12, and the sampling point of the falling edge Fall is 7. Therefore, the active time of a period is 5 based on the equation (4).
(56) The evaluation circuit 102 determines a period according to the following equation (5):
TP=S[R2]−S[R1] (5)
(57) Where TP represents the period; S[F2] represents a sampling point of a second rising edge; and S[F1] represents a sampling point of a first rising edge.
(58) In the present embodiment, according to the signals Q[12] and Q[4], the sampling point of the first rising edge Rise 1 is 4, and the sampling point of the second rising edge Rise 2 is 12. Therefore, the period is 8 based on the equation (5).
(59) Alternatively, the evaluation circuit 102 determines a period according to the following equation (6):
TP=S[F2]−S[F1] (6)
(60) Where TP represents the period; S[F2] represents a sampling point of a second falling edge; and S[F1] represents a sampling point of a first falling edge.
(61) With information on the active time, inactive time and the period, the evaluation circuit 102 is able to determine an evaluated duty cycle. In the present embodiment, the evaluated duty cycle is 62.5%, which is equal to the duty cycle of the first signal S.sub.1 generated by a test equipment.
(62) Alternatively, the evaluation circuit 102 determines an evaluated duty cycle based on an algorithm as shown in
(63)
(64) In operation 300, the sampling points S[F] and S[R] are determined in accordance with approaches described in the embodiment of
(65) If the sampling point S[F] is later than the sampling point S[R], the method 30 proceeds to operation 302. Alternatively, if the sampling point S[R] is later than the sampling point S[F], the method 30 proceeds to operation 304. In the embodiment of
(66) Following operation 302, in operation 306, it is determined whether the sampling point S[F] is greater than a product of K and the sampling point S[R], wherein K is a positive integer. In the present embodiment, K is given as 3. If affirmative, the method 30 proceeds to operation 310. In operation 310, an evaluated duty cycle is classified as Band 1. If negative, the method 30 proceeds to operation 312. In operation 312, an evaluated duty cycle is classified as Band 2. In the embodiment of
(67) Following operation 304, in operation 308, it is determined whether the sampling point S[R] is greater than a product of K and the sampling point S[F]. If affirmative, the method 30 proceeds to operation 316. In operation 316, an evaluated duty cycle is classified as Band 4. If negative, the method 30 proceeds to operation 314. In operation 314, an evaluated duty cycle is classified as Band 3.
(68)
(69)
(70)
(71) Referring to
(72)
(73) It is assumed that it is desired to verify a function of the DUT 14 operating with an output signal S.sub.OUT having output frequencies F.sub.OUT ranging from 325 MHz to 2500 MHz. First, a test equipment provides the first signal S.sub.1 having the first frequency F.sub.1 of 3.25 MHz to the PLL 12. Accordingly, the PLL 12 provides the output frequency F.sub.OUT of 325 MHz to the DUT 14 for a SHMOO test.
(74) After the SHMOO test at 325 MHz is completed, a test equipment provides the first signal S.sub.1 having the first frequency F.sub.1 of 25 MHz to the PLL 12. The test pattern 600 is kept unchanged so that a parameter level is kept at 0 when the first frequency F.sub.1 is changed from 3.25 MHz to 25 MHz. It should be noticed that the first frequency F.sub.1 of 25 MHz is out of a frequency range, i.e., 2.5 MHz to 3.5 MHz, of the PLL 12 provided in the spec. A circuit designer does not guarantee that the PLL 12 still functions normally when the PLL 12 operates at the first frequency F.sub.1 of 25 MHz. That is, the PLL 12 may provide the output signal S.sub.OUT with an incorrect and unexpected output frequency F.sub.OUT to the DUT 14. As a result, a test result provided from the DUT 14 is possibly inaccurate and therefore is not reliable.
(75) In some embodiments, the present disclosure provides a circuit. The circuit includes a time-to-digital converter (TDC), and an evaluation circuit coupled to the TDC and a phase-locked loop (PLL) external to the circuit.
(76) In some embodiments, the present disclosure also provides a phase-locked loop (PLL). The PLL includes a time-to-digital converter (TDC), an evaluation circuit coupled to the TDC, and an output divider coupled to the evaluation circuit and a device under test (DUT) external to the PLL.
(77) In some embodiments, the present disclosure also provides a semiconductor device. The semiconductor device includes a time-to-digital converter (TDC), an evaluation circuit coupled to the TDC, an output divider coupled to the evaluation circuit, and a device under test (DUT) coupled to the output divider.
(78) The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.