A clock control circuit and semiconductor memory

By generating decoding signals with different leading edges using first and second decoding paths in the memory, and using a clock gating circuit to gate the clock signals, the problems of power consumption and timing alignment difficulties caused by clock signal delay in the memory are solved, thereby achieving reduced circuit power consumption and simplified timing alignment.

CN117352020BActive Publication Date: 2026-11-20CHANGXIN MEMORY TECH INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210760907.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2026-11-20
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

In memory, there is a delay in the transmission path of command signals, which causes the clock signal to need a corresponding delay to match the timing, resulting in increased circuit power consumption and difficulty in timing alignment.

Method used

The initial command signal is decoded using the first and second decoding paths respectively, generating decoded signals with different leading edges. The initial clock signal is then gated by a clock gating circuit based on these decoded signals, and a clock gating signal is output to avoid invalid logic flips and advance the timing.

Benefits of technology

It reduces circuit power consumption, simplifies the timing alignment process, and improves the timing matching efficiency of clock signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117352020B_ABST
    Figure CN117352020B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose a clock control circuit and a semiconductor memory, comprising: a first decoding path, a second decoding path and a clock control circuit. The first decoding path is configured to receive an initial command signal and an initial clock signal, and to shift and decode the initial command signal under the triggering of the initial clock signal to obtain and output a first decoding signal. The second decoding path is configured to receive the initial command signal, decode the initial command signal to obtain and output a second decoding signal, and the leading edge of the second decoding signal is ahead of the leading edge of the first decoding signal. The clock control circuit is configured to receive the initial clock signal, the first decoding signal and the second decoding signal, and to gate the initial clock signal according to the first decoding signal and the second decoding signal to output a clock gating signal. The present disclosure can reduce the power consumption of the circuit and more easily perform timing alignment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of integrated circuits, and more particularly to a clock control circuit and a semiconductor memory. Background Technology

[0002] In memory, the transmission path of a command signal includes several registers and other components, resulting in a delay after the signal travels through the transmission path. Correspondingly, the clock signal used to trigger the command signal also needs to be delayed to match the timing. Summary of the Invention

[0003] In view of this, embodiments of the present disclosure provide a clock control circuit and a semiconductor memory that can reduce circuit power consumption and make timing alignment easier.

[0004] The technical solution of this disclosure embodiment is implemented as follows:

[0005] This disclosure provides a clock control circuit, the clock control circuit comprising:

[0006] The first decoding path is configured to receive an initial command signal and an initial clock signal, shift and decode the initial command signal under the trigger of the initial clock signal, and obtain and output the first decoded signal;

[0007] The second decoding path is configured to receive an initial command signal, decode the initial command signal, obtain and output a second decoded signal; the leading edge of the second decoded signal leads the leading edge of the first decoded signal.

[0008] A clock gating circuit is used to receive the initial clock signal, the first decoded signal, and the second decoded signal, and to gate the initial clock signal according to the first decoded signal and the second decoded signal, and output a clock gating signal.

[0009] In the above scheme, the clock gating circuit includes:

[0010] The clock delay path is configured to receive the initial clock signal, delay the initial clock signal, obtain and output the first clock signal;

[0011] The enable module receives the first decoding signal and the second decoding signal, and is configured to generate a gating enable signal based on the first decoding signal and the second decoding signal;

[0012] The first flip-flop receives the gating enable signal at its data input terminal and receives the first clock signal at its trigger terminal.

[0013] An AND gate circuit, wherein the input of the AND gate circuit is coupled to the output of the flip-flop and the output of the clock delay path, respectively.

[0014] In the above scheme, the enabling module includes: a first OR gate; the input terminal of the first OR gate receives the first decoding signal, the second decoding signal and the initial gating signal respectively, and the output terminal of the first OR gate outputs the gating enable signal.

[0015] In the above scheme, the clock gating circuit further includes: a first inverter; the input terminal of the first inverter is coupled to the output terminal of the clock delay path, and the output terminal of the first inverter is coupled to the AND gate circuit.

[0016] In the above scheme, the trailing edge of the first decoded signal is later than the trailing edge of the second decoded signal.

[0017] In the above scheme, the leading edge of the first decoded signal leads the trailing edge of the second decoded signal, and the leading edge of the initial gating signal leads the trailing edge of the first decoded signal.

[0018] In the above scheme, the first decoding signal, the second decoding signal, the initial gating signal, and the gating enable signal are all active high.

[0019] In the above scheme, the first decoding path includes:

[0020] A clock division unit receives the initial clock signal and is configured to divide the initial clock signal to obtain a divided clock signal.

[0021] The first shift unit is configured to receive an initial command signal and the frequency-divided clock signal, and to shift and register the initial command signal under the trigger of the frequency-divided clock signal to obtain a first command signal;

