Semiconductor device and capacitance measurement method

By designing a ring oscillator and a control signal generation circuit in a semiconductor device, setting the capacitor to enable or disable, and measuring the current and frequency, the problem of insufficient freedom in the capacitance value measurement operation in the existing technology is solved, and accurate measurement of each capacitor is achieved. Measurement and accuracy improvements.

CN112105938BActive Publication Date: 2024-09-17SONY SEMICON SOLUTIONS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980031609.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-05-17
Filing Date
2019-04-16
Publication Date
2024-09-17
Estimated Expiration
2039-04-16

AI Technical Summary

Technical Problem

When measuring the capacitance value in a semiconductor device, the existing technology has insufficient operating freedom and is difficult to accurately calculate the capacitance value of each capacitor, especially when the component value changes due to process changes.

Method used

Design a semiconductor device that includes a ring oscillator and a control signal generation circuit. By setting the capacitor to enable or disable, measure the consumption current of the gate circuit and the frequency of the oscillation signal, calculate the capacitance value, and improve the degree of freedom of the measurement operation.

Benefits of technology

It realizes the accurate measurement of the capacitance value of each capacitor in the semiconductor circuit, increases the freedom of measurement operation, reduces the circuit area, can calculate the average value of the capacitance value in a shorter time, and improves the measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112105938B_ABST
    Figure CN112105938B_ABST
Patent Text Reader

Abstract

A semiconductor device includes: a ring oscillator including a plurality of gate circuits and a first load circuit, the plurality of gate circuits being arranged on a loop and including the first gate circuit, the first load circuit being coupled to an output terminal of the first gate circuit and being configured to be set to be enabled or disabled based on a first control signal; and a control signal generating circuit configured to generate the first control signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a semiconductor device including a capacitor and a capacitance value measuring method of measuring the capacitance value of the capacitor. Background Art

[0002] In a semiconductor device, for example, various elements including transistors, resistors, capacitors, etc. are integrated. With respect to the semiconductor device, there is a possibility that the values ​​of these elements vary due to process variations. For example, PTLs 1 and 2 disclose a technique of operating a ring oscillator and thereby measuring the capacitance value of a load capacitor. The ring oscillator includes two or more gate circuits and load capacitors coupled to the respective gate circuits.

[0003] Citation List

[0004] Patent Literature

[0005] PTL 1: Japanese Unexamined Patent Application Publication No. 2013-007691

[0006] PTL 2: Japanese Unexamined Patent Application Publication No. H06-268039 Summary of the invention

[0007] Regarding the technology of operating a ring oscillator and thereby measuring the capacitance value of a load capacitance, it is desired that the degree of freedom of the measurement operation is high, and further improvement in the degree of freedom is desired.

[0008] It is desirable to provide a semiconductor device and a capacitance value measuring method which enable the degree of freedom of measurement operation to be increased when measuring capacitance values.

[0009] A semiconductor device according to an embodiment of the present disclosure includes a ring oscillator and a control signal generating circuit. The ring oscillator includes two or more gate circuits and a first load circuit. The two or more gate circuits are arranged on a loop path and include a first gate circuit. The first load circuit is coupled to an output terminal of the first gate circuit and includes a first capacitor. The first capacitor is configured to be set to enable or disable based on a first control signal. The control signal generating circuit is configured to generate the first control signal.

[0010] According to an embodiment of the present disclosure, a capacitance value measurement method includes: operating a ring oscillator, the ring oscillator including two or more gate circuits and a first load circuit, the two or more gate circuits being arranged on a loop path and including a first gate circuit, the first load circuit being coupled to an output end of the first gate circuit and including a first capacitor, the first capacitor being configured to be set to be enabled or disabled based on a first control signal; measuring a consumption current of the two or more gate circuits; measuring a frequency of an oscillation signal generated by the ring oscillator; and calculating a capacitance value of the first capacitor based on the consumption current and the frequency.

[0011] In a semiconductor device and a capacitance value measurement method according to an embodiment of the present disclosure, two or more gate circuits are arranged on a loop path. A first load circuit is coupled to an output terminal of the first gate circuit. The first load circuit includes the first capacitor, and the first capacitor is configured to be set to be enabled or disabled based on the first control signal.

[0012] According to the semiconductor device and the capacitance value measuring method in the embodiment of the present invention, the first load circuit includes a first capacitor, and the first capacitor is configured to be set to enable or disable based on the first control signal, so that the degree of freedom of the measurement operation can be increased when measuring the capacitance value. It should be noted that the effects described here are not restrictive, and any effects described in the present disclosure can be provided. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] [ Figure 1 ] Figure 1 is a block diagram showing an example of a configuration of a semiconductor circuit according to an embodiment of the present disclosure.

[0014] [ Figure 2 ] Figure 2 It is shown that Figure 1 A block diagram of an example of a configuration of a test system for a semiconductor circuit is shown.

[0015] [ Figure 3 ] Figure 3 It is shown Figure 2 A flow chart of an example of the operation of the test system is shown in FIG.

[0016] [ Figure 4A ] Figure 4A It is shown Figure 1 An explanatory diagram of an operation example of a semiconductor circuit shown in FIG.

[0017] [ Figure 4B ] Figure 4B It is shown Figure 1 An explanatory diagram of an example of the operation of a semiconductor circuit is shown in FIG.

[0018] [ Figure 5 ] Figure 5 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to a modified example.

[0019] [ Figure 6 ] Figure 6 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to another modified example.

[0020] [ Figure 7 ] Figure 7 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to another modified example.

[0021] [ Figure 8 ] Figure 8 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to another modified example.

[0022] [ Fig. 9 ] Fig. 9 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to another modified example.

[0023] [ Fig.10 ] Fig.10 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to another modified example.

[0024] [ Fig.11 ] Fig.11 is a circuit diagram showing an example of a configuration of a semiconductor circuit according to another modified example.

[0025] [ Fig.12 ] Fig.12 is a block diagram illustrating an example of a configuration of a semiconductor device according to an application example.

[0026] [ Fig.13 ] Fig.13 It is shown that Fig.12 FIG. 1 is a block diagram of an example of a configuration of a test system for a semiconductor device.

[0027] [ Fig.14 ] Fig.14 is a block diagram illustrating an example of a configuration of a semiconductor device according to another application example. DETAILED DESCRIPTION

