Oscillator circuits, charge pump circuits and memories
By introducing a control module into the oscillator circuit to extend the effective state of the target start signal, it ensures that the clock signal has a consistent number of clock cycles in the ring oscillator. This solves the problem of inconsistent clock cycles after the ring oscillator start signal fails, and improves memory performance. .
Patent Information
- Application Number
- CN202310008385.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-01-04
AI Technical Summary
The ring oscillator is shut down immediately after the start signal fails, resulting in a different number of clock cycles of the output clock signal, which affects memory performance.
Design an oscillator circuit that receives the initial start signal and clock signal through the control module, generates the target start signal, and extends the effective state when the initial start signal fails, ensuring that the duration of each clock signal is consistent when the target start signal is valid. .
This ensures that the number of clock cycles of the clock signal is consistent, improves circuit performance, and prevents functional errors and performance impacts caused by different numbers of clock cycles.
Smart Images

Figure CN116013380B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of semiconductor technology, and in particular to an oscillator circuit, a charge pump circuit and a memory. Background Art
[0002] A ring oscillator (Ring OSC) is a ring device consisting of three NOT gates or more odd number of NOT gates connected end to end with their output and input ends. The ring oscillator can provide a clock signal for a memory such as a dynamic random access memory (DRAM). During the operation of the ring oscillator, a start signal is usually provided to the ring oscillator. When the start signal is in a valid state, the ring oscillator works, and each of the NOT gates outputs a clock signal. In this control mode, the clock signal output by the ring oscillator will be immediately set when the start signal is disabled, so that the number of clock cycles of each clock signal output by the ring oscillator is different, which has an adverse effect on the performance of the memory. Summary of the invention
[0003] In a first aspect, an embodiment of the present disclosure provides an oscillator circuit, including a control module and an oscillator module, wherein:
[0004] The control module is used to receive an initial start signal and at least one clock signal, perform logic processing and latch processing according to the initial start signal and the at least one clock signal, and generate a target start signal;
[0005] The oscillator module is configured to receive the target start signal and generate the at least one clock signal according to the target start signal;
[0006] When the number of the at least one clock signal is greater than one, during the time period in which the target start signal is in a valid state, the time length for which each of the clock signals is in a valid state is the same.
[0007] In some embodiments, the control module includes a latch control module, a latch input module, a latch module and a latch output module, wherein:
[0008] The latch control module is used to receive the at least one clock signal, perform logic processing on the at least one clock signal, and obtain a first control signal and a second control signal;
[0009] The latch input module is used to receive the initial start signal, perform inversion processing on the initial start signal, and obtain a latch input signal;
[0010] The latch module is used to receive the first control signal, the second control signal and the latch input signal, and perform latch processing on the latch input signal according to the first control signal and the second control signal to obtain a latch output signal;
[0011] The latch output module is used to receive the initial start signal and the latch output signal, and perform logic processing on the initial start signal and the latch output signal to obtain the target start signal.
[0012] In some embodiments, the latch control module includes a first logic module and a second logic module, wherein:
[0013] The first logic module is configured to receive the at least one clock signal and generate the first control signal according to the at least one clock signal;
[0014] The second logic module is used to invert the first control signal to obtain the second control signal.
[0015] In some embodiments, the first logic module includes a first NAND gate and at least one first NOR gate, the input end of the at least one first NOR gate is used to receive the at least one clock signal, and the output end of the at least one first NOR gate is connected to the input end of the first NAND gate, wherein:
[0016] The at least one first NOR gate is used to receive the at least one clock signal, perform NOR processing on the at least one clock signal, and obtain at least one logic signal;
[0017] The first NAND gate is used to perform NAND logic processing on the at least one logic signal to obtain the first control signal.
[0018] In some embodiments, the first logic module includes a first NAND gate and at least one first NOT gate, the input end of the at least one first NOT gate is used to receive the at least one clock signal, and the output end of the at least one first NOT gate is connected to the input end of the first NAND gate, wherein:
[0019] The at least one first NOT gate is used to receive the at least one clock signal and perform inversion processing on the at least one clock signal to obtain at least one logic signal;
[0020] The first NAND gate is used to perform NAND logic processing on the at least one logic signal to obtain the first control signal.
[0021] In some embodiments, the number of the at least one clock signal is at least two, and there is a time delay between the at least two clock signals, and the first logic module includes a first NAND gate and two first NOT gates, wherein:
[0022] An input end of one of the first NOT gates is used to receive a clock signal with a first timing position among at least two clock signals; an input end of another of the first NOT gates is used to receive a clock signal with a last timing position among at least two clock signals; the output ends of the two first NOT gates are respectively connected to the first input end and the second input end of the first NAND gate, and the output end of the first NAND gate is used to output the first control signal.
[0023] In some embodiments, the second logic module includes a second NOT gate, wherein:
[0024] The input end of the second NOT gate and the first control end of the latch module are both connected to the output end of the first NAND gate;
[0025] The output end of the second NOT gate is connected to the second control end of the latch module, and the output end of the second NOT gate is used to output the second control signal.
[0026] In some embodiments, the latch input module includes a third NOT gate, wherein:
[0027] The input end of the third NOT gate is used to receive the initial start signal, the output end of the third NOT gate is connected to the input end of the latch module, and the output end of the third NOT gate is used to output the latch input signal.
[0028] In some embodiments, the latch module includes a transmission gate and a fourth NOT gate, and the transmission gate includes a first PMOS transistor and a first NMOS transistor, wherein:
[0029] The gate terminal of the first PMOS tube serves as the first control terminal of the latch module, and is used to receive the first control signal;
[0030] The gate terminal of the first NMOS tube serves as the second control terminal of the latch module, and is used to receive the second control signal;
[0031] The first end of the first PMOS tube and the first end of the first NMOS tube are connected as the input end of the latch module, for receiving the latch input signal;
[0032] The second end of the first PMOS tube and the second end of the first NMOS tube are both connected to the input end of the fourth NOT gate;
[0033] The output end of the fourth NOT gate serves as the output end of the latch module, and is used to output the latch output signal.
[0034] In some embodiments, the latch module further includes a fifth NOT gate, wherein:
[0035] The input end of the fifth NOT gate is connected to the output end of the fourth NOT gate, and the output end of the fifth NOT gate is connected to the input end of the fourth NOT gate; the first control end of the fifth NOT gate is used to receive the first control signal, and the second control end of the fifth NOT gate is used to receive the second control signal.
[0036] In some embodiments, the latch output module includes a second NOR gate and a sixth NOR gate, wherein:
[0037] The first input end of the second NOR gate is used to receive the initial start signal, the second input end of the second NOR gate is used to receive the latch output signal, the output end of the second NOR gate is connected to the input end of the sixth NOR gate, and the output end of the sixth NOR gate is used to output the target start signal.
[0038] In some embodiments, the oscillator module includes a switch control module and an oscillation main module, wherein:
[0039] The switch control module is used to receive the target start signal, and when the target start signal is in a valid state, start the oscillation main module to generate the at least one clock signal; or when the target start signal is in an invalid state, set the oscillation main module.
[0040] In some embodiments, the oscillation main module includes N seventh NOT gates connected end to end, and N is an odd number greater than 1, wherein:
[0041] The at least one clock signal includes output signals of several odd-numbered seventh NOT gates among the N seventh NOT gates; or, the at least one clock signal includes output signals of several even-numbered seventh NOT gates among the N seventh NOT gates.
[0042] In a second aspect, an embodiment of the present disclosure provides a charge pump circuit, comprising a comparison module, a charge pump core module, and an oscillator circuit as described in any one of the first aspects, wherein:
[0043] The comparison module is used to compare the charge pump output voltage with the reference voltage to generate an initial start signal;
[0044] The oscillator circuit is used to receive the initial start signal and generate at least one clock signal according to the initial start signal;
[0045] The charge pump core module is used to receive the at least one clock signal and generate the charge pump output voltage according to the at least one clock signal.
[0046] In a third aspect, an embodiment of the present disclosure provides a memory, comprising a charge pump circuit as described in any one of the second aspects.
[0047] The embodiment of the present disclosure provides an oscillator circuit, a charge pump circuit and a memory, wherein the oscillator circuit comprises: a control module, which is used to receive an initial start signal and at least one clock signal, and to perform logic processing and latch processing according to the initial start signal and the at least one clock signal to generate a target start signal; an oscillator module, which is used to receive the target start signal and to generate at least one clock signal according to the target start signal; wherein, when the number of at least one clock signal is greater than one, in the time period when the target start signal is in an effective state, the duration of each clock signal in an effective state is the same. In this way, the embodiment of the present disclosure uses the initial start signal and the clock signal output by the oscillator module to jointly generate a target start signal, so that the duration of the target start signal in an effective state is extended, and the target start signal is used to control whether the oscillator module is started, and when the target start signal is in an effective state, the oscillator module is started and outputs a clock signal, so that even if the initial start signal changes from an effective state to an invalid state, the oscillator module will not be shut down immediately, but it is ensured that in the time period when the target start signal is in an effective state, the duration of each clock signal in an effective state is the same, thereby ensuring that the number of clock cycles of each clock signal is the same, which is conducive to improving the performance of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A signal timing diagram;
[0049] Figure 2 A schematic diagram of the structure of an oscillator circuit provided in an embodiment of the present disclosure;
[0050] Figure 3 A signal timing diagram provided for an embodiment of the present disclosure;
[0051] Figure 4 A schematic diagram of the structure of another oscillator circuit provided in an embodiment of the present disclosure;
[0052] Figure 5 A schematic diagram of the structure of an oscillation main module provided in an embodiment of the present disclosure;
[0053] Fig. 6A A schematic diagram of a specific structure of a control module provided in an embodiment of the present disclosure;
[0054] Figure 6BA schematic diagram of a specific structure of a latch control module provided in an embodiment of the present disclosure;
[0055] Figure 6C A schematic diagram of a specific structure of a latch module provided in an embodiment of the present disclosure;
[0056] Fig.6D A specific structural diagram of a fifth NOT gate provided in an embodiment of the present disclosure;
[0057] Figure 7 A schematic diagram of a specific structure of an oscillator module provided in an embodiment of the present disclosure;
[0058] Figure 8 A schematic diagram of the structure of a charge pump circuit provided in an embodiment of the present disclosure;
[0059] Fig. 9 A schematic diagram of the composition structure of a memory provided by an embodiment of the present disclosure;
[0060] Fig.10 A schematic diagram of the composition structure of another memory provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. It is understood that the specific embodiments described herein are only used to explain the relevant disclosure, rather than to limit the disclosure. It should also be noted that, for the convenience of description, only the parts related to the relevant disclosure are shown in the drawings.
[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
[0063] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0064] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present disclosure are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present disclosure described here can be implemented in an order other than that illustrated or described here.
[0065] Before further describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described first. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations:
[0066] Dynamic Random Access Memory (DRAM);
[0067] Positive channel Metal Oxide Semicond-uctor field effect transistor (PMOS tube);
[0068] N-type metal oxide semiconductor field effect transistor (NMOS tube);
[0069] Ring oscillator (Ring OSC);
[0070] Peripheral circuit (PERI);
[0071] Latch.
[0072] The ring oscillator usually includes an odd number of NOT gates connected end to end. Under the control of a start signal, the ring oscillator is started or set. Figure 1 FIG. 1 shows a timing diagram of a portion of the clock signals output by a ring oscillator. Figure 1 As shown, taking the ring oscillator including seven NOT gates connected end to end as an example, it shows the start signal EN, the clock signal OSC output by the first NOT gate <1> , the third NOT gate outputs the clock signal OSC <3> And the clock signal OSC output by the fifth NOT gate <5> When the start signal EN changes from 0 to 1, the ring oscillator starts and generates clock signals with periodic level changes. When the start signal EN changes from 1 to 0, the ring oscillator is immediately turned off and these clock signals immediately become 0. Figure 1 It can be seen that, after the start signal EN becomes 0, the ring oscillator will be turned off immediately, resulting in different widths of the last high-level pulse of each clock signal, and thus different numbers of clock cycles of different clock signals, which will adversely affect the performance of the memory. For example, when these clock signals are used as sampling clocks of triggers, the widths of the signals sampled in the last clock cycle are different, which may cause errors in circuit function and even cause serious impacts.
[0073] Based on this, an embodiment of the present disclosure provides an oscillator circuit, including: a control module, which is used to receive an initial start signal and at least one clock signal, and perform logic processing and latch processing according to the initial start signal and the at least one clock signal to generate a target start signal; an oscillator module, which is used to receive the target start signal and generate at least one clock signal according to the target start signal; wherein, when the number of at least one clock signal is greater than one, in the time period when the target start signal is in the effective state, the duration of each clock signal in the effective state is the same. In this way, the embodiment of the present disclosure uses the initial start signal and the clock signal output by the oscillator module to jointly generate a target start signal, so that the duration of the target start signal in the effective state is extended, and the target start signal is used to control whether the oscillator module is started. When the target start signal is in the effective state, the oscillator module is started and the clock signal is output. Even if the initial start signal changes from the effective state to the invalid state, the oscillator module will not be turned off immediately, but it is ensured that in the time period when the target start signal is in the effective state, the duration of each clock signal in the effective state is the same, thereby ensuring that the number of clock cycles of each clock signal is the same, which is conducive to improving the performance of the circuit.
[0074] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0075] In one embodiment of the present disclosure, see Figure 2 , which shows a schematic diagram of the composition structure of an oscillator circuit provided by an embodiment of the present disclosure. Figure 2 As shown, the oscillator circuit 40 includes a control module 401 and an oscillator module 402, wherein:
[0076] The control module 401 is used to receive an initial start signal and at least one clock signal, perform logic processing and latch processing according to the initial start signal and the at least one clock signal, and generate a target start signal;
[0077] The oscillator module 402 is used to receive a target start signal and generate at least one clock signal according to the target start signal;
[0078] When the number of at least one clock signal is greater than one, during the time period when the target start signal is in the effective state, the time length during which each clock signal is in the effective state is the same.
[0079] It should be noted that the oscillator circuit 40 can be applied to the charge pump circuit of DRAM, or the oscillator circuit 40 can also be applied to any required scenario, such as providing a clock signal for a counter circuit, providing a sampling clock for a trigger, etc., without specific limitation.
[0080] It should also be noted that, when applied to a charge pump circuit, the initial start signal may be a signal obtained by dividing the output signal of the charge pump circuit by a resistor and then comparing it with a reference voltage by a comparator (eg, Figure 1 The EN in the circuit), or the initial start signal may also be a signal provided by other modules in the circuit, or even a signal sent by an external device to the oscillator circuit, etc., which is not specifically limited here.
[0081] like Figure 2 As shown, the control module 401 is connected to the oscillator module 402, the oscillator module 402 includes an oscillator (usually a ring oscillator), and the control module 401 is used to control whether the oscillator module 402 is started (or called oscillation, swing, etc.) to generate a clock signal. Among them, the control module 401 not only receives the initial start signal, but also receives at least one clock signal generated by the oscillator module 402, generates a target start signal according to the initial start signal and the received clock signal, and controls whether the oscillator module 402 is started by the target start signal.
[0082] After receiving the target start signal, the oscillator module 402 generates at least one clock signal according to the target start signal. When the target start signal is in a valid state, the generated clock signal includes a valid state and an invalid state. When the target start signal is in an invalid state, the generated clock signals are all in an invalid state. Among them, for each signal in the embodiment of the present disclosure (initial start signal, target start signal, clock signal, etc.), a high level of logic 1 represents a valid state and a low level of logic 0 represents an invalid state. However, a high level of logic 1 may also represent an invalid state and a low level of logic 0 may represent a valid state, which is not specifically limited here.
[0083] It should also be noted that in the oscillator module 402, the ring oscillator can be composed of an odd number (denoted as N) of NOT gates connected end to end, that is, the input end of the first NOT gate is connected to the output end of the Nth NOT gate, and the input ends of the second to N-1th NOT gates are connected to the output end of the previous NOT gate. Each NOT gate outputs a clock signal, so the oscillator module 402 can output N clock signals (the first NOT gate outputs clock signal 1, the second NOT gate outputs clock signal 2...the Nth NOT gate outputs clock signal N).
[0084] The at least one clock signal received by the control module 401 is M of the N clock signals, where M is an integer greater than or equal to 1 and less than or equal to N. Figure 2 As shown, the at least one clock signal received by the control module 401 includes a clock signal 1, a clock signal 2 . . . a clock signal M. That is, the clock signal received by the control module 401 is part or all of the clock signal output by the oscillator module 402 .
[0085] If the initial start signal and the clock signal are not processed by the control module 401, but the initial start signal is directly used as the control signal of the oscillator module 402, then Figure 1 As shown, when the initial start signal changes from 1 to 0, the oscillator module 402 stops working immediately, resulting in different numbers of clock cycles of each clock signal, which will affect the performance of the oscillator circuit.
[0086] The disclosed embodiment utilizes an initial start signal and at least one clock signal to jointly generate a target start signal as a signal for controlling the oscillator module 402. Only when the initial start signal and these clock signals are in an invalid state, the target start signal will change from a valid state to an invalid state, causing the oscillator module to stop working. This ensures that when the initial start signal changes from a valid state to an invalid state, the oscillator module 402 will not stop working immediately. Instead, the target start signal will change to an invalid state after the M initial clock signals have maintained a valid state for the current cycle, causing the oscillator module 402 to stop working, thereby making the number of clock cycles of the M initial clock signals the same.
[0087] It should also be noted that the M clock signals entering the control module 401 may be all the clock signals output by the oscillator module 402 , or may be part of the clock signals output by the oscillator module 402 .
[0088] Generally speaking, the clock signals output by the odd-numbered NOT gates (i.e., the 1st, 3rd, 5th, ..., Nth NOT gate) in the ring oscillator are recorded as a group of unidirectional clock signals, and the clock signals output by several even-numbered NOT gates (i.e., the 2nd, 4th, ..., (N-1)th NOT gate) in the ring oscillator are recorded as another group of unidirectional clock signals. Generally, part or all of a group of unidirectional clock signals are selected as the clock signals required for the work, and at the same time, these required clock signals can be used as clock signals for generating the target start signal, ensuring that the clock cycles of these required clock signals are the same; in addition, at least the two clock signals with the earliest and the latest timing in the required clock signals can be selected as the clock signals input to the control module 401, which can also ensure that the clock cycles of these clock signals are the same, or only the clock signal with the latest timing in the required clock signals can be selected to input to the control module 401; or, any other suitable clock signal can be selected to generate the target start signal, which is not specifically limited here.
[0089] Figure 3 A signal timing diagram is provided for an embodiment of the present disclosure. Figure 3In the example, the clock signal OSC output by the first, third and fifth NOT gates in the ring oscillator is <1> 、OSC <3> and OSC <5> For example, EN represents the initial start signal, and EN_H represents the target start signal.
[0090] like Figure 3 As shown, the time period in which the initial start signal EN is in a valid state is T0, and the time in which the target start signal EN_H obtained by performing logic processing and latching processing on the initial start signal EN and each clock signal is in a valid state is T1. Compared with the initial start signal EN, the time in which the target start signal EN_H is in a valid state is extended, specifically, extended until the initial start signal and each clock signal become invalid.
[0091] If the initial start signal EN is directly used to control whether the oscillator module 402 is started, then at time t1, the initial start signal EN becomes invalid, and the oscillator module 402 will stop working immediately, causing all clock signals after time t1 to become invalid (refer to Figure 1 ); The disclosed embodiment uses the target start signal EN_H to control the oscillator module 402 to ensure that the time length of each clock signal in the valid state is the same, and only after each clock signal becomes invalid, the target start signal EN_H becomes invalid.
[0092] like Figure 3 As shown, in the clock signal, the time of the high-level pulse plus the low-level pulse is one clock cycle T (the duration of the high-level pulse and the duration of the low-level pulse can be the same or different, which is related to the performance of the circuit itself). In the T1 time period when the target clock signal is in a valid state, the number of clock cycles of the three clock signals is 5.5. Since the second half of the clock cycle is a low level in an invalid state, it can also be considered that the number of clock cycles of the three clock signals is 6.
[0093] That is to say, for each signal involved in the embodiment of the present disclosure, the time that the target start signal is in a valid state is greater than and covers the time that the initial start signal is in a valid state, and the target start signal will only become an invalid state after the initial start signal and each clock signal become invalid.
[0094] like Figure 3 As shown in FIG. 1 , during the T1 period when the target enable signal EN_H is in the valid state, each clock signal has the same integer number of cycles, or more specifically, each clock signal has the same integer number of complete valid levels (taking the high level as an example), wherein the duration of the complete valid level is shown in T3. During the T1 period, for Figure 3The three clock signals shown all have 6 complete valid levels, and the duration that the three clock signals are in the valid state is T3 multiplied by 6.
[0095] In this way, after being processed by the control module 401, during the time period when the target start signal is in the valid state, the time when each clock signal is in the valid state is the same, that is, each clock signal has the same number of clock cycles, wherein the time when the target start signal is in the valid state is greater than the time when the initial start signal is in the valid state, so that when the initial start signal is converted from the valid state to the invalid state, the target start signal still maintains the valid state, and the oscillator module 402 does not stop working immediately. Only when several clock signals input to the control module 401 are also in the invalid state, the target start signal will become invalid, causing the oscillator module 402 to stop working, thereby ensuring that the number of clock cycles of these clock signals is the same.
[0096] See also Figure 4 , which shows a schematic diagram of the composition structure of another oscillator circuit provided by an embodiment of the present disclosure. Figure 4 As shown, in some embodiments, the control module 401 includes a latch control module 4011, a latch input module 4012, a latch module 4013 and a latch output module 4014, wherein:
[0097] The latch control module 4011 is used to receive at least one clock signal, perform logic processing on the at least one clock signal, and obtain a first control signal CKB and a second control signal CK;
[0098] The latch input module 4012 is used to receive the initial start signal EN, and perform inversion processing on the initial start signal EN to obtain a latch input signal Lin;
[0099] The latch module 4013 is used to receive the first control signal CKB, the second control signal CK and the latch input signal Lin, and perform latch processing on the latch input signal Lin according to the first control signal CKB and the second control signal CK to obtain a latch output signal Lout;
[0100] The latch output module 4014 is used to receive the initial start signal EN and the latch output signal Lout, perform logic processing on the initial start signal EN and the latch output signal Lout, and obtain a target start signal EN_H.
[0101] It should be noted that if Figure 4 As shown, here only at least one clock signal includes three clock signals (the first clock signal OSC output by the first NOT gate, the third NOT gate and the fifth NOT gate in the ring oscillator) <1> , the third clock signal OSC <3> and the fifth clock signal OSC <5> ) as an example.
[0102] like Figure 4 As shown, in some embodiments, the oscillator module 402 includes a switch control module 4021 and an oscillation main module 4022, wherein:
[0103] The switch control module 4021 is used to receive the target start signal EN_H, and when the target start signal EN_H is in a valid state, start the oscillation main module 4022 to generate at least one clock signal; or when the target start signal EN_H is in an invalid state, set the oscillation main module 4022.
[0104] It should be noted that setting the oscillation master module 4022 means that the level state of the clock signal output by the oscillation master module 4022 is set to a fixed value and is in an invalid state.
[0105] See also Figure 5 , which shows a schematic diagram of the composition structure of an oscillation main module provided by an embodiment of the present disclosure. Figure 5 As shown, in some embodiments, the oscillation main module 4022 includes N seventh NOT gates NOT7 connected end to end, and N is an odd number greater than 1, wherein:
[0106] At least one clock signal includes output signals of several odd-numbered seventh NOT gates NOT7 among the N seventh NOT gates NOT7; or, at least one clock signal includes output signals of several even-numbered seventh NOT gates NOT7 among the N seventh NOT gates NOT7.
[0107] It should be noted that, taking N=7 as an example, Figure 5 As shown, the oscillation main module 4022 includes 7 seventh NOT gates NOT7 connected end to end, and the output signals of the first to seventh seventh NOT gates NOT7 are respectively: the first clock signal OSC <1> , the second clock signal OSC <2> , the third clock signal OSC <3> , the fourth clock signal OSC <4> , the fifth clock signal OSC <5> , the sixth clock signal OSC <6> and the seventh clock signal OSC <0> .
[0108] Among them, the first clock signal OSC <1> , the third clock signal OSC <3> , the fifth clock signal OSC <5> and the seventh clock signal OSC <0> A group of same-direction signals, the second clock signal OSC <2> , the fourth clock signal OSC <4> and the sixth clock signal OSC <6> Part or all of a group of unidirectional signals may be used as at least one clock signal in the input control module 401 .
[0109] In the embodiments of the present disclosure, Figure 4As shown, the first clock signal OSC <1> , the third clock signal OSC <3> and the fifth clock signal OSC <5> The clock signal used as the input to the control module 401 is only an example, and other clock signals may also be selected, which is not limited here.
[0110] like Figure 4 As shown, the latch control module 4011 controls the first clock signal OSC <1> , the third clock signal OSC <3> and the fifth clock signal OSC <5> The first control signal CKB and the second control signal CK are obtained by processing; the first output end of the latch control module 4011 is connected to the first control end of the latch module 4013, and is used to send the first control signal CKB to the latch module 4013; the second output end of the latch control module 4011 is connected to the second control end of the latch module 4013, and is used to send the second control signal CK to the latch module 4013. The first control signal CKB and the second control signal CK are usually a pair of inverted signals, and the first control signal CKB and the second control signal CK are used to control whether the latch module 4013 is in a latched state or in a conducting state, wherein, when in the latched state, the output of the latch module 4013 maintains the current state unchanged, and when in the conducting state, the output of the latch module 4013 is related to the latch input signal Lin received by the input end of the latch module 4013.
[0111] See also Fig. 6A , which shows a specific structural diagram of a control module provided by an embodiment of the present disclosure. Fig. 6A As shown, in some embodiments, the latch control module 4011 includes a first logic module 4015 and a second logic module 4016, wherein:
[0112] A first logic module 4015 is configured to receive at least one clock signal and generate a first control signal CKB according to the at least one clock signal;
[0113] The second logic module 4016 is used to invert the first control signal CKB to obtain a second control signal CK.
[0114] It should be noted that if Fig. 6A As shown, in the latch control module 4011, the input end of the first logic module 4015 serves as the input end of the latch control module 4011, and is used to receive at least one clock signal and process at least one first clock signal into a first control signal; the output end of the first logic module 4015 serves as an output end of the latch control module 4011, and is respectively connected to the input end of the second logic module 4016 and the first control end of the latch module 4013; the output end of the second logic module 4016 serves as another output end of the latch control module 4011, and is connected to the second control end of the latch module 4013.
[0115] For the first logic module 4015, in one implementation, as Fig. 6A As shown, the first logic module 4015 includes a first NAND gate NAND1 and at least one first NOR gate NOR1, the input end of the at least one first NOR gate NOR1 is used to receive at least one clock signal, and the output end of the at least one first NOR gate NOR1 is connected to the input end of the first NAND gate NAND1, wherein:
[0116] At least one first NOR gate NOR1, used for receiving at least one clock signal, performing NOR processing on the at least one clock signal, and obtaining at least one logic signal;
[0117] The first NAND gate NAND1 is used for performing NAND logic processing on at least one logic signal to obtain a first control signal.
[0118] It should be noted that the first logic module 4015 may include a plurality of (for example, two or more) first NOR gates NOR1 and first NAND gates NAND1, the input ends of these first NOR gates NOR1 serve as the input ends of the first logic module 4015, and the output ends of these first NOR gates NOR1 are all connected to the input ends of the first NAND gates NAND1; the first NOR gate NOR1 may have two or more input ends, and each input end of the first NOR gate NOR1 may receive one or more of at least one clock signal. In other words, for the first NOR gate NOR1, several of its input ends may receive different clock signals respectively, or may receive the same clock signal, or some of the received several clock signals may be the same clock signal, and then the received clock signals are processed by NOR to obtain a logic signal.
[0119] The first NAND gate NAND1 may include two or more input terminals, which are respectively connected to the output terminals of each first NOR gate NOR1, and are used to receive each logic signal, perform NAND processing, and obtain the first control signal CKB. The output terminal of the first NAND gate NAND1 is used as the output terminal of the first logic module 4015 to output the first control signal CKB. If there is only one clock signal and one first NOR gate NOR1, then the input terminals of the first NAND gate NAND1 receive the same logic signal.
[0120] In addition, if the input end of the first NAND gate NAND1 receives the same signal, or the input end of the first NOR gate NOR1 receives the same signal, a NOT gate may be used instead.
[0121] exist Fig. 6AIn the example shown, the first NAND gate NAND1 includes a first input terminal and a second input terminal, wherein the first input terminal of the first NAND gate NAND1 is connected to the output terminal of a first NOR gate NOR1 for receiving a first logic signal Log1, and the second input terminal of the first NAND gate NAND1 is connected to the output terminal of another first NOR gate NOR1 for receiving a second logic signal Log2, and NAND logic processing is performed on the first logic signal Log1 and the second logic signal Log2 to obtain a first control signal CKB.
[0122] like Fig. 6A As shown, the first logic module 4015 includes two two-input first NOR gates NOR1 and first NAND gates NAND1, at least one clock signal including a first clock signal OSC <1> , the third clock signal OSC <3> and the fifth clock signal OSC <5> For example, the two input terminals of a first NOR gate NOR1 both receive the first clock signal OSC <1> , and perform NOR processing to obtain the first logic signal Log1; the two input ends of another first NOR gate NOR1 respectively receive the third clock signal OSC <3> and the fifth clock signal OSC <5> , performing NOR processing to obtain the second logic signal Log2; the first NAND gate NAND1 performs NAND processing on the first logic signal Log1 and the second logic signal Log2 to obtain the first control signal CKB.
[0123] like Fig. 6A As shown, in some embodiments, the second logic module 4016 includes a second NOT gate NOT2, wherein:
[0124] The input end of the second NOT gate NOT2 and the first control end of the latch module 4013 are both connected to the output end of the first NAND gate NAND1;
[0125] The output end of the second NOT gate NOT2 is connected to the second control end of the latch module 4013 , and the output end of the second NOT gate NOT2 is used to output the second control signal CK.
[0126] It should be noted that if Fig. 6A As shown, the input end of the second NOT gate NOT2 is used as the input end of the second logic module 4016, the output end of the second NOT gate NOT2 is used as the output end of the second logic module 4016, and the second NOT gate NOT2 is used to invert the first control signal CKB into the second control signal CK.
[0127] In addition, the first logic module 4015 can also be implemented by other logic gates, for example, by a NOT gate plus a NAND gate. Figure 6BAs shown, in another implementation, the first logic module 4015 includes a first NAND gate NAND1 and at least one first NOT gate NOT1, the input end of the at least one first NOT gate NOT1 is used to receive at least one clock signal, and the output end of the at least one first NOT gate NOT1 is connected to the input end of the first NAND gate NAND1, wherein:
[0128] At least one first NOT gate NOT1, used for receiving at least one clock signal, performing inversion processing on at least one logic signal, and obtaining at least one logic signal;
[0129] The first NAND gate NAND1 is used for performing NAND logic processing on at least one logic signal to obtain a first control signal CKB.
[0130] It should be noted that the first logic module 4015 can generally include a plurality of (for example, two or more) first NOT gates NOT1, the input ends of these first NOT gates NOT1 serve as the input ends of the first logic module 4015, and the output ends of these first NOT gates NOT1 serve as the output ends of the first logic module 4015; each input end of the first NOT gate NOT1 receives one of the at least one clock signal, and then inverts the received clock signal to obtain a logic signal. The function of the first NAND gate NAND1 is the same as that of the aforementioned Fig. 6A They are basically the same and will not be elaborated here.
[0131] More specifically, the number of the at least one clock signal is at least two, and there is a time delay between the at least two clock signals. The first logic module 4015 includes a first NAND gate NAND1 and two first NOT gates NOT1, wherein:
[0132] An input end of a first NOT gate NOT1 is used to receive a clock signal with a first timing among at least two clock signals; an input end of another first NOT gate NOT1 is used to receive a clock signal with a last timing among at least two clock signals; the output ends of the two first NOT gates NOT1 are respectively connected to the first input end and the second input end of the first NAND gate NAND1, and the output end of the first NAND gate NAND1 is used to output a first control signal CKB.
[0133] It should be noted that if Figure 6BAs shown, the first logic module 4015 includes two first NOT gates NOT1, at least one clock signal including OSC <1> 、OSC <3> and OSC <5> For example, a first NOT gate NOT1 receives OSC at its input terminal. <1> (the first clock signal of the timing sequence), and performs inversion processing to obtain the first logic signal Log1; the input end of another first NOT gate NOT1 receives OSC <5> (The timing is the last clock signal), and the second logic signal Log2 is obtained by inverting. Then the first NAND gate NAND1 performs a NAND logic process on the first logic signal Log1 and the second logic signal Log2 to obtain the first control signal CKB.
[0134] In this implementation, the connection between the first NOT gate NOT1 and the second logic module 4016 is similar to Fig. 6A The connection method of the first NOR gate NOR1 and the second logic module 4016 is similar, and the circuit implementation principle is also similar, which will not be repeated here.
[0135] That is to say, in the first logic module 4015, two clock signals that are ranked first and last in the timing sequence of at least one clock signal can be selected for OR and NOT logic processing or inversion processing to obtain a logic signal, and then the logic signal is processed NOT to obtain a first control signal, thereby ensuring that each clock signal has the same number of clock cycles during the time period when the target start signal is in a valid state.
[0136] The latch input module 4012 inverts the initial start signal EN into a latch input signal Lin. The output end of the latch input module 4012 is connected to the input end of the latch module 4013 to send the obtained latch input signal Lin to the latch module 4013.
[0137] like Fig. 6A As shown, in some embodiments, the latch input module 4012 includes a third NOT gate NOT3, wherein:
[0138] The input end of the third NOT gate NOT3 is used to receive the initial start signal EN, the output end of the third NOT gate NOT3 is connected to the input end of the latch module 4013, and the output end of the third NOT gate NOT3 is used to output the latch input signal Lin.
[0139] It should be noted that the input end of the third NOT gate NOT3 serves as the input end of the latch input module 4012, and the output end of the third NOT gate NOT3 serves as the output end of the latch input module 4012, which is used to invert the initial start signal EN into a latch output signal Lin and send it to the latch module 4013.
[0140] like Fig. 6AAs shown, the latch module 4013 (Latch) includes four ports: an input terminal (D) for receiving a latch input signal Lin, a first control terminal for receiving a first control signal CKB (CKB represents both the first control signal and the first control terminal of the latch module 4013), a second control terminal for receiving a second control signal CK (CK represents both the second control signal and the second control terminal of the latch module 4013), and an output terminal (QN) for outputting a latch output signal Lout.
[0141] The latch module 4013 performs latch processing on the latch input signal Lin according to the first control signal CKB and the second control signal CK to obtain the latch output signal Lout. When the first control signal CKB is in the second level state, the latch module 4013 is in the on state, and when the first control signal CKB is in the first level state, the latch module 4013 is in the latch state. Here, the first level state represents the logic 1 of the high level state, and the second level state represents the logic 0 of the low level as an example; however, the first level state can also represent the logic 0 of the low level, and the second level state can also represent the logic 1 of the high level state, and there is no specific limitation on this.
[0142] For latch module 4013, see Figure 6C , which shows a specific structural diagram of a latch module provided by an embodiment of the present disclosure. Figure 6C As shown, in some embodiments, the latch module 4013 includes a transmission gate 4017 and a fourth NOT gate NOT4, and the transmission gate 4017 includes a first PMOS transistor P1 and a first NMOS transistor N1, wherein:
[0143] The gate terminal of the first PMOS transistor P1 serves as the first control terminal of the latch module 4013 and is used to receive the first control signal CKB;
[0144] The gate terminal of the first NMOS transistor N1 serves as the second control terminal of the latch module 4013, and is used to receive the second control signal CK;
[0145] The first end of the first PMOS transistor P1 and the first end of the first NMOS transistor N1 are connected as the input end of the latch module 4013, for receiving the latch input signal Lin;
[0146] The second end of the first PMOS transistor P1 and the second end of the first NMOS transistor N1 are both connected to the input end of the fourth NOT gate NOT4;
[0147] The output end of the fourth NOT gate NOT4 serves as the output end of the latch module 4013 and is used to output the latch output signal Lout.
[0148] It should be noted that in Figure 6CIn the example shown, taking the first level state representing the logic 1 of the high level state and the second level state representing the logic 0 of the low level as an example, when the first control signal CKB is 0 and / or the second control signal CK is 1, the first PMOS transistor P1 and / or the first NMOS transistor N1 are turned on, so that the transmission gate 4017 is turned on, and the latch input signal Lin is transmitted to the input end of the fourth NOT gate NOT4. Here, the signal output by the transmission gate 4017 is recorded as the latch intermediate signal Lmid. The fourth NOT gate NOT4 performs inversion processing on the latch intermediate signal Lmid to obtain the latch output signal Lout.
[0149] like Figure 6C As shown, in some embodiments, the latch module 4013 further includes a fifth NOT gate NOT5, wherein:
[0150] The input end of the fifth NOT gate NOT5 is connected to the output end of the fourth NOT gate NOT4, and the output end of the fifth NOT gate NOT5 is connected to the input end of the fourth NOT gate NOT4; the first control end of the fifth NOT gate NOT5 is used to receive the first control signal CKB, and the second control end of the fifth NOT gate NOT5 is used to receive the second control signal CK.
[0151] It should be noted that the fifth NOT gate NOT5 is a gated NOT gate. Fig.6D is a schematic diagram of the specific structure of the fifth NOT gate. Fig.6D As shown, the fifth NOT gate NOT5 includes a PMOS tube P', an NMOS tube N', a PMOS tube P", and an NMOS tube N". Among them, the gate end of the PMOS tube P' and the gate end of the NMOS tube N' are connected as the input end of the fifth NOT gate NOT5, for receiving the latch output signal Lout; the second ends of the PMOS tube P' and the NMOS tube N' are connected as the output end of the fifth NOT gate NOT5; the second end of the PMOS tube P' is connected to the first end of the PMOS tube P', the first end of the PMOS tube P' is connected to the power supply end VDD, and the gate end of the PMOS tube P' serves as the second control end of the fifth NOT gate NOT5, for receiving the second control signal CK; the second end of the NMOS tube N' is connected to the first end of the NMOS tube N', the first end of the NMOS tube N' is connected to the ground end VSS, and the gate end of the NMOS tube N' serves as the first control end of the fifth NOT gate NOT5, for receiving the first control signal CKB.
[0152] When the second control signal CK is 0 and the first control signal CKB is 1, the PMOS tube P" and the NMOS tube N" are both turned on, the fifth NOT gate NOT5 is in working state, the latch output signal Lout is inverted, and the output end of the fifth NOT gate NOT5 is connected to the node where the latch intermediate signal Lmid is located.
[0153] like Figure 6CAs shown, the fifth NOT gate NOT5 and the fourth NOT gate NOT4 are connected end to end to form a latch structure, which can ensure the reliability of the latch output signal Lout.
[0154] like Fig. 6A As shown, the latch output module 4014 includes two input terminals, wherein the first input terminal of the latch output module 4014 is used to receive the initial start signal EN, and the second input terminal of the latch output module 4014 is connected to the output terminal (QN) of the latch module 4013, and is used to receive the latch output signal Lout. The latch output module 4014 performs logic processing on the initial start signal EN and the latch output signal Lout to obtain the target start signal EN_H for controlling the working state of the oscillator module 402.
[0155] like Fig. 6A As shown, in some embodiments, the latch output module 4014 includes a second NOR gate NOR2 and a sixth NOT gate NOT6, wherein:
[0156] The first input end of the second NOR gate NOR2 is used to receive the initial start signal EN, the second input end of the second NOR gate NOR2 is used to receive the latch output signal Lout, the output end of the second NOR gate NOR2 is connected to the input end of the sixth NOT gate NOT6, and the output end of the sixth NOT gate NOT6 is used to output the target start signal EN_H.
[0157] It should be noted that if Fig. 6A As shown, the first input end of the second NOR gate NOR2 is used as the first input end of the latch output module 4014; the second input end of the second NOR gate NOR2 is used as the second input end of the latch output module 4014, and is connected to the output end of the latch module 4013; the output end of the sixth NOT gate NOT6 is used as the output end of the latch output module 4014. The second NOR gate NOR2 performs NOR processing on the initial start signal EN and the latch output signal Lout, and the obtained signal is then inverted by the sixth NOT gate NOT6 to obtain the target start signal EN_H, which is used to control whether the oscillator module 402 is started.
[0158] See also Figure 7 , which shows a specific structural schematic diagram of an oscillator module provided by an embodiment of the present disclosure. Figure 7 As shown, in some embodiments, the seventh NOT gate NOT7 includes a second PMOS transistor P2 and a second NMOS transistor N2, wherein:
[0159] The gate end of the second PMOS tube P2 and the gate end of the second NMOS tube N2 are connected as the input end of the seventh NOT gate NOT7, and the second end of the second PMOS tube P2 and the second end of the second NMOS tube N2 are connected as the output end of the seventh NOT gate NOT7; the first end of the second PMOS tube P2 is coupled to the power supply end VDD, and the first end of the second NMOS tube N2 is coupled to the ground end VSS.
[0160] It should be noted that, still taking N=7 as an example, Figure 7 As shown, the oscillation main module 4022 includes 7 seventh NOT gates NOT7, each of which is composed of a second PMOS transistor P2 and a second NMOS transistor N2. For the first seventh NOT gate NOT7, the input signal received at its input end is the clock signal OCS output by the seventh seventh NOT gate NOT7. <0> , for the second to seventh seventh NOT gates NOT7, the input signal received at their input terminals is the clock signal output by the previous seventh NOT gate NOT7.
[0161] Furthermore, if Figure 7 As shown, in some embodiments, the switch control module 4021 includes a pull-up control module 4023 and a pull-down control module 4024, wherein:
[0162] The pull-up control module 4023 is used to control the level state of the clock signal output by the even-numbered seventh NOT gates NOT7 among the N seventh NOT gates NOT7 to be a first level state when the target start signal EN_H is in an invalid state;
[0163] The pull-down control module 4024 is used to control the level state of the clock signal output by the odd-numbered seventh NOT gates NOT7 among the N seventh NOT gates NOT7 to be in the second level state when the target start signal is in the invalid state.
[0164] It should be noted that the switch control module 4021 can control the oscillation main module 4022 to start or not start according to the valid state or invalid state of the target start signal EN_H. When the target start signal EN_H is in an invalid state, it is necessary to control the oscillation main module 4022 not to start. At this time, the switch control module 4021 sets the clock signal output by each seventh NOT gate MOT7 in the oscillation main module 4022.
[0165] like Figure 7 As shown, the switch control module 4021 can be divided into a pull-up control module 4023 and a pull-down control module 4024. The pull-up control module 4023 can set the clock signal output by the seventh NOT gate NOT7 in the N seventh NOT gates NOT7 in an even position to the first level state. Figure 7In the example shown, the second clock signal OSC <2> , the fourth clock signal OSC <4> and the sixth clock signal OSC <6> pull-down control module 4024 can set the clock signal output by the seventh NOT gate NOT7 in the N seventh NOT gates NOT7 arranged in an odd position to the second level state, Figure 7 In the example shown, the first clock signal OSC <1> , the third clock signal OSC <3> , the fifth clock signal OSC <5> and the seventh clock signal OSC <0> Set to the second level state.
[0166] In this way, when the target start signal EN_H is in an invalid state, each clock signal is set by the pull-up control module 4023 and the pull-down control module 4024, which can not only achieve accurate control of each clock signal and avoid signal errors, but also save power consumption and improve performance.
[0167] For the pull-up control module 4023 and the pull-down control module 4024, as Figure 7 As shown, in some embodiments, the pull-up control module 4023 includes (N-1) / 2 third PMOS transistors P3, and the pull-down control module 4024 includes an eighth NOT gate NOT8 and (N+1) / 2 third NMOS transistors N3, wherein:
[0168] The gate terminal of each third PMOS tube P3 is used to receive the target start signal EN_H, the first terminal of each third PMOS tube P3 is connected to the power supply terminal VDD, and the second terminal of each third PMOS tube P3 is respectively connected to the output terminal of the even-numbered seventh NOT gates NOT7 among the N seventh NOT gates NOT7;
[0169] The input end of the eighth NOT gate NOT8 is used to receive the target start signal EN_H, the gate end of each third NMOS tube N3 is connected to the output end of the eighth NOT gate NOT8, the first end of each third NMOS tube N3 is connected to the ground end VSS, and the second end of each third NMOS tube N3 is respectively connected to the output end of the odd-numbered seventh NOT gates NOT7 among the N seventh NOT gates NOT7.
[0170] It should be noted that, still taking N=7 as an example, Figure 7 As shown, the pull-up control module 4023 includes three third PMOS tubes P3, which are respectively used to control whether the clock signals output by the second, fourth and sixth seventh NOT gates NOT7 in the oscillation main module 4022 are set; the pull-down control module 4024 includes four third NMOS tubes N3, which are respectively used to control whether the clock signals output by the first, third, fifth and seventh seventh NOT gates NOT7 in the oscillation main module 4022 are set.
[0171] Taking the high level logic 1 as the first level state and indicating the valid state of the target start signal EN_H, and the low level logic 0 as the second level state and indicating the invalid state of the target start signal EN_H as an example, in the pull-up control module 4023, when the target start signal EN_H is in the invalid state, the gate terminals of the three third PMOS tubes P3 in the pull-up control module 4023 all receive the low level, so that the three third PMOS tubes P3 are all turned on, thereby turning OSC <2> 、OSC <4> and OSC <6> are charged to a high level state, realizing the OSC <2> 、OSC <4> and OSC <6> When the target start signal EN_H is in the valid state, the gate terminals of the three third PMOS tubes P3 in the pull-up control module 4023 all receive a high level, so that the three third PMOS tubes P3 are all turned off and will no longer be OSC <2> 、OSC <4> and OSC <6> Charging, the oscillation main module 4022 is started, and the clock signal output by the seventh NOT gate NOT7 is the inverted signal of the signal received at the input end.
[0172] In the pull-down control module 4024, the eighth NOT gate NOT8 receives the target start signal EN_H, and inverts the target start signal EN_H to obtain the inverted signal EN_L of the target start signal. When the target start signal EN_H is in an invalid state, the inverted signal EN_L of the target start signal is at a high level, and the gate terminals of the four third NMOS tubes N3 in the pull-down control module 4024 all receive a high level, so that the four third NMOS tubes N3 are all turned on, thereby turning OSC <1> 、OSC <3> 、OSC <5> and OSC <0> are discharged to a low level state, realizing OSC <1> 、OSC <3> 、OSC <5> and OSC <0> When the target start signal EN_H is in the valid state, the gate terminals of the four third NMOS transistors N3 in the pull-down control module 4024 all receive a low level, so that the four third NMOS transistors N3 are all turned off, and OSC <1> 、OSC <3> 、OSC <5> and OSC <0> Discharging, the oscillation main module 4022 is started, and the clock signal output by the seventh NOT gate NOT7 is the inverted signal of the signal received at the input end.
[0173] Furthermore, if Figure 4 As shown, in some embodiments, the oscillator module 402 further includes an oscillation adjustment module 4025, wherein:
[0174] The oscillation adjustment module 4025 is used to receive the first adjustment signal VBP and the second adjustment signal VBN, and adjust the oscillation frequency of at least one clock signal according to the first adjustment signal VBP and the second adjustment signal VBN.
[0175] The specific composition of the oscillation adjustment module 4025 is as follows: Figure 7As shown, in some embodiments, the oscillation adjustment module 4025 includes N fourth PMOS transistors P4 and N fourth NMOS transistors N4, wherein:
[0176] The gate terminal of each fourth PMOS tube P4 is used to receive the first adjustment signal VBP, the first terminal of each fourth PMOS tube P4 is connected to the power supply terminal VDD, and the second terminal of each fourth PMOS tube P4 is respectively connected to the first terminals of the N second PMOS tubes P4;
[0177] The gate terminal of each fourth NMOS tube N4 is used to receive the second adjustment signal VBN, the first terminal of each fourth NMOS tube N4 is connected to the ground terminal VSS, and the second terminal of each fourth NMOS tube N4 is respectively connected to the first terminals of the N second NMOS tubes N2.
[0178] It should be noted that if Figure 7 As shown, the second PMOS tube P2 in the seventh NOT gate NOT7 is connected to the power supply terminal VDD through the fourth PMOS tube P4 in the oscillation adjustment module 4025, so that when the fourth PMOS tube P4 is turned on, the high level provided by the power supply terminal VDD is transmitted to the second PMOS tube P2; the second NMOS tube N2 in the seventh NOT gate NOT7 is connected to the ground terminal VSS through the fourth NMOS tube N4 in the oscillation adjustment module 4025, so that when the fourth NMOS tube N4 is turned on, the low level provided by the ground terminal VSS is transmitted to the second NMOS tube N2.
[0179] Among them, the first adjustment signal VBP is used as the control signal of the fourth PMOS tube P4. When the first adjustment signal VBP is at a low level, the fourth PMOS tube P4 is turned on; the second adjustment signal VBN is used as the control signal of the fourth NMOS tube N4. When the second adjustment signal VBN is at a high level, the fourth NMOS tube N4 is turned on. In this way, the delay of the seventh NOT gate NOT7 can be changed by controlling the first adjustment signal VBP and the second adjustment signal VBN to control the charging and discharging speed, thereby controlling the oscillation frequency of the clock signal, so that it can be controlled more flexibly to adapt to a variety of application scenarios. Among them, the first adjustment signal VBP and the second adjustment signal VBN control the conduction current of the PMOS tube and the NMOS tube through the current mirror image, and the voltage of the first adjustment signal VBP and the second adjustment signal VBN is adjusted by changing the width-to-length ratio of the current mirror, and the source-drain current is adjusted to adjust the frequency.
[0180] That is to say, Figure 7In, OSC <1> 、OSC <2> 、OSC <3> 、OSC <4> 、OSC <5> 、OSC <6> and OSC <0> The seven clock signals output by the oscillator module 402, EN_H is a signal for controlling whether the oscillator module is started (also called a set signal), VBN and VBP are two modulation signals of the oscillation frequency, used to adjust the frequency. The third PMOS transistor P3 and the third NMOS transistor N3 are set transistors, which use the MOS transistors in the seven seventh NOT gates NOT7 to conduct to form oscillation and generate clock signals.
[0181] by Fig. 6A The control module 401 and Figure 7 Taking the oscillator circuit composed of the oscillator module 402 as an example, the initial start signal EN is the external start signal of the ring oscillator. When applied to the charge pump circuit, the initial start signal is the output signal of the PUMP voltage detector, OSC <1> 、OSC <3> 、OSC <5> The three clock signals are output by the ring oscillator, and the target start signal EN_H output by the control module 401 is used as the start signal of the ring oscillator. Figure 3 Schematic diagram of the corresponding signal timing.
[0182] like Figure 3 As shown, when the initial start signal EN is 0, the oscillator module 402 is turned off, OSC <1> 、OSC <3> and OSC <5> is 0, the latch module 4013 is turned on, and the target start signal EN_H is 0; when the initial start signal EN changes from 0 to 1, OSC <1> 、OSC <3> and OSC <5> The latch module 4013 is still open, and the initial start signal EN changes the target start signal EN_H to 1 through the second NOR gate NOR2 and the sixth NOT gate NOT6, and the oscillator module 402 starts. When the initial start signal EN changes from 1 to 0, it must wait until OSC <1> 、OSC <3> and OSC <5> When both become 0, the latch module 4013 will be turned on. After the initial start EN passes through the third NOT gate NOT3 and the latch module 4013, the target start signal EN_H becomes 0, and the oscillator module 402 is turned off.
[0183] and Figure 1 Compared to the timing diagram shown, Figure 1 The number of clock cycles of the clock signals in are not exactly the same, but in Figure 3 In the embodiment, the initial start signal EN is an external start signal of the ring oscillator circuit structure, and the target start signal EN_H is an internal start signal generated by the external start signal EN and the ring oscillator output clock signal. Figure 3It can be seen that the clock signal OSC output by the ring oscillator <1> 、OSC <3> 、OSC <5> is the same integer number of cycles. It can be seen that, through the oscillator circuit provided by the embodiment of the present disclosure, a clock signal with the same number of clock cycles can be obtained. In addition, the example here is a seven-stage ring oscillator, which can generate a clock signal in seven states, among which OSC <1> 、OSC <3> 、OSC <5> and OSC <0> Four clock signals in the same direction are grouped together, OSC <2> 、OSC <4> and OSC <6> For OSC <1> 、OSC <3> and OSC <5> For a ring oscillator, a group of same-direction clocks are usually used to implement a certain function. Here, only OSC is used. <1> 、OSC <3> and OSC <5> , it is understandable that OSC <0> It can also be added to ensure that the principle of all clock signals output by the ring oscillator has the same integer number of cycles.
[0184] An oscillator circuit is provided in an embodiment of the present disclosure, specifically a ring oscillator control circuit structure that ensures that all output clock signals have the same integer number of cycles. The structure belongs to the field of analog circuit ring oscillator design and can be applied to but not limited to the clock generation of the PUMP inside a DRAM. A control circuit is added to keep all output clock signals of the ring oscillator at the same integer number of cycles. The output signal of the PUMP voltage detector and the output clock signal of the ring oscillator are used together to generate an internal enable signal (i.e., a target start signal) as the start signal of the ring oscillator, so that the time that the target start signal is in a valid state is greater than the time that the initial start signal is in a valid state, and during the time period that the target start signal is in a valid state, each clock signal is in a valid state for the same length of time, thereby ensuring that the number of clock cycles of each clock signal is the same, which is beneficial to improving the performance of the circuit.
[0185] The oscillator circuit 40 provided in the above embodiment can be applied to a variety of application scenarios, taking the application in a charge pump circuit as an example. Figure 8 , which shows a schematic diagram of the composition structure of a charge pump circuit. Figure 8 As shown, the charge pump circuit 80 includes a comparison module 50, a charge pump core module 60 and an oscillator circuit 40 as described in any one of the above embodiments, wherein:
[0186] A comparison module 50, used for comparing the charge pump output voltage Vpump with the reference voltage Vref to generate an initial start signal EN;
[0187] The oscillator circuit 40 is used to receive the initial start signal EN and generate at least one clock signal according to the initial start signal EN;
[0188] The charge pump core module 60 is used to receive at least one clock signal and generate a charge pump output voltage Vpump according to the at least one clock signal.
[0189] It should be noted that in Figure 8 In the figure, OSC<> represents at least one clock signal input to the charge pump core module 60 , and the power supply terminal (Power) is used to provide power to the charge pump core module 60 .
[0190] In some embodiments, Figure 8 As shown, the comparison module 50 includes a first resistance module 501, a second resistance module 502 and a comparator 503, wherein:
[0191] The first end of the first resistor module 501 is connected to the output end of the charge pump core module 60, and the first end of the first resistor module 501 is used to receive the charge pump output voltage Vpump; the second end of the first resistor module 501 is connected to the first end of the second resistor module 502 and the first input end (-) (inverting input end) of the comparator 503 (or PUMP voltage detector / voltage detector); the second end of the second resistor module 503 is connected to the ground end VSS (also denoted as GND); the second input end (+) (non-inverting input end) of the comparator 503 is used to receive the reference voltage Vref, the output end of the comparator 503 is connected to the input end of the oscillator circuit 40, and the output end of the comparator 503 is used to output the initial start signal EN.
[0192] It should be noted that the comparator 503 compares the voltage division signal Vdiv of the charge pump output voltage Vpump output by the charge pump core module 60 after being divided by the first resistor module 501 with the reference voltage Vref to obtain the initial start signal EN, and the oscillator circuit 40 generates at least one clock signal OSC<> according to the initial start signal EN (OSC<> includes one or more clock signals required by the charge pump core module 60); the charge pump core module 60 includes one or more charge pump cores (PUMP core), and different charge pump cores use different clock signals respectively. The charge pump core module 60 generates the charge pump output voltage Vpump according to the received at least one clock signal OSC<>. In general, the number of PUMP cores depends on the size of the applied PUMP voltage circuit. For example, a 16G DRAM PERI will have 4 PUMP cores, and the 4 PUMP cores use different clock signals generated by OSC.
[0193] It should also be noted that if the oscillator circuit 40 provided in the embodiment of the present disclosure is not used, but the comparison result of the comparator 501 (initial start signal EN) is directly used as the enable signal for starting the oscillator module 402 (that is, the control module 401 is not included in the oscillator circuit), the output signal generated by the oscillator module 402 is used as the clock signal of the charge pump core in the charge pump core module 60, and the PUMP core generates a PUMP voltage. When Vdiv is less than Vref, the oscillator module 402 is started, and when Vdiv is greater than Vref, the oscillator module 402 is turned off. Since the initial start signal EN output by the voltage detector (that is, the comparator 503) is directly used as the start signal of the oscillator module 402, the output clock signal is immediately set when EN is disabled, so that the number of cycles of each output clock signal is different. Usually in DRAM, the same PUMP voltage will have multiple local generators (i.e., PUMP cores), and these generators are driven by different clock signals generated by ring oscillators. Since the number of cycles of the clock signals used by the generators of each local PUMP voltage is not exactly the same, the local voltage values of the same voltage are different, which will have an adverse effect on the performance of the charge pump, and thus affect the performance of the DRAM.
[0194] In the embodiment of the present disclosure, a target start signal obtained by processing an initial start signal and at least one clock signal is used as an enable signal for starting the oscillator module, thereby ensuring that the number of clock cycles of each clock signal is the same during the time period when the target start signal is in a valid state. Therefore, the clock signals used by each charge pump core have the same number of clock cycles, so that the local voltage values of the same voltage generated by the charge pump circuit are the same, thereby ensuring the stability of the output voltage of the charge pump circuit.
[0195] In some embodiments, Figure 8 As shown, the charge pump circuit 80 further includes a capacitor module 70, wherein:
[0196] A first end of the capacitor module 70 is connected to the output end of the charge pump core module 60 , and a second end of the capacitor module 70 is connected to the ground end VSS.
[0197] It should be noted that the capacitor module 70 stores electricity as a load capacitor. When the load capacitor suddenly becomes heavy, the charge pump output voltage Vpump is pulled down, the voltage divider signal Vdiv is reduced, and the comparator 503 outputs a high result as an enable signal (i.e., the initial start signal EN) of the oscillator circuit 40.
[0198] The disclosed embodiment provides a charge pump circuit. Since it includes the oscillator circuit described in the aforementioned embodiment, the clock signals used therein have the same number of clock cycles, which can ensure that the local voltage values of the same voltage generated in the charge pump circuit are the same, thereby improving the circuit performance.
[0199] In another embodiment of the present disclosure, see Fig. 9 and Fig.10 , which respectively show the composition structure diagram of the memory provided by the embodiment of the present disclosure. Fig. 9 As shown, the memory 90 may include at least the oscillator circuit 40 described in any one of the above embodiments, or as Fig.10 As shown, the memory 90 at least includes the charge pump circuit 80 described in any one of the aforementioned embodiments.
[0200] In some embodiments, the memory 90 is a semiconductor memory, such as a dynamic random access memory (DRAM) chip.
[0201] In the embodiments of the present disclosure, DRAM may not only comply with memory specifications such as DDR, DDR2, DDR3, DDR4, and DDR5, but may also comply with memory specifications such as LPDDR, LPDDR2, LPDDR3, LPDDR4, and LPDDR5, without any limitation.
[0202] In the embodiment of the present disclosure, for the memory 90, since it includes the oscillator circuit 40 or the charge pump circuit 80 in the aforementioned embodiment, it can ensure that each clock signal has the same number of clock cycles and that the local voltage values of the same voltage are the same, thereby improving the memory performance.
[0203] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure.
[0204] It should be noted that in the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0205] The serial numbers of the above-mentioned embodiments of the present disclosure are only for description and do not represent the advantages or disadvantages of the embodiments.
[0206] The methods disclosed in several method embodiments provided in the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments.
[0207] The features disclosed in several product embodiments provided in the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments.
[0208] The features disclosed in several method or device embodiments provided in the present disclosure may be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0209] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. An oscillator circuit, characterized in that: It includes a control module and an oscillator module, wherein: The control module is used to receive an initial start signal and at least one clock signal, perform logic processing and latch processing according to the initial start signal and the at least one clock signal, and generate a target start signal; The oscillator module is configured to receive the target start signal and generate the at least one clock signal according to the target start signal; When the number of the at least one clock signal is greater than one, during the time period in which the target start signal is in a valid state, the time length for which each of the clock signals is in a valid state is the same.
2. The oscillator circuit according to claim 1, characterized in that The control module includes a latch control module, a latch input module, a latch module and a latch output module, wherein: The latch control module is used to receive the at least one clock signal, perform logic processing on the at least one clock signal, and obtain a first control signal and a second control signal; The latch input module is used to receive the initial start signal, perform inversion processing on the initial start signal, and obtain a latch input signal; The latch module is used to receive the first control signal, the second control signal and the latch input signal, and perform latch processing on the latch input signal according to the first control signal and the second control signal to obtain a latch output signal; The latch output module is used to receive the initial start signal and the latch output signal, and perform logic processing on the initial start signal and the latch output signal to obtain the target start signal.
3. The oscillator circuit according to claim 2, characterized in that The latch control module includes a first logic module and a second logic module, wherein: The first logic module is configured to receive the at least one clock signal and generate the first control signal according to the at least one clock signal; The second logic module is used to invert the first control signal to obtain the second control signal.
4. The oscillator circuit according to claim 3, characterized in that The first logic module includes a first NAND gate and at least one first NOR gate, the input end of the at least one first NOR gate is used to receive the at least one clock signal, and the output end of the at least one first NOR gate is connected to the input end of the first NAND gate, wherein: The at least one first NOR gate is used to receive the at least one clock signal, perform NOR processing on the at least one clock signal, and obtain at least one logic signal; The first NAND gate is used to perform NAND logic processing on the at least one logic signal to obtain the first control signal.
5. The oscillator circuit according to claim 3, characterized in that The first logic module includes a first NAND gate and at least one first NOT gate, the input end of the at least one first NOT gate is used to receive the at least one clock signal, and the output end of the at least one first NOT gate is connected to the input end of the first NAND gate, wherein: The at least one first NOT gate is used to receive the at least one clock signal and perform inversion processing on the at least one clock signal to obtain at least one logic signal; The first NAND gate is used to perform NAND logic processing on the at least one logic signal to obtain the first control signal.
6. The oscillator circuit according to claim 3, characterized in that The number of the at least one clock signal is at least two, and there is a time delay between the at least two clock signals, and the first logic module includes a first NAND gate and two first NOT gates, wherein: An input end of one of the first NOT gates is used to receive a clock signal with a first timing position among at least two clock signals; an input end of another of the first NOT gates is used to receive a clock signal with a last timing position among at least two clock signals; the output ends of the two first NOT gates are respectively connected to the first input end and the second input end of the first NAND gate, and the output end of the first NAND gate is used to output the first control signal.
7. The oscillator circuit according to any one of claims 4 to 6, characterized in that: The second logic module includes a second NOT gate, wherein: The input end of the second NOT gate and the first control end of the latch module are both connected to the output end of the first NAND gate; The output end of the second NOT gate is connected to the second control end of the latch module, and the output end of the second NOT gate is used to output the second control signal.
8. The oscillator circuit according to claim 7, characterized in that The latch input module comprises a third NOT gate, wherein: The input end of the third NOT gate is used to receive the initial start signal, the output end of the third NOT gate is connected to the input end of the latch module, and the output end of the third NOT gate is used to output the latch input signal.
9. The oscillator circuit according to claim 2, characterized in that The latch module includes a transmission gate and a fourth NOT gate, and the transmission gate includes a first PMOS tube and a first NMOS tube, wherein: The gate terminal of the first PMOS tube serves as the first control terminal of the latch module, and is used to receive the first control signal; The gate terminal of the first NMOS tube serves as the second control terminal of the latch module, and is used to receive the second control signal; The first end of the first PMOS tube and the first end of the first NMOS tube are connected as the input end of the latch module, for receiving the latch input signal; The second end of the first PMOS tube and the second end of the first NMOS tube are both connected to the input end of the fourth NOT gate; The output end of the fourth NOT gate serves as the output end of the latch module, and is used to output the latch output signal.
10. The oscillator circuit according to claim 9, characterized in that The latch module further includes a fifth NOT gate, wherein: The input end of the fifth NOT gate is connected to the output end of the fourth NOT gate, and the output end of the fifth NOT gate is connected to the input end of the fourth NOT gate; the first control end of the fifth NOT gate is used to receive the first control signal, and the second control end of the fifth NOT gate is used to receive the second control signal.
11. The oscillator circuit according to claim 2, characterized in that The latch output module includes a second NOR gate and a sixth NOR gate, wherein: The first input end of the second NOR gate is used to receive the initial start signal, the second input end of the second NOR gate is used to receive the latch output signal, the output end of the second NOR gate is connected to the input end of the sixth NOR gate, and the output end of the sixth NOR gate is used to output the target start signal.
12. The oscillator circuit according to claim 1, characterized in that The oscillator module includes a switch control module and an oscillation main module, wherein: The switch control module is used to receive the target start signal, and when the target start signal is in a valid state, start the oscillation main module to generate the at least one clock signal; or when the target start signal is in an invalid state, set the oscillation main module.
13. The oscillator circuit according to claim 12, characterized in that The oscillation main module includes N seventh NOT gates connected end to end, and N is an odd number greater than 1, wherein: The at least one clock signal includes output signals of several odd-numbered seventh NOT gates among the N seventh NOT gates; or, the at least one clock signal includes output signals of several even-numbered seventh NOT gates among the N seventh NOT gates.
14. A charge pump circuit, characterized in that: The invention comprises a comparison module, a charge pump core module and an oscillator circuit as claimed in any one of claims 1 to 13, wherein: The comparison module is used to compare the charge pump output voltage with the reference voltage to generate an initial start signal; The oscillator circuit is used to receive the initial start signal and generate at least one clock signal according to the initial start signal; The charge pump core module is used to receive the at least one clock signal and generate the charge pump output voltage according to the at least one clock signal.
15. A memory, characterized in that: The memory comprises the oscillator circuit according to any one of claims 1 to 13 or the charge pump circuit according to claim 14.
