[go: up one dir, main page]

WO2024183177A1 - Control circuit and memory - Google Patents

Control circuit and memory Download PDF

Info

Publication number
WO2024183177A1
WO2024183177A1 PCT/CN2023/098389 CN2023098389W WO2024183177A1 WO 2024183177 A1 WO2024183177 A1 WO 2024183177A1 CN 2023098389 W CN2023098389 W CN 2023098389W WO 2024183177 A1 WO2024183177 A1 WO 2024183177A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
test mode
output
input
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2023/098389
Other languages
French (fr)
Chinese (zh)
Inventor
唐玉玲
严允柱
张雪艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changxin Memory Technologies Inc
Original Assignee
Changxin Memory Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changxin Memory Technologies Inc filed Critical Changxin Memory Technologies Inc
Publication of WO2024183177A1 publication Critical patent/WO2024183177A1/en
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop

Definitions

  • the present disclosure relates to, but is not limited to, a control circuit and a memory.
  • DRAM dynamic random access memory
  • the memory uses a delay locked loop (DLL) circuit to adjust the delay of the clock signal so that the phases of the two signals are consistent, that is, the edges are aligned.
  • the DLL circuit uses a duty cycle corrector (DCC) to adjust the duty cycle of the clock signal to optimize the data window. Therefore, how to shorten the time required to adjust the duty cycle of the clock signal in the memory has become an urgent problem to be solved in the industry.
  • DLL delay locked loop
  • DCC duty cycle corrector
  • an embodiment of the present disclosure provides a control circuit and a memory.
  • an embodiment of the present disclosure provides a control circuit, comprising: a reset signal generating circuit, for receiving a control signal and a test mode entry signal, and generating and outputting a test mode reset signal according to the control signal and the test mode entry signal; a test mode circuit, connected to the reset signal generating circuit, the test mode circuit being used to reset and output a test mode signal according to the test mode reset signal; wherein the test mode signal indicates a duty cycle adjustment of a clock signal.
  • the control signal includes a first control signal and a second control signal
  • the reset signal generating circuit includes a first control circuit for receiving the first control signal, and a second control circuit for receiving the second control signal
  • the first control circuit is also used to receive the test mode entry signal, and output a first input signal according to the test mode entry signal, and output a first internal signal according to the first control signal and the test mode entry signal
  • the second control circuit is connected to the first control circuit, for receiving the first input signal and the first internal signal, and outputting the test mode reset signal according to the second control signal, the first internal signal and the first input signal.
  • the first control circuit when the level of the first control signal is the first level, the first control circuit is used to output the first internal signal at the second level; When the level of the control signal is the second level, the first control circuit is used to output the first internal signal having the same level as the test mode entry signal. The first control circuit is also used to output the first input signal having the same level as the test mode entry signal.
  • the first control circuit includes: a first input unit, used to receive the test mode entry signal, and generate and output the first input signal of the same level as the test mode entry signal according to the test mode entry signal; a second input unit, used to receive the first control signal, and generate and output a second input signal of opposite level to the first control signal according to the first control signal; a first operation unit, connected to the first input unit and the second input unit, used to receive the first input signal and the second input signal, and generate and output the first internal signal according to the first input signal and the second input signal.
  • the first operation unit includes: a NAND gate, the input end of the NAND gate is used to receive the first input signal and the second input signal; a first inverter, the input end of the first inverter is connected to the output end of the NAND gate; the output end of the first inverter is used to output the first internal signal.
  • the first input unit includes a buffer, the input end of the buffer is used to receive the test mode entry signal, and the output end of the buffer is used to output the first input signal;
  • the second input unit includes a second inverter, the input end of the second inverter is used to receive the first control signal, and the output end of the second inverter is used to output the second input signal.
  • the second control circuit includes: a second operation unit, connected to the first input unit and the first operation unit, used to receive the first input signal and the first internal signal, and in response to the received second control signal, generate and output the test mode reset signal according to the first input signal and the first internal signal; when the level of the second control signal is the first level, the second control circuit is used to output the test mode reset signal with the same level as the first input signal; when the level of the second control signal is the second level, the second control circuit is used to output the test mode reset signal with the same level as the first internal signal.
  • the second operation unit includes: a data selector, the input end of the data selector is used to receive the first input signal and the first internal signal, and the control end of the data selector is used to receive the second control signal; wherein, when the level of the second control signal is the second level, the data selector is used to output a second internal signal opposite to the level of the first internal signal, and when the level of the second control signal is the first level, the data selector is used to output a second internal signal opposite to the level of the first input signal; a third inverter, the input end of the third inverter is connected to the output end of the data selector, for receiving the second internal signal, and the output end of the third inverter is used to output the test mode reset signal.
  • control circuit further comprises: a command and address decoder for receiving a mode register configuration command and decoding and generating a corresponding mode register configuration command according to the mode register configuration command.
  • a command and address decoder for receiving a mode register configuration command and decoding and generating a corresponding mode register configuration command according to the mode register configuration command.
  • a configuration value of a register a mode register circuit connected to the command and address decoder, and used to generate the test mode entry signal according to the configuration value of the mode register; a delay locked loop circuit connected to the test mode circuit, and used to adjust the duty cycle of the clock signal according to the test mode signal.
  • the delay locked loop circuit includes: a clock division circuit, used to generate multiple divided clock signals with different phases according to the clock signal; a duty cycle correction circuit, connected to the test mode circuit and the clock division circuit, the duty cycle correction circuit includes multiple duty cycle correction sub-circuits; each of the duty cycle correction sub-circuits is used to adjust the duty cycle of one of the divided clock signals according to the test mode signal to output a corrected clock signal.
  • the test mode signal includes multiple test mode sub-signals
  • the duty cycle correction sub-circuit includes: a multi-stage adjustment unit connected in series, each stage of the adjustment unit is used to receive at least one of the test mode sub-signals to gradually adjust the duty cycle of the divided clock signal; the input end of the first stage of the adjustment unit is used to receive the divided clock signal, and the input end of each of the remaining stages of the adjustment unit is connected to the output end of the previous stage of the adjustment unit, and the output end of the last stage of the adjustment unit is used to output the corrected clock signal.
  • the regulating unit includes: a fourth inverter and at least one pulse regulating unit; the input end of the fourth inverter is connected to the input end of the pulse regulating unit, and they are used together as the input end of the regulating unit; the output end of the fourth inverter is connected to the output end of the pulse regulating unit, and they are used together as the output end of the regulating unit; the control end of the pulse regulating unit is connected to the test mode circuit, and is used to receive the corresponding test mode sub-signal; the fourth inverter and the input end of the pulse regulating unit in the first stage of the regulating unit are used to receive the divided clock signal; the fourth inverter and the input end of the pulse regulating unit in each of the remaining stages of the regulating unit are used to receive the intermediate clock signal output by the previous stage of the regulating unit; the output end of the fourth inverter and the pulse regulating unit in the last stage of the regulating unit is used to output the correction clock signal; the output end of the fourth inverter and the pulse
  • the pulse adjustment unit includes: a first switching transistor, the source of which is connected to a first voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a second switching transistor, the source of which is connected to a second voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a pull-up transistor, the source of which is connected to a drain of the first switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; a drain of which is connected to the output terminal of the fourth inverter; a pull-down transistor, the source of which is connected to a drain of the second switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; and a drain of which is connected to the output terminal of the fourth inverter.
  • an embodiment of the present disclosure provides a memory, comprising: a memory cell array; and a peripheral circuit, comprising the control circuit described in any one of the above embodiments.
  • the reset signal generating circuit is used to output a test mode reset signal according to at least one control signal and a test mode entry signal.
  • the reset signal generating circuit can output a test mode reset signal of a different level from the test mode entry signal. Therefore, the test mode circuit can reset the test mode signal according to the test mode reset signal, rather than directly resetting the test mode signal according to the test mode entry signal, thereby reducing the situation where the delay locked loop circuit readjusts the clock signal duty cycle according to the reset test mode signal, saving the time required to adjust the clock signal duty cycle.
  • FIG1 is a schematic diagram 1 of a control circuit provided in an embodiment of the present disclosure.
  • FIG2 is a schematic diagram of a duty cycle correction subcircuit provided in an embodiment of the present disclosure
  • FIG3 is a second schematic diagram of a control circuit provided in an embodiment of the present disclosure.
  • FIG4 is a third schematic diagram of a control circuit provided in an embodiment of the present disclosure.
  • FIG5 is a schematic diagram 1 of a reset signal generating circuit in a control circuit provided in an embodiment of the present disclosure
  • FIG6 is a second schematic diagram of a reset signal generating circuit in a control circuit provided in an embodiment of the present disclosure
  • FIG7 is a schematic diagram of a delay locked loop circuit in a control circuit provided in an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a memory provided in an embodiment of the present disclosure.
  • terms can be understood at least in part from their use in context.
  • the term “one or more” as used herein can be used to describe any feature, structure, or characteristic in a singular sense, or can be used to describe a combination of features, structures, or characteristics in a plural sense.
  • terms such as “one” or “the” can also be understood to convey singular usage or to convey plural usage, depending at least in part on the context.
  • the term “based on” can be understood to not necessarily be intended to convey an exclusive set of factors, and can alternatively allow for the presence of additional factors that are not necessarily explicitly described, which also depends at least in part on the context.
  • the dynamic random access memory uses a delay locked loop circuit to align the clock signal with the data strobe signal (DQS).
  • DQS data strobe signal
  • DDR4 double data rate memory
  • data can be transmitted on both the rising and falling edges of the system clock, so it is necessary to make the duty cycle of the clock signal as close to 50% as possible to optimize the data window, and DDR4 samples data through a two-phase clock signal.
  • the delay locked loop circuit splits the clock signal into an odd clock signal and an even clock signal, and adjusts the duty cycle of the odd clock signal and the even clock signal respectively, thereby balancing the odd clock signal and the even clock signal to ensure data consistency.
  • the odd clock signal and the even clock signal here can have a phase difference of 180 degrees.
  • the fifth-generation double data rate memory Double Data Rate 5, DDR5
  • the sixth-generation double data rate memory Double Data Rate 6, DDR6 both sample data through a four-phase clock signal. Therefore, the clock signal of each phase needs to be duty cycle adjusted.
  • a control circuit 100 for adjusting the clock duty cycle, specifically comprising: a command and address decoder 150, for receiving a mode register configuration command, and decoding and generating a corresponding mode register configuration value according to the mode register configuration command; a mode register circuit 110, connected to the command and address decoder 150, for generating the test mode entry signal MR0_EN according to the mode register configuration value; a test mode circuit 130, connected to the mode register circuit 110, the test mode circuit 130 is used to reset and output a plurality of test mode signals TM according to the test mode entry signal MR0_EN; and a delay locked loop circuit 140, connected to the test mode circuit 130, the delay locked loop circuit 140 is used to adjust the duty cycle of the clock signal CLK according to the test mode signal TM.
  • the command and address decoder 150 can receive a mode register configuration command issued by the memory controller, and decode the mode register configuration command to generate a corresponding mode register configuration value.
  • the mode register configuration command can be a mode register setting command (Mode Register Setting, MRS)
  • the mode register configuration command can be a mode register write command (Mode Register Write, MRW).
  • the mode register circuit 110 is used to define the operating modes corresponding to various functions of the memory.
  • the mode register circuit 110 is connected to the command and address decoder 150, and generates a test mode entry signal MR0_EN according to the mode register configuration value.
  • a mode register configuration value can be generated to set a specified bit in a mode register (such as MR0) to a specified value (such as setting the A7 bit to 0 or 1).
  • the specific value is also set by the memory controller.
  • the corresponding value can also be set manually to control the execution.
  • the corresponding functions are performed, for example, the A7 bit of MR0 is manually set to 1, that is, the test mode is entered.
  • the test mode circuit 130 generates multiple test mode signals TM and adjusts the parameters of the test mode signal TM to adjust the duty cycle of the clock signal. After the duty cycle adjustment is completed, the values of the relevant parameters of the test mode signal can be fixed in the memory by burning the fuse circuit and will not be changed.
  • the delay locked loop circuit includes a clock frequency division circuit and a duty cycle correction circuit.
  • the clock frequency division circuit is used to generate a plurality of frequency division clock signals with different phases according to the clock signal.
  • the duty cycle correction circuit includes a plurality of duty cycle correction subcircuits, each of which is used to adjust the duty cycle of a frequency division clock signal according to the test mode signal.
  • the test mode signal TM may include a plurality of test mode sub-signals TM ⁇ 0> to TM ⁇ n>, where n is a positive integer.
  • a duty cycle correction subcircuit 141 in the delay locked loop circuit is shown, and the duty cycle correction subcircuit 141 includes three stages of adjustment units 142 connected in series, and each stage of adjustment unit 142 is used to receive at least one test sub-mode signal to adjust the duty cycle of the frequency division clock signal CLK_F step by step.
  • the duty cycle correction subcircuit may also include a plurality of stages of adjustment units connected in series, and the specific number of stages of the adjustment units is determined according to the load of the clock signal. The greater the load, the more stages of adjustment units are required in the duty cycle correction subcircuit to enhance the driving capability, so there is no restriction on the number of stages here.
  • the number of test mode sub-signals received by each level of adjustment unit can be the same or different. As shown in FIG2 , the first level of adjustment unit receives one test mode sub-signal TM ⁇ 0>, the second level of adjustment unit receives one test mode sub-signal TM ⁇ 1>, and the third level of adjustment unit receives three test mode sub-signals TM ⁇ 2>, TM ⁇ 3>, and TM ⁇ 4>.
  • each level of the regulating unit 142 may include: an inverter 143 and at least one pulse regulating unit 144.
  • the input end of the inverter 143 is connected to the input end of the pulse regulating unit 144 to serve as the input end of the regulating unit 142, and the output end of the inverter 143 is connected to the output end of the pulse regulating unit 144 to serve as the output end of the regulating unit 142; in addition, the control end of the pulse regulating unit 144 is also connected to the test mode circuit and is used to receive the corresponding test mode sub-signal.
  • the input end of the inverter 143 and the pulse regulating unit 144 in the first level regulating unit 142 is used to receive the divided clock signal CLK_F
  • the input end of the inverter 143 and the pulse regulating unit 144 in each of the remaining level regulating units 142 is used to receive the intermediate clock signal CLK_M output by the previous level regulating unit 142.
  • the output ends of the inverter 143 and the pulse adjustment unit 144 in the last stage of the adjustment unit 142 are used to output the final correction clock signal CLK_C
  • the output ends of the inverter 143 and the pulse adjustment unit 144 in each of the remaining stages of the adjustment unit 142 are used to output the intermediate clock signal CLK_M.
  • the pulse adjustment unit 144 is used to adjust the width of the high level pulse and the low level pulse in the intermediate clock signal CLK_M according to the test mode sub-signal. In this way, the multi-stage adjustment unit 142 can complete the duty cycle adjustment of the divided clock signal CLK_F step by step to output the correction clock signal CLK_C.
  • the pulse adjustment unit 144 includes a pull-up transistor 145, a pull-down transistor 146, a first switch transistor 147, and a second switch transistor 148.
  • the source of the first switch transistor 147 is connected to the first voltage terminal, and the gate of the first switch transistor 147 is connected to the input terminal of the inverter 143, for receiving the intermediate clock signal CLK_M or the divided clock signal;
  • the source of the second switch transistor 148 is connected to the second voltage terminal;
  • the gate of the second switch transistor 148 is connected to the input terminal of the inverter 143, for receiving the intermediate clock signal CLK_M or the divided clock signal;
  • the source of the pull-up transistor 145 is connected to the drain of the first switch transistor 147, and the gate of the pull-up transistor 145 is used to receive the corresponding test mode sub-signal, the drain of the pull-up transistor 145 is connected to the output end of the inverter 143;
  • the source of the pull-down transistor 146 is connected to the drain of the
  • the first switch transistor 147 and the pull-up transistor 145 can be PMOS transistors
  • the second switch transistor 148 and the pull-down transistor 146 can be NMOS transistors
  • the first voltage terminal can be the power supply voltage terminal VDD
  • the second voltage terminal can be the ground voltage terminal VSS. Therefore, the test mode circuit can control the conduction or cut-off of multiple pull-up transistors 145 or pull-down transistors 146 in the duty cycle correction sub-circuit 141 through the combination of multiple test mode sub-signals TM ⁇ 1> ⁇ TM ⁇ n>, thereby adjusting the duty cycle of the divided clock signal.
  • a corresponding pull-up transistor 145 in the duty cycle correction subcircuit 141 is turned on, and a corresponding pull-down transistor 146 is turned off.
  • the rising edge time of the divided clock signal becomes shorter, and the pulse width of the high level in the divided clock signal becomes longer, thereby increasing the duty cycle;
  • a corresponding pull-up transistor 145 in the duty cycle correction subcircuit 141 is turned off, and a corresponding pull-down transistor 146 is turned on.
  • the falling edge time of the divided clock signal becomes shorter, and the pulse width of the low level in the divided clock signal becomes longer, thereby reducing the duty cycle.
  • each level adjustment unit 142 includes an inverter 143, for the duty cycle correction subcircuit in FIG. 2, in the first and third level adjustment units, the pull-up transistor 145 is turned on to adjust the pulse width of the low level in the divided clock signal, and the pull-down transistor 146 is turned on to adjust the pulse width of the high level in the divided clock signal; and in the second level adjustment unit, the pull-up transistor 145 is turned on to adjust the pulse width of the high level in the divided clock signal, and the pull-down transistor 146 is turned on to adjust the pulse width of the low level in the divided clock signal. That is to say, under the premise that the levels of multiple test mode signals are the same, the odd-numbered adjustment units and the even-numbered adjustment units have opposite regulating effects on the divided clock signal.
  • the memory may have a variety of programmable circuit modules, the programmable circuit modules have fuses or anti-fuse units, and the duty cycle correction circuit is one of the functional circuits.
  • the level of the test mode entry signal MR0_EN is high, all test mode signals in the memory will be reset.
  • we do not want some test mode signals acting on the duty cycle correction circuit to be reset because resetting the test mode signal will cause the duty cycle adjustment process to restart, thereby increasing the time of the duty cycle adjustment process.
  • the mode register circuit 110 will output a high level test mode entry signal MR0_EN.
  • This causes the test mode signal TM output by the test mode circuit 130 corresponding to the delay locked loop circuit 140 to be reset, that is, each transistor in the duty cycle correction subcircuit 141 is reset, resulting in the duty cycle adjustment process needing to be restarted, and the value of each test mode signal TM is re-determined, which increases the time required for adjusting the duty cycle of the clock signal in the memory.
  • the present disclosure provides a control circuit 200, including: a reset signal generating circuit 220, configured to receive a control signal TMF_MR0 and a test mode entry signal MR0_EN, and to generate and reset a reset signal according to the control signal TMF_MR0 and the test mode entry signal MR0_EN.
  • control circuit 200 also includes: a command and address decoder 270, which is used to receive a mode register configuration command and generate a corresponding mode register configuration value according to the mode register configuration command decoding; a mode register circuit 210, connected to the command and address decoder 270, and used to generate the test mode entry signal according to the configuration value of the mode register; a delay locked loop circuit 240, connected to the test mode circuit 230, and used to adjust the duty cycle of the clock signal CLK according to the test mode signal TM.
  • a command and address decoder 270 which is used to receive a mode register configuration command and generate a corresponding mode register configuration value according to the mode register configuration command decoding
  • a mode register circuit 210 connected to the command and address decoder 270, and used to generate the test mode entry signal according to the configuration value of the mode register
  • a delay locked loop circuit 240 connected to the test mode circuit 230, and used to adjust the duty cycle of the clock signal CLK according to the test mode signal TM.
  • the command and address decoder 270 can receive the mode register configuration command issued by the memory controller, and decode the mode register configuration command to generate a corresponding mode register configuration value.
  • the mode register 210 can be used to define the operation mode corresponding to various functions of the memory.
  • the mode register circuit 210 is connected to the command and address decoder 270, and generates a test mode entry signal MR0_EN according to the mode register configuration value.
  • the test mode entry signal MR0_EN can be used to reset the test mode signal TM issued by the test mode circuit 230. It can be understood that the mode register 210 can also output a variety of signals other than the test mode entry signal MR0_EN to meet the needs of configuring different operation modes of the memory.
  • the reset signal generating circuit 220 is connected to the mode register 210 and can receive at least one control signal TMF_MR0.
  • the reset signal generating circuit 220 can output a test mode reset signal TMF_MR0_RESET_OUT according to various level combinations of the control signal TMF_MR0 and the test mode entry signal MR0_EN.
  • the control signal TMF_MR0 can be used to shield the test mode entry signal MR0_EN.
  • the reset signal generation circuit 220 can shield the test mode entry signal MR0_EN according to the high-level control signal TMF_MR0, and output the test mode reset signal TMF_MR0_RESET_OUT whose level is always low; and when the level of the control signal TMF_MR0 is low, indicating that the current test mode entry signal MR0_EN indicates the execution of the clock signal duty cycle adjustment, the reset signal generation circuit 220 does not shield the test mode entry signal MR0_EN, and the level of the output test mode reset signal TMF_MR0_RESET_OUT is the same as the level of the test mode entry signal MR0_EN.
  • the control signal TMF_MR0 can be generated by the control logic in the memory.
  • a reset signal generating circuit 220 is provided between the mode register circuit 210 and the test mode circuit 230, when the level of the test mode entry signal MR0_EN is high and the level of the control signal TMF_MR0 is high, the test mode entry signal MR0_EN is shielded, the level of the test mode reset signal TMF_MR0_RESET_OUT can be low, and the test mode signal TM issued by the test mode circuit 230 may not be reset, that is, the duty cycle correction circuit in the delay locked loop circuit 240 may continue to use the settings corresponding to the previous multiple test mode signals TM without restarting the duty cycle adjustment process.
  • the reset signal generating circuit 220 can be connected only to the test mode circuit 230 and the mode register 210, that is, the test mode entry signal MR0_EN issued by the mode register 210 can still be directly output to other circuits except the test mode circuit 230, so that the functions of other circuits in the memory except the delay locked loop circuit 240 reset by the test mode entry signal MR0_EN are not affected.
  • the reset signal generating circuit 220 can output the test mode reset signal TMF_MR0_RESET_OUT of a different level from the test mode entry signal MR0_EN. Therefore, the test mode circuit 230 can reset the test mode signal TM according to the generated test mode reset signal TMF_MR0_RESET_OUT, rather than directly resetting the test mode signal TM according to the test mode entry signal MR0_EN, that is, when the test mode entry signal MR0_EN indicates to execute other functions of the memory instead of indicating to start the clock signal duty cycle adjustment (the logic level value of the adjustment control signal TMF_MR0 indicates whether the executed function is the clock signal duty cycle adjustment when MR0_EN is at a valid level), the delay locked loop circuit 240 is reduced to readjust the clock signal CLK duty cycle according to the reset test mode signal TM, thereby shortening the time required to adjust the clock signal CLK duty cycle.
  • the control signal includes a first control signal TMF_MR0_RESET_DIS and a second control signal TMF_MR0_CONTROL_DIS;
  • the reset signal generating circuit 220 includes a first control circuit 250 for receiving the first control signal TMF_MR0_RESET_DIS, and a second control circuit 260 for receiving the second control signal TMF_MR0_CONTROL_DIS;
  • the first control circuit 250 is further used to receive the test mode entry signal MR0_EN, and output a first input signal MR0_EN_IN according to the test mode entry signal MR0_EN.
  • the second control circuit 260 is connected to the first control circuit 250, for receiving the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and outputs the test mode reset signal TMF_MR0_RESET_OUT according to the second control signal TMF_MR0_CONTROL_DIS, the first internal signal TMF_MR0_INT1 and the first input signal MR0_EN_IN1.
  • the first control signal TMF_MR0_RESET_DIS and the second control signal TMF_MR0_CONTROL_DIS can be generated by the control logic in the memory based on the external command or the test mode, and are respectively output to the first control circuit 250 and the second control circuit 260.
  • the first control signal TMF_MR0_RESET_DIS is used to indicate whether the test mode entry signal MR0_EN is valid, so as to further determine whether the test mode signal TM needs to be reset; and the second control signal TMF_MR0_CONTROL_DIS is used to indicate whether the first control signal TMF_MR0_RESET_DIS is valid.
  • the first control circuit 250 outputs the first internal signal TMF_MR0_INT1 according to the first control signal TMF_MR0_RESET_DIS and the test mode entry signal MR0_EN.
  • the first control signal TMF_MR0_RESET_DIS can be used to shield the test mode entry signal MR0_EN, that is, when the level of the first control signal TMF_MR0_RESET_DIS is high, no matter whether the level of the test mode entry signal MR0_EN is high or low
  • the first control circuit 250 outputs the first internal signal TMF_MR0_INT1 according to the first control signal TMF_MR0_RESET_DIS and the test mode entry signal MR0_EN.
  • the first control circuit 250 outputs the first internal signal TMF_MR0_INT1 with a low level.
  • the first control circuit 250 can also output the first input signal MR0_EN_IN1 according to the test mode entry signal MR0_EN, where the level of the first input signal MR0_EN_IN1 can be consistent with the level of the test mode entry signal MR0_EN.
  • the second control circuit 260 may output a test mode reset signal TMF_MR0_RESET_OUT according to the second control signal TMF_MR0_CONTROL_DIS, the first internal signal TMF_MR0_INT1, and the first input signal MR0_EN_IN1.
  • the second control signal TMF_MR0_CONTROL_DIS can be used to shield the first control signal TMF_MR0_RESET_DIS, that is, when the level of the second control signal TMF_MR0_CONTROL_DIS is high, regardless of whether the level of the first control signal TMF_MR0_RESET_DIS is high or low, the second control circuit 260 outputs a test mode reset signal TMF_MR0_RESET_OUT that is the same as the level of the first input signal MR0_EN_IN1, that is, the level of the test mode reset signal TMF_MR0_RESET_OUT is consistent with the level of the test mode entry signal MR0_EN; and when the level of the second control signal TMF_MR0_CONTROL_DIS is low, the second control circuit outputs a test mode reset signal TMF_MR0_RESET_OUT that is related to the level value of the first control signal TMF_MR0_RESET_DIS.
  • the level of the test mode reset signal TMF_MR0_RESET_OUT output to the test mode circuit can be low when the level of the test mode entry signal MR0_EN is high.
  • the current test mode entry signal MR0_EN does not indicate the execution of the clock signal duty cycle adjustment, so when the test mode entry signal MR0_EN indicates the execution of other functions of the memory instead of indicating the start of the clock signal duty cycle adjustment, multiple test mode signals will not be reset, and the duty cycle correction circuit in the delay locked loop circuit can continue to use the settings corresponding to the previous multiple test mode signals without restarting the duty cycle adjustment process, thereby avoiding repeated work caused by resetting the parameters when the adjustment is not completed, thereby shortening the time required to adjust the clock signal duty cycle.
  • the first control circuit when the level of the first control signal is the first level, the first control circuit is used to output the first internal signal at the second level; when the level of the first control signal is the second level, the first control circuit is used to output the first internal signal having the same level as the test mode entry signal, and the first control circuit is also used to output the first input signal having the same level as the test mode entry signal.
  • the first level may be a logic high level, i.e., "1”
  • the second level may be a logic low level, i.e., "0”
  • the first level may be a logic low level
  • the second level may be a logic high level.
  • the first control circuit 250 includes: a first input unit 251 for receiving the test mode entry signal MR0_EN, and generating and outputting the first input signal MR0_EN_IN1 having the same level as the test mode entry signal according to the test mode entry signal MR0_EN; a second input unit 252 for receiving the first control signal TMF_MR0_RESET_DIS, and according to the first control signal TMF_MR0_RESET_DIS, generates and outputs a second input signal TMF_MR0_RESET_IN2 with a level opposite to that of the first control signal; a first operation unit 253, connected to the first input unit 251 and the second input unit 252, for receiving the first input signal and the second input signal, and generates and outputs the first internal signal TMF_MR0_INT1 according to the first input signal MR0_EN_IN1 and the second input signal TMF_MR0_RESET_IN2.
  • the first control circuit 250 includes a first input unit 251, a second input unit 252 and a first operation unit 253.
  • the input end of the first input unit 251 is connected to the mode register, the input end of the second input unit 252 is used to receive the first control signal TMF_MR0_RESET_DIS, and the input end of the first operation unit 253 is connected to the output ends of the first input unit 251 and the second input unit 252, and is used to receive the first input signal and the second input signal.
  • the first input unit 251 can output the first input signal MR0_EN_IN1 according to the received test mode entry signal MR0_EN, and the first input unit 251 can be used for signal amplification, signal shaping, and enhancing the driving capability of the signal.
  • the first input unit 251 may include at least one buffer, and the level of the first input signal MR0_EN_IN1 here may be the same as the level of the test mode entry signal MR0_EN.
  • the second input unit 252 can output the second input signal TMF_MR0_RESET_IN2 according to the received first control signal TMF_MR0_RESET_DIS, and the second input unit 252 can play the role of signal shaping, signal inversion, etc.
  • the second input unit 252 may include an odd number of inverters connected in series, and the level of the second input signal TMF_MR0_RESET_IN2 here may be opposite to the level of the first control signal TMF_MR0_RESET_DIS.
  • the first operation unit 253 can output the first internal signal TMF_MR0_INT1 according to the received first input signal MR0_EN_IN1 and the second input signal TMF_MR0_RESET_IN2.
  • the first operation unit 253 may include a NAND gate and an inverter connected in series, wherein the two input ends of the NAND gate are used to receive the first input signal MR0_EN_IN1 and the second input signal TMF_MR0_RESET_IN2, and the output end of the inverter is used to output the first internal signal TMF_MR0_INT1.
  • each signal in the first control circuit 250 is shown in Table 1, where "0" represents a logic low level and "1" represents a logic high level.
  • the first control signal TMF_MR0_RESET_DIS when the first control signal TMF_MR0_RESET_DIS is at a high level, the second input signal TMF_MR0_RESET_IN2 is at a low level. Therefore, no matter whether the test mode entry signal MR0_EN is at a high level or a low level, the first internal signal output by the first operation unit 253 is TMF_MR0_INT1 is low level; only when the first control signal TMF_MR0_RESET_DIS is low level and the second input signal TMF_MR0_RESET_IN2 is high level, the level of the first internal signal TMF_MR0_INT1 output by the first operation unit 253 is the same as the level of the test mode entry signal MR0_EN.
  • the first input unit 251 includes a buffer 254, the input end of the buffer 254 is used to receive the test mode entry signal MR0_EN, and the output end of the buffer 254 is used to output the first input signal MR0_EN_IN1;
  • the second input unit 252 includes a second inverter 255, the input end of the second inverter 255 is used to receive the first control signal TMF_MR0_RESET_DIS, and the output end of the second inverter 255 is used to output the second input signal TMF_MR0_RESET_IN2.
  • the buffer 254 includes: an even number of cascaded inverters. Specifically, as shown in FIG6 , the buffer 254 may be two inverters connected in series.
  • the first operation unit 253 includes: a NAND gate 258, the input end of the NAND gate 258 is used to receive the first input signal and the second input signal; a first inverter 259, the input end of the first inverter 259 is connected to the output end of the NAND gate 258; the output end of the first inverter 259 is used to output the first internal signal.
  • the second control circuit 260 includes: a second operation unit 261, connected to the first input unit 251 and the first operation unit 253, for receiving the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and in response to the received second control signal TMF_MR0_CONTROL_DIS, generating and outputting the test mode reset signal TMF_MR0_RESET_OUT according to the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1;
  • the second control circuit 260 is used to output the test mode reset signal TMF_MR0_RESET_OUT which is the same as the level of the first input signal MR0_EN_IN1;
  • the second control circuit 260 is used to output the test mode reset signal TMF_MR0_RESET_OUT which is the same as the level of the first input signal MR0_EN_IN1;
  • the second control circuit 260 is used to output the test mode reset signal TMF_MR0_RES
  • the second control circuit 260 may include a second operation unit 261, two input ends of the second operation unit 261 are respectively connected to the output ends of the first input unit 251 and the first operation unit 253, and the output end of the second operation unit 261 may be connected to the test mode circuit.
  • the two input ends of the second operation unit 261 are respectively used to receive the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and the output end of the second operation unit 261 is used to output the test mode reset signal TMF_MR0_RESET_OUT.
  • the second operation unit 261 can select to output the test mode reset signal TMF_MR0_RESET_OUT having the same level as the first internal signal TMF_MR0_INT1 or the first input signal MR0_EN_IN1 according to the level of the second control signal TMF_MR0_CONTROL_DIS. That is, the second operation unit 261 can shield the first control signal TMF_MR0_RESET_DIS through the second control signal TMF_MR0_CONTROL_DIS.
  • the second operation unit 261 When the level of the second control signal TMF_MR0_CONTROL_DIS is high, the second operation unit 261 ignores the first internal signal TMF_MR0_INT1, that is, no matter whether the level of the first control signal TMF_MR0_RESET_DIS is high or low, the second operation unit 261 outputs the test mode reset signal TMF_MR0_RESET_OUT which is the same as the level of the first input signal MR0_EN_IN1. At this time, the level of the test mode reset signal TMF_MR0_RESET_OUT is consistent with the level of the test mode entry signal MR0_EN, that is, the current test mode entry signal MR0_EN indicates to execute the clock signal duty cycle adjustment.
  • the second operation unit 261 ignores the first input signal MR0_EN_IN1 and outputs the test mode reset signal TMF_MR0_RESET_OUT having the same level as the first internal signal TMF_MR0_INT1.
  • the second operation unit 261 includes: a data selector 262, the input end of the data selector 262 is used to receive the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and the control end of the data selector 262 is used to receive the second control signal TMF_MR0_CONTROL_DIS; wherein, when the level of the second control signal TMF_MR0_CONTROL_DIS is the second level, the data selector 262 is used to output the first internal signal TMF_MR0_IN T1 level is opposite to the second internal signal TMF_MR0_INT2; when the level of the second control signal TMF_MR0_CONTROL_DIS is the first level, the data selector 262 is used to output the second internal signal TMF_MR0_INT2 which is opposite to the level of the first input signal MR0_EN_IN1; a third inverter 263, the input end of the third inverter 263 is connected to the output
  • each signal in the reset signal generating circuit 220 is shown in Table 2, wherein "0” represents a logic low level, “1” represents a logic high level, and “V” represents a valid value, that is, either a logic high level or a logic low level.
  • the level of the test mode reset signal TMF_MR0_RESET_OUT output to the test mode circuit can be low, that is, when the level of the test mode entry signal MR0_EN is high but does not indicate the execution of the clock signal duty cycle adjustment, the test mode signal TM will not be reset, resulting in the duty cycle adjustment process restarting.
  • the reset signal generating circuit 220 may include only the first control circuit 250, but not the second control circuit 260.
  • the first internal signal output by the first control circuit 250 may be used as a test mode reset signal, and its corresponding signal truth table is shown in Table 3. It can be understood that, on the basis of the first control circuit 250, adding the second control circuit 260 and setting the second control signal TMF_MR0_CONTROL_DIS for shielding the first control signal TMF_MR0_RESET_DIS can improve the reliability of the reset signal generating circuit 220.
  • the delay locked loop circuit 240 includes: a clock division circuit 241, used to generate a plurality of divided clock signals CLK_F with different phases according to the clock signal CLK; a duty cycle correction circuit 242, connected to the test mode circuit 230 and the clock division circuit 241, the duty cycle correction circuit 242 includes a plurality of duty cycle correction sub-circuits 244; each of the duty cycle correction sub-circuits 244 is used to adjust the duty cycle of the divided clock signal CLK_F according to the test mode signal TM to output a corrected clock signal CLK_C.
  • the delay locked loop circuit 240 has a clock frequency division circuit 241 and a duty cycle correction circuit 242. It is understandable that the delay locked loop circuit 240 may also include other circuits, such as a phase detection circuit, a duty cycle detection circuit, etc. In some embodiments, the delay locked loop circuit 240 further includes: a clock recovery circuit 243, connected to the duty cycle correction circuit 242; and used to select one of the multiple corrected clock signals CLK_C as the internal clock signal CLK_O for output.
  • the clock frequency dividing circuit 241 can divide the clock signal CLK input to the delay locked loop circuit 240 into a plurality of frequency divided clock signals CLK_F with phase differences, such as an odd clock signal and an even clock signal.
  • the odd clock signal and the even clock signal can have a phase difference of 180 degrees.
  • the duty cycle correction circuit 242 includes a plurality of duty cycle correction sub-circuits 244. Each duty cycle correction sub-circuit 244 can adjust the duty cycle of a divided clock signal CLK_F according to the test mode signal TM, and output a corresponding corrected clock signal CLK_C.
  • the clock recovery circuit 243 can select one of the plurality of corrected clock signals CLK_C output by the duty cycle correction circuit 242 to output as the internal clock signal CLK_O.
  • the test mode signal includes multiple test mode sub-signals
  • the duty cycle correction sub-circuit includes: a multi-stage adjustment unit connected in series, each stage of the adjustment unit is used to receive at least one of the test mode sub-signals to gradually adjust the duty cycle of the divided clock signal; the input end of the first stage of the adjustment unit is used to receive the divided clock signal, and the input end of each of the remaining stages of the adjustment unit is connected to the output end of the previous stage of the adjustment unit, and the output end of the last stage of the adjustment unit is used to output the corrected clock signal.
  • the regulating unit includes: a fourth inverter and at least one pulse regulating unit; the input end of the fourth inverter is connected to the input end of the pulse regulating unit, and they are used together as the input end of the regulating unit; the output end of the fourth inverter is connected to the output end of the pulse regulating unit, and they are used together as the output end of the regulating unit; the control end of the pulse regulating unit is connected to the test mode circuit, which is used to receive the corresponding test mode sub-signal; the fourth inverter and the input end of the pulse regulating unit in the first stage of the regulating unit are used to receive the divided clock signal; the fourth inverter and the input end of the pulse regulating unit in each of the remaining stages of the regulating unit are used to receive the intermediate clock signal output by the previous stage of the regulating unit; the output end of the fourth inverter and the pulse regulating unit in the last stage of the regulating unit is used to output the correction clock signal; the output end of the fourth inverter and the pulse
  • the pulse adjustment unit includes: a first switching transistor, the source of which is connected to a first voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a second switching transistor, the source of which is connected to a second voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a pull-up transistor, the source of which is connected to a drain of the first switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; a drain of which is connected to the output terminal of the fourth inverter; a pull-down transistor, the source of which is connected to a drain of the second switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; and a drain of which is connected to the output terminal of the fourth inverter.
  • the duty cycle correction subcircuit can be understood with reference to FIG. 2 , which will not be described in detail here. It is worth noting that the fourth inverter here can correspond to the inverter 143 in FIG. 2 .
  • an embodiment of the present disclosure provides a memory 300 , including: a memory cell array 310 ; and a peripheral circuit 320 , including the control circuit 200 described in any one of the above embodiments.
  • the memory 300 includes but is not limited to DRAM, static random access memory (SRAM), ferroelectric random access memory (FRAM), magnetic random access memory (MRAM), phase change random access memory (PCRAM), resistive random access memory (RRAM), nano random access memory (NRAM), etc.
  • the peripheral circuit 320 is connected to the memory cell array 310, and the control circuit 200 is located in the peripheral circuit 320. In this way, by adjusting the level of the control signal, the reset signal generating circuit can output a test mode reset signal of a different level from the test mode entry signal.
  • the test mode circuit can reset the test mode signal according to the test mode reset signal, rather than directly resetting the test mode signal according to the test mode entry signal, so that when the current test mode entry signal is reset and In the case of non-instruction execution of clock signal duty cycle adjustment, the delay locked loop circuit is reduced to readjust the clock signal duty cycle according to the reset test mode signal, thereby saving the time required for adjusting the clock signal duty cycle.
  • the reset signal generating circuit is used to output a test mode reset signal according to at least one control signal and a test mode entry signal.
  • the reset signal generating circuit can output a test mode reset signal of a different level from the test mode entry signal. Therefore, the test mode circuit can reset the test mode signal according to the test mode reset signal, rather than directly resetting the test mode signal according to the test mode entry signal, thereby reducing the situation where the delay locked loop circuit readjusts the clock signal duty cycle according to the reset test mode signal, saving the time required to adjust the clock signal duty cycle.

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