[0022] A first command decoder, coupled to the first shift unit, is configured to receive the first command signal, decode the first command signal, and obtain and output the first decoded signal.

[0023] In the above scheme, the second decoding path includes: a second command decoder; the second command decoder is configured to receive the initial command signal, decode the initial command signal, obtain and output the second decoded signal.

[0024] In the above scheme, the first shift unit includes N second flip-flops; the data input terminals of the N second flip-flops all receive the initial command signal, and the trigger terminals of the N second flip-flops all receive the frequency division clock signal.

[0025] In the above scheme, the clock delay path includes:

[0026] A delay control unit is configured to receive the initial clock signal and a delay enable signal, and to transmit the initial clock signal under the control of the delay enable signal;

[0027] A clock delay unit, connected to the delay control unit, is configured to receive the initial clock signal, delay the initial clock signal, and obtain and output the first clock signal.

[0028] In the above scheme, the clock delay unit includes M second inverters; wherein, the input terminal of the first second inverter is connected to the delay control unit, the output terminal of each second inverter is connected to the input terminal of the next second inverter, and the output terminal of the Mth second inverter outputs the first clock signal.

[0029] In the above scheme, the delay enable signal is active high; the delay control unit includes: a first NAND gate; the first input terminal of the first NAND gate receives the initial clock signal, the second input terminal of the first NAND gate receives the delay enable signal, and the first NAND gate transmits the initial clock signal under the control of the delay enable signal.

[0030] This disclosure also provides a semiconductor memory, which includes the clock control circuit described in the above-described scheme.

[0031] In the above scheme, the semiconductor memory is a dynamic random access memory.

[0032] Therefore, this disclosure provides a clock control circuit and a semiconductor memory, including: a first decoding path, a second decoding path, and a clock gating circuit. The first decoding path is configured to receive an initial command signal and an initial clock signal, shift and decode the initial command signal under the trigger of the initial clock signal, and obtain and output a first decoded signal. The second decoding path is configured to receive the initial command signal, decode the initial command signal, and obtain and output a second decoded signal; the leading edge of the second decoded signal leads the leading edge of the first decoded signal. The clock gating circuit is used to receive the initial clock signal, the first decoded signal, and the second decoded signal, and to gate the initial clock signal according to the first decoded signal and the second decoded signal, outputting a clock-gated signal. Thus, on the one hand, gating the initial clock signal can prevent invalid logic flips in the internal registers of the circuit, thereby reducing circuit power consumption. On the other hand, the clock control circuit uses a second decoding path that can decode quickly, which can advance the timing of the generated clock-gated signal, reducing the relative delay with the standard clock signal, thereby making timing alignment easier. Attached Figure Description

[0033] Figure 1 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 1 ;

[0034] Figure 2 This is a signal schematic of the clock control circuit provided in the embodiments of this disclosure. Figure 1 ;

[0035] Figure 3 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 2 ;

[0036] Figure 4 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 3 ;

[0037] Figure 5 This is a signal schematic of the clock control circuit provided in the embodiments of this disclosure. Figure 2 ;

[0038] Figure 6 This is a signal schematic of the clock control circuit provided in the embodiments of this disclosure. Figure 3 ;

[0039] Figure 7 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 4 ;

[0040] Figure 8 This is a signal schematic of the clock control circuit provided in the embodiments of this disclosure. Figure 4 ;

[0041] Figure 9 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 5 ;

[0042] Figure 10 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 6 ;

[0043] Figure 11 This is a schematic diagram of the clock control circuit provided in the embodiments of this disclosure. Figure 7 ;

[0044] Figure 12 This is a schematic diagram of the structure of a semiconductor memory provided in an embodiment of this disclosure. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this disclosure clearer, the technical solutions of this disclosure are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this disclosure. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0046] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0047] If the application documents contain similar descriptions such as "first / second", the following explanation shall be added: In the following description, the terms "first / second / third" are used only to distinguish similar objects and do not represent a specific order of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing embodiments of this disclosure only and is not intended to be limiting of this disclosure.

[0049] To facilitate understanding of the embodiments of this disclosure, the following terms are explained accordingly.

[0050] A read command is a command signal used to control the reading of data from memory.

[0051] A write command is a command signal that controls the writing of data into memory.

[0052] The ODT (On-Die Termination) command is a command signal that controls the connection or disconnection of the memory termination resistor. ODT is used to ensure that the signal is completely consumed at the termination resistor, preventing signal reflection in the circuit and thus enhancing signal integrity.

[0053] A DLL (Delay-locked Loop) is a clock circuit whose output frequency is the same as its input frequency. A DLL can generate a clock signal with the same frequency as a reference clock and can generate multiple split-phase clock signals in the circuit system.