[0028] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that the description is given in the following order.

[0029] 1. Example

[0030] 2. Application Examples

[0031] <1. Example>

[0032] Figure 1 An example of the configuration of the semiconductor device (semiconductor circuit 1) according to the embodiment is shown. It should be noted that the capacitance value measuring method according to the embodiment of the present disclosure is embodied by the present embodiment and is therefore described together.

[0033] The semiconductor circuit 1 includes a ring oscillator 10, a selection circuit 11, an output circuit 12, and a control circuit 19. The ring oscillator 10, the selection circuit 11, the output circuit 12, and the control circuit 19 are formed in a single semiconductor chip. In addition, the semiconductor circuit 1 includes two power supply terminals TVDD1 and TVDD2. A NAND circuit ND (described later) in the ring oscillator 10, the selection circuit 11, the output circuit 12, and the control circuit 19 are coupled to the power supply terminal TVDD1, and a power supply voltage is supplied via the power supply terminal TVDD1.

[0034] The ring oscillator 10 includes two or more inverter circuits IV (in this example, N inverter circuits IV1 to IV N ), two or more load circuits LD (in this example, N load circuits LD1 to LD N ) and a NAND circuit ND. N inverter circuits IV1 to IV N and a NAND circuit ND are provided on the loop path.

[0035] N inverter circuits IV1 to IV N The logic signals supplied to the input terminals are inverted respectively, and the inverted logic signals are output from the output terminals. The inverter circuit IV1 has an input terminal coupled to the output terminal of the NAND circuit ND, and has an output terminal coupled to the input terminal of the inverter circuit IV2. The inverter circuit IV2 has an input terminal coupled to the output terminal of the inverter circuit IV1, and has an output terminal coupled to the input terminal of the inverter circuit IV3. The inverter circuit IV3 has an input terminal coupled to the output terminal of the inverter circuit IV2, and has an output terminal coupled to the input terminal of the inverter circuit IV4. The same applies to the inverter circuits IV4 to KV N-1 In addition, the inverter circuit IV N Having a circuit coupled to an inverter IV N-1 The inverter circuit IV1 has an input terminal of an output terminal of the NAND circuit ND, and has an output terminal coupled to the first input terminal of the NAND circuit ND. That is, the inverter circuit IV1 is N inverter circuits IV1 to IV N The initial stage of the circuit, inverter circuit IV N There are N inverter circuits IV1 to IV NFor example, the number N of inverter circuits IV can be set to an even number. This allows the number of circuits that perform inversion calculations on the loop path of the ring oscillator 10 to be an odd number.

[0036] N inverter circuits IV1 to IV N Each of the N inverter circuits IV1 to IV2 has a power supply terminal coupled to the power supply terminal TVDD2, and each is supplied with a power supply voltage via the power supply terminal TVDD2. The power supply terminal TVDD2 is connected only to the N inverter circuits IV1 to IV2 among the various circuits integrated in the semiconductor circuit 1. N Therefore, as described later, by measuring the power supply current IDD2 flowing through the power supply terminal TVDD2, the currents in the N inverter circuits IV1 to IV N The power supply current IDD2 flows in.

[0037] N load circuits LD1 to LD N N inverter circuits IV1 to IV N The load circuit LD1 is coupled to the output terminal of the inverter circuit IV1, the load circuit LD2 is coupled to the output terminal of the inverter circuit IV2, and the load circuit LD3 is coupled to the output terminal of the inverter circuit IV3. The same applies to the load circuits LD4 to ID N-1 . Load circuit LD N Coupled to inverter circuit IV N N load circuits LD1 to LD N Each of them includes a capacitor CAP and a transistor TR.

[0038] The capacitor CAP has one end coupled to the output terminal of the inverter circuit IV, and the inverter circuit IV corresponds to the load circuit LD including the capacitor CAP. The capacitor CAP has the other end coupled to the drain of the transistor TR. For example, in the corresponding N load circuits LD1 to LD N The N capacitors CAP in the embodiment may include two or more capacitors having different capacitance values ​​from each other. For example, in the corresponding N load circuits LD1 to LD N The N capacitors CAP in the embodiment may include various types of capacitors, such as MIM (Metal Insulator Metal) type capacitors, MIS (Metal Insulator Semiconductor) type capacitors including MOS (Metal Oxide Semiconductor) type capacitors, and the like.

[0039] The transistor TR is an N-type MOS transistor. The transistor TR has a drain coupled to the other end of the capacitor CAP, and has a source connected to the ground. A control signal CTL1 is provided to the gate of the transistor TR in the load circuit LD1, a control signal CTL2 is provided to the gate of the transistor TR in the load circuit LD2, and a control signal CTL3 is provided to the gate of the transistor TR in the load circuit LD3. The same applies to the load circuits LD4 to LD5. N-1 Each of the transistors TR in the load circuit LD N The gate of the transistor TR provides a control signal CTL N .

[0040] With this configuration, in the load circuit LD, the capacitor CAP is set to "enable" or "disable" based on the control signal CTL. Specifically, the capacitor CAP is set to "enable" as a result of the transistor TR being in the on state based on the control signal CTL. Since the transistor TR is directed to the off state based on the control signal CTL, the capacitor CAP is set to "disable". The capacitor CAP set to "enable" serves as a load capacitance of the inverter circuit IV coupled to the capacitor CAP.

[0041] The NAND circuit ND calculates the NAND logic (NAND) between the logic signal supplied to the first input terminal and the logic signal supplied to the second input terminal, and outputs the calculation result from the output terminal. The NAND circuit ND has: a first input terminal, an inverter circuit IV coupled to the final stage N an output terminal of the ring oscillator 10; a second input terminal provided with an enable signal EN; and an output terminal, which is coupled to the input terminal of the inverter circuit IV1 in the initial stage and coupled to the output circuit 12. The enable signal EN is a signal that indicates the oscillation operation of the ring oscillator 10. Specifically, when the enable signal EN is at a high level, the NAND circuit ND inverts the logic signal supplied to the first terminal and outputs the inverted logic signal from the output terminal. This causes the ring oscillator 10 to perform an oscillation operation, and the NAND circuit ND outputs an oscillation signal S1. In addition, when the enable signal EN is at a low level, the NAND circuit ND outputs a high-level logic signal from the output terminal regardless of the logic signal supplied to the first terminal. This causes the ring oscillator 10 to stop the oscillation operation.