A control circuit (200) and a memory (300). The control circuit (200) comprises a reset signal generation circuit (220) and a test mode circuit (230). The reset signal generation circuit (220) is used for receiving a control signal and a test mode entry signal, and generating and outputting a test mode reset signal according to the control signal and the test mode entry signal. The test mode circuit (230) is used for resetting and outputting a test mode signal according to the test mode reset signal, wherein the test mode signal indicates duty cycle adjustment of a clock signal.

Description

控制电路及存储器Control circuit and memory

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本公开基于申请号为202310219465.5、申请日为2023年03月03日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。The present disclosure is based on and claims the priority of Chinese patent application with application number 202310219465.5 and application date March 3, 2023. The entire contents of the Chinese patent application are hereby introduced into the present disclosure as a reference.

技术领域Technical Field

本公开涉及但不限于一种控制电路及存储器。The present disclosure relates to, but is not limited to, a control circuit and a memory.

背景技术Background Art

随着当今科学技术的不断发展,高数据可靠性、高存取速度成为了半导体存储器发展的重要趋势。其中,动态随机存取存储器(Dynamic Random Access Memory,DRAM)是一种易失性存储器,并被广泛应用于计算机以及各种电子设备。With the continuous development of science and technology, high data reliability and high access speed have become important trends in the development of semiconductor memory. Among them, dynamic random access memory (DRAM) is a volatile memory and is widely used in computers and various electronic devices.