[0054] Figure 1 This is an optional schematic diagram of the clock control circuit provided in an embodiment of this disclosure, such as... Figure 1 As shown, the clock control circuit 10 includes: a first decoding path 101, a second decoding path 102, and a clock gating circuit 103. Wherein:

[0055] The first decoding path 101 is configured to receive the initial command signal CMD and the initial clock signal CLK, and under the trigger of the initial clock signal CLK, shift and decode the initial command signal CMD to obtain and output the first decoded signal S1.

[0056] The second decoding path 102 is configured to receive the initial command signal CMD, decode the initial command signal CMD, obtain and output the second decoded signal S2; the leading edge of the second decoded signal S2 leads the leading edge of the first decoded signal S1.

[0057] The clock gating circuit 103 is used to receive the initial clock signal CLK, the first decoding signal S1, and the second decoding signal S2, and to gate the initial clock signal CLK according to the first decoding signal S1 and the second decoding signal S2, and output the clock gating signal CLK_out.

[0058] In this embodiment of the present disclosure, both the first decoding path 101 and the second decoding path 102 decode the initial command signal CMD. The first decoding path 101 decodes the initial command signal CMD to obtain a first decoded signal S1, and the second decoding path 102 decodes the initial command signal CMD to obtain a first decoded signal S2. The leading edge of the second decoded signal S2 leads the leading edge of the first decoded signal S1, and correspondingly, the trailing edge of the first decoded signal S1 lags behind the trailing edge of the second decoded signal S2. In other words, compared to the first decoding path 101, the second decoding path 102 is a faster decoding path for the initial command signal CMD.

[0059] In this embodiment of the present disclosure, the clock gating circuit 103 gates the initial clock signal CLK according to the first decoding signal S1 and the second decoding signal S2, and outputs a clock gating signal CLK_out. That is, the clock gating circuit 103 masks the unnecessary parts of the initial clock signal CLK, and only retains the part of the initial clock signal CLK within the required time period, thereby obtaining the clock gating signal CLK_out.

[0060] It should be noted that clock-gating is a method to reduce the power consumption of registers in a circuit. For registers that need to be controlled, clock-gating can disable the register's transfer function under certain conditions, preventing useless data from entering the next level of logic and avoiding a series of unnecessary logic flips, thereby reducing power consumption.

[0061] Figure 2 for Figure 1 A schematic diagram of an optional waveform for each signal is shown in the reference diagram. Figure 2 The clock gating signal CLK_out is a selected portion of the initial clock signal, while the leading edge of the gating enable signal can be determined based on the decoded signal. The leading edge of the valid pulse in the second decoded signal S2 precedes the leading edge of the valid pulse in the first decoded signal S1. Therefore, the leading edge of the selected signal is determined based on the leading edge of the valid pulse in the second decoded signal S2. In other words, by employing the second decoding path 102, which enables fast decoding, the timing of the clock gating signal CLK_out can be advanced accordingly.

[0062] In this embodiment of the disclosure, reference is made to Figure 2 The first rising edge (marked with an upward arrow) in the clock gating signal CLK_out is aligned with the middle position of the pulse of the first decoded signal S1. Figure 2 The dashed lines indicate that the first rising edge of the clock gating signal CLK_out can be used to sample the first decoded signal S1. The original edge of the initial clock signal CLK (also marked with an upward arrow) is used to sample the command signal CMD, and this original edge is also aligned with the middle of the pulse of the first decoded signal S1. Therefore, the original edge of the initial clock signal CLK used to sample the command signal CMD is not eliminated in the clock gating, and the clock gating signal CLK_out can still trigger the sampling of the first decoded signal S1. In subsequent circuits, the path delay can be adjusted so that the first decoded signal S1 and the clock gating signal CLK_out have equal delays. This allows the delayed first decoded signal S1 to be sampled using the delayed clock gating signal CLK_out in subsequent circuits.

[0063] In this embodiment of the disclosure, Figure 1 The clock control circuit 10 shown can be configured in a memory. The clock control circuit 10 can gate the clock signals corresponding to read commands, write commands, or ODT commands in the memory. That is, the initial command signal CMD can be a read command, write command, or ODT command from the memory. In the memory, the read command or write command needs to be aligned with the DLL clock signal. Since the DLL does not contain functional modules, the timing of the DLL clock signal is relatively early; that is, the DLL is also a fast path. Therefore, by using a second decoding path 102 that can decode quickly to advance the timing of the clock gating signal CLK_out, the relative delay between the clock gating signal CLK_out and the DLL clock signal can be reduced, thereby making it easier to align the read command or write command with the DLL clock signal.