[0042] The selection circuit 11 generates two or more control signals CTL (in this example, N control signals CTL1 to CTL2) based on the instruction from the control circuit 19. N In the semiconductor circuit 1, N control signals CTL1 to CTL N Each of which is provided to N load circuits LD1 to LDN corresponding one of the load circuits LD1 to LD N The N capacitors CAP in the circuit are individually set to be “enabled” or “disabled”. Specifically, for example, the N load circuits LD1 to LD N Only one of the load circuits LD1 to LD2 can have a capacitor CAP set to “enabled”, or the N load circuits LD1 to LD3 can have a capacitor CAP set to “enabled”. N The capacitor CAP in two or more load circuits in the embodiment is set to “enabled”.

[0043] The output circuit 12 divides the frequency of the oscillation signal S1 generated as a result of the oscillation operation performed by the ring oscillator 10, and outputs the divided signal. The output circuit 12 includes an inverter circuit 13, a frequency division circuit 14, and an AND circuit 15. The inverter circuit 13 has an input terminal coupled to the output terminal of the NAND circuit ND in the ring oscillator 10, and has an output terminal coupled to the input terminal of the frequency division circuit 14. The frequency division circuit 14 divides the frequency of the signal output from the inverter circuit 13, and outputs the divided signal. The AND circuit 15 calculates the AND logic (AND) between the logic signal supplied to the first input terminal and the logic signal supplied to the second input terminal, and outputs the calculation result (oscillation signal S2) from the output terminal. The AND circuit 15 has a first input terminal coupled to the output terminal of the frequency division circuit 14, and has a second input terminal to which the enable signal EN is supplied. When the enable signal EN is at a high level, the output circuit 12 divides the oscillation signal S1 provided from the ring oscillator 10 to generate an oscillation signal S2 and outputs the oscillation signal S2. When the enable signal EN is at a low level, the output circuit 12 outputs a low-level logic signal.

[0044] The control circuit 19 controls the operation of each of the ring oscillator 10, the selection circuit 11, and the output circuit 12 based on the control signal supplied from the outside. Specifically, based on the control signal supplied from the outside, the control circuit 19 generates an enable signal EN, supplies the enable signal EN to the ring oscillator 10 and the output circuit 12, and instructs the selection circuit 11 to generate N control signals CTL1 to CTL N .

[0045] Figure 2 There is shown an example of a configuration of a test system 100 that measures the capacitance value of the capacitor CAP in the semiconductor circuit 1. For example, the capacitance value may be measured using a semiconductor wafer before dicing, or may be measured using a semiconductor chip after dicing and packaging.

[0046] The test system 100 includes a tester 110 . The tester 110 includes a power supply voltage generating section 111 , a current measuring section 112 , a frequency measuring section 113 , and a calculating section 114 .

[0047] The power supply voltage generating section 111 generates power supply voltages VDD1 and VDD2. The power supply voltage VDD1 and the power supply voltage VDD2 may have the same voltage value or voltage values ​​different from each other. In addition, the tester 110 supplies the power supply voltage VDD1 generated by the power supply voltage generating section 111 to the power supply terminal TVDD1 of the semiconductor circuit 1, and supplies the power supply voltage VDD2 to the power supply terminal TVDD2 of the semiconductor circuit 1.

[0048] The current measuring section 112 measures a power supply current IDD2 flowing through a power supply terminal TVDD2 of the semiconductor circuit 1 .

[0049] The frequency measuring section 113 measures the frequency of the oscillation signal S2 generated by the semiconductor circuit 1 .

[0050] The calculation section 114 calculates the capacitance value of the capacitor CAP in the semiconductor circuit 1 based on the measurement result of the current measurement section 112 and the measurement result of the frequency measurement section 113 .

[0051] With this structure, in the test system 100, the tester 110 causes the ring oscillator 10 in the semiconductor circuit 1 to perform an oscillation operation, measures the power supply current IDD2 flowing in the power supply terminal TVDD2, and measures the frequency of the oscillation signal S2. In addition, the tester 110 calculates the capacitance value of the capacitor CAP in the semiconductor circuit 1 based on the measured power supply current IDD2 and the measured frequency of the oscillation signal S2.

[0052] Here, the semiconductor circuit 1 corresponds to a specific example of a "semiconductor device" in the present disclosure. Inverter circuits IV1 to IV N The power supply terminal TVDD1 corresponds to a specific example of the “first power supply terminal” in the present disclosure. The power supply terminal TVDD2 corresponds to a specific example of the “second power supply terminal” in the present disclosure.

[0053] [Operation and Action]

[0054] Next, the operation and action of the semiconductor circuit 1 according to the present embodiment are described.

[0055] (Overview of overall operation)

[0056] First, refer to Figure 1The following describes an overview of the overall operation of the semiconductor circuit 1. Based on a control signal supplied from the outside, the control circuit 19 generates an enable signal EN, supplies the enable signal EN to the ring oscillator 10 and the output circuit 12, and instructs the selection circuit 11 to generate N control signals CTL1 to CTL N The selection circuit 11 generates N control signals CTL1 to CTL2 according to the instruction from the control circuit 19. N The N load circuits LD1 to LD2 in the ring oscillator 10 are N The capacitor CAP is set to "enabled" or "disabled" based on the control signal CTL. When the enable signal EN is at a high level, the ring oscillator 10 performs an oscillation operation to generate an oscillation signal S1. When the enable signal EN is at a high level, the output circuit 12 divides the oscillation signal S1 provided from the ring oscillator 10 to generate an oscillation signal S2, and outputs the oscillation signal S2.

[0057] (Capacitance measurement operation)

[0058] Next, an operation of measuring the capacitance value of the capacitor CAP in the semiconductor circuit 1 in the test system 100 is described in detail.

[0059] Figure 3 FIG. 1 shows an example of the operation of the test system 100 . In this example, the test system 100 connects the N load circuits LD1 to LD N One of the capacitors CAP in the load circuit LD1 to LD2 is set to “enabled”, and the capacitance value of the capacitor CAP set to “enabled” is calculated. Furthermore, this operation is repeated, thereby calculating the capacitance value of the N load circuits LD1 to LD N The capacitance values ​​of all capacitors CAP in are as follows. This operation is described in detail below.