一般地,存储器中通过延迟锁相环(Delay Locked Loop)电路调节时钟信号的延时,从而使两路信号的相位一致,即边沿对齐。其中,延迟锁相环电路采用占空比校正器(Duty Cycle Corrector,DCC)来调节时钟信号的占空比,从而优化数据窗口。因此,如何缩短存储器中调节时钟信号占空比所需要的时间,成为了业界亟待解决的问题。Generally, the memory uses a delay locked loop (DLL) circuit to adjust the delay of the clock signal so that the phases of the two signals are consistent, that is, the edges are aligned. The DLL circuit uses a duty cycle corrector (DCC) to adjust the duty cycle of the clock signal to optimize the data window. Therefore, how to shorten the time required to adjust the duty cycle of the clock signal in the memory has become an urgent problem to be solved in the industry.

发明内容Summary of the invention

有鉴于此,本公开实施例提供了一种控制电路及存储器。In view of this, an embodiment of the present disclosure provides a control circuit and a memory.

第一方面,本公开实施例提供了一种控制电路,包括:重置信号生成电路,用于接收控制信号和测试模式进入信号,并根据所述控制信号和所述测试模式进入信号,生成并输出测试模式重置信号;测试模式电路,连接所述重置信号生成电路,所述测试模式电路用于根据所述测试模式重置信号重置并输出测试模式信号;其中,所述测试模式信号指示时钟信号的占空比调节。In a first aspect, an embodiment of the present disclosure provides a control circuit, comprising: a reset signal generating circuit, for receiving a control signal and a test mode entry signal, and generating and outputting a test mode reset signal according to the control signal and the test mode entry signal; a test mode circuit, connected to the reset signal generating circuit, the test mode circuit being used to reset and output a test mode signal according to the test mode reset signal; wherein the test mode signal indicates a duty cycle adjustment of a clock signal.

在一些实施例中,所述控制信号包括第一控制信号和第二控制信号;所述重置信号生成电路包括用于接收所述第一控制信号的第一控制电路,和用于接收所述第二控制信号的第二控制电路;所述第一控制电路,还用于接收所述测试模式进入信号,并根据所述测试模式进入信号,输出第一输入信号,以及根据所述第一控制信号和所述测试模式进入信号,输出第一内部信号;所述第二控制电路,连接所述第一控制电路,用于接收所述第一输入信号和所述第一内部信号,并根据所述第二控制信号、所述第一内部信号和所述第一输入信号,输出所述测试模式重置信号。In some embodiments, the control signal includes a first control signal and a second control signal; the reset signal generating circuit includes a first control circuit for receiving the first control signal, and a second control circuit for receiving the second control signal; the first control circuit is also used to receive the test mode entry signal, and output a first input signal according to the test mode entry signal, and output a first internal signal according to the first control signal and the test mode entry signal; the second control circuit is connected to the first control circuit, for receiving the first input signal and the first internal signal, and outputting the test mode reset signal according to the second control signal, the first internal signal and the first input signal.

在一些实施例中,在所述第一控制信号的电平为第一电平的情况下,所述第一控制电路用于输出处于第二电平的所述第一内部信号;在所述第一控 制信号的电平为所述第二电平的情况下,所述第一控制电路用于输出与所述测试模式进入信号的电平相同的所述第一内部信号。所述第一控制电路还用于输出与所述测试模式进入信号的电平相同的所述第一输入信号。In some embodiments, when the level of the first control signal is the first level, the first control circuit is used to output the first internal signal at the second level; When the level of the control signal is the second level, the first control circuit is used to output the first internal signal having the same level as the test mode entry signal. The first control circuit is also used to output the first input signal having the same level as the test mode entry signal.

在一些实施例中,所述第一控制电路包括:第一输入单元,用于接收所述测试模式进入信号,并根据所述测试模式进入信号,生成并输出与所述测试模式进入信号电平相同的所述第一输入信号;第二输入单元,用于接收所述第一控制信号,并根据所述第一控制信号,生成并输出与所述第一控制信号电平相反的第二输入信号;第一运算单元,连接所述第一输入单元和所述第二输入单元,用于接收所述第一输入信号和所述第二输入信号,并根据所述第一输入信号和所述第二输入信号,生成并输出所述第一内部信号。In some embodiments, the first control circuit includes: a first input unit, used to receive the test mode entry signal, and generate and output the first input signal of the same level as the test mode entry signal according to the test mode entry signal; a second input unit, used to receive the first control signal, and generate and output a second input signal of opposite level to the first control signal according to the first control signal; a first operation unit, connected to the first input unit and the second input unit, used to receive the first input signal and the second input signal, and generate and output the first internal signal according to the first input signal and the second input signal.

在一些实施例中,所述第一运算单元包括:与非门,所述与非门的输入端用于接收所述第一输入信号和所述第二输入信号;第一反相器,所述第一反相器的输入端连接所述与非门的输出端;所述第一反相器的输出端用于输出所述第一内部信号。In some embodiments, the first operation unit includes: a NAND gate, the input end of the NAND gate is used to receive the first input signal and the second input signal; a first inverter, the input end of the first inverter is connected to the output end of the NAND gate; the output end of the first inverter is used to output the first internal signal.

在一些实施例中,所述第一输入单元包括缓冲器,所述缓冲器的输入端用于接收所述测试模式进入信号,所述缓冲器的输出端用于输出所述第一输入信号;所述第二输入单元包括第二反相器,所述第二反相器的输入端用于接收所述第一控制信号,所述第二反相器的输出端用于输出所述第二输入信号。In some embodiments, the first input unit includes a buffer, the input end of the buffer is used to receive the test mode entry signal, and the output end of the buffer is used to output the first input signal; the second input unit includes a second inverter, the input end of the second inverter is used to receive the first control signal, and the output end of the second inverter is used to output the second input signal.

在一些实施例中,所述缓冲器包括:偶数个级联的反相器。In some embodiments, the buffer comprises: an even number of cascaded inverters.

在一些实施例中,所述第二控制电路包括:第二运算单元,连接所述第一输入单元和所述第一运算单元,用于接收所述第一输入信号和所述第一内部信号,并响应于接收到的所述第二控制信号,根据所述第一输入信号和所述第一内部信号,生成并输出所述测试模式重置信号;在所述第二控制信号的电平为所述第一电平的情况下,所述第二控制电路用于输出与所述第一输入信号的电平相同的所述测试模式重置信号;在所述第二控制信号的电平为所述第二电平的情况下,所述第二控制电路用于输出与所述第一内部信号的电平相同的所述测试模式重置信号。In some embodiments, the second control circuit includes: a second operation unit, connected to the first input unit and the first operation unit, used to receive the first input signal and the first internal signal, and in response to the received second control signal, generate and output the test mode reset signal according to the first input signal and the first internal signal; when the level of the second control signal is the first level, the second control circuit is used to output the test mode reset signal with the same level as the first input signal; when the level of the second control signal is the second level, the second control circuit is used to output the test mode reset signal with the same level as the first internal signal.

在一些实施例中,所述第二运算单元包括:数据选择器,所述数据选择器的输入端用于接收所述第一输入信号和所述第一内部信号,所述数据选择器的控制端用于接收所述第二控制信号;其中,在所述第二控制信号的电平为所述第二电平的情况下,所述数据选择器用于输出与所述第一内部信号的电平相反的第二内部信号,在所述第二控制信号的电平为所述第一电平的情况下,所述数据选择器用于输出与所述第一输入信号的电平相反的第二内部信号;第三反相器,所述第三反相器的输入端连接所述数据选择器的输出端,用于接收所述第二内部信号,所述第三反相器的输出端用于输出所述测试模式重置信号。In some embodiments, the second operation unit includes: a data selector, the input end of the data selector is used to receive the first input signal and the first internal signal, and the control end of the data selector is used to receive the second control signal; wherein, when the level of the second control signal is the second level, the data selector is used to output a second internal signal opposite to the level of the first internal signal, and when the level of the second control signal is the first level, the data selector is used to output a second internal signal opposite to the level of the first input signal; a third inverter, the input end of the third inverter is connected to the output end of the data selector, for receiving the second internal signal, and the output end of the third inverter is used to output the test mode reset signal.

在一些实施例中,所述控制电路还包括:命令和地址解码器,用于接收模式寄存器配置命令,并根据所述模式寄存器配置命令解码生成对应的模式 寄存器的配置值;模式寄存器电路,连接所述命令和地址解码器,用于根据所述模式寄存器的配置值生成所述测试模式进入信号;延迟锁相环电路,连接所述测试模式电路,用于根据所述测试模式信号,调节所述时钟信号的占空比。In some embodiments, the control circuit further comprises: a command and address decoder for receiving a mode register configuration command and decoding and generating a corresponding mode register configuration command according to the mode register configuration command. A configuration value of a register; a mode register circuit connected to the command and address decoder, and used to generate the test mode entry signal according to the configuration value of the mode register; a delay locked loop circuit connected to the test mode circuit, and used to adjust the duty cycle of the clock signal according to the test mode signal.

在一些实施例中,所述延迟锁相环电路包括:时钟分频电路,用于根据所述时钟信号生成具有不同相位的多个分频时钟信号;占空比校正电路,连接所述测试模式电路和所述时钟分频电路,所述占空比校正电路包括多个占空比校正子电路;每个所述占空比校正子电路用于根据所述测试模式信号调节一个所述分频时钟信号的占空比,以输出一个校正时钟信号。In some embodiments, the delay locked loop circuit includes: a clock division circuit, used to generate multiple divided clock signals with different phases according to the clock signal; a duty cycle correction circuit, connected to the test mode circuit and the clock division circuit, the duty cycle correction circuit includes multiple duty cycle correction sub-circuits; each of the duty cycle correction sub-circuits is used to adjust the duty cycle of one of the divided clock signals according to the test mode signal to output a corrected clock signal.

在一些实施例中,所述测试模式信号包括多个测试模式子信号,所述占空比校正子电路包括:串联的多级调节单元,每级所述调节单元用于接收至少一个所述测试模式子信号,以逐级调节所述分频时钟信号的占空比;第一级所述调节单元的输入端用于接收所述分频时钟信号,其余每一级所述调节单元的输入端连接上一级所述调节单元的输出端,最后一级所述调节单元的输出端用于输出所述校正时钟信号。In some embodiments, the test mode signal includes multiple test mode sub-signals, and the duty cycle correction sub-circuit includes: a multi-stage adjustment unit connected in series, each stage of the adjustment unit is used to receive at least one of the test mode sub-signals to gradually adjust the duty cycle of the divided clock signal; the input end of the first stage of the adjustment unit is used to receive the divided clock signal, and the input end of each of the remaining stages of the adjustment unit is connected to the output end of the previous stage of the adjustment unit, and the output end of the last stage of the adjustment unit is used to output the corrected clock signal.

在一些实施例中,所述调节单元包括:第四反相器和至少一个脉冲调节单元;所述第四反相器的输入端和所述脉冲调节单元的输入端连接,共同作为所述调节单元的输入端;所述第四反相器的输出端和所述脉冲调节单元的输出端连接,共同作为所述调节单元的输出端;所述脉冲调节单元的控制端连接所述测试模式电路,用于接收对应的所述测试模式子信号;第一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输入端用于接收所述分频时钟信号;其余每一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输入端用于接收上一级所述调节单元输出的中间时钟信号;最后一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输出端用于输出所述校正时钟信号;其余每一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输出端用于输出所述中间时钟信号;所述脉冲调节单元用于根据所述测试模式子信号调节所述中间时钟信号中高电平脉冲和低电平脉冲的宽度。In some embodiments, the regulating unit includes: a fourth inverter and at least one pulse regulating unit; the input end of the fourth inverter is connected to the input end of the pulse regulating unit, and they are used together as the input end of the regulating unit; the output end of the fourth inverter is connected to the output end of the pulse regulating unit, and they are used together as the output end of the regulating unit; the control end of the pulse regulating unit is connected to the test mode circuit, and is used to receive the corresponding test mode sub-signal; the fourth inverter and the input end of the pulse regulating unit in the first stage of the regulating unit are used to receive the divided clock signal; the fourth inverter and the input end of the pulse regulating unit in each of the remaining stages of the regulating unit are used to receive the intermediate clock signal output by the previous stage of the regulating unit; the output end of the fourth inverter and the pulse regulating unit in the last stage of the regulating unit is used to output the correction clock signal; the output end of the fourth inverter and the pulse regulating unit in each of the remaining stages of the regulating unit is used to output the intermediate clock signal; the pulse regulating unit is used to adjust the width of the high level pulse and the low level pulse in the intermediate clock signal according to the test mode sub-signal.

在一些实施例中,所述脉冲调节单元包括:第一开关晶体管,所述第一开关晶体管的源极连接第一电压端;所述第一开关晶体管的栅极连接所述第四反相器的输入端,用于接收所述中间时钟信号或者接收所述分频时钟信号;第二开关晶体管,所述第二开关晶体管的源极连接第二电压端;所述第二开关晶体管的栅极连接所述第四反相器的输入端,用于接收所述中间时钟信号或者接收所述分频时钟信号;上拉晶体管,所述上拉晶体管的源极连接所述第一开关晶体管的漏极;所述上拉晶体管的栅极用于接收对应的所述测试模式子信号;所述上拉晶体管的漏极连接所述第四反相器的输出端;下拉晶体管,所述下拉晶体管的源极连接所述第二开关晶体管的漏极;所述下拉晶体管的栅极用于接收对应的所述测试模式子信号;所述下拉晶体管的漏极连接所述第四反相器的输出端。 In some embodiments, the pulse adjustment unit includes: a first switching transistor, the source of which is connected to a first voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a second switching transistor, the source of which is connected to a second voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a pull-up transistor, the source of which is connected to a drain of the first switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; a drain of which is connected to the output terminal of the fourth inverter; a pull-down transistor, the source of which is connected to a drain of the second switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; and a drain of which is connected to the output terminal of the fourth inverter.