[0064] Understandably, on the one hand, the clock control circuit 10 gates the initial clock signal CLK, which prevents invalid logic flips in the internal registers, thereby reducing power consumption. On the other hand, the clock control circuit 10 employs a second decoding path 102 capable of fast decoding, which advances the timing of the clock gate signal CLK_out, reducing the relative delay between the clock gate signal CLK_out and the standard clock signal (i.e., the DLL clock signal), thus making timing alignment easier. Furthermore, the clock control circuit 10 prevents the original edge of the initial clock signal CLK used to sample the command signal CMD from being gated and eliminated, allowing subsequent circuits to use the clock gate signal CLK_out for sampling.

[0065] In some embodiments of this disclosure, such as Figure 3 As shown, the clock gating circuit 103 includes: a clock delay path 1031, an enable module 1032, a flip-flop 1033, and an AND gate circuit 1034. Wherein:

[0066] Clock delay path 1031 is configured to receive the initial clock signal CLK, delay the initial clock signal CLK, and obtain and output the first clock signal CLK_1.

[0067] Enable module 1032 is used to generate a gate enable signal Gate_En based on the first decoding signal S1 and the second decoding signal S2;

[0068] The data input terminal of the flip-flop 1033 receives the gate enable signal Gate_En, and the trigger terminal of the flip-flop 1033 is used to receive the first clock signal CLK_1.

[0069] AND gate 1034, the input of AND gate 1034 is coupled to the output of flip-flop 1033 and the output of clock delay path 1031 respectively.

[0070] It should be noted that "coupling" in this disclosure includes direct electrical connection or electrical connection through devices (such as resistors, inverters, etc.). Further details will not be elaborated below.

[0071] In this embodiment of the disclosure, reference is made to Figure 3 The flip-flop 1033 can be a D flip-flop. The data input D of the flip-flop 1033 receives the gate enable signal Gate_En, and the trigger input CLK of the flip-flop 1033 receives the first clock signal CLK_1. Under the trigger of the first clock signal CLK_1, the flip-flop 1033 can shift and register the gate enable signal Gate_En, and the output Q will output the shifted and registered gate enable signal Gate_En1.

[0072] In this embodiment, the gate enable signal Gate_En can be used for clock gating. The initial clock signal CLK is delayed after passing through the clock delay path 1031, becoming a first clock signal CLK_1 and a second clock signal CLK_2. The AND gate circuit 1034 retains only the necessary portion of the second clock signal CLK_2 according to the gate enable signal Gate_En, thereby completing the gating of the initial clock signal CLK and outputting the clock gating signal CLK_out.

[0073] In some embodiments of this disclosure, such as Figure 3 As shown, the clock gating circuit 103 also includes a first inverter D1. The input terminal of the first inverter D1 is coupled to the output terminal of the clock delay path, and the output terminal of the first inverter is coupled to an AND gate circuit.

[0074] In this embodiment, the second clock signal CLK_2 is obtained by passing the first clock signal CLK_1 through the first inverter D1. That is, the second clock signal CLK_2 and the first clock signal CLK_1 are out of phase, and there is a relative delay of half a clock cycle between them. The first clock signal CLK_1 is input to flip-flop 1033 to trigger the delay of the gate enable signal Gate_En; while the second clock signal CLK_2 is gated by the delayed gate enable signal Gate_En. This eliminates the delay in the gate enable signal Gate_En caused by flip-flop 1033, avoiding incomplete waveforms in the clock gate signal CLK_out.

[0075] In some embodiments of this disclosure, such as Figure 4 As shown, the enable module 1032 includes a first OR gate OR1. The inputs of the first OR gate OR1 receive a first decoding signal S1, a second decoding signal S2, and an initial gate signal En_CWL, respectively, and the output of the first OR gate OR1 outputs a gate enable signal Gate_En.

[0076] Figure 5 for Figure 4 A schematic diagram of an optional waveform for each signal, combined with... Figure 4 and Figure 5 The first decoded signal S1, the second decoded signal S2, and the initial gate signal En_CWL are passed through the first OR gate OR1 to obtain the gate enable signal Gate_En. The leading edge of the gate enable signal Gate_En is aligned with the second decoded signal S2, and the trailing edge of the gate enable signal Gate_En is aligned with the initial gate signal En_CWL. In other words, the second decoded signal S2 determines the leading edge of the gate enable signal Gate_En, and the initial gate signal En_CWL determines the trailing edge of the gate enable signal Gate_En.