[0060] First, the tester 110 provides power supply voltages VDD1 and VDD2 to the semiconductor circuit 1 (step S101). Specifically, the power supply voltage generation unit 111 generates the power supply voltages VDD1 and VDD2. In addition, the tester 110 provides the power supply voltage VDD1 generated by the power supply voltage generation unit 111 to the power supply terminal TVDD1 of the semiconductor circuit 1, and provides the power supply voltage VDD2 to the power supply terminal TVDD2 of the semiconductor circuit 1.

[0061] After that, the tester 110 provides a control signal to the control circuit 19 in the semiconductor circuit 1. Based on the control signal, the control circuit 19 sets the enable signal EN to a low level and sets the control signals CTL1 to CTL N = is set to a low level (step S102). This stops the oscillation operation of the ring oscillator 10. Nis at low level, so N load circuits LD1 to LD N The capacitor CAP in is “disabled”.

[0062] Then, the current measuring unit 112 in the tester 110 measures the power supply current IDD2 (standby current IDDQ) flowing through the power supply terminal TVDD2 of the semiconductor circuit 1 (step S103). That is, the standby current IDDQ is the power supply current IDD2 when the ring oscillator 10 suspends the oscillation operation.

[0063] Thereafter, the tester 110 supplies a control signal to the control circuit 19 in the semiconductor circuit 1, and the control circuit 19 sets the enable signal EN to a high level based on the control signal (step S104). N This causes the ring oscillator 10 to start oscillating operation.

[0064] Then, the current measuring unit 112 in the tester 110 measures the power supply current IDD2 (power supply current IDDA) flowing in the power supply terminal TVDD2 of the semiconductor circuit 1, and the frequency measuring unit 113 measures the frequency of the oscillation signal S2 (step S105). That is, the power supply current IDDA is the power supply current IDD2 when the ring oscillator 10 performs an oscillation operation.

[0065] Then, the calculation section 114 calculates the parasitic capacitance Cpar at the ring oscillator 10 based on the measurement result of the current measurement section 112 and the measurement result of the frequency measurement section 113 (step S106). The parasitic capacitance Cpar is the capacitance of the N load circuits LD1 to LD N The capacitor CAP in the N inverter circuits IV1 to IV is “disabled”. N The parasitic capacitance Cpar can be calculated using the following expression.

[0066] IDDA-IDDQ=Cpar×VDD2×f…(1)

[0067] Here, IDDA represents the power supply current measured in step S105, IDDQ represents the standby current measured in step S103, VDD2 represents the power supply voltage supplied to the power supply terminal TVDD2, and f represents the frequency of the oscillation signal S1. The frequency f can be calculated based on the frequency of the oscillation signal S2 measured in step S105 and the frequency division ratio of the frequency division circuit 14.

[0068] Thereafter, the tester 110 selects the capacitor CAP in the load circuit LD1 and sets the capacitor CAP to "enable" (step S107). Specifically, the tester 110 provides a control signal to the control circuit 19 in the semiconductor circuit 1, and the control circuit 19 sets the control signal CTL1 to a high level based on the control signal, and sets the control signal CTL other than the control signal CTL to a low level. This enables the capacitor CAP in the load circuit LD1 to be "enabled" and enables the capacitors CAP other than the capacitor CAP in the load circuit LD to be "disabled".

[0069] After that, the current measuring section 112 in the tester 110 measures the power supply current IDD2 (power supply current IDDA) flowing in the power supply terminal TVDD2 of the semiconductor circuit 1 , and the frequency measuring section 113 measures the frequency of the oscillation signal S2 (step S108 ).

[0070] After that, the calculation section 114 calculates the capacitance value C of the selected capacitor CAP in the ring oscillator 10 based on the measurement result of the current measurement section 112 and the measurement result of the frequency measurement section 113 (step S109). The capacitance value C of the selected capacitor CAP can be calculated using the following expression.

[0071] IDDA-IDDQ=(C+Cpar)×VDD2×f…(2)

[0072] Here, IDDA represents the power supply current measured in step S108, IDDQ represents the standby current measured in step S103, Cpar represents the parasitic capacitance value calculated in step S106, VDD2 represents the power supply voltage supplied to the power supply terminal TVDD2, and f represents the frequency of the oscillation signal S1.

[0073] Thereafter, the tester 110 confirms whether the N load circuits LD1 to LD N all capacitors CAP in (step S110).

[0074] In the case where all the capacitors CAP are not selected in step S110, one of the capacitors CAP that have not been selected is selected, and the capacitor CAP is set to "enabled" (step S111). Specifically, the tester 110 provides a control signal to the control circuit 19 in the semiconductor circuit 1. Based on the control signal, the control circuit 19 selects one of the capacitors CAP that have not been selected, sets the control signal CTL corresponding to the capacitor CAP to a high level, and sets the control signal CTL other than the capacitor CAP to a low level. This will cause the selected capacitor CAP to be "enabled" and cause the capacitors CAP other than the capacitor CAP to be "disabled". In addition, the process proceeds to step S108. In this way, the operations from steps S108 to S111 are repeated until all the capacitors CAP are selected.

[0075] When all the capacitors CAP are selected in step S110 , this flow ends.

[0076] In this way, in the semiconductor circuit 1, the capacitance value of each capacitor CAP can be calculated. In addition, by using the capacitance value of the capacitor CAP obtained using the semiconductor circuit 1, various types of information can be obtained. For example, in the case of incorporating two or more capacitors having the same capacitance value and of the same type into a capacitor CAP, the mismatch variation between these capacitors CAP can be calculated. In addition, in the case of combining a MOS capacitor as a capacitor CAP, the gate length of the MOS structure can be calculated based on the capacitance value of the capacitor CAP. In addition, for example, in the case of combining a MIM capacitor as a capacitor CAP, the mask misalignment amount during manufacturing can be calculated based on the capacitance value of the capacitor CAP.