第二方面,本公开实施例提供了一种存储器,包括:存储单元阵列;外围电路,包括上述实施例中任一所述的控制电路。In a second aspect, an embodiment of the present disclosure provides a memory, comprising: a memory cell array; and a peripheral circuit, comprising the control circuit described in any one of the above embodiments.

在本公开实施例提供的控制电路中,重置信号生成电路用于根据至少一个控制信号,以及测试模式进入信号,输出测试模式重置信号。如此,通过调整控制信号的电平,重置信号生成电路可以输出与测试模式进入信号不同电平的测试模式重置信号。故测试模式电路可以根据测试模式重置信号重置测试模式信号,而不是直接根据测试模式进入信号重置测试模式信号,从而减少了延迟锁相环电路根据重置的测试模式信号,重新调节时钟信号占空比的情况,节省了调节时钟信号占空比所需要的时间。In the control circuit provided in the embodiment of the present disclosure, the reset signal generating circuit is used to output a test mode reset signal according to at least one control signal and a test mode entry signal. In this way, by adjusting the level of the control signal, the reset signal generating circuit can output a test mode reset signal of a different level from the test mode entry signal. Therefore, the test mode circuit can reset the test mode signal according to the test mode reset signal, rather than directly resetting the test mode signal according to the test mode entry signal, thereby reducing the situation where the delay locked loop circuit readjusts the clock signal duty cycle according to the reset test mode signal, saving the time required to adjust the clock signal duty cycle.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本公开实施例提供的控制电路的示意图一;FIG1 is a schematic diagram 1 of a control circuit provided in an embodiment of the present disclosure;

图2为本公开实施例提供的占空比校正子电路的示意图;FIG2 is a schematic diagram of a duty cycle correction subcircuit provided in an embodiment of the present disclosure;

图3为本公开实施例提供的控制电路的示意图二;FIG3 is a second schematic diagram of a control circuit provided in an embodiment of the present disclosure;

图4为本公开实施例提供的控制电路的示意图三;FIG4 is a third schematic diagram of a control circuit provided in an embodiment of the present disclosure;

图5为本公开实施例提供的控制电路中重置信号生成电路的示意图一;FIG5 is a schematic diagram 1 of a reset signal generating circuit in a control circuit provided in an embodiment of the present disclosure;

图6为本公开实施例提供的控制电路中重置信号生成电路的示意图二;FIG6 is a second schematic diagram of a reset signal generating circuit in a control circuit provided in an embodiment of the present disclosure;

图7为本公开实施例提供的控制电路中延迟锁相环电路的示意图;FIG7 is a schematic diagram of a delay locked loop circuit in a control circuit provided in an embodiment of the present disclosure;

图8为本公开实施例提供的存储器的示意图。FIG. 8 is a schematic diagram of a memory provided in an embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

为了便于理解本公开,下面将参照相关附图更详细地描述本公开的示例性实施方式。虽然附图中显示了本公开的示例性实施方式,然而应当理解,可以以各种形式实现本公开,而不应被这里阐述的具体实施方式所限制。相反,提供这些实施方式是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。In order to facilitate the understanding of the present disclosure, the exemplary embodiments of the present disclosure will be described in more detail below with reference to the relevant drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the specific embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

在下文的描述中,给出了大量具体的细节以便提供对本公开更为彻底的理解。然而,对于本领域技术人员而言显而易见的是,本公开可以无需一个或多个这些细节而得以实施。在一些实施例中,为了避免与本公开发生混淆,对于本领域公知的一些技术特征未进行描述;即这里可以不描述实际实施例的全部特征,不详细描述公知的功能和结构。In the following description, a large number of specific details are given to provide a more thorough understanding of the present disclosure. However, it is obvious to those skilled in the art that the present disclosure can be implemented without one or more of these details. In some embodiments, in order to avoid confusion with the present disclosure, some technical features known in the art are not described; that is, all features of the actual embodiment may not be described here, and well-known functions and structures may not be described in detail.

一般地,术语可以至少部分地从上下文中的使用来理解。例如,至少部分地取决于上下文,如本文中所用的术语“一个或多个”可以用于以单数意义描述任何特征、结构或特性,或者可以用于以复数意义描述特征、结构或特性的组合。类似地,诸如“一”或“所述”的术语同样可以被理解为传达单数用法或传达复数用法,这至少部分地取决于上下文。另外,属于“基于”可以被理解为不一定旨在传达排他的一组因素,并且可以替代地允许存在不一定明确地描述的附加因素,这同样至少部分地取决于上下文。Generally, terms can be understood at least in part from their use in context. For example, depending at least in part on the context, the term "one or more" as used herein can be used to describe any feature, structure, or characteristic in a singular sense, or can be used to describe a combination of features, structures, or characteristics in a plural sense. Similarly, terms such as "one" or "the" can also be understood to convey singular usage or to convey plural usage, depending at least in part on the context. In addition, the term "based on" can be understood to not necessarily be intended to convey an exclusive set of factors, and can alternatively allow for the presence of additional factors that are not necessarily explicitly described, which also depends at least in part on the context.

除非另有定义,本文所使用的术语的目的仅在于描述具体实施例并且不作为本公开的限制。在此使用时,单数形式的“一”、“一个”和“所述/该” 也意图包括复数形式,除非上下文清楚指出另外的方式。还应明白术语“组成”和/或“包括”,当在该说明书中使用时,确定所述特征、整数、步骤、操作、元件和/或部件的存在,但不排除一个或更多其它的特征、整数、步骤、操作、元件、部件和/或组的存在或添加。在此使用时,术语“和/或”包括相关所列项目的任何及所有组合。Unless otherwise defined, the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the singular forms "a", "an", and "the" are used herein. It is also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "consisting of" and/or "comprising", when used in this specification, identify the presence of the features, integers, steps, operations, elements and/or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groups. When used herein, the term "and/or" includes any and all combinations of the relevant listed items.

为了彻底理解本公开,将在下列的描述中提出详细的步骤以及详细的结构,以便阐释本公开的技术方案。本公开的较佳实施例详细描述如下,然而除了这些详细描述外,本公开还可以具有其他实施方式。In order to thoroughly understand the present disclosure, detailed steps and detailed structures will be presented in the following description to illustrate the technical solution of the present disclosure. The preferred embodiments of the present disclosure are described in detail below, but in addition to these detailed descriptions, the present disclosure may also have other implementations.

在一些实施例中,动态随机存取存储器利用延迟锁相环电路将时钟信号与数据选通信号(Data Strobe Signal,DQS)对齐。在第四代双倍数据率内存(Double Data Rate 4,DDR4)中,可以在系统时钟的上升沿和下降沿都进行数据传输,故需要使得时钟信号的占空比尽可能地接近50%,以优化数据窗口,且DDR4是通过两相位时钟信号采样数据。具体地,延迟锁相环电路会将时钟信号拆分为奇数时钟信号和偶数时钟信号,并分别对奇数时钟信号和偶数时钟信号的占空比进行调节,从而平衡奇数时钟信号与偶数时钟信号,以确保数据的一致性。可以理解的是,这里的奇数时钟信号和偶数时钟信号可以具有180度的相位差。此外,第五代双倍数据率内存(Double Data Rate 5,DDR5)和第六代双倍数据率内存(Double Data Rate 6,DDR6)都是通过四相位时钟信号采样数据,因此,每个相位的时钟信号都需要进行占空比调节。In some embodiments, the dynamic random access memory uses a delay locked loop circuit to align the clock signal with the data strobe signal (DQS). In the fourth generation double data rate memory (Double Data Rate 4, DDR4), data can be transmitted on both the rising and falling edges of the system clock, so it is necessary to make the duty cycle of the clock signal as close to 50% as possible to optimize the data window, and DDR4 samples data through a two-phase clock signal. Specifically, the delay locked loop circuit splits the clock signal into an odd clock signal and an even clock signal, and adjusts the duty cycle of the odd clock signal and the even clock signal respectively, thereby balancing the odd clock signal and the even clock signal to ensure data consistency. It is understandable that the odd clock signal and the even clock signal here can have a phase difference of 180 degrees. In addition, the fifth-generation double data rate memory (Double Data Rate 5, DDR5) and the sixth-generation double data rate memory (Double Data Rate 6, DDR6) both sample data through a four-phase clock signal. Therefore, the clock signal of each phase needs to be duty cycle adjusted.

在一些实施例中,如图1所示为应用于时钟占空比调节的控制电路100,具体包括:命令和地址解码器150,用于接收模式寄存器配置命令,并根据所述模式寄存器配置命令解码生成对应的模式寄存器的配置值;模式寄存器电路110,连接所述命令和地址解码器150,用于根据所述模式寄存器的配置值生成所述测试模式进入信号MR0_EN;测试模式电路130,连接模式寄存器电路110,测试模式电路130用于根据测试模式进入信号MR0_EN重置并输出多个测试模式信号TM;延迟锁相环电路140,连接测试模式电路130,延迟锁相环电路140用于根据测试模式信号TM,调节所述时钟信号CLK的占空比。In some embodiments, as shown in FIG. 1 , a control circuit 100 is provided for adjusting the clock duty cycle, specifically comprising: a command and address decoder 150, for receiving a mode register configuration command, and decoding and generating a corresponding mode register configuration value according to the mode register configuration command; a mode register circuit 110, connected to the command and address decoder 150, for generating the test mode entry signal MR0_EN according to the mode register configuration value; a test mode circuit 130, connected to the mode register circuit 110, the test mode circuit 130 is used to reset and output a plurality of test mode signals TM according to the test mode entry signal MR0_EN; and a delay locked loop circuit 140, connected to the test mode circuit 130, the delay locked loop circuit 140 is used to adjust the duty cycle of the clock signal CLK according to the test mode signal TM.

具体地,命令和地址解码器150可以接收存储器控制器发出模式寄存器配置命令,并对模式寄存器配置命令进行解码,以生成对应的模式寄存器配置值。示例性地,在DDR4中,模式寄存器配置命令可以为模式寄存器设置命令(Mode Register Setting,MRS),而在DDR5中,模式寄存器配置命令可以为模式寄存器写命令(Mode Register Write,MRW)。模式寄存器电路110用于定义存储器的各种功能对应的操作模式,模式寄存器电路110连接命令和地址解码器150,并根据模式寄存器配置值生成测试模式进入信号MR0_EN。示例性地,存储器控制器发出的模式寄存器配置命令经过命令和地址解码器150解码后,可以生成模式寄存器配置值,以将某个模式寄存器(例如MR0)中指定位设置为指定数值(例如将A7位设置为0或者1),具体数值也是由存储器控制器设置。此外,在测试中,也可以人工设定对应的数值,控制执 行相应的功能,例如人工设定MR0的A7位为1,即进入测试模式,此时测试模式电路130生成多个测试模式信号TM,并调整测试模式信号TM的参数,以调整时钟信号的占空比。在完成占空比调节之后,通过烧写熔丝电路,可以将测试模式信号的相关参数的数值固化在存储器中,不再改变。Specifically, the command and address decoder 150 can receive a mode register configuration command issued by the memory controller, and decode the mode register configuration command to generate a corresponding mode register configuration value. Exemplarily, in DDR4, the mode register configuration command can be a mode register setting command (Mode Register Setting, MRS), and in DDR5, the mode register configuration command can be a mode register write command (Mode Register Write, MRW). The mode register circuit 110 is used to define the operating modes corresponding to various functions of the memory. The mode register circuit 110 is connected to the command and address decoder 150, and generates a test mode entry signal MR0_EN according to the mode register configuration value. Exemplarily, after the mode register configuration command issued by the memory controller is decoded by the command and address decoder 150, a mode register configuration value can be generated to set a specified bit in a mode register (such as MR0) to a specified value (such as setting the A7 bit to 0 or 1). The specific value is also set by the memory controller. In addition, in the test, the corresponding value can also be set manually to control the execution. The corresponding functions are performed, for example, the A7 bit of MR0 is manually set to 1, that is, the test mode is entered. At this time, the test mode circuit 130 generates multiple test mode signals TM and adjusts the parameters of the test mode signal TM to adjust the duty cycle of the clock signal. After the duty cycle adjustment is completed, the values of the relevant parameters of the test mode signal can be fixed in the memory by burning the fuse circuit and will not be changed.

延迟锁相环电路中包括时钟分频电路和占空比校正电路。时钟分频电路用于根据时钟信号生成具有不同相位的多个分频时钟信号。而占空比校正电路则包括多个占空比校正子电路,每个占空比校正子电路用于根据测试模式信号,调节一个分频时钟信号的占空比。测试模式信号TM可以包括多个测试模式子信号TM<0>至TM<n>,其中n为正整数。如图2所示为延迟锁相环电路中的一种占空比校正子电路141,占空比校正子电路141中包括三级串联的调节单元142,每级调节单元142用于接收至少一个测试子模式信号,以逐级调节分频时钟信号CLK_F的占空比。在一些实施例中,占空比校正子电路还可以包括串联的多级调节单元,具体调节单元的级数是根据时钟信号的负载确定的,负载越大,占空比校正子电路中需要越多级数的调节单元,以增强驱动能力,故这里对于级数不做限制。此外,每一级调节单元接收的测试模式子信号的数量可以相同也可以不同,如图2中,第一级调节单元接收一个测试模式子信号TM<0>,第二级调节单元接收一个测试模式子信号TM<1>,而第三级调节单元则接收三个测试模式子信号TM<2>、TM<3>、TM<4>。The delay locked loop circuit includes a clock frequency division circuit and a duty cycle correction circuit. The clock frequency division circuit is used to generate a plurality of frequency division clock signals with different phases according to the clock signal. The duty cycle correction circuit includes a plurality of duty cycle correction subcircuits, each of which is used to adjust the duty cycle of a frequency division clock signal according to the test mode signal. The test mode signal TM may include a plurality of test mode sub-signals TM<0> to TM<n>, where n is a positive integer. As shown in FIG2 , a duty cycle correction subcircuit 141 in the delay locked loop circuit is shown, and the duty cycle correction subcircuit 141 includes three stages of adjustment units 142 connected in series, and each stage of adjustment unit 142 is used to receive at least one test sub-mode signal to adjust the duty cycle of the frequency division clock signal CLK_F step by step. In some embodiments, the duty cycle correction subcircuit may also include a plurality of stages of adjustment units connected in series, and the specific number of stages of the adjustment units is determined according to the load of the clock signal. The greater the load, the more stages of adjustment units are required in the duty cycle correction subcircuit to enhance the driving capability, so there is no restriction on the number of stages here. In addition, the number of test mode sub-signals received by each level of adjustment unit can be the same or different. As shown in FIG2 , the first level of adjustment unit receives one test mode sub-signal TM<0>, the second level of adjustment unit receives one test mode sub-signal TM<1>, and the third level of adjustment unit receives three test mode sub-signals TM<2>, TM<3>, and TM<4>.

具体地,每级调节单元142可以包括:反相器143和至少一个脉冲调节单元144。反相器143的输入端和脉冲调节单元144的输入端连接,以共同作为调节单元142的输入端,反相器143的输出端和脉冲调节单元144的输出端连接,以共同作为调节单元142的输出端;此外,脉冲调节单元144的控制端还连接所述测试模式电路,并用于接收对应的测试模式子信号。值得注意的是,第一级调节单元142中的反相器143和脉冲调节单元144的输入端用于接收分频时钟信号CLK_F,其余每一级调节单元142中的反相器143和脉冲调节单元144的输入端用于接收上一级调节单元142输出的中间时钟信号CLK_M。最后一级调节单元142中的反相器143和脉冲调节单元144的输出端用于输出最终的校正时钟信号CLK_C,其余每一级调节单元142中的反相器143和脉冲调节单元144的输出端用于输出中间时钟信号CLK_M。脉冲调节单元144用于根据测试模式子信号调节中间时钟信号CLK_M中高电平脉冲和低电平脉冲的宽度。如此,多级调节单元142可以逐级完成分频时钟信号CLK_F的占空比调节,以输出校正时钟信号CLK_C。Specifically, each level of the regulating unit 142 may include: an inverter 143 and at least one pulse regulating unit 144. The input end of the inverter 143 is connected to the input end of the pulse regulating unit 144 to serve as the input end of the regulating unit 142, and the output end of the inverter 143 is connected to the output end of the pulse regulating unit 144 to serve as the output end of the regulating unit 142; in addition, the control end of the pulse regulating unit 144 is also connected to the test mode circuit and is used to receive the corresponding test mode sub-signal. It is worth noting that the input end of the inverter 143 and the pulse regulating unit 144 in the first level regulating unit 142 is used to receive the divided clock signal CLK_F, and the input end of the inverter 143 and the pulse regulating unit 144 in each of the remaining level regulating units 142 is used to receive the intermediate clock signal CLK_M output by the previous level regulating unit 142. The output ends of the inverter 143 and the pulse adjustment unit 144 in the last stage of the adjustment unit 142 are used to output the final correction clock signal CLK_C, and the output ends of the inverter 143 and the pulse adjustment unit 144 in each of the remaining stages of the adjustment unit 142 are used to output the intermediate clock signal CLK_M. The pulse adjustment unit 144 is used to adjust the width of the high level pulse and the low level pulse in the intermediate clock signal CLK_M according to the test mode sub-signal. In this way, the multi-stage adjustment unit 142 can complete the duty cycle adjustment of the divided clock signal CLK_F step by step to output the correction clock signal CLK_C.