[0077] In this embodiment, the initial gate signal En_CWL can be obtained by delaying the first decoded signal S1 and widening the pulse of the first decoded signal S1 (i.e., extending the high-level duration of the first decoded signal S1). Therefore, the initial gate signal En_CWL has a wider effective pulse range than the first decoded signal S1. Simultaneously, the leading edge of the initial gate signal En_CWL is later than the leading edge of the first decoded signal S1. By controlling the degree of pulse widening of the first decoded signal S1, the position of the trailing edge of the initial gate signal En_CWL can be controlled, thereby controlling the position of the trailing edge of the gate enable signal Gate_En.

[0078] In this embodiment of the disclosure, combined with Figure 4 and Figure 5 The leading edge of the initial gate signal En_CWL leads the trailing edge of the first decoding signal S1, and the leading edge of the first decoding signal S1 leads the trailing edge of the second decoding signal S2, thereby ensuring that the obtained gate enable signal Gate_En has a complete effective pulse interval.

[0079] In this embodiment of the disclosure, combined with Figure 4 and Figure 5 The first decoding signal S1, the second decoding signal S2, the initial gate signal En_CWL, and the gate enable signal Gate_En are all active high. After passing through the first OR gate OR1, the first decoding signal S1, the second decoding signal S2, and the initial gate signal En_CWL can be used to obtain the gate enable signal Gate_En. The leading edge of the gate enable signal Gate_En is aligned with the leading edge of the first decoding signal S1, the second decoding signal S2, and the initial gate signal En_CWL (i.e., the leading edge of the second decoding signal S2), and the trailing edge of the gate enable signal Gate_En is aligned with the trailing edge of the first decoding signal S1, the second decoding signal S2, and the initial gate signal En_CWL (i.e., the trailing edge of the initial gate signal En_CWL).

[0080] In this embodiment of the disclosure, combined with Figure 4 and Figure 5The clock delay path 1031 can delay the initial clock signal CLK to obtain the first clock signal CLK_1. The relative delay between the first clock signal CLK_1 and the initial clock signal CLK can be adjusted according to the needs of the circuit design. For example, due to the use of a fast path (i.e., the second decoding path 102), a second decoded signal S2 with a more advanced leading edge is obtained, and consequently, the leading edge of the obtained gate enable signal Gate_En is also more advanced. Correspondingly, the delay effect of the clock delay unit 1036 can be adjusted to reduce the relative delay between the first clock signal CLK_1 and the initial clock signal CLK, that is, to reduce the path delay in the clock delay unit 1036 and reduce the number of delay devices in the clock delay unit 1036. In this way, the phase of the first clock signal CLK_1 is also relatively advanced, so when gated with the gate enable signal Gate_En, the original edge of the initial clock signal CLK used to sample the command signal CMD can be avoided from being eliminated by the gate, so that subsequent circuits can use the clock gate signal CLK_out for sampling. At the same time, the power consumption of the clock delay unit 1036 can be reduced because the number of delay devices is reduced.

[0081] Figure 6 This example illustrates a situation where clock gating results may have issues. (See reference...) Figure 6 The second clock signal CLK_2 is clock-gated using the gate enable signal Gate_En / . The first rising edge of the resulting clock gate signal CLK_out / (marked with an upward arrow) is aligned with the falling edge of the first decoded signal S1 (marked by a dashed line in the figure). However, in practice, the voltage of the first decoded signal S1 begins to drop before reaching its falling edge, making it difficult for the clock gate signal CLK_out / to sample the effective pulse (i.e., the high-level region) of the first decoded signal S1.

[0082] In some embodiments of this disclosure, such as Figure 4 As shown, AND gate circuit 1034 may include a NAND gate and an inverter. In other embodiments, AND gate circuit 1034 may also include only an AND gate.

[0083] In some embodiments of this disclosure, such as Figure 7 As shown, the first decoding path 101 includes: a clock divider unit 1011, a first shift unit 1012, and a first command decoder 1013. Wherein:

[0084] The clock divider unit 1011 receives the initial clock signal CLK and is configured to divide the initial clock signal CLK to obtain the divided clock signal CLK_DIV.

[0085] The first shift unit 1012 is configured to receive the initial command signal CMD and the frequency division clock signal CLK_DIV, and to shift and register the initial command signal CMD under the trigger of the frequency division clock signal CLK_DIV, and sample to obtain the first command signal CMD_1.

[0086] The first command decoder 1013, coupled to the first shift unit 1012, is configured to receive the first command signal CMD_1, decode the first command signal CMD_1, and obtain and output the first decoded signal S1.

[0087] In this embodiment of the disclosure, the clock divider unit 1011 divides the initial clock signal CLK to obtain a divided clock signal CLK_DIV. Compared to the initial clock signal CLK, the frequency of the divided clock signal CLK_DIV decreases, while its period increases. For example, after dividing the initial clock signal CLK by two, the frequency of the resulting divided clock signal CLK_DIV is half the frequency of the initial clock signal CLK, and the period of the divided clock signal CLK_DIV is twice the period of the initial clock signal CLK.