[0077] As described above, in the semiconductor circuit 1, each load circuit LD includes a capacitor CAP and a transistor TR, thereby allowing the capacitor CAP to be individually set to "enable" or "disable". As a result, the capacitance values ​​of various capacitors CAP can be calculated with the aid of a single semiconductor circuit 1. That is, for example, in the case where a capacitor is directly coupled to each inverter circuit as a load, as in the techniques described in PTLs 1 and 2, it is difficult to calculate the capacitance value of each capacitor. Therefore, for example, in the case where the capacitance values ​​of various capacitors are intended to be calculated, it is necessary to prepare two or more ring oscillators. In this case, for example, there is an increase in circuit area. In the semiconductor circuit 1, however, each load circuit LD includes a capacitor CAP and a transistor TR. This makes it possible to individually calculate the capacitance value of the capacitor CAP by individually turning on and off the transistor TR. Therefore, for example, in the case where capacitors having different capacitance values ​​from each other or various types of capacitors including MIM capacitors, MIS capacitors, etc. are combined into capacitors CAP, the capacitance value of each of these various capacitors CAP can be calculated with the aid of a single semiconductor circuit 1. As a result, in the semiconductor circuit 1, the circuit area can be reduced.

[0078] In addition, the capacitance value of the capacitor CAP is calculated by the semiconductor circuit 1. Therefore, as in application examples A1 and A2 described later, for example, the semiconductor circuit 1 can be integrated with another semiconductor circuit (semiconductor circuit 20 described later) into a single chip, and the capacitance value of the capacitor in the semiconductor circuit 20 can be adjusted based on the measurement result of the capacitance value of the capacitor CAP in the semiconductor circuit 1.

[0079] That is, for example, in the case where the capacitance value of the capacitor in the semiconductor circuit 20 is adjusted based on the measurement result of the capacitance value of the capacitor included in the process TEG by a process TEG (test element group) set in the scribe line of the semiconductor wafer, there is a possibility that the capacitance value cannot be accurately adjusted. The reason is that the process TEG usually only measures a few points in the semiconductor wafer, for example, which makes it difficult to adjust the capacitance value while fully considering the variation of the components in the plane of the semiconductor wafer. On the contrary, in the semiconductor circuit 1, for example, the semiconductor circuit 1 and the semiconductor circuit 20 are integrated into a single chip so that the capacitance value of the capacitor in the semiconductor circuit 20 (the capacitor CAP is included in the same chip as the capacitor CAP) can be adjusted based on the measurement result of the capacitor CAP in the semiconductor circuit 1. Therefore, the capacitance value can be accurately adjusted.

[0080] In the above example, each load circuit LD1 to LD N The capacitors CAP of the load circuits LD1 to LD2 are sequentially set to "enabled"; however, this is not restrictive. Two or more capacitors CAP may be set to "enabled" at the same time. In this example, the ten load circuits LD1 to LD10 The capacitors CAP in the circuits have the same capacitance value and are of the same type. In addition, the 20 load circuits LD 11 To LD 30 The capacitors CAP in have the same capacitance value and are of the same type.

[0081] Figure 4A and 4B Operation examples of the semiconductor circuit 1 are respectively shown. Figure 4A and 4B Each of φ1 and φ2 shows a transistor TR as a switch indicating an on-off state.

[0082] like Figure 4A As shown, the semiconductor circuit 1 enables ten load circuits LD1 to LD 10 The transistor TR in the circuit is in the on state, thereby simultaneously switching each load circuit LD1 to LD 10 The capacitor CAP in is set to “enabled”. The test system 100 measures the power supply current IDDA and the frequency of the oscillation signal S2 at this time, and can calculate the average value of the capacitance values ​​of the ten capacitors CAP based on these measurement results.

[0083] Likewise, if Figure 4B As shown, the semiconductor circuit 1 makes each of 20 load circuits LD 11 To LD 30 The transistor TR in the circuit is in the on state, so that each load circuit LD 11 To LD 30 The capacitor CAP in is set to “enabled”. The test system 100 measures the power supply current IDDA and the frequency of the oscillation signal S2 at this time, and can calculate the average value of the capacitance values ​​of the 20 capacitors CAP based on these measurement results.

[0084] In this way, setting two or more capacitors CAP to "enable" at the same time enables the average value of the capacitance values ​​of these capacitors CAP to be calculated in a shorter time than when the capacitors CAP are set to "enable" one by one. In other words, the average value of the capacitance values ​​of the capacitors CAP can be calculated within the time used to calculate the capacitance value of a single capacitor CAP. This makes it possible to improve the measurement accuracy of the measured capacitance value.

[0085] For example, the number of capacitors CAP to be simultaneously set to “enable” may be set according to capacitance values, or may be set according to types of capacitors CAP.

[0086] In this manner, for example, the semiconductor circuit 1 can simultaneously select capacitors CAP to be set to “enable” or set the number of capacitors CAP to be set to “enable” according to the application. Therefore, the degree of freedom of the measurement operation can be increased.

[0087] [Effect]

[0088] As described above, in this embodiment, each load circuit includes a capacitor and a transistor, so that, for example, the capacitor to be set to "enable" or the number of capacitors to be set to "enable" can be selected at the same time according to the application. Therefore, the degree of freedom of measurement operation can be increased.

[0089] In the above embodiments, Figure 1 As shown. A single inverter circuit IV includes a single load circuit LD. For example, the inverter circuit IV may include Figure 5 Two transistors 91 and 92 are shown. Transistor 91 is an N-type MOS transistor, and has a drain coupled to the output terminal of the inverter circuit IV, a gate coupled to the input terminal of the inverter circuit IV, and a source grounded. Transistor 92 is a P-type MOS transistor, and has a drain coupled to the output terminal of the inverter circuit IV, a gate coupled to the input terminal of the inverter circuit IV, and a source supplied with a power supply voltage VDD2.

[0090] Furthermore, for example, the inverter circuit IV may include Figure 6 Four transistors 93 to 96 are shown. Transistors 93 and 94 are each an N-type MOS transistor, and transistors 95 and 96 are each a P-type MOS transistor. Transistor 93 has a drain coupled to the output terminal of the inverter circuit IV, a gate coupled to the input terminal of the inverter circuit IV, and a source coupled to the drain of transistor 94. Transistor 94 has a drain coupled to the source of transistor 93, a gate provided with a voltage Vn, and a source grounded. For example, voltage Vn is an analog voltage, and the resistance value of transistor 94 is set by the voltage Vn. Transistor 95 has a drain coupled to the output terminal of the inverter circuit IV, a gate coupled to the input terminal of the inverter circuit IV, and a source coupled to the drain of transistor 96. Transistor 96 has a drain coupled to the source of transistor 95, a gate provided with a voltage Vp, and a source provided with a power supply voltage VDD2. For example, voltage Vp is an analog voltage, and the resistance value of transistor 96 is set by the voltage Vp. The voltages Vp and Vn are generated by, for example, a voltage generating section not shown.