如图2所示,脉冲调节单元144包括上拉晶体管145、下拉晶体管146、第一开关晶体管147、第二开关晶体管148。其中,第一开关晶体管147的源极连接第一电压端,第一开关晶体管147的栅极连接反相器143的输入端,用于接收中间时钟信号CLK_M或者分频时钟信号;第二开关晶体管148的源极连接第二电压端;第二开关晶体管148的栅极连接反相器143的输入端,用于接收中间时钟信号CLK_M或者分频时钟信号;上拉晶体管145的源极连接第一开关晶体管147的漏极,上拉晶体管145的栅极用于接收对应的测试 模式子信号,上拉晶体管145的漏极连接反相器143的输出端;下拉晶体管146的源极连接第二开关晶体管148的漏极,下拉晶体管146的栅极用于接收对应的测试模式子信号,下拉晶体管146的漏极连接反相器143的输出端。这里第一开关晶体管147和上拉晶体管145可以是PMOS晶体管,第二开关晶体管148和下拉晶体管146可以是NMOS晶体管,第一电压端可以是电源电压端VDD,第二电压端可以是接地电压端VSS。由此,测试模式电路通过多个测试模式子信号TM<1>~TM<n>的组合,可以控制占空比校正子电路141中多个上拉晶体管145或者下拉晶体管146的导通或者截止,从而对分频时钟信号的占空比进行调节。示例性地,当测试模式信号TM<0>的电平为低时,占空比校正子电路141中对应的一个上拉晶体管145导通,对应的一个下拉晶体管146则截止,此时分频时钟信号的上升沿时间变小,分频时钟信号中高电平的脉冲宽度变大,从而使得占空比增大;当测试模式信号TM<0>的电平为高时,占空比校正子电路141中对应的一个上拉晶体管145截止,对应的一个下拉晶体管146则导通,此时分频时钟信号的下降沿时间变小,分频时钟信号中低电平的脉冲宽度变大,从而使得占空比减小。值得注意的是,由于每级调节单元142中都包括一个反相器143,故对于图2中的占空比校正子电路,在第一级和第三级调节单元中,上拉晶体管145导通用于调节分频时钟信号中低电平的脉冲宽度,下拉晶体管146导通用于调节分频时钟信号中高电平的脉冲宽度;而在第二级调节单元中,上拉晶体管145导通用于调节分频时钟信号中高电平的脉冲宽度,下拉晶体管146导通用于调节分频时钟信号中低电平的脉冲宽度。也就是说,在多个测试模式信号的电平相同的前提下,奇数级调节单元与偶数级调节单元对于分频时钟信号的调节作用是相反的。As shown in FIG2 , the pulse adjustment unit 144 includes a pull-up transistor 145, a pull-down transistor 146, a first switch transistor 147, and a second switch transistor 148. Among them, the source of the first switch transistor 147 is connected to the first voltage terminal, and the gate of the first switch transistor 147 is connected to the input terminal of the inverter 143, for receiving the intermediate clock signal CLK_M or the divided clock signal; the source of the second switch transistor 148 is connected to the second voltage terminal; the gate of the second switch transistor 148 is connected to the input terminal of the inverter 143, for receiving the intermediate clock signal CLK_M or the divided clock signal; the source of the pull-up transistor 145 is connected to the drain of the first switch transistor 147, and the gate of the pull-up transistor 145 is used to receive the corresponding test mode sub-signal, the drain of the pull-up transistor 145 is connected to the output end of the inverter 143; the source of the pull-down transistor 146 is connected to the drain of the second switch transistor 148, the gate of the pull-down transistor 146 is used to receive the corresponding test mode sub-signal, and the drain of the pull-down transistor 146 is connected to the output end of the inverter 143. Here, the first switch transistor 147 and the pull-up transistor 145 can be PMOS transistors, the second switch transistor 148 and the pull-down transistor 146 can be NMOS transistors, the first voltage terminal can be the power supply voltage terminal VDD, and the second voltage terminal can be the ground voltage terminal VSS. Therefore, the test mode circuit can control the conduction or cut-off of multiple pull-up transistors 145 or pull-down transistors 146 in the duty cycle correction sub-circuit 141 through the combination of multiple test mode sub-signals TM<1>~TM<n>, thereby adjusting the duty cycle of the divided clock signal. Exemplarily, when the level of the test mode signal TM<0> is low, a corresponding pull-up transistor 145 in the duty cycle correction subcircuit 141 is turned on, and a corresponding pull-down transistor 146 is turned off. At this time, the rising edge time of the divided clock signal becomes shorter, and the pulse width of the high level in the divided clock signal becomes longer, thereby increasing the duty cycle; when the level of the test mode signal TM<0> is high, a corresponding pull-up transistor 145 in the duty cycle correction subcircuit 141 is turned off, and a corresponding pull-down transistor 146 is turned on. At this time, the falling edge time of the divided clock signal becomes shorter, and the pulse width of the low level in the divided clock signal becomes longer, thereby reducing the duty cycle. It is worth noting that, since each level adjustment unit 142 includes an inverter 143, for the duty cycle correction subcircuit in FIG. 2, in the first and third level adjustment units, the pull-up transistor 145 is turned on to adjust the pulse width of the low level in the divided clock signal, and the pull-down transistor 146 is turned on to adjust the pulse width of the high level in the divided clock signal; and in the second level adjustment unit, the pull-up transistor 145 is turned on to adjust the pulse width of the high level in the divided clock signal, and the pull-down transistor 146 is turned on to adjust the pulse width of the low level in the divided clock signal. That is to say, under the premise that the levels of multiple test mode signals are the same, the odd-numbered adjustment units and the even-numbered adjustment units have opposite regulating effects on the divided clock signal.

值得注意的是,存储器中可以具有多种可编程电路模块,可编程电路模块中具有熔丝或者反熔丝单元,而占空比校正电路即为其中一种功能电路。在测试模式进入信号MR0_EN的电平为高的情况下,存储器中的所有测试模式信号都会被重置,然而,在时钟信号占空比校正过程中,我们并不希望作用于占空比校正电路的部分测试模式信号被重置,这是因为重置测试模式信号会造成占空比调节过程重新开始,从而增加占空比调节过程的时间。It is worth noting that the memory may have a variety of programmable circuit modules, the programmable circuit modules have fuses or anti-fuse units, and the duty cycle correction circuit is one of the functional circuits. When the level of the test mode entry signal MR0_EN is high, all test mode signals in the memory will be reset. However, during the clock signal duty cycle correction process, we do not want some test mode signals acting on the duty cycle correction circuit to be reset, because resetting the test mode signal will cause the duty cycle adjustment process to restart, thereby increasing the time of the duty cycle adjustment process.

可以理解的是,在占空比校正子电路141对分频时钟信号的占空比进行调节的过程中,且存储器中其他部分电路需要重置的情况下,模式寄存器电路110会输出电平为高的测试模式进入信号MR0_EN。这就使得延迟锁相环电路140对应的测试模式电路130输出的测试模式信号TM也被重置,即占空比校正子电路141中的各个晶体管被重置,导致占空比调节过程需要重新开始,重新确定每个测试模式信号TM的数值,增加了存储器中调节时钟信号占空比所需要的时间。It is understandable that, when the duty cycle correction subcircuit 141 adjusts the duty cycle of the divided clock signal, and other circuits in the memory need to be reset, the mode register circuit 110 will output a high level test mode entry signal MR0_EN. This causes the test mode signal TM output by the test mode circuit 130 corresponding to the delay locked loop circuit 140 to be reset, that is, each transistor in the duty cycle correction subcircuit 141 is reset, resulting in the duty cycle adjustment process needing to be restarted, and the value of each test mode signal TM is re-determined, which increases the time required for adjusting the duty cycle of the clock signal in the memory.

如图3所示,本公开实施例提供了一种控制电路200,包括:重置信号生成电路220,用于接收控制信号TMF_MR0和测试模式进入信号MR0_EN,并根据所述控制信号TMF_MR0和所述测试模式进入信号MR0_EN,生成并 输出测试模式重置信号TMF_MR0_RESET_OUT;测试模式电路230,连接所述重置信号生成电路220,所述测试模式电路230用于根据所述测试模式重置信号TMF_MR0_RESET_OUT重置并输出测试模式信号TM;其中,所述测试模式信号TM指示时钟信号CLK的占空比调节。As shown in FIG3 , the present disclosure provides a control circuit 200, including: a reset signal generating circuit 220, configured to receive a control signal TMF_MR0 and a test mode entry signal MR0_EN, and to generate and reset a reset signal according to the control signal TMF_MR0 and the test mode entry signal MR0_EN. Output test mode reset signal TMF_MR0_RESET_OUT; test mode circuit 230, connected to the reset signal generating circuit 220, the test mode circuit 230 is used to reset and output the test mode signal TM according to the test mode reset signal TMF_MR0_RESET_OUT; wherein the test mode signal TM indicates the duty cycle adjustment of the clock signal CLK.

在一些实施例中,如图4所示,所述控制电路200还包括:命令和地址解码器270,用于接收模式寄存器配置命令,并根据所述模式寄存器配置命令解码生成对应的模式寄存器的配置值;模式寄存器电路210,连接所述命令和地址解码器270,用于根据所述模式寄存器的配置值生成所述测试模式进入信号;延迟锁相环电路240,连接所述测试模式电路230,用于根据所述测试模式信号TM,调节所述时钟信号CLK的占空比。In some embodiments, as shown in Figure 4, the control circuit 200 also includes: a command and address decoder 270, which is used to receive a mode register configuration command and generate a corresponding mode register configuration value according to the mode register configuration command decoding; a mode register circuit 210, connected to the command and address decoder 270, and used to generate the test mode entry signal according to the configuration value of the mode register; a delay locked loop circuit 240, connected to the test mode circuit 230, and used to adjust the duty cycle of the clock signal CLK according to the test mode signal TM.

在本公开实施例中,命令和地址解码器270可以接收存储器控制器发出模式寄存器配置命令,并对模式寄存器配置命令进行解码,以生成对应的模式寄存器配置值。模式寄存器210可以用于定义存储器的各种功能对应的操作模式,模式寄存器电路210连接命令和地址解码器270,并根据模式寄存器配置值生成测试模式进入信号MR0_EN。测试模式进入信号MR0_EN可以用于重置测试模式电路230发出的测试模式信号TM。可以理解的是,模式寄存器210还可以输出除测试模式进入信号MR0_EN以外的多种信号,以满足配置存储器不同操作模式的需求。In the embodiment of the present disclosure, the command and address decoder 270 can receive the mode register configuration command issued by the memory controller, and decode the mode register configuration command to generate a corresponding mode register configuration value. The mode register 210 can be used to define the operation mode corresponding to various functions of the memory. The mode register circuit 210 is connected to the command and address decoder 270, and generates a test mode entry signal MR0_EN according to the mode register configuration value. The test mode entry signal MR0_EN can be used to reset the test mode signal TM issued by the test mode circuit 230. It can be understood that the mode register 210 can also output a variety of signals other than the test mode entry signal MR0_EN to meet the needs of configuring different operation modes of the memory.

重置信号生成电路220连接模式寄存器210,且重置信号生成电路220可以接收至少一个控制信号TMF_MR0。重置信号生成电路220可以根据控制信号TMF_MR0和测试模式进入信号MR0_EN的各种电平组合,输出测试模式重置信号TMF_MR0_RESET_OUT。示例性地,控制信号TMF_MR0可以用于屏蔽测试模式进入信号MR0_EN,例如,在控制信号TMF_MR0的电平为高的情况下,指示当前测试模式进入信号MR0_EN并非指示执行时钟信号占空比调整,重置信号生成电路220可以根据高电平的控制信号TMF_MR0屏蔽测试模式进入信号MR0_EN,输出电平始终为低的测试模式重置信号TMF_MR0_RESET_OUT;而在控制信号TMF_MR0的电平为低的情况下,指示当前测试模式进入信号MR0_EN指示执行时钟信号占空比调整,重置信号生成电路220不屏蔽测试模式进入信号MR0_EN,输出的测试模式重置信号TMF_MR0_RESET_OUT的电平与测试模式进入信号MR0_EN的电平相同。在一些实施例中,控制信号TMF_MR0可以由存储器中的控制逻辑产生。The reset signal generating circuit 220 is connected to the mode register 210 and can receive at least one control signal TMF_MR0. The reset signal generating circuit 220 can output a test mode reset signal TMF_MR0_RESET_OUT according to various level combinations of the control signal TMF_MR0 and the test mode entry signal MR0_EN. Exemplarily, the control signal TMF_MR0 can be used to shield the test mode entry signal MR0_EN. For example, when the level of the control signal TMF_MR0 is high, indicating that the current test mode entry signal MR0_EN does not indicate the execution of the clock signal duty cycle adjustment, the reset signal generation circuit 220 can shield the test mode entry signal MR0_EN according to the high-level control signal TMF_MR0, and output the test mode reset signal TMF_MR0_RESET_OUT whose level is always low; and when the level of the control signal TMF_MR0 is low, indicating that the current test mode entry signal MR0_EN indicates the execution of the clock signal duty cycle adjustment, the reset signal generation circuit 220 does not shield the test mode entry signal MR0_EN, and the level of the output test mode reset signal TMF_MR0_RESET_OUT is the same as the level of the test mode entry signal MR0_EN. In some embodiments, the control signal TMF_MR0 can be generated by the control logic in the memory.

可以理解的是,由于模式寄存电路210与测试模式电路230之间设置有重置信号生成电路220,故在测试模式进入信号MR0_EN的电平为高,而控制信号TMF_MR0的电平为高的情况下,测试模式进入信号MR0_EN被屏蔽,测试模式重置信号TMF_MR0_RESET_OUT的电平可以为低,测试模式电路230发出的测试模式信号TM可以不被重置,即延迟锁相环电路240中的占空比校正电路可以继续使用之前的多个测试模式信号TM对应的设定,无需重新开始占空比调节过程。It can be understood that since a reset signal generating circuit 220 is provided between the mode register circuit 210 and the test mode circuit 230, when the level of the test mode entry signal MR0_EN is high and the level of the control signal TMF_MR0 is high, the test mode entry signal MR0_EN is shielded, the level of the test mode reset signal TMF_MR0_RESET_OUT can be low, and the test mode signal TM issued by the test mode circuit 230 may not be reset, that is, the duty cycle correction circuit in the delay locked loop circuit 240 may continue to use the settings corresponding to the previous multiple test mode signals TM without restarting the duty cycle adjustment process.

值得注意的是,上述重置信号生成电路220可以仅连接于测试模式电路 230与模式寄存器210之间,也就是说,模式寄存器210发出的测试模式进入信号MR0_EN仍可以直接输出至除测试模式电路230以外的其他电路,从而使得测试模式进入信号MR0_EN重置存储器中除延迟锁相环电路240以外的其他电路的功能不受影响。It is worth noting that the reset signal generating circuit 220 can be connected only to the test mode circuit 230 and the mode register 210, that is, the test mode entry signal MR0_EN issued by the mode register 210 can still be directly output to other circuits except the test mode circuit 230, so that the functions of other circuits in the memory except the delay locked loop circuit 240 reset by the test mode entry signal MR0_EN are not affected.

如此,通过调整控制信号TMF_MR0的电平,重置信号生成电路220可以输出与测试模式进入信号MR0_EN不同电平的测试模式重置信号TMF_MR0_RESET_OUT。故测试模式电路230可以根据生成的测试模式重置信号TMF_MR0_RESET_OUT重置测试模式信号TM,而不是直接根据测试模式进入信号MR0_EN重置测试模式信号TM,即在测试模式进入信号MR0_EN指示执行存储器的其他功能而不是指示启动时钟信号占空比调节时(调整控制信号TMF_MR0的逻辑电平值表示MR0_EN为有效电平时指示执行的功能是否为时钟信号占空比调节),减少了延迟锁相环电路240根据重置的测试模式信号TM,重新调节时钟信号CLK占空比的情况,缩短了调节时钟信号CLK占空比所需要的时间。In this way, by adjusting the level of the control signal TMF_MR0, the reset signal generating circuit 220 can output the test mode reset signal TMF_MR0_RESET_OUT of a different level from the test mode entry signal MR0_EN. Therefore, the test mode circuit 230 can reset the test mode signal TM according to the generated test mode reset signal TMF_MR0_RESET_OUT, rather than directly resetting the test mode signal TM according to the test mode entry signal MR0_EN, that is, when the test mode entry signal MR0_EN indicates to execute other functions of the memory instead of indicating to start the clock signal duty cycle adjustment (the logic level value of the adjustment control signal TMF_MR0 indicates whether the executed function is the clock signal duty cycle adjustment when MR0_EN is at a valid level), the delay locked loop circuit 240 is reduced to readjust the clock signal CLK duty cycle according to the reset test mode signal TM, thereby shortening the time required to adjust the clock signal CLK duty cycle.

在一些实施例中,如图5所示,所述控制信号包括第一控制信号TMF_MR0_RESET_DIS和第二控制信号TMF_MR0_CONTROL_DIS;所述重置信号生成电路220包括用于接收所述第一控制信号TMF_MR0_RESET_DIS的第一控制电路250,和用于接收所述第二控制信号TMF_MR0_CONTROL_DIS的第二控制电路260;所述第一控制电路250,还用于接收所述测试模式进入信号MR0_EN,并根据所述测试模式进入信号MR0_EN,输出第一输入信号MR0_EN_IN1,以及根据所述第一控制信号TMF_MR0_RESET_DIS和所述测试模式进入信号MR0_EN,输出第一内部信号TMF_MR0_INT1;所述第二控制电路260,连接所述第一控制电路250,用于接收所述第一输入信号MR0_EN_IN1和所述第一内部信号TMF_MR0_INT1,并根据所述第二控制信号TMF_MR0_CONTROL_DIS、所述第一内部信号TMF_MR0_INT1和所述第一输入信号MR0_EN_IN1,输出所述测试模式重置信号TMF_MR0_RESET_OUT。In some embodiments, as shown in FIG. 5 , the control signal includes a first control signal TMF_MR0_RESET_DIS and a second control signal TMF_MR0_CONTROL_DIS; the reset signal generating circuit 220 includes a first control circuit 250 for receiving the first control signal TMF_MR0_RESET_DIS, and a second control circuit 260 for receiving the second control signal TMF_MR0_CONTROL_DIS; the first control circuit 250 is further used to receive the test mode entry signal MR0_EN, and output a first input signal MR0_EN_IN according to the test mode entry signal MR0_EN. 1, and outputs the first internal signal TMF_MR0_INT1 according to the first control signal TMF_MR0_RESET_DIS and the test mode entry signal MR0_EN; the second control circuit 260 is connected to the first control circuit 250, for receiving the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and outputs the test mode reset signal TMF_MR0_RESET_OUT according to the second control signal TMF_MR0_CONTROL_DIS, the first internal signal TMF_MR0_INT1 and the first input signal MR0_EN_IN1.

在本公开实施例中,第一控制信号TMF_MR0_RESET_DIS和第二控制信号TMF_MR0_CONTROL_DIS可以基于外部命令或者测试模式由存储器中的控制逻辑产生,并分别输出至第一控制电路250和第二控制电路260。第一控制信号TMF_MR0_RESET_DIS用于指示测试模式进入信号MR0_EN是否生效,以进一步地确定测试模式信号TM是否需要重置;而第二控制信号TMF_MR0_CONTROL_DIS则用于指示第一控制信号TMF_MR0_RESET_DIS是否生效。In the embodiment of the present disclosure, the first control signal TMF_MR0_RESET_DIS and the second control signal TMF_MR0_CONTROL_DIS can be generated by the control logic in the memory based on the external command or the test mode, and are respectively output to the first control circuit 250 and the second control circuit 260. The first control signal TMF_MR0_RESET_DIS is used to indicate whether the test mode entry signal MR0_EN is valid, so as to further determine whether the test mode signal TM needs to be reset; and the second control signal TMF_MR0_CONTROL_DIS is used to indicate whether the first control signal TMF_MR0_RESET_DIS is valid.