[0088] In some embodiments of this disclosure, reference is made to Figure 7 The first shift unit 1012 may include N second flip-flops, all of which can be D flip-flops. The data input terminals of all N second flip-flops receive the initial command signal CMD, and the trigger terminals of all N second flip-flops receive the frequency-divided clock signal CLK_DIV. Correspondingly, the first shift unit 1012 outputs N first command signals CMD_1, each output by one of the N second flip-flops. After receiving the N first command signals CMD_1, the first command decoder 1013 determines the attributes (e.g., read or write command) of the N first command signals CMD_1 and decodes them accordingly to obtain the first decoded signal S1.

[0089] In some embodiments of this disclosure, such as Figure 7 As shown, the second decoding path 102 includes a second command decoder 1021. The second command decoder 1021 is configured to receive an initial command signal CMD, decode the initial command signal CMD, obtain and output a second decoded signal S2.

[0090] Figure 8 for Figure 7 A possible waveform diagram for each signal, such as... Figure 8As shown, the initial command signal CMD is decoded into a first decoded signal S1 after passing through the first decoding path 101, and then decoded into a second decoded signal S2 after passing through the second decoding path 102. The leading edge of the second decoded signal S2 leads the leading edge of the first decoded signal S1. In other words, compared to the first decoding path 101, the delay in the second decoding path 102 is smaller, meaning the second decoding path 102 is a fast path. This allows the timing of the clock gating signal CLK_out to be advanced, reducing the relative delay between the clock gating signal CLK_out and the standard clock signal. Therefore, it avoids the original edge of the initial clock signal used to sample the command signal being eliminated by gating, allowing subsequent circuits to use the clock gating signal for sampling.

[0091] It should be noted that, Figure 8 The initial command signal CMD shown is active low, meaning the effective pulse of the initial command signal CMD is low; while the first decoding signal S1 and the second decoding signal S2 are both active high, meaning the effective pulses of the first decoding signal S1 and the second decoding signal S2 are both high. Correspondingly, the first decoding path 101 and the second decoding path 102 may include a certain number of inverters to ensure that the initial command signal CMD, the first decoding signal S1, and the second decoding signal S2 achieve the following... Figure 8 The phase shown.

[0092] In some embodiments of this disclosure, such as Figure 9 As shown, the clock delay path 1031 includes: a delay control unit 1035 and a clock delay unit 1036. Wherein:

[0093] The delay control unit 1035 is configured to receive an initial clock signal CLK and a delay enable signal PRDOT, and to transmit the initial clock signal CLK under the control of the delay enable signal PRDOT.

[0094] The clock delay unit 1036 is connected to the delay control unit 1035 and is configured to receive the initial clock signal CLK, delay the initial clock signal CLK, and obtain and output the first clock signal CLK_1.

[0095] In this embodiment of the disclosure, the delay enable signal PRDOT can control the transmission of the initial clock signal CLK through the delay control unit 1035. For example, when the delay enable signal PRDOT is at an active level, the delay control unit 1035 transmits the initial clock signal CLK to the clock delay unit 1036; while when the delay enable signal PRDOT is at an inactive level, the delay control unit 1035 does not transmit the initial clock signal CLK.

[0096] In this embodiment of the disclosure, the clock delay unit 1036 can delay the initial clock signal CLK to obtain a first clock signal CLK_1. The relative delay between the first clock signal CLK_1 and the initial clock signal CLK can be adjusted according to the needs of the circuit design, for example, in combination with... Figure 1 and Figure 3 Because a fast path (i.e., the second decoding path 102) is used, a second decoded signal S2 with a more advanced leading edge is obtained. Consequently, the leading edge of the obtained gate enable signal Gate_En is also more advanced. Correspondingly, the delay effect of the clock delay unit 1036 can be adjusted, that is, the relative delay between the first clock signal CLK_1 and the initial clock signal CLK is reduced, so that the phase of the first clock signal CLK_1 is also relatively advanced. In this way, the original edge of the initial clock signal used to sample the command signal is avoided from being eliminated by the gate, so that subsequent circuits can use the clock gate signal for sampling.

[0097] In some embodiments of this disclosure, such as Figure 10 As shown, the clock delay unit 1036 includes M second inverters D2. The input of the first second inverter D2 is connected to the delay control unit 1035, the output of each second inverter D2 is connected to the input of the next second inverter D2, and the output of the Mth second inverter D2 outputs the first clock signal CLK_1. That is, the M second inverters D2 are connected end to end.