[0091] Furthermore, for example, the load circuit LD may be as follows Figure 7 The load circuit LD includes a transistor TR and a capacitor CAP. In the load circuit LD according to the present modification example, the load circuit LD according to the aforementioned embodiment ( Figure 1 ) in which the transistor TR and the capacitor CAP are replaced with each other. The transistor TR has a drain coupled to the output terminal of the inverter circuit IV and a source coupled to one end of the capacitor CAP. The capacitor CAP has one end coupled to the source of the transistor TR and has the other end grounded.

[0092] In addition, for example, Figure 8 As shown, a single inverter circuit IV may include two load circuits LD (load circuits LDA and LDB). Load circuit LDA is coupled to the output terminal of the inverter circuit IV. The load circuit LDA includes a capacitor CAP and a transistor TR. The transistor TR in the load circuit LDA is set to "enable" or "disable" based on the control signal CTLA. Load circuit LDB is coupled to the output terminal of the inverter circuit IV. The load circuit LDB includes a capacitor CAP and a transistor TR. The transistor TR in the load circuit LDB is set to "enable" or "disable" based on the control signal CTLB. It should be noted that this is not restrictive, and a single inverter circuit IV may include three or more load circuits.

[0093] In the above embodiment, the N load circuits LD1 to LD N coupled to corresponding N inverter circuits IV1 to IV N ; However, this is not restrictive. Optionally, for example, as Fig. 9 In the semiconductor circuit 1B shown in FIG. 1 , the load circuit LD may be coupled only to the inverter circuit IV, which is N inverter circuits IV1 to IV. N In this example, one load circuit LD is coupled with respect to every ten inverter circuits IV.

[0094] In the aforementioned embodiment, the output circuit 12 includes the frequency dividing circuit 14; however, this is not restrictive. Fig.10 The semiconductor circuit 1C shown in the figure may not be provided with the frequency dividing circuit 14. The semiconductor circuit 1C includes an output circuit 12C. The output circuit 12C includes an inverter circuit 13 and an AND circuit 15. The output circuit 12c corresponds to the output circuit 12( Figure 1 ).

[0095] In the aforementioned embodiment, the ring oscillator 10 includes an inverter circuit IV; however, this is not restrictive. The ring oscillator may include various logic gate circuits. For example, Fig.11 The semiconductor circuit 1D shown in the figure may include a buffer circuit. The semiconductor circuit 1D includes a ring oscillator 10D. The ring oscillator 10D includes two or more buffer circuits BF (in this example, N buffer circuits BF1 to BFN ), two or more load circuits LD (in this example, N load circuits LD1 to LD N ) and NAND circuit ND. Buffer circuits BF1 to BF N and a NAND circuit ND are provided on the loop path.

[0096] <2. Application Examples>

[0097] Next, application examples of the present technology are described in detail with reference to some examples.

[0098] (Application Example A1)

[0099] picture. Fig.12 An example of a semiconductor device 2 according to application example A1 is shown. The semiconductor device 2 includes a semiconductor circuit 1 and a semiconductor circuit 20. The semiconductor circuit 1 and the semiconductor circuit 20 are formed in a single semiconductor chip.

[0100] The semiconductor circuit 20 is a circuit that realizes a predetermined function and includes a variable capacitor 30 and a setting section 39 .

[0101] The variable capacitor 30 has an adjustable capacitance value. It is expected that the variable capacitor 30 has a capacitance value close to a desired value (e.g., a design value). That is, the semiconductor circuit 20 is a circuit that can realize the desired characteristics by setting the capacitance value of the variable capacitor 30 to a desired value, and is a circuit that has high precision requirements for the capacitance value. In this example, the variable capacitor 30 includes capacitors 31A and 32A and switches 31B and 32B. Capacitors 31A and 32A have capacitance values ​​different from each other. In the variable capacitor 30, capacitor 31A is selected because switch 31B becomes a conducting state, and capacitor 32A is selected because switch 32B becomes a conducting state. It should be noted that in this example, two capacitors 31A and 32A are provided; however, this is not restrictive. Three or more capacitors with mutually different capacitance values ​​can be provided, and one of these capacitors can be selected.

[0102] The setting section 39 sets one of the switches 31B and 32B to the on state, thereby setting the capacitance value of the variable capacitor 30. For example, the setting section 39 includes a nonvolatile memory. The nonvolatile memory holds information (setting information INF) about which of the switches 31B and 32B is to be set to the on state. In addition, the setting section 39 sets one of the switches 31B and 32B to the on state based on the setting information INF held by the nonvolatile memory.

[0103] With this structure, the setting section 39 sets one of the switches 31B, 32B to the on state based on the setting information INF stored in the nonvolatile memory, thereby setting the capacitance value of the variable capacitor 30. The nonvolatile memory stores in advance the setting information INF that allows the variable capacitor 30 to have a capacitance value close to the desired value (e.g., the design value). In the semiconductor device 2, this allows the variable capacitor 30 to have a capacitance value close to the desired value.

[0104] Fig.13 An example of the configuration of the test system 200 is shown. The test system 200 includes a tester 210. The tester 210 includes a setting information generating section 215. The setting information generating section 215 generates setting information INF that allows the variable capacitor 30 to have a capacitance value close to a desired value (e.g., a design value) based on the capacitance value of the capacitor CAP in the semiconductor circuit 1 calculated by the calculating section 114. Specifically, for example, in the case where the capacitor CAP includes the same type as the capacitors 31A and 32A and has a capacitance value close to the capacitance values ​​of the capacitors 31A and 32A, the setting information generating section 215 is able to generate the setting information INF based on the capacitance value of the capacitor CAP. In addition, the tester 210 provides the setting information INF to the setting section 39 in the semiconductor circuit 20.

[0105] Here, the semiconductor device 2 corresponds to a specific example of a “semiconductor device” in the present disclosure. The calculation section 114 and the setting information generation section 215 correspond to specific examples of an “adjustment section” in the present disclosure.