第一控制电路250可以根据第一控制信号TMF_MR0_RESET_DIS和测试模式进入信号MR0_EN输出第一内部信号TMF_MR0_INT1。示例性地,第一控制信号TMF_MR0_RESET_DIS可以用于屏蔽测试模式进入信号MR0_EN,也就是说,在第一控制信号TMF_MR0_RESET_DIS的电平为高的情况下,无论测试模式进入信号MR0_EN的电平为高还是为低,第一控制电 路250均输出电平为低的第一内部信号TMF_MR0_INT1。第一控制电路250还可以根据测试模式进入信号MR0_EN输出第一输入信号MR0_EN_IN1,这里的第一输入信号MR0_EN_IN1的电平可以与测试模式进入信号MR0_EN的电平一致。The first control circuit 250 outputs the first internal signal TMF_MR0_INT1 according to the first control signal TMF_MR0_RESET_DIS and the test mode entry signal MR0_EN. Exemplarily, the first control signal TMF_MR0_RESET_DIS can be used to shield the test mode entry signal MR0_EN, that is, when the level of the first control signal TMF_MR0_RESET_DIS is high, no matter whether the level of the test mode entry signal MR0_EN is high or low, the first control circuit 250 outputs the first internal signal TMF_MR0_INT1 according to the first control signal TMF_MR0_RESET_DIS and the test mode entry signal MR0_EN. The first control circuit 250 outputs the first internal signal TMF_MR0_INT1 with a low level. The first control circuit 250 can also output the first input signal MR0_EN_IN1 according to the test mode entry signal MR0_EN, where the level of the first input signal MR0_EN_IN1 can be consistent with the level of the test mode entry signal MR0_EN.

第二控制电路260可以根据第二控制信号TMF_MR0_CONTROL_DIS、第一内部信号TMF_MR0_INT1和第一输入信号MR0_EN_IN1,输出测试模式重置信号TMF_MR0_RESET_OUT。示例性地,第二控制信号TMF_MR0_CONTROL_DIS可以用于屏蔽第一控制信号TMF_MR0_RESET_DIS,也就是说,在第二控制信号TMF_MR0_CONTROL_DIS的电平为高的情况下,无论第一控制信号TMF_MR0_RESET_DIS的电平为高还是为低,第二控制电路260均输出与第一输入信号MR0_EN_IN1电平相同的测试模式重置信号TMF_MR0_RESET_OUT,即测试模式重置信号TMF_MR0_RESET_OUT的电平与测试模式进入信号MR0_EN的电平一致;而在第二控制信号TMF_MR0_CONTROL_DIS的电平为低的情况下,第二控制电路输出与第一控制信号TMF_MR0_RESET_DIS电平值相关的测试模式重置信号TMF_MR0_RESET_OUT。The second control circuit 260 may output a test mode reset signal TMF_MR0_RESET_OUT according to the second control signal TMF_MR0_CONTROL_DIS, the first internal signal TMF_MR0_INT1, and the first input signal MR0_EN_IN1. Exemplarily, the second control signal TMF_MR0_CONTROL_DIS can be used to shield the first control signal TMF_MR0_RESET_DIS, that is, when the level of the second control signal TMF_MR0_CONTROL_DIS is high, regardless of whether the level of the first control signal TMF_MR0_RESET_DIS is high or low, the second control circuit 260 outputs a test mode reset signal TMF_MR0_RESET_OUT that is the same as the level of the first input signal MR0_EN_IN1, that is, the level of the test mode reset signal TMF_MR0_RESET_OUT is consistent with the level of the test mode entry signal MR0_EN; and when the level of the second control signal TMF_MR0_CONTROL_DIS is low, the second control circuit outputs a test mode reset signal TMF_MR0_RESET_OUT that is related to the level value of the first control signal TMF_MR0_RESET_DIS.

如此,通过设置第一控制电路250和第二控制电路260,以及配置第一控制信号TMF_MR0_RESET_DIS和第二控制信号TMF_MR0_CONTROL_DIS的电平组合,可以在测试模式进入信号MR0_EN的电平为高的情况下,使得输出至测试模式电路的测试模式重置信号TMF_MR0_RESET_OUT的电平为低。也就是说,当前测试模式进入信号MR0_EN并非指示执行时钟信号占空比调节,故在测试模式进入信号MR0_EN指示执行存储器的其他功能而不是指示启动时钟信号占空比调节的情况下,多个测试模式信号并不会被重置,延迟锁相环电路中的占空比校正电路仍可以继续使用之前的多个测试模式信号对应的设定,无需重新开始占空比调节过程,避免了调节未完成时参数重置带来的重复工作,进而缩短了调节时钟信号占空比所需要的时间。In this way, by setting the first control circuit 250 and the second control circuit 260, and configuring the level combination of the first control signal TMF_MR0_RESET_DIS and the second control signal TMF_MR0_CONTROL_DIS, the level of the test mode reset signal TMF_MR0_RESET_OUT output to the test mode circuit can be low when the level of the test mode entry signal MR0_EN is high. In other words, the current test mode entry signal MR0_EN does not indicate the execution of the clock signal duty cycle adjustment, so when the test mode entry signal MR0_EN indicates the execution of other functions of the memory instead of indicating the start of the clock signal duty cycle adjustment, multiple test mode signals will not be reset, and the duty cycle correction circuit in the delay locked loop circuit can continue to use the settings corresponding to the previous multiple test mode signals without restarting the duty cycle adjustment process, thereby avoiding repeated work caused by resetting the parameters when the adjustment is not completed, thereby shortening the time required to adjust the clock signal duty cycle.

在一些实施例中,在所述第一控制信号的电平为第一电平的情况下,所述第一控制电路用于输出处于第二电平的所述第一内部信号;在所述第一控制信号的电平为所述第二电平的情况下,所述第一控制电路用于输出与所述测试模式进入信号的电平相同的所述第一内部信号,所述第一控制电路还用于输出与所述测试模式进入信号的电平相同的所述第一输入信号。值得注意的是,这里及下文中,第一电平可以为逻辑高电平,即“1”,第二电平可以为逻辑低电平,即“0”;在其他一些实施例中,第一电平可以为逻辑低电平,第二电平可以为逻辑高电平。In some embodiments, when the level of the first control signal is the first level, the first control circuit is used to output the first internal signal at the second level; when the level of the first control signal is the second level, the first control circuit is used to output the first internal signal having the same level as the test mode entry signal, and the first control circuit is also used to output the first input signal having the same level as the test mode entry signal. It is worth noting that here and below, the first level may be a logic high level, i.e., "1", and the second level may be a logic low level, i.e., "0"; in some other embodiments, the first level may be a logic low level, and the second level may be a logic high level.

在一些实施例中,如图6所示,所述第一控制电路250包括:第一输入单元251,用于接收所述测试模式进入信号MR0_EN,并根据所述测试模式进入信号MR0_EN,生成并输出与所述测试模式进入信号电平相同的所述第一输入信号MR0_EN_IN1;第二输入单元252,用于接收所述第一控制信号 TMF_MR0_RESET_DIS,并根据所述第一控制信号TMF_MR0_RESET_DIS,生成并输出与所述第一控制信号电平相反的第二输入信号TMF_MR0_RESET_IN2;第一运算单元253,连接所述第一输入单元251和所述第二输入单元252,用于接收所述第一输入信号和所述第二输入信号,并根据所述第一输入信号MR0_EN_IN1和所述第二输入信号TMF_MR0_RESET_IN2,生成并输出所述第一内部信号TMF_MR0_INT1。In some embodiments, as shown in FIG. 6 , the first control circuit 250 includes: a first input unit 251 for receiving the test mode entry signal MR0_EN, and generating and outputting the first input signal MR0_EN_IN1 having the same level as the test mode entry signal according to the test mode entry signal MR0_EN; a second input unit 252 for receiving the first control signal TMF_MR0_RESET_DIS, and according to the first control signal TMF_MR0_RESET_DIS, generates and outputs a second input signal TMF_MR0_RESET_IN2 with a level opposite to that of the first control signal; a first operation unit 253, connected to the first input unit 251 and the second input unit 252, for receiving the first input signal and the second input signal, and generates and outputs the first internal signal TMF_MR0_INT1 according to the first input signal MR0_EN_IN1 and the second input signal TMF_MR0_RESET_IN2.

在本公开实施例中,第一控制电路250包括第一输入单元251、第二输入单元252和第一运算单元253。第一输入单元251的输入端连接模式寄存器,第二输入单元252的输入端用于接收第一控制信号TMF_MR0_RESET_DIS,第一运算单元253的输入端连接第一输入单元251和第二输入单元252的输出端,用于接收第一输入信号和第二输入信号。In the embodiment of the present disclosure, the first control circuit 250 includes a first input unit 251, a second input unit 252 and a first operation unit 253. The input end of the first input unit 251 is connected to the mode register, the input end of the second input unit 252 is used to receive the first control signal TMF_MR0_RESET_DIS, and the input end of the first operation unit 253 is connected to the output ends of the first input unit 251 and the second input unit 252, and is used to receive the first input signal and the second input signal.

第一输入单元251可以根据接收到的测试模式进入信号MR0_EN,输出第一输入信号MR0_EN_IN1,第一输入单元251可以用于信号放大、信号整形以及增强信号的驱动能力。示例性地,第一输入单元251中可以包括至少一个缓冲器(Buffer),这里的第一输入信号MR0_EN_IN1的电平则可以与测试模式进入信号MR0_EN的电平相同。The first input unit 251 can output the first input signal MR0_EN_IN1 according to the received test mode entry signal MR0_EN, and the first input unit 251 can be used for signal amplification, signal shaping, and enhancing the driving capability of the signal. Exemplarily, the first input unit 251 may include at least one buffer, and the level of the first input signal MR0_EN_IN1 here may be the same as the level of the test mode entry signal MR0_EN.

第二输入单元252可以根据接收到的第一控制信号TMF_MR0_RESET_DIS,输出第二输入信号TMF_MR0_RESET_IN2,第二输入单元252可以起到信号整形、信号反转等作用。示例性地,第二输入单元252中可以包括奇数个串联的反相器,这里的第二输入信号TMF_MR0_RESET_IN2的电平则可以与第一控制信号TMF_MR0_RESET_DIS的电平相反。The second input unit 252 can output the second input signal TMF_MR0_RESET_IN2 according to the received first control signal TMF_MR0_RESET_DIS, and the second input unit 252 can play the role of signal shaping, signal inversion, etc. Exemplarily, the second input unit 252 may include an odd number of inverters connected in series, and the level of the second input signal TMF_MR0_RESET_IN2 here may be opposite to the level of the first control signal TMF_MR0_RESET_DIS.

第一运算单元253可以根据接收到的第一输入信号MR0_EN_IN1和第二输入信号TMF_MR0_RESET_IN2,输出第一内部信号TMF_MR0_INT1。示例性地,第一运算单元253可以包括串联的与非门和反相器,其中与非门的两个输入端用于接收第一输入信号MR0_EN_IN1和第二输入信号TMF_MR0_RESET_IN2,反相器的输出端则用于输出第一内部信号TMF_MR0_INT1。The first operation unit 253 can output the first internal signal TMF_MR0_INT1 according to the received first input signal MR0_EN_IN1 and the second input signal TMF_MR0_RESET_IN2. Exemplarily, the first operation unit 253 may include a NAND gate and an inverter connected in series, wherein the two input ends of the NAND gate are used to receive the first input signal MR0_EN_IN1 and the second input signal TMF_MR0_RESET_IN2, and the output end of the inverter is used to output the first internal signal TMF_MR0_INT1.

具体地,第一控制电路250中各信号的真值表如表1所示,其中,“0”代表逻辑低电平,“1”代表逻辑高电平。
Specifically, the truth table of each signal in the first control circuit 250 is shown in Table 1, where "0" represents a logic low level and "1" represents a logic high level.

表1Table 1

如此,在第一控制信号TMF_MR0_RESET_DIS为高电平的情况下,第二输入信号TMF_MR0_RESET_IN2为低电平,故不论测试模式进入信号MR0_EN为高电平还是低电平,第一运算单元253输出的第一内部信号 TMF_MR0_INT1为低电平;只有在第一控制信号TMF_MR0_RESET_DIS为低电平的情况下,且第二输入信号TMF_MR0_RESET_IN2为高电平,此时第一运算单元253输出的第一内部信号TMF_MR0_INT1的电平与测试模式进入信号MR0_EN的电平相同。Thus, when the first control signal TMF_MR0_RESET_DIS is at a high level, the second input signal TMF_MR0_RESET_IN2 is at a low level. Therefore, no matter whether the test mode entry signal MR0_EN is at a high level or a low level, the first internal signal output by the first operation unit 253 is TMF_MR0_INT1 is low level; only when the first control signal TMF_MR0_RESET_DIS is low level and the second input signal TMF_MR0_RESET_IN2 is high level, the level of the first internal signal TMF_MR0_INT1 output by the first operation unit 253 is the same as the level of the test mode entry signal MR0_EN.

在一些实施例中,如图6所示,所述第一输入单元251包括缓冲器254,所述缓冲器254的输入端用于接收所述测试模式进入信号MR0_EN,所述缓冲器254的输出端用于输出所述第一输入信号MR0_EN_IN1;所述第二输入单元252包括第二反相器255,所述第二反相器255的输入端用于接收所述第一控制信号TMF_MR0_RESET_DIS,所述第二反相器255的输出端用于输出所述第二输入信号TMF_MR0_RESET_IN2。In some embodiments, as shown in Figure 6, the first input unit 251 includes a buffer 254, the input end of the buffer 254 is used to receive the test mode entry signal MR0_EN, and the output end of the buffer 254 is used to output the first input signal MR0_EN_IN1; the second input unit 252 includes a second inverter 255, the input end of the second inverter 255 is used to receive the first control signal TMF_MR0_RESET_DIS, and the output end of the second inverter 255 is used to output the second input signal TMF_MR0_RESET_IN2.

在一些实施例中,所述缓冲器254包括:偶数个级联的反相器。具体地,如图6所示,可以为串联的两个反相器。In some embodiments, the buffer 254 includes: an even number of cascaded inverters. Specifically, as shown in FIG6 , the buffer 254 may be two inverters connected in series.

在一些实施例中,如图6所示,所述第一运算单元253包括:与非门258,所述与非门258的输入端用于接收所述第一输入信号和所述第二输入信号;第一反相器259,所述第一反相器259的输入端连接所述与非门258的输出端;所述第一反相器259的输出端用于输出所述第一内部信号。In some embodiments, as shown in FIG6 , the first operation unit 253 includes: a NAND gate 258, the input end of the NAND gate 258 is used to receive the first input signal and the second input signal; a first inverter 259, the input end of the first inverter 259 is connected to the output end of the NAND gate 258; the output end of the first inverter 259 is used to output the first internal signal.

在一些实施例中,如图6所示,所述第二控制电路260包括:第二运算单元261,连接所述第一输入单元251和所述第一运算单元253,用于接收所述第一输入信号MR0_EN_IN1和所述第一内部信号TMF_MR0_INT1,并响应于接收到的所述第二控制信号TMF_MR0_CONTROL_DIS,根据所述第一输入信号MR0_EN_IN1和所述第一内部信号TMF_MR0_INT1,生成并输出所述测试模式重置信号TMF_MR0_RESET_OUT;在所述第二控制信号TMF_MR0_CONTROL_DIS的电平为所述第一电平的情况下,所述第二控制电路260用于输出与所述第一输入信号MR0_EN_IN1的电平相同的所述测试模式重置信号TMF_MR0_RESET_OUT;在所述第二控制信号TMF_MR0_CONTROL_DIS的电平为所述第二电平的情况下,所述第二控制电路260用于输出与所述第一内部信号TMF_MR0_INT1的电平相同的所述测试模式重置信号TMF_MR0_RESET_OUT。In some embodiments, as shown in FIG. 6 , the second control circuit 260 includes: a second operation unit 261, connected to the first input unit 251 and the first operation unit 253, for receiving the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and in response to the received second control signal TMF_MR0_CONTROL_DIS, generating and outputting the test mode reset signal TMF_MR0_RESET_OUT according to the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1; When the level of the second control signal TMF_MR0_CONTROL_DIS is the first level, the second control circuit 260 is used to output the test mode reset signal TMF_MR0_RESET_OUT which is the same as the level of the first input signal MR0_EN_IN1; when the level of the second control signal TMF_MR0_CONTROL_DIS is the second level, the second control circuit 260 is used to output the test mode reset signal TMF_MR0_RESET_OUT which is the same as the level of the first internal signal TMF_MR0_INT1.

在本公开实施例中,第二控制电路260可以包括第二运算单元261,第二运算单元261的两个输入端分别连接第一输入单元251和第一运算单元253的输出端,第二运算单元261的输出端则可以连接测试模式电路。第二运算单元261的两个输入端分别用于接收第一输入信号MR0_EN_IN1和第一内部信号TMF_MR0_INT1,第二运算单元261的输出端用于输出测试模式重置信号TMF_MR0_RESET_OUT。In the embodiment of the present disclosure, the second control circuit 260 may include a second operation unit 261, two input ends of the second operation unit 261 are respectively connected to the output ends of the first input unit 251 and the first operation unit 253, and the output end of the second operation unit 261 may be connected to the test mode circuit. The two input ends of the second operation unit 261 are respectively used to receive the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and the output end of the second operation unit 261 is used to output the test mode reset signal TMF_MR0_RESET_OUT.

第二运算单元261可以根据第二控制信号TMF_MR0_CONTROL_DIS的电平,选择输出与第一内部信号TMF_MR0_INT1或者第一输入信号MR0_EN_IN1电平相同的测试模式重置信号TMF_MR0_RESET_OUT。也就是说,第二运算单元261可以通过第二控制信号TMF_MR0_CONTROL_DIS,屏蔽第一控制信号TMF_MR0_RESET_DIS。 The second operation unit 261 can select to output the test mode reset signal TMF_MR0_RESET_OUT having the same level as the first internal signal TMF_MR0_INT1 or the first input signal MR0_EN_IN1 according to the level of the second control signal TMF_MR0_CONTROL_DIS. That is, the second operation unit 261 can shield the first control signal TMF_MR0_RESET_DIS through the second control signal TMF_MR0_CONTROL_DIS.