[0098] In this embodiment, each second inverter D2 has an inherent delay, thereby applying a delay when transmitting the clock signal, ultimately delaying the initial clock signal CLK to the first clock signal CLK_1. Simultaneously, each second inverter D2 can generate a driving effect when transmitting the clock signal, thereby preventing signal attenuation of the initial clock signal CLK during transmission.

[0099] In some embodiments of this disclosure, such as Figure 10 As shown, the delay control unit 1035 includes a first NAND gate Nand1. The first input terminal of the first NAND gate Nand1 receives the initial clock signal CLK, and the second input terminal of the first NAND gate Nand1 receives the delay enable signal PRDOT. The first NAND gate Nand1 transmits the initial clock signal CLK under the control of the delay enable signal PRDOT.

[0100] In this embodiment of the disclosure, the delay enable signal PRDOT is active high. That is, when the delay enable signal PRDOT is high, the first NAND gate Nand1 transmits the initial clock signal CLK to the clock delay unit 1036; while when the delay enable signal PRDOT is low, the first NAND gate Nand1 outputs a continuous high level, that is, it blocks the initial clock signal CLK and does not transmit the initial clock signal CLK.

[0101] Understandably, on the one hand, when the leading edge of the gating enable signal is further forward, the delay applied to the clock signal by the clock delay unit is adjusted, thereby reducing the relative delay of the first clock signal and advancing its phase. This allows the final obtained clock gating signal to be advanced, making timing alignment easier. It also avoids the original edge of the starting clock signal used to sample the command signal being eliminated by gating, allowing subsequent circuits to use the clock gating signal for sampling.

[0102] On the other hand, by controlling the transmission of the clock signal through the delay control unit, the clock signal is not transmitted when it is not needed, thus reducing current loss during clock signal transmission. At the same time, the number of delay devices in the clock delay unit is reduced accordingly, thereby reducing the power consumption of the clock delay unit.

[0103] Figure 11 An optional circuit structure diagram of the clock control circuit 10 is shown, combined with... Figure 11 , Figure 5 and Figure 8 The following explanation is provided.

[0104] Comparator A1 outputs the initial command signal CMD. The initial command signal CMD is decoded into the first decoded signal S1 via the first decoding path 101, and simultaneously, the initial command signal CMD is decoded into the second decoded signal S2 via the second decoding path 102. It should be noted that in... Figure 11 In the first decoding path 101, there are three inverters that can delay, drive, and invert the command signals transmitted in the first decoding path 101, so that the initial command signal CMD, the first decoding signal S1, and the second decoding signal S2 achieve the desired state. Figure 8 The phase shown.

[0105] Comparator A2 outputs the initial clock signal CLK. The initial clock signal CLK is divided into the divided clock signal CLK_DIV by the clock divider unit 1011. At the same time, the initial clock signal CLK is delayed into the first clock signal CLK_1 by the clock delay path 1031.

[0106] The second decoding path 102 is a fast decoding path; therefore, the leading edge of the second decoded signal S2 leads the leading edge of the first decoded signal S1. The first decoded signal S1 is extended into an initial gate signal En_CWL by the long pulse clock gating unit 104. The leading edge of the initial gate signal En_CWL leads the trailing edge of the first decoded signal S1, and the leading edge of the first decoded signal S1 leads the trailing edge of the second decoded signal S2. The first decoded signal S1, the second decoded signal S2, and the initial gate signal En_CWL are passed through the first OR gate OR1 to obtain the gate enable signal Gate_En, where the leading edge of the gate enable signal Gate_En is aligned with the second decoded signal S2, and the trailing edge of the gate enable signal Gate_En is aligned with the initial gate signal En_CWL. The first decoded signal S1, the second decoded signal S2, the initial gate signal En_CWL, and the gate enable signal Gate_En are all active high.

[0107] The clock delay path 1031 includes M second inverters D2, which delay and drive the transmitted clock signal so that the timing of the obtained first clock signal CLK_1 matches the gate enable signal Gate_En.

[0108] AND gate circuit 1034 receives the second clock signal CLK_2 and the shifted and registered gate enable signal Gate_En. It then gates the second clock signal CLK_2 according to the gate enable signal Gate_En to obtain and output the clock gate signal CLK_out.

[0109] Figure 12 An optional structural schematic diagram of a semiconductor memory provided in an embodiment of this disclosure is shown below. Figure 12 As shown, the semiconductor memory 80 includes a clock control circuit 10.

[0110] In some embodiments of this disclosure, reference is made to Figure 12 The semiconductor memory 80 is a dynamic random access memory (DRAM), which conforms to the DDR4 memory standard.

[0111] It should be noted that, in this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0112] The sequence numbers of the embodiments disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. The methods disclosed in the several method embodiments provided in this disclosure can be arbitrarily combined to obtain new method embodiments without conflict. The features disclosed in the several product embodiments provided in this disclosure can be arbitrarily combined to obtain new product embodiments without conflict. The features disclosed in the several method or device embodiments provided in this disclosure can be arbitrarily combined to obtain new method embodiments or device embodiments without conflict.