[0106] With this structure, in the test system 200, the tester 210 causes the ring oscillator 10 in the semiconductor circuit 1 to perform an oscillation operation, the current measuring section 112 measures the power supply current IDD2 flowing in the power supply terminal TVDD2, and the frequency measuring section 113 measures the frequency of the oscillation signal S2. In addition, the calculation section 114 calculates the capacitance value of the capacitor CAP in the semiconductor circuit 1 based on the power supply current IDD2 measured by the current measuring section 112 and the frequency of the oscillation signal S2 measured by the frequency measuring section 113. The setting information generating section 215 generates setting information INF that allows the variable capacitor 30 to have a capacitance value close to a desired value (e.g., a design value) based on the capacitance value of the capacitor CAP in the semiconductor circuit 1 calculated by the calculation section 114. In addition, the tester 210 provides the setting information INF to the setting section 39 in the semiconductor circuit 20. The setting section 39 stores the setting information INF on the nonvolatile memory. Thereafter, the setting section 39 sets one of the switches 31B and 32B to a conducting state based on the setting information INF saved by the nonvolatile memory. In this way, the test system 200 can adjust the capacitance value of the variable capacitor 30 .

[0107] It should be noted that in this example, two or more capacitors (in this example, two capacitors 31A and 32A) having capacitance values ​​different from each other are provided, and a capacitor having a capacitance value closer to a desired value (e.g., a design value) is selected from these capacitors; however, this is not restrictive. For example, two or more capacitors having capacitance values ​​equal to each other may be provided, and the number of capacitors to be selected from these capacitors may be set so that the capacitance value is closer to the desired value (e.g., a design value).

[0108] Furthermore, in this example, the capacitance value of one variable capacitor 30 in the semiconductor circuit 20 is adjusted; however, this is not limitative. The capacitance value of each of two or more variable capacitors 30 may be adjusted. Furthermore, in this example, the semiconductor device 2 includes a single semiconductor circuit 1; however, this is not limitative. Two or more semiconductor circuits 1 may be included. Furthermore, the capacitance value of each of two or more variable capacitors 30 may be adjusted based on the capacitors CAP in the two or more semiconductor circuits 1.

[0109] (Application Example A2)

[0110] Fig.14 An example of a semiconductor device 3 according to application example A2 is shown. The semiconductor device 3 includes a semiconductor circuit 1, a semiconductor circuit 20, and a measurement circuit 40. The semiconductor circuit 1, the semiconductor circuit 20, and the measurement circuit 40 are formed in a single semiconductor chip.

[0111] The measurement circuit 40 includes a current measurement section 112 , a frequency measurement section 113 , a calculation section 114 , and a setting information generation section 215 .

[0112] With this structure, in the semiconductor device 3, the measurement circuit 40 causes the ring oscillator 10 in the semiconductor circuit 1 to perform an oscillation operation, the current measurement section 112 measures the power supply current IDD2 flowing in the power supply terminal TVDD2, and the frequency measurement section 113 measures the frequency of the oscillation signal S2. In addition, the calculation section 114 calculates the capacitance value of the capacitor CAP in the semiconductor circuit 1 based on the power supply current IDD2 measured by the current measurement section 112 and the frequency of the oscillation signal S2 measured by the frequency measurement section 113. The setting information generation section 215 generates setting information INF that allows the variable capacitor 30 to have a capacitance value close to a desired value (e.g., a design value) based on the capacitance value of the capacitor CAP in the semiconductor circuit 1 calculated by the calculation section 114. The setting section 39 in the semiconductor circuit 20 stores the setting information INF on the nonvolatile memory. Thereafter, the setting section 39 sets one of the switches 31B and 32B to a conducting state based on the setting information INF saved by the nonvolatile memory. In this way, the semiconductor device 3 can adjust the capacitance value of the variable capacitor 30.

[0113] (Application Example A3)

[0114] In application examples A1 and A2, the semiconductor circuit 1 and the semiconductor circuit 20 are formed in a single semiconductor chip; however, this is not restrictive. Alternatively, the semiconductor circuit 1 and the semiconductor circuit 20 may be formed in different semiconductor chips. Also in this case, for example, in the case where the semiconductor circuit 1 and the semiconductor circuit 20 are cut from the same semiconductor wafer, the capacitance value of the variable capacitor 30 in the semiconductor circuit 20 may be adjusted based on the capacitance value of the capacitor CAP in the semiconductor circuit 1.

[0115] The present technology has been described above with reference to the embodiment and the modification examples and specific application examples thereof; however, the present technology is not limited to the embodiment and the like, and various modifications may be made.

[0116] For example, the ring oscillator 10 includes a NAND circuit ND; however, this is not restrictive. Alternatively, for example, the ring oscillator may include a NOR circuit that calculates a logical non-OR (NOR).

[0117] It should be noted that the effects described here are merely examples and are not restrictive, and any other effects may be provided.

[0118] It should be noted that the present technology can have the following configurations.

[0119] (1) A semiconductor device comprising:

[0120] a ring oscillator including two or more gate circuits disposed on a loop path and including a first gate circuit, and a first load circuit coupled to an output terminal of the first gate circuit and including a first capacitor configured to be set to be enabled or disabled based on a first control signal; and

[0121] A control signal generating circuit is configured to generate the first control signal.

[0122] (2) The semiconductor device according to (1), wherein the first load circuit includes a first switch that is coupled in series to the first capacitor and is configured to be turned on and off based on the first control signal.

[0123] (3) The semiconductor device according to (1) or (2), wherein

[0124] The two or more gate circuits include a second gate circuit,

[0125] The ring oscillator further includes a second load circuit coupled to an output terminal of the second gate circuit and including a second capacitor, the second capacitor being configured to be set to be enabled or disabled based on a second control signal, and

[0126] The control signal generating circuit is configured to further generate a second control signal.

[0127] (4) The semiconductor device according to (3), wherein

[0128] the second load circuit includes a second switch coupled in series to the second capacitor and configured to be turned on and off based on the first control signal, and

[0129] The second capacitor is of a different type than the first capacitor.

[0130] (5) The semiconductor device according to (3) or (4), wherein

[0131] the second load circuit includes a second switch coupled in series to the second capacitor and configured to be turned on and off based on the first control signal, and

[0132] The second capacitor has a capacitance value different from the capacitance of the first capacitor.

[0133] (6) The semiconductor device according to any one of (1) to (5), further comprising:

[0134] a first power supply terminal; and