在第二控制信号TMF_MR0_CONTROL_DIS的电平为高的情况下,第二运算单元261忽略第一内部信号TMF_MR0_INT1,即无论第一控制信号TMF_MR0_RESET_DIS的电平为高还是为低,第二运算单元261均输出与第一输入信号MR0_EN_IN1电平相同的测试模式重置信号TMF_MR0_RESET_OUT,此时测试模式重置信号TMF_MR0_RESET_OUT的电平与测试模式进入信号MR0_EN的电平一致,即当前测试模式进入信号MR0_EN指示执行时钟信号占空比调节。When the level of the second control signal TMF_MR0_CONTROL_DIS is high, the second operation unit 261 ignores the first internal signal TMF_MR0_INT1, that is, no matter whether the level of the first control signal TMF_MR0_RESET_DIS is high or low, the second operation unit 261 outputs the test mode reset signal TMF_MR0_RESET_OUT which is the same as the level of the first input signal MR0_EN_IN1. At this time, the level of the test mode reset signal TMF_MR0_RESET_OUT is consistent with the level of the test mode entry signal MR0_EN, that is, the current test mode entry signal MR0_EN indicates to execute the clock signal duty cycle adjustment.

在第二控制信号TMF_MR0_CONTROL_DIS的电平为低的情况下,第二运算单元261忽略第一输入信号MR0_EN_IN1,并输出与第一内部信号TMF_MR0_INT1电平相同的测试模式重置信号TMF_MR0_RESET_OUT。In the case where the level of the second control signal TMF_MR0_CONTROL_DIS is low, the second operation unit 261 ignores the first input signal MR0_EN_IN1 and outputs the test mode reset signal TMF_MR0_RESET_OUT having the same level as the first internal signal TMF_MR0_INT1.

在一些实施例中,如图6所示,所述第二运算单元261包括:数据选择器262,所述数据选择器262的输入端用于接收所述第一输入信号MR0_EN_IN1和所述第一内部信号TMF_MR0_INT1,所述数据选择器262的控制端用于接收所述第二控制信号TMF_MR0_CONTROL_DIS;其中,在所述第二控制信号TMF_MR0_CONTROL_DIS的电平为所述第二电平的情况下,所述数据选择器262用于输出与所述第一内部信号TMF_MR0_INT1电平相反的第二内部信号TMF_MR0_INT2;在所述第二控制信号TMF_MR0_CONTROL_DIS的电平为所述第一电平的情况下,所述数据选择器262用于输出与所述第一输入信号MR0_EN_IN1电平相反的第二内部信号TMF_MR0_INT2;第三反相器263,所述第三反相器263的输入端连接所述数据选择器262的输出端,用于根据所述第二内部信号TMF_MR0_INT2输出所述测试模式重置信号TMF_MR0_RESET_OUT。In some embodiments, as shown in FIG. 6 , the second operation unit 261 includes: a data selector 262, the input end of the data selector 262 is used to receive the first input signal MR0_EN_IN1 and the first internal signal TMF_MR0_INT1, and the control end of the data selector 262 is used to receive the second control signal TMF_MR0_CONTROL_DIS; wherein, when the level of the second control signal TMF_MR0_CONTROL_DIS is the second level, the data selector 262 is used to output the first internal signal TMF_MR0_IN T1 level is opposite to the second internal signal TMF_MR0_INT2; when the level of the second control signal TMF_MR0_CONTROL_DIS is the first level, the data selector 262 is used to output the second internal signal TMF_MR0_INT2 which is opposite to the level of the first input signal MR0_EN_IN1; a third inverter 263, the input end of the third inverter 263 is connected to the output end of the data selector 262, and is used to output the test mode reset signal TMF_MR0_RESET_OUT according to the second internal signal TMF_MR0_INT2.

具体地,重置信号生成电路220中各信号的真值表如表2所示,其中,“0”代表逻辑低电平,“1”代表逻辑高电平,“V”则代表有效值,即逻辑高电平或逻辑低电平均可。可以理解的是,通过设置第一控制电路250和第二控制电路260,以及配置第一控制信号TMF_MR0_RESET_DIS和第二控制信号TMF_MR0_CONTROL_DIS的电平组合,可以在测试模式进入信号MR0_EN的电平为高的情况下,但不指示执行时钟信号占空比调整时,使得输出至测试模式电路的测试模式重置信号TMF_MR0_RESET_OUT的电平为低,即测试模式进入信号MR0_EN的电平为高但不指示执行时钟信号占空比调整时,不会对测试模式信号TM进行复位,导致占空比调节过程重新开始。

Specifically, the truth table of each signal in the reset signal generating circuit 220 is shown in Table 2, wherein "0" represents a logic low level, "1" represents a logic high level, and "V" represents a valid value, that is, either a logic high level or a logic low level. It can be understood that by setting the first control circuit 250 and the second control circuit 260, and configuring the level combination of the first control signal TMF_MR0_RESET_DIS and the second control signal TMF_MR0_CONTROL_DIS, when the level of the test mode entry signal MR0_EN is high but does not indicate the execution of the clock signal duty cycle adjustment, the level of the test mode reset signal TMF_MR0_RESET_OUT output to the test mode circuit can be low, that is, when the level of the test mode entry signal MR0_EN is high but does not indicate the execution of the clock signal duty cycle adjustment, the test mode signal TM will not be reset, resulting in the duty cycle adjustment process restarting.

表2Table 2

在一些实施例中,重置信号生成电路220可以仅包括第一控制电路250,而不包括第二控制电路260,此时,第一控制电路250输出的第一内部信号可以作为测试模式重置信号,其对应的信号真值表如表3所示。可以理解的是,在第一控制电路250的基础上,增加第二控制电路260,并设置用于屏蔽第一控制信号TMF_MR0_RESET_DIS的第二控制信号TMF_MR0_CONTROL_DIS,可以提高重置信号生成电路220的可靠性。
In some embodiments, the reset signal generating circuit 220 may include only the first control circuit 250, but not the second control circuit 260. In this case, the first internal signal output by the first control circuit 250 may be used as a test mode reset signal, and its corresponding signal truth table is shown in Table 3. It can be understood that, on the basis of the first control circuit 250, adding the second control circuit 260 and setting the second control signal TMF_MR0_CONTROL_DIS for shielding the first control signal TMF_MR0_RESET_DIS can improve the reliability of the reset signal generating circuit 220.

表3Table 3

在一些实施例中,如图7所示,所述延迟锁相环电路240包括:时钟分频电路241,用于根据所述时钟信号CLK生成具有不同相位的多个分频时钟信号CLK_F;占空比校正电路242,连接所述测试模式电路230和所述时钟分频电路241,所述占空比校正电路242包括多个占空比校正子电路244;每个所述占空比校正子电路244用于根据所述测试模式信号TM调节一个所述分频时钟信号CLK_F的占空比,以输出一个校正时钟信号CLK_C。In some embodiments, as shown in Figure 7, the delay locked loop circuit 240 includes: a clock division circuit 241, used to generate a plurality of divided clock signals CLK_F with different phases according to the clock signal CLK; a duty cycle correction circuit 242, connected to the test mode circuit 230 and the clock division circuit 241, the duty cycle correction circuit 242 includes a plurality of duty cycle correction sub-circuits 244; each of the duty cycle correction sub-circuits 244 is used to adjust the duty cycle of the divided clock signal CLK_F according to the test mode signal TM to output a corrected clock signal CLK_C.

在本公开实施例中,延迟锁相环电路240中具有时钟分频电路241、占空比校正电路242,可以理解的是,延迟锁相环电路240中还可以包括其他电路,如相位检测电路、占空比检测电路等。在一些实施例中,延迟锁相环电路240还包括:时钟恢复电路243,连接所述占空比校正电路242;用于从多个所述校正时钟信号CLK_C中选择一个作为内部时钟信号CLK_O输出。In the embodiment of the present disclosure, the delay locked loop circuit 240 has a clock frequency division circuit 241 and a duty cycle correction circuit 242. It is understandable that the delay locked loop circuit 240 may also include other circuits, such as a phase detection circuit, a duty cycle detection circuit, etc. In some embodiments, the delay locked loop circuit 240 further includes: a clock recovery circuit 243, connected to the duty cycle correction circuit 242; and used to select one of the multiple corrected clock signals CLK_C as the internal clock signal CLK_O for output.

时钟分频电路241可以将输入至延迟锁相环电路240的时钟信号CLK拆分为多个具有相位差的分频时钟信号CLK_F,如奇数时钟信号和偶数时钟信号。这里的奇数时钟信号和偶数时钟信号可以具有180度的相位差。The clock frequency dividing circuit 241 can divide the clock signal CLK input to the delay locked loop circuit 240 into a plurality of frequency divided clock signals CLK_F with phase differences, such as an odd clock signal and an even clock signal. Here, the odd clock signal and the even clock signal can have a phase difference of 180 degrees.

占空比校正电路242包括多个占空比校正子电路244,每个占空比校正子电路244可以根据测试模式信号TM,对一个分频时钟信号CLK_F的占空比进行调节,并输出对应的一个校正时钟信号CLK_C。而时钟恢复电路243则可以从占空比校正电路242输出的多个校正时钟信号CLK_C中选择一个,以作为内部时钟信号CLK_O输出。The duty cycle correction circuit 242 includes a plurality of duty cycle correction sub-circuits 244. Each duty cycle correction sub-circuit 244 can adjust the duty cycle of a divided clock signal CLK_F according to the test mode signal TM, and output a corresponding corrected clock signal CLK_C. The clock recovery circuit 243 can select one of the plurality of corrected clock signals CLK_C output by the duty cycle correction circuit 242 to output as the internal clock signal CLK_O.

在一些实施例中,所述测试模式信号包括多个测试模式子信号,所述占空比校正子电路包括:串联的多级调节单元,每级所述调节单元用于接收至少一个所述测试模式子信号,以逐级调节所述分频时钟信号的占空比;第一级所述调节单元的输入端用于接收所述分频时钟信号,其余每一级所述调节单元的输入端连接上一级所述调节单元的输出端,最后一级所述调节单元的输出端用于输出所述校正时钟信号。 In some embodiments, the test mode signal includes multiple test mode sub-signals, and the duty cycle correction sub-circuit includes: a multi-stage adjustment unit connected in series, each stage of the adjustment unit is used to receive at least one of the test mode sub-signals to gradually adjust the duty cycle of the divided clock signal; the input end of the first stage of the adjustment unit is used to receive the divided clock signal, and the input end of each of the remaining stages of the adjustment unit is connected to the output end of the previous stage of the adjustment unit, and the output end of the last stage of the adjustment unit is used to output the corrected clock signal.

在一些实施例中,所述调节单元包括:第四反相器和至少一个脉冲调节单元;所述第四反相器的输入端和所述脉冲调节单元的输入端连接,共同作为所述调节单元的输入端;所述第四反相器的输出端和所述脉冲调节单元的输出端连接,共同作为所述调节单元的输出端;所述脉冲调节单元的控制端连接所述测试模式电路,用于接收对应的所述测试模式子信号;第一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输入端用于接收所述分频时钟信号;其余每一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输入端用于接收上一级所述调节单元输出的中间时钟信号;最后一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输出端用于输出所述校正时钟信号;其余每一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输出端用于输出所述中间时钟信号;所述脉冲调节单元用于根据所述测试模式子信号调节所述中间时钟信号中高电平脉冲和低电平脉冲的宽度。In some embodiments, the regulating unit includes: a fourth inverter and at least one pulse regulating unit; the input end of the fourth inverter is connected to the input end of the pulse regulating unit, and they are used together as the input end of the regulating unit; the output end of the fourth inverter is connected to the output end of the pulse regulating unit, and they are used together as the output end of the regulating unit; the control end of the pulse regulating unit is connected to the test mode circuit, which is used to receive the corresponding test mode sub-signal; the fourth inverter and the input end of the pulse regulating unit in the first stage of the regulating unit are used to receive the divided clock signal; the fourth inverter and the input end of the pulse regulating unit in each of the remaining stages of the regulating unit are used to receive the intermediate clock signal output by the previous stage of the regulating unit; the output end of the fourth inverter and the pulse regulating unit in the last stage of the regulating unit is used to output the correction clock signal; the output end of the fourth inverter and the pulse regulating unit in each of the remaining stages of the regulating unit is used to output the intermediate clock signal; the pulse regulating unit is used to adjust the width of the high level pulse and the low level pulse in the intermediate clock signal according to the test mode sub-signal.

在一些实施例中,所述脉冲调节单元包括:第一开关晶体管,所述第一开关晶体管的源极连接第一电压端;所述第一开关晶体管的栅极连接所述第四反相器的输入端,用于接收所述中间时钟信号或者接收所述分频时钟信号;第二开关晶体管,所述第二开关晶体管的源极连接第二电压端;所述第二开关晶体管的栅极连接所述第四反相器的输入端,用于接收所述中间时钟信号或者接收所述分频时钟信号;上拉晶体管,所述上拉晶体管的源极连接所述第一开关晶体管的漏极;所述上拉晶体管的栅极用于接收对应的所述测试模式子信号;所述上拉晶体管的漏极连接所述第四反相器的输出端;下拉晶体管,所述下拉晶体管的源极连接所述第二开关晶体管的漏极;所述下拉晶体管的栅极用于接收对应的所述测试模式子信号;所述下拉晶体管的漏极连接所述第四反相器的输出端。In some embodiments, the pulse adjustment unit includes: a first switching transistor, the source of which is connected to a first voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a second switching transistor, the source of which is connected to a second voltage terminal; a gate of which is connected to an input terminal of the fourth inverter for receiving the intermediate clock signal or the divided clock signal; a pull-up transistor, the source of which is connected to a drain of the first switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; a drain of which is connected to the output terminal of the fourth inverter; a pull-down transistor, the source of which is connected to a drain of the second switching transistor; a gate of which is used to receive a corresponding test mode sub-signal; and a drain of which is connected to the output terminal of the fourth inverter.

在本公开实施例中,占空比校正子电路可以参考图2进行理解,这里不再赘述,值得注意的是,这里第四反相器可以对应于图2中的反相器143。In the embodiment of the present disclosure, the duty cycle correction subcircuit can be understood with reference to FIG. 2 , which will not be described in detail here. It is worth noting that the fourth inverter here can correspond to the inverter 143 in FIG. 2 .

第二方面,如图8所示,本公开实施例提供了一种存储器300,包括:存储单元阵列310;外围电路320,包括上述实施例中任一所述的控制电路200。In a second aspect, as shown in FIG. 8 , an embodiment of the present disclosure provides a memory 300 , including: a memory cell array 310 ; and a peripheral circuit 320 , including the control circuit 200 described in any one of the above embodiments.

在本公开实施例中,存储器300包括但不限于DRAM、静态随机存取存储器(Static Random Access Memory,SRAM)、铁电随机存取存储器(Ferroelectric Random Access Memory,FRAM)、磁性随机存取存储器(Magnetoresistive Random Access Memory,MRAM)、相变随机存取存储器(Phase Change Random Access Memory,PCRAM)、阻变随机存取存储器(Resistive Random Access Memory,RRAM)、纳米随机存取存储器(Nano Random Access Memory,NRAM)等。外围电路320连接存储单元阵列310,且控制电路200位于外围电路320中。如此,通过调整控制信号的电平,重置信号生成电路可以输出与测试模式进入信号不同电平的测试模式重置信号。故测试模式电路可以根据测试模式重置信号重置测试模式信号,而不是直接根据测试模式进入信号重置测试模式信号,从而在当前测试模式进入信号并 非指示执行时钟信号占空比调节的情况下,减少了延迟锁相环电路根据重置的测试模式信号,重新调节时钟信号占空比的情况,节省了调节时钟信号占空比所需要的时间。In the disclosed embodiment, the memory 300 includes but is not limited to DRAM, static random access memory (SRAM), ferroelectric random access memory (FRAM), magnetic random access memory (MRAM), phase change random access memory (PCRAM), resistive random access memory (RRAM), nano random access memory (NRAM), etc. The peripheral circuit 320 is connected to the memory cell array 310, and the control circuit 200 is located in the peripheral circuit 320. In this way, by adjusting the level of the control signal, the reset signal generating circuit can output a test mode reset signal of a different level from the test mode entry signal. Therefore, the test mode circuit can reset the test mode signal according to the test mode reset signal, rather than directly resetting the test mode signal according to the test mode entry signal, so that when the current test mode entry signal is reset and In the case of non-instruction execution of clock signal duty cycle adjustment, the delay locked loop circuit is reduced to readjust the clock signal duty cycle according to the reset test mode signal, thereby saving the time required for adjusting the clock signal duty cycle.

需要说明的是,本公开所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。It should be noted that the features disclosed in several method or device embodiments provided in the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。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.

工业实用性Industrial Applicability

在本公开实施例提供的控制电路中,重置信号生成电路用于根据至少一个控制信号,以及测试模式进入信号,输出测试模式重置信号。如此,通过调整控制信号的电平,重置信号生成电路可以输出与测试模式进入信号不同电平的测试模式重置信号。故测试模式电路可以根据测试模式重置信号重置测试模式信号,而不是直接根据测试模式进入信号重置测试模式信号,从而减少了延迟锁相环电路根据重置的测试模式信号,重新调节时钟信号占空比的情况,节省了调节时钟信号占空比所需要的时间。 In the control circuit provided in the embodiment of the present disclosure, the reset signal generating circuit is used to output a test mode reset signal according to at least one control signal and a test mode entry signal. In this way, by adjusting the level of the control signal, the reset signal generating circuit can output a test mode reset signal of a different level from the test mode entry signal. Therefore, the test mode circuit can reset the test mode signal according to the test mode reset signal, rather than directly resetting the test mode signal according to the test mode entry signal, thereby reducing the situation where the delay locked loop circuit readjusts the clock signal duty cycle according to the reset test mode signal, saving the time required to adjust the clock signal duty cycle.

Claims (15)