[0113] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

Claims

1. A clock control circuit, characterized in that, The clock control circuit includes: The first decoding path is configured to receive an initial command signal and an initial clock signal, shift and decode the initial command signal under the trigger of the initial clock signal, and obtain and output the first decoded signal; The second decoding path is configured to receive an initial command signal, decode the initial command signal, obtain and output a second decoded signal; the leading edge of the second decoded signal leads the leading edge of the first decoded signal. A clock gating circuit is used to receive the initial clock signal, the first decoded signal, and the second decoded signal, and to gate the initial clock signal according to the first decoded signal and the second decoded signal, and output a clock gating signal.

2. The clock control circuit according to claim 1, characterized in that, The clock gating circuit includes: The clock delay path is configured to receive the initial clock signal, delay the initial clock signal, obtain and output the first clock signal; The enable module receives the first decoding signal and the second decoding signal, and is configured to generate a gating enable signal based on the first decoding signal and the second decoding signal; The first flip-flop receives the gating enable signal at its data input terminal and receives the first clock signal at its trigger terminal. An AND gate circuit, wherein the input of the AND gate circuit is coupled to the output of the flip-flop and the output of the clock delay path, respectively.

3. The clock control circuit according to claim 2, characterized in that, The enabling module includes: a first OR gate; The input terminals of the first OR gate receive the first decoding signal, the second decoding signal, and the initial gating signal, respectively, and the output terminal of the first OR gate outputs the gating enable signal.

4. The clock control circuit according to claim 2, characterized in that, The clock gating circuit further includes: a first inverter; The input terminal of the first inverter is coupled to the output terminal of the clock delay path, and the output terminal of the first inverter is coupled to the AND gate circuit.

5. The clock control circuit according to claim 1, characterized in that, The trailing edge of the first decoded signal is later than the trailing edge of the second decoded signal.

6. The clock control circuit according to claim 3, characterized in that, The leading edge of the first decoded signal leads the trailing edge of the second decoded signal, and the leading edge of the initial gating signal leads the trailing edge of the first decoded signal.

7. The clock control circuit according to claim 3, characterized in that, The first decoding signal, the second decoding signal, the initial gating signal, and the gating enable signal are all active high.

8. The clock control circuit according to claim 1, characterized in that, The first decoding path includes: A clock division unit receives the initial clock signal and is configured to divide the initial clock signal to obtain a divided clock signal. The first shift unit is configured to receive an initial command signal and the frequency-divided clock signal, and to shift and register the initial command signal under the trigger of the frequency-divided clock signal to obtain a first command signal; A first command decoder, coupled to the first shift unit, is configured to receive the first command signal, decode the first command signal, and obtain and output the first decoded signal.

9. The clock control circuit according to claim 8, characterized in that, The second decoding path includes: a second command decoder; The second command decoder is configured to receive the initial command signal, decode the initial command signal, obtain and output the second decoded signal.

10. The clock control circuit according to claim 8, characterized in that, The first shift unit includes N second flip-flops; All N data input terminals of the second flip-flops receive the initial command signal, and all N trigger terminals of the second flip-flops receive the frequency division clock signal.

11. The clock control circuit according to claim 2, characterized in that, The clock delay path includes: A delay control unit is configured to receive the initial clock signal and a delay enable signal, and to transmit the initial clock signal under the control of the delay enable signal; A clock delay unit, connected to the delay control unit, is configured to receive the initial clock signal, delay the initial clock signal, and obtain and output the first clock signal.

12. The clock control circuit according to claim 11, characterized in that, The clock delay unit includes M second inverters; wherein the input terminal of the first second inverter is connected to the delay control unit, the output terminal of each second inverter is connected to the input terminal of the next second inverter, and the output terminal of the Mth second inverter outputs the first clock signal.

13. The clock control circuit according to claim 11, characterized in that, The delay enable signal is active high; the delay control unit includes: a first NAND gate; The first input terminal of the first NAND gate receives the initial clock signal, and the second input terminal of the first NAND gate receives the delay enable signal. The first NAND gate transmits the initial clock signal under the control of the delay enable signal.

14. A semiconductor memory, characterized in that, The semiconductor memory includes a clock control circuit as described in any one of claims 1 to 13.

15. The semiconductor memory according to claim 14, characterized in that, The semiconductor memory is a dynamic random access memory.

Citation Information

Patent Citations

  • Apparatus and method for latency control in high frequency synchronous semiconductor device

    CN1797606A

  • Encoding and decoding of digital data

    GB2011229A