[0135] The second power supply terminal, wherein

[0136] The control signal generating circuit is coupled to the first power supply terminal, and

[0137] The two or more gate circuits are coupled to the second power supply terminal.

[0138] (7) The semiconductor device according to any one of (1) to (6), wherein

[0139] The ring oscillator includes two or more load circuits, the two or more load circuits including the first load circuit,

[0140] The two or more load circuits are coupled to respective output terminals of the gate circuits that are different from each other among the two or more gate circuits, and

[0141] The number of load circuits is smaller than the number of gate circuits.

[0142] (8) The semiconductor device according to any one of (1) to (6), wherein

[0143] The ring oscillator further includes a third load circuit coupled to an output terminal of the first gate circuit and including a third capacitor, the third capacitor being configured to be set to be enabled or disabled based on a third control signal, and

[0144] The control signal generating circuit is configured to further generate a third control signal.

[0145] (9) The semiconductor device according to any one of (1) to (8), further comprising:

[0146] a current measuring section configured to measure a power supply current flowing in the two or more gate circuits;

[0147] a frequency measuring unit configured to measure a frequency of an oscillation signal generated by the ring oscillator;

[0148] A variable capacitor having an adjustable capacitance value; and

[0149] An adjustment section is configured to adjust a capacitance value of the variable capacitor based on a measurement result of the current measurement section and a measurement result of the frequency measurement section.

[0150] (10) A capacitance measurement method, comprising:

[0151] operating a ring oscillator, the ring oscillator comprising two or more gate circuits arranged on a loop and comprising a first gate circuit, the first load circuit coupled to an output terminal of the first gate circuit and comprising a first capacitor, the first capacitor being configured to be set to be enabled or disabled based on a first control signal;

[0152] measuring a consumption current of the two or more gate circuits;

[0153] measuring the frequency of an oscillating signal generated by the ring oscillator; and

[0154] A capacitance value of the first capacitor is calculated based on the consumption current and the frequency.

[0155] (11) The capacitance value measuring method according to (10), wherein

[0156] Measuring the consumption current includes: measuring a first consumption current of the two or more gate circuits when the first capacitor is set to be disabled; and measuring a second consumption current of the two or more gate circuits when the first capacitor is set to be enabled,

[0157] Measuring the frequency includes measuring a first frequency of the oscillation signal when the first capacitor is set to be disabled, and measuring a second frequency of the oscillation signal when the first capacitor is set to be enabled, and

[0158] Calculating the capacitance value of the first capacitor includes calculating the capacitance value of the first capacitor based on the first consumption current, the second consumption current, the first frequency, and the second frequency.

[0159] This application claims priority based on Japanese Patent Application No. 2018-095116 filed with the Japan Patent Office on May 17, 2018, the entire contents of which are incorporated herein by reference.

[0160] It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.

Claims

1. A semiconductor device, include: a ring oscillator comprising a plurality of gate circuits arranged on a loop and comprising a first gate circuit, and a first load circuit coupled to an output terminal of the first gate circuit and comprising a first capacitor configured to be set to be enabled or disabled based on a first control signal; A control signal generating circuit, configured to generate the first control signal; a current measuring section configured to measure a power supply current flowing in the plurality of gate circuits; a frequency measuring unit configured to measure the frequency of an oscillation signal generated by the ring oscillator; Variable capacitors, which have adjustable capacitance values; and An adjustment section is configured to adjust a capacitance value of the variable capacitor based on a measurement result of the current measurement section and a measurement result of the frequency measurement section.

2. The semiconductor device according to claim 1, It is characterized in that The first load circuit includes a first switch coupled in series to the first capacitor and configured to be turned on and off based on the first control signal.

3. The semiconductor device according to claim 1, in, The plurality of gate circuits include a second gate circuit, The ring oscillator further includes a second load circuit coupled to an output terminal of the second gate circuit and including a second capacitor, the second capacitor being configured to be set to be enabled or disabled based on a second control signal, and The control signal generating circuit is configured to further generate the second control signal.

4. The semiconductor device according to claim 3, in, the second load circuit comprising a second switch coupled in series to the second capacitor and configured to be turned on and off based on the first control signal; and The second capacitor is of a different type than the first capacitor.

5. The semiconductor device according to claim 3, wherein the second load circuit comprising a second switch coupled in series to the second capacitor and configured to be turned on and off based on the first control signal; and The capacitance value of the second capacitor is different from the capacitance value of the first capacitor.

6. The semiconductor device according to claim 1, further comprising: include: a first power supply terminal; and The second power supply terminal, wherein The control signal generating circuit is coupled to the first power supply terminal, and The plurality of gate circuits are coupled to the second power supply terminal.

7. The semiconductor device according to claim 1, in, The ring oscillator includes a plurality of load circuits, the plurality of load circuits including a first load circuit, The plurality of load circuits are respectively coupled to output terminals of different gate circuits among the plurality of gate circuits, and The number of the load circuits is smaller than the number of the gate circuits.

8. The semiconductor device according to claim 1, in, The ring oscillator further includes a third load circuit coupled to the output terminal of the first gate circuit and including a third capacitor configured to be set to be enabled or disabled based on a third electrical control signal; and The control signal generating circuit is configured to further generate a third control signal.

9. A method for measuring capacitance value, include: causing a ring oscillator to operate, the ring oscillator comprising a plurality of gate circuits arranged on a loop and comprising a first gate circuit, a first load circuit coupled to an output terminal of the first gate circuit and comprising a first capacitor configured to be set to be enabled or disabled based on a first control signal; measuring consumption currents of the plurality of gate circuits; measuring the frequency of the oscillation signal generated by the ring oscillator; and The capacitance value of the first capacitor is calculated based on the consumption current and the frequency.

10. The capacitance value measuring method according to claim 9, in, Measuring the consumption current includes: measuring a first consumption current of the plurality of gate circuits when the first capacitor is set to be disabled; and measuring a second consumption current of the plurality of gate circuits when the first capacitor is set to be enabled; Measuring the frequency includes: measuring a first frequency of the oscillation signal when the first capacitor is set to be disabled; and measuring a second frequency of the oscillation signal when the first capacitor is set to be enabled; and Calculating the capacitance value of the first capacitor includes calculating the capacitance value of the first capacitor based on the first consumption current, the second consumption current, the first frequency, and the second frequency.