一种控制电路(200),包括:A control circuit (200), comprising: 重置信号生成电路(220),用于接收控制信号和测试模式进入信号,并根据所述控制信号和所述测试模式进入信号,生成并输出测试模式重置信号;A reset signal generating circuit (220) is used to receive a control signal and a test mode entry signal, and generate and output a test mode reset signal according to the control signal and the test mode entry signal; 测试模式电路(230),连接所述重置信号生成电路(220),所述测试模式电路(230)用于根据所述测试模式重置信号重置并输出测试模式信号;其中,所述测试模式信号指示时钟信号的占空比调节。A test mode circuit (230) is connected to the reset signal generating circuit (220), and the test mode circuit (230) is used to reset and output a test mode signal according to the test mode reset signal; wherein the test mode signal indicates a duty cycle adjustment of a clock signal. 根据权利要求1所述的控制电路(200),其中,所述控制信号包括第一控制信号和第二控制信号;所述重置信号生成电路(220)包括用于接收所述第一控制信号的第一控制电路(250),和用于接收所述第二控制信号的第二控制电路(260);The control circuit (200) according to claim 1, wherein the control signal comprises a first control signal and a second control signal; the reset signal generating circuit (220) comprises a first control circuit (250) for receiving the first control signal, and a second control circuit (260) for receiving the second control signal; 所述第一控制电路(250),还用于接收所述测试模式进入信号,并根据所述测试模式进入信号,输出第一输入信号,以及根据所述第一控制信号和所述测试模式进入信号,输出第一内部信号;The first control circuit (250) is further used to receive the test mode entry signal, and output a first input signal according to the test mode entry signal, and output a first internal signal according to the first control signal and the test mode entry signal; 所述第二控制电路(260),连接所述第一控制电路(250),用于接收所述第一输入信号和所述第一内部信号,并根据所述第二控制信号、所述第一内部信号和所述第一输入信号,输出所述测试模式重置信号。The second control circuit (260) is connected to the first control circuit (250), and is used to receive the first input signal and the first internal signal, and output the test mode reset signal according to the second control signal, the first internal signal and the first input signal. 根据权利要求2所述的控制电路(200),其中,The control circuit (200) according to claim 2, wherein: 在所述第一控制信号的电平为第一电平的情况下,所述第一控制电路(250)用于输出处于第二电平的所述第一内部信号;When the level of the first control signal is a first level, the first control circuit (250) is used to output the first internal signal at a second level; 在所述第一控制信号的电平为所述第二电平的情况下,所述第一控制电路(250)用于输出与所述测试模式进入信号的电平相同的所述第一内部信号;When the level of the first control signal is the second level, the first control circuit (250) is used to output the first internal signal having the same level as the test mode entry signal; 所述第一控制电路(250)还用于输出与所述测试模式进入信号的电平相同的所述第一输入信号。The first control circuit (250) is further used for outputting the first input signal having the same level as the test mode entry signal. 根据权利要求3所述的控制电路(200),其中,所述第一控制电路(250) 包括:The control circuit (200) according to claim 3, wherein the first control circuit (250) include: 第一输入单元(251),用于接收所述测试模式进入信号,并根据所述测试模式进入信号,生成并输出与所述测试模式进入信号电平相同的所述第一输入信号;A first input unit (251) is used to receive the test mode entry signal and, based on the test mode entry signal, generate and output the first input signal having the same level as the test mode entry signal; 第二输入单元(252),用于接收所述第一控制信号,并根据所述第一控制信号,生成并输出与所述第一控制信号电平相反的第二输入信号;A second input unit (252) is used to receive the first control signal, and generate and output a second input signal having a level opposite to that of the first control signal according to the first control signal; 第一运算单元(253),连接所述第一输入单元(251)和所述第二输入单元(252),用于接收所述第一输入信号和所述第二输入信号,并根据所述第一输入信号和所述第二输入信号,生成并输出所述第一内部信号。The first operation unit (253) is connected to the first input unit (251) and the second input unit (252), and is used to receive the first input signal and the second input signal, and generate and output the first internal signal according to the first input signal and the second input signal. 根据权利要求4所述的控制电路(200),其中,所述第一运算单元(253)包括:The control circuit (200) according to claim 4, wherein the first operation unit (253) comprises: 与非门(258),所述与非门(258)的输入端用于接收所述第一输入信号和所述第二输入信号;A NAND gate (258), wherein an input end of the NAND gate (258) is used to receive the first input signal and the second input signal; 第一反相器(259),所述第一反相器(259)的输入端连接所述与非门(258)的输出端;所述第一反相器(259)的输出端用于输出所述第一内部信号。A first inverter (259), wherein the input end of the first inverter (259) is connected to the output end of the NAND gate (258); and the output end of the first inverter (259) is used to output the first internal signal. 根据权利要求4或5所述的控制电路(200),其中,The control circuit (200) according to claim 4 or 5, wherein: 所述第一输入单元(251)包括缓冲器(254),所述缓冲器(254)的输入端用于接收所述测试模式进入信号,所述缓冲器(254)的输出端用于输出所述第一输入信号;The first input unit (251) comprises a buffer (254), the input end of the buffer (254) is used to receive the test mode entry signal, and the output end of the buffer (254) is used to output the first input signal; 所述第二输入单元(252)包括第二反相器(255),所述第二反相器(255)的输入端用于接收所述第一控制信号,所述第二反相器(255)的输出端用于输出所述第二输入信号。The second input unit (252) comprises a second inverter (255), the input end of the second inverter (255) is used to receive the first control signal, and the output end of the second inverter (255) is used to output the second input signal. 根据权利要求6所述的控制电路(200),其中,所述缓冲器(254)包括:偶数个级联的反相器。The control circuit (200) according to claim 6, wherein the buffer (254) comprises: an even number of cascaded inverters. 根据权利要求4至7任一项所述的控制电路(200),其中,所述第二控制电路(260)包括: The control circuit (200) according to any one of claims 4 to 7, wherein the second control circuit (260) comprises: 第二运算单元(261),连接所述第一输入单元(251)和所述第一运算单元(253),用于接收所述第一输入信号和所述第一内部信号,并响应于接收到的所述第二控制信号,根据所述第一输入信号和所述第一内部信号,生成并输出所述测试模式重置信号;A second operation unit (261), connected to the first input unit (251) and the first operation unit (253), configured to receive the first input signal and the first internal signal, and in response to the received second control signal, generate and output the test mode reset signal according to the first input signal and the first internal signal; 在所述第二控制信号的电平为所述第一电平的情况下,所述第二控制电路(260)用于输出与所述第一输入信号的电平相同的所述测试模式重置信号;When the level of the second control signal is the first level, the second control circuit (260) is used to output the test mode reset signal having the same level as the first input signal; 在所述第二控制信号的电平为所述第二电平的情况下,所述第二控制电路(260)用于输出与所述第一内部信号的电平相同的所述测试模式重置信号。When the level of the second control signal is the second level, the second control circuit (260) is used to output the test mode reset signal having the same level as that of the first internal signal. 根据权利要求8所述的控制电路(200),其中,所述第二运算单元(261)包括:The control circuit (200) according to claim 8, wherein the second operation unit (261) comprises: 数据选择器(262),所述数据选择器(262)的输入端用于接收所述第一输入信号和所述第一内部信号,所述数据选择器(262)的控制端用于接收所述第二控制信号;其中,在所述第二控制信号的电平为所述第二电平的情况下,所述数据选择器(262)用于输出与所述第一内部信号的电平相反的第二内部信号,在所述第二控制信号的电平为所述第一电平的情况下,所述数据选择器(262)用于输出与所述第一输入信号的电平相反的第二内部信号;A data selector (262), wherein an input end of the data selector (262) is used to receive the first input signal and the first internal signal, and a control end of the data selector (262) is used to receive the second control signal; wherein, when the level of the second control signal is the second level, the data selector (262) is used to output a second internal signal having a level opposite to that of the first internal signal, and when the level of the second control signal is the first level, the data selector (262) is used to output a second internal signal having a level opposite to that of the first input signal; 第三反相器(263),所述第三反相器(263)的输入端连接所述数据选择器(262)的输出端,用于接收所述第二内部信号,所述第三反相器(263)的输出端用于输出所述测试模式重置信号。A third inverter (263), wherein an input end of the third inverter (263) is connected to an output end of the data selector (262) and is used to receive the second internal signal, and an output end of the third inverter (263) is used to output the test mode reset signal. 根据权利要求1至9任一项所述的控制电路(200),其中,所述控制电路(200)还包括:The control circuit (200) according to any one of claims 1 to 9, wherein the control circuit (200) further comprises: 命令和地址解码器(150),用于接收模式寄存器配置命令,并根据所述模式寄存器配置命令解码生成对应的模式寄存器的配置值;A command and address decoder (150), configured to receive a mode register configuration command and generate a corresponding mode register configuration value according to the mode register configuration command by decoding; 模式寄存器电路(110),连接所述命令和地址解码器(150),用于根据所述模式寄存器的配置值生成所述测试模式进入信号;A mode register circuit (110), connected to the command and address decoder (150), for generating the test mode entry signal according to the configuration value of the mode register; 延迟锁相环电路(240),连接所述测试模式电路(230),用于根据所述 测试模式信号,调节所述时钟信号的占空比。A delay locked loop circuit (240) is connected to the test mode circuit (230) and is used to The test mode signal adjusts the duty cycle of the clock signal. 根据权利要求10所述的控制电路(200),其中,所述延迟锁相环电路(240)包括:The control circuit (200) according to claim 10, wherein the delay locked loop circuit (240) comprises: 时钟分频电路(241),用于根据所述时钟信号生成具有不同相位的多个分频时钟信号;A clock frequency division circuit (241), used for generating a plurality of frequency-divided clock signals with different phases according to the clock signal; 占空比校正电路(242),连接所述测试模式电路(230)和所述时钟分频电路(241),所述占空比校正电路(242)包括多个占空比校正子电路(244);每个所述占空比校正子电路(244)用于根据所述测试模式信号调节一个所述分频时钟信号的占空比,以输出一个校正时钟信号。A duty cycle correction circuit (242) is connected to the test mode circuit (230) and the clock frequency division circuit (241), wherein the duty cycle correction circuit (242) comprises a plurality of duty cycle correction subcircuits (244); each of the duty cycle correction subcircuits (244) is used to adjust the duty cycle of a frequency-divided clock signal according to the test mode signal to output a corrected clock signal. 根据权利要求11所述的控制电路(200),其中,所述测试模式信号包括多个测试模式子信号,所述占空比校正子电路(244)包括:The control circuit (200) according to claim 11, wherein the test mode signal comprises a plurality of test mode sub-signals, and the duty cycle correction sub-circuit (244) comprises: 串联的多级调节单元,每级所述调节单元用于接收至少一个所述测试模式子信号,以逐级调节所述分频时钟信号的占空比;A plurality of adjustment units connected in series, each of which is used to receive at least one of the test mode sub-signals to adjust the duty cycle of the divided clock signal step by step; 第一级所述调节单元的输入端用于接收所述分频时钟信号,其余每一级所述调节单元的输入端连接上一级所述调节单元的输出端,最后一级所述调节单元的输出端用于输出所述校正时钟信号。The input end of the first-stage regulating unit is used to receive the divided clock signal, the input end of each of the remaining stages of regulating units is connected to the output end of the previous stage of regulating unit, and the output end of the last stage of regulating unit is used to output the corrected clock signal. 根据权利要求12所述的控制电路(200),其中,所述调节单元包括:The control circuit (200) according to claim 12, wherein the adjustment unit comprises: 第四反相器和至少一个脉冲调节单元;所述第四反相器的输入端和所述脉冲调节单元的输入端连接,共同作为所述调节单元的输入端;所述第四反相器的输出端和所述脉冲调节单元的输出端连接,共同作为所述调节单元的输出端;A fourth inverter and at least one pulse adjustment unit; the input end of the fourth inverter is connected to the input end of the pulse adjustment unit and serves as the input end of the adjustment unit; the output end of the fourth inverter is connected to the output end of the pulse adjustment unit and serves as the output end of the adjustment unit; 所述脉冲调节单元的控制端连接所述测试模式电路(230),用于接收对应的所述测试模式子信号;The control end of the pulse adjustment unit is connected to the test mode circuit (230) and is used to receive the corresponding test mode sub-signal; 第一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输入端用于接收所述分频时钟信号;其余每一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输入端用于接收上一级所述调节单元输出的中间时钟 信号;The fourth inverter in the first-stage regulating unit and the input end of the pulse regulating unit are used to receive the divided clock signal; the fourth inverter in each of the remaining stages and the input end of the pulse regulating unit are used to receive the intermediate clock signal output by the previous stage regulating unit. Signal; 最后一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输出端用于输出所述校正时钟信号;其余每一级所述调节单元中的所述第四反相器和所述脉冲调节单元的输出端用于输出所述中间时钟信号;The output end of the fourth inverter and the pulse adjustment unit in the last stage of the adjustment unit is used to output the correction clock signal; the output end of the fourth inverter and the pulse adjustment unit in each of the remaining stages of the adjustment unit is used to output the intermediate clock signal; 所述脉冲调节单元用于根据所述测试模式子信号调节所述中间时钟信号中高电平脉冲和低电平脉冲的宽度。The pulse adjustment unit is used to adjust the width of the high level pulse and the low level pulse in the intermediate clock signal according to the test mode sub-signal. 根据权利要求13所述的控制电路(200),其中,所述脉冲调节单元包括:The control circuit (200) according to claim 13, wherein the pulse adjustment unit comprises: 第一开关晶体管,所述第一开关晶体管的源极连接第一电压端;所述第一开关晶体管的栅极连接所述第四反相器的输入端,用于接收所述中间时钟信号或者接收所述分频时钟信号;a first switch transistor, wherein a source of the first switch transistor is connected to a first voltage terminal; a gate of the first switch transistor is connected to an input terminal of the fourth inverter, and is used to receive the intermediate clock signal or the divided clock signal; 第二开关晶体管,所述第二开关晶体管的源极连接第二电压端;所述第二开关晶体管的栅极连接所述第四反相器的输入端,用于接收所述中间时钟信号或者接收所述分频时钟信号;a second switch transistor, wherein the source of the second switch transistor is connected to the second voltage terminal; and the gate of the second switch transistor is connected to the input terminal of the fourth inverter, and is used to receive the intermediate clock signal or the divided clock signal; 上拉晶体管,所述上拉晶体管的源极连接所述第一开关晶体管的漏极;所述上拉晶体管的栅极用于接收对应的所述测试模式子信号;所述上拉晶体管的漏极连接所述第四反相器的输出端;a pull-up transistor, wherein the source of the pull-up transistor is connected to the drain of the first switch transistor; the gate of the pull-up transistor is used to receive the corresponding test mode sub-signal; the drain of the pull-up transistor is connected to the output end of the fourth inverter; 下拉晶体管,所述下拉晶体管的源极连接所述第二开关晶体管的漏极;所述下拉晶体管的栅极用于接收对应的所述测试模式子信号;所述下拉晶体管的漏极连接所述第四反相器的输出端。A pull-down transistor, the source of which is connected to the drain of the second switch transistor; the gate of which is used to receive the corresponding test mode sub-signal; and the drain of which is connected to the output end of the fourth inverter. 一种存储器(300),包括:A memory (300), comprising: 存储单元阵列(310);A memory cell array (310); 外围电路(320),包括如权利要求1至14任一所述的控制电路(200)。 A peripheral circuit (320) comprising the control circuit (200) according to any one of claims 1 to 14.
PCT/CN2023/098389 2023-03-03 2023-06-05 Control circuit and memory Pending WO2024183177A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310219465.5 2023-03-03
CN202310219465.5A CN118629454A (en) 2023-03-03 2023-03-03 Control circuit and memory

Publications (1)

Publication Number Publication Date
WO2024183177A1 true WO2024183177A1 (en) 2024-09-12

Family

ID=92605558

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/098389 Pending WO2024183177A1 (en) 2023-03-03 2023-06-05 Control circuit and memory

Country Status (2)

Country Link
CN (1) CN118629454A (en)
WO (1) WO2024183177A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6486651B1 (en) * 1999-11-23 2002-11-26 Samsung Electronics Co., Ltd. Integrated circuit devices having a delay locked loop that is configurable for high-frequency operation during test and methods of operating same
CN1926638A (en) * 2004-03-05 2007-03-07 皇家飞利浦电子股份有限公司 DFT technique for stressing self-timed semiconductor memories to detect delay faults
CN101594129A (en) * 2008-05-30 2009-12-02 海力士半导体有限公司 The method of duty-cycle correction circuit and correction duty ratio
CN107046416A (en) * 2016-02-05 2017-08-15 爱思开海力士有限公司 Duty-cycle correction circuit
CN111429963A (en) * 2019-01-10 2020-07-17 西部数据技术公司 Memory Bus Duty Cycle Measurement, Calibration and Tuning
CN113904680A (en) * 2021-09-15 2022-01-07 浙江力积电子有限公司 A quick way to relock DLL circuits
CN115361004A (en) * 2022-08-22 2022-11-18 长鑫存储技术有限公司 Duty ratio adjusting circuit, adjusting method and memory

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6486651B1 (en) * 1999-11-23 2002-11-26 Samsung Electronics Co., Ltd. Integrated circuit devices having a delay locked loop that is configurable for high-frequency operation during test and methods of operating same
CN1926638A (en) * 2004-03-05 2007-03-07 皇家飞利浦电子股份有限公司 DFT technique for stressing self-timed semiconductor memories to detect delay faults
CN101594129A (en) * 2008-05-30 2009-12-02 海力士半导体有限公司 The method of duty-cycle correction circuit and correction duty ratio
CN107046416A (en) * 2016-02-05 2017-08-15 爱思开海力士有限公司 Duty-cycle correction circuit
CN111429963A (en) * 2019-01-10 2020-07-17 西部数据技术公司 Memory Bus Duty Cycle Measurement, Calibration and Tuning
CN113904680A (en) * 2021-09-15 2022-01-07 浙江力积电子有限公司 A quick way to relock DLL circuits
CN115361004A (en) * 2022-08-22 2022-11-18 长鑫存储技术有限公司 Duty ratio adjusting circuit, adjusting method and memory

Also Published As

Publication number Publication date
CN118629454A (en) 2024-09-10

Similar Documents

Publication Publication Date Title
TWI614766B (en) Non-volatile memory
TWI473113B (en) Duty cycle correction circuit and semiconductor integrated circuit apparatus including the same
US7808271B2 (en) Time-balanced multiplexer switching methods and apparatus
JP2015012352A (en) Semiconductor device
JP2007122807A (en) Semiconductor storage device and its adjustment method
US9071241B2 (en) Data output circuit and operating method with reduced current overlap for semiconductor device
US9147446B2 (en) Semiconductor device having level shift circuit
CN1983811A (en) Delay cell and delay line circuit having the same
JP2013042353A (en) Semiconductor device
US6906968B2 (en) Input buffer of semiconductor memory device
US20080018373A1 (en) System and method for open-loop synthesis of output clock signals having a selected phase relative to an input clock signal
US7965120B2 (en) Digitally controlled CML buffer
US9245594B2 (en) Switching circuit
WO2024183177A1 (en) Control circuit and memory
US20130147536A1 (en) Semiconductor device
US7936638B2 (en) Enhanced programmable pulsewidth modulating circuit for array clock generation
US11159149B2 (en) Electronic device including level shifter
CN115189680A (en) Clock correction method and circuit, and storage device
CN119341528B (en) Duty cycle adjusting circuit and memory
CN119107991B (en) Signal generation structure and memory
CN118677405B (en) Duty cycle adjusting circuit and random access memory
JP2015002452A (en) Semiconductor device
US20090154267A1 (en) Clock signal generating circuit and data output apparatus using the same
JP2007258765A (en) Semiconductor device
US7813190B2 (en) Input circuit of semiconductor memory device ensuring enabled data input buffer during data input

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23925890

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE