Command processing circuit and memory
By designing a flexible command processing circuit in DRAM and using counting and threshold decision circuits to adjust the frequency of refresh commands, the problem of adjusting the frequency of refresh commands is solved, efficient error checking and clearing operations are achieved in different environments and modes, and the circuit cost is reduced. Complexity and cost.
Patent Information
- Application Number
- PCT/CN2023/092687
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-15
- Filing Date
- 2023-05-08
- Publication Date
- 2024-09-19
AI Technical Summary
In dynamic random access memory (DRAM), hardware circuits need to be designed to support the correlation mechanism between different commands. Especially in the error checking and clearing (ECS) mode, the frequency and time interval of refresh commands need to be based on the ambient temperature and To adjust the refresh mode, it is difficult for the existing technology to flexibly adjust the number of presets to meet the needs of different scenarios, resulting in increased circuit complexity and cost.
A command processing circuit is designed. Through counting circuits and command generation circuits, multi-cascade counting groups and threshold decision circuits are used to adjust the preset number of values according to the initial command and ambient temperature to support command generation needs in different scenarios. , save circuit area and reduce production costs.
It realizes the flexible adjustment of the frequency of refresh command generation in different scenarios, ensures that error checking and clearing operations are completed within 24 hours, reduces circuit complexity and production costs, and adapts to refresh command time intervals under different temperatures and modes.
Smart Images

Figure CN2023092687_19092024_PF_FP_ABST
Abstract
Description
A command processing circuit and memory
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on March 15, 2023, with application number 202310266757.4 and application name “A Command Processing Circuit and Memory,” the entire contents of which are incorporated by reference into this disclosure. Background Art
[0003] Dynamic Random Access Memory (DRAM) involves many different types of commands, and there is an association mechanism between these commands. Therefore, it is necessary to design corresponding hardware circuits to support the association mechanism between different commands.
[0004] Summary of the Invention
[0005] The present disclosure provides a command processing circuit and a memory.
[0006] The technical solution of the present disclosure is achieved as follows:
[0007] In a first aspect, an embodiment of the present disclosure provides a command processing circuit, wherein the command processing circuit is configured to generate a first operation command based on a current initial command or a next initial command every time a preset number of initial commands are received, and the preset number has multiple values;
[0008] The command processing circuit includes:
[0009] a counting circuit comprising a plurality of cascaded counting groups, configured to receive a threshold selection signal and the initial command, send the initial command to a clock terminal of one of the counting groups at one stage based on the threshold selection signal, and output a counting result of the last counting group at the last stage as a command count value;
[0010] a command generating circuit configured to receive the command count value and the initial command, and generate a first operation command based on the current initial command or the next initial command when the command count value reaches a target value;
[0011] The value of the preset number corresponds to the level of the counting group to which the initial command is sent.
[0012] In some embodiments, the command generation circuit is further configured to generate a second operation command based on the current initial command or the next initial command when the command count value does not reach the target value; wherein the first operation command and the second operation command indicate different operations.
[0013] In some embodiments, the preset number of values includes N preset values, the counting circuit includes N cascaded counting groups, the threshold selection signal includes N selection sub-signals, and at most one of the N selection sub-signals is in a valid state;
[0014] The counting circuit is specifically configured to send the initial command to the clock end of the i-th counting group when the i-th selection sub-signal is in a valid state, so that the preset number is the i-th preset value; wherein i and N are both positive integers, 1≤i≤N.
[0015] In some embodiments, the N preset values decrease in sequence, and the Nth preset value is the same as the target value.
[0016] In some embodiments, the counting circuit further includes N data selectors, wherein:
[0017] The first input ends of all the data selectors receive the initial command, the second input ends of the data selectors of the first level receive the ground signal, the second input end of the data selectors of the i-th level is connected to the cascade end of the counting group of the i-1th level; the selection end of the data selectors of the i-th level receives the i-th selection sub-signal, and the output end of the data selectors of the i-th level is connected to the clock end of the counting group of the i-th level.
[0018] In some embodiments, when N=3, and the first preset value is 4 times the target value, and the second preset value is 2 times the target value,
[0019] The first-stage counting group includes a first flip-flop, a clock terminal of the first flip-flop forms a clock terminal of the first-stage counting group, an input terminal of the first flip-flop is connected to its own inverting output terminal, and an inverting output terminal of the first flip-flop forms a cascade terminal of the first-stage counting group;
[0020] The second-stage counting group includes a second flip-flop, a clock terminal of the second flip-flop forms a clock terminal of the second-stage counting group, an input terminal of the second flip-flop is connected to its own inverting output terminal, and an inverting output terminal of the second flip-flop forms a cascade terminal of the second-stage counting group;
[0021] The counting group of the third level includes A cascaded third flip-flops, and 2A is greater than or equal to the target value; the clock end of the first third flip-flop forms the clock end of the counting group of the third level, and the clock ends of the remaining third flip-flops are all connected to the inverting output end of the third flip-flop of the previous level; the input end of the third flip-flop of each level is connected to its own inverting output end, and the positive output end of the third flip-flop of each level outputs a one-bit counting sub-signal, and the A-bit counting sub-signals together constitute the command count value.
[0022] In some embodiments, the command processing circuit further includes a threshold decision circuit, wherein the threshold decision circuit is configured to determine an associated parameter signal and adjust the threshold selection signal based on the associated parameter signal to adjust the value of the preset number;
[0023] The threshold decision circuit includes a temperature sensor and a first decoding circuit, wherein:
[0024] The temperature sensor is configured to sense an internal temperature of the circuit and generate and output an ambient temperature signal based on the internal temperature;
[0025] The first decoding circuit is configured to receive the ambient temperature signal and the correlation mode signal, decode the ambient temperature signal and the correlation mode signal, and output the threshold selection signal;
[0026] The ambient temperature signal and the associated mode signal constitute the associated parameter signal, and the associated mode signal is generated via a mode register circuit.
[0027] In some embodiments, the command processing circuit further includes a threshold decision circuit, the threshold decision circuit being configured to generate the threshold selection signal; and in a first preset mode, controlling the threshold selection signal to remain unchanged; or, in a second preset mode, adjusting the threshold selection signal based on an associated parameter signal to adjust a value of the preset number;
[0028] The threshold decision circuit includes a temperature sensor and a first decoding circuit;
[0029] The temperature sensor is configured to sense an internal temperature of the circuit and generate and output an ambient temperature signal based on the internal temperature;
[0030] The first decoding circuit is configured to receive the ambient temperature signal, the associated mode signal, and the mode selection signal, decode the ambient temperature signal, the associated mode signal, and the mode selection signal, and output the threshold selection signal;
[0031] The ambient temperature signal and the associated mode signal constitute the associated parameter signal, the mode selection signal indicates that the command generating circuit is in the first preset mode or the second preset mode, and the mode selection signal and the associated mode signal are both generated via a mode register circuit.
[0032] In some embodiments, the command generation circuit is further configured to generate and output a count reset signal based on the first operation command;
[0033] The counting circuit is further configured to receive the counting reset signal and control all the counting groups to perform zero clearing processing based on the counting reset signal.
[0034] In some embodiments, the command generating circuit includes a second decoding circuit, a command generator and a logic circuit; wherein,
[0035] The second decoding circuit is configured to receive the command count value and output a flag signal based on the command count value; wherein if the command count value does not reach the target value, the flag signal is in an invalid state; if the command count value reaches the target value, the flag signal is in a valid state;
[0036] The command generator is configured to receive the initial command and the flag signal; and when the flag signal is in an invalid state, generate a second operation command based on the current initial command or the next initial command; when the flag signal is in a valid state, generate a first operation command based on the current initial command or the next initial command;
[0037] The logic circuit is configured to receive the first operation command and the system reset command, perform a logic operation on the first operation command and the system reset command, and generate and output the count reset signal.
[0038] In some embodiments, the command generator includes a NOT gate, a delay unit, a sixth AND gate, and a seventh AND gate; wherein,
[0039] The input end of the NOT gate receives the flag signal, the input end of the delay unit receives the initial command, the first input end of the sixth AND gate is connected to the output end of the NOT gate, the second input end of the sixth AND gate is connected to the output end of the delay unit, and the output end of the sixth AND gate outputs the second operation command;
[0040] A first input terminal of the seventh AND gate is connected to the output terminal of the delay unit, a second input terminal of the seventh AND gate receives the flag signal, and an output terminal of the seventh AND gate outputs the first operation command.
[0041] In some embodiments, the logic circuit includes an OR gate, a first input terminal of the OR gate receives the first operation command, a second input terminal of the OR gate receives the system reset command, and an output terminal of the OR gate outputs the count reset signal.
[0042] In some embodiments, the initial command is a refresh command, the second operation command is a refresh operation command, and the first operation command is an error check and clear (ECS) operation command.
[0043] In some embodiments, when the target value is 165, the command count value includes an 8-bit count sub-signal;
[0044] The second decoding circuit includes a first AND gate, a second AND gate, a third AND gate, a fourth AND gate, a fifth AND gate, a first NOR gate and a second NOR gate; wherein:
[0045] The two input ends of the first AND gate receive the 8th counting sub-signal and the 6th counting sub-signal, respectively; the two input ends of the second AND gate receive the 3rd counting sub-signal and the 1st counting sub-signal, respectively; the two input ends of the first NOR gate receive the 7th counting sub-signal and the 5th counting sub-signal, respectively; and the two input ends of the second NOR gate receive the 4th counting sub-signal and the 2nd counting sub-signal, respectively;
[0046] The first input end of the third AND gate is connected to the output end of the first AND gate, the second input end of the third AND gate is connected to the output end of the second AND gate, the first input end of the fourth AND gate is connected to the output end of the first NOR gate, and the second input end of the fourth AND gate is connected to the output end of the second NOR gate; the first input end of the fifth AND gate is connected to the output end of the third AND gate, the second input end of the fifth AND gate is connected to the output end of the fourth AND gate, and the output end of the fifth AND gate outputs the flag signal.
[0047] In a second aspect, an embodiment of the present disclosure provides a memory, which at least includes the command processing circuit as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] FIG1 is a schematic structural diagram of a command processing circuit provided by an embodiment of the present disclosure;
[0049] FIG2 is a schematic diagram of the structure of another command processing circuit provided by an embodiment of the present disclosure;
[0050] FIG3 is a schematic diagram of the structure of a command processing circuit provided by an embodiment of the present disclosure;
[0051] FIG4A is a schematic diagram of a partial structure of a command processing circuit according to an embodiment of the present disclosure;
[0052] FIG4B is a second partial structural diagram of a command processing circuit provided by an embodiment of the present disclosure;
[0053] FIG5 is a schematic structural diagram of a counting group provided by an embodiment of the present disclosure;
[0054] FIG6 is a schematic structural diagram of a command generating circuit provided by an embodiment of the present disclosure;
[0055] FIG7 is a third partial structural diagram of a command processing circuit provided by an embodiment of the present disclosure;
[0056] FIG8 is a fourth partial structural diagram of a command processing circuit provided by an embodiment of the present disclosure;
[0057] FIG9 is a schematic diagram of a signal change according to an embodiment of the present disclosure;
[0058] FIG10 is a schematic diagram of the structure of a memory provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0059] The following, in conjunction with the accompanying drawings, provides a clear and complete description of the technical solutions in the embodiments of the present disclosure. It should be understood that the specific embodiments described herein are intended solely to illustrate the related applications and are not intended to limit those applications. It should also be noted that, for ease of description, only portions of the drawings related to the related applications are shown. Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art to which the present disclosure relates. The terms used herein are for the purpose of describing the embodiments of the present disclosure only and are not intended to limit the present disclosure. In the following description, references to "some embodiments" describe a subset of all possible embodiments. However, it should be understood that "some embodiments" may refer to the same or different subsets of all possible embodiments and may be combined with each other without conflict. It should be noted that the terms "first," "second," and "third" in the embodiments of the present disclosure are used solely to distinguish similar objects and do not represent a specific ordering of the objects. It should be understood that "first," "second," and "third" may interchangeably represent a specific order or sequential sequence, where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0060] Dynamic Random Access Memory (DRAM);
[0061] Synchronous Dynamic Random Access Memory (SDRAM);
[0062] Double Data Rate SDRAM (DDR);
[0063] 5th generation DDR standard (DDR5 Specification, DDR5 SPEC);
[0064] Error Check and Scrub (ECS) mode.
[0065] Gigabyte (Gb)
[0066] microsecond (μs)
[0067] For ease of understanding, the command processing circuit will be assisted in explaining the Error Check and Scrub (ECS) mode of DRAM as an example scenario. However, this does not limit the command processing circuit. In fact, the command processing circuit provided by the embodiment of the present disclosure can be applied to various types of command generation scenarios. The ECS mode allows the DRAM to read and modify the detected error codewords internally, while recording the error count. Specifically, during the ECS process, it is necessary to perform error checking on all storage block groups BG / storage blocks BA, storage rows ROW, and storage columns COL in the DRAM, so multiple ECS operations need to be performed within 24 hours, and each ECS operation is used to generate pre-charge, activation, read and write commands. In addition, when performing ECS operations in automatic ECS mode, the host needs to periodically send refresh commands or self-refresh commands, and the ECS module needs to periodically steal refresh commands / self-refresh commands to perform ECS operations.
[0068] Taking DDR5 DRAM as an example, it is required to perform a complete error check on the DRAM at least once every 24 hours, so the frequency of ECS operations needs to be planned. The average interval between each ECS operation is recorded as tECSint. For a chip with a storage capacity of 8Gb, tECSint is approximately 1287μs; for a chip with a storage capacity of 16Gb, tECSint is approximately 644μs; for a chip with a storage capacity of 24Gb, tECSint is approximately 429μs; for a chip with a storage capacity of 32Gb, tECSint is approximately 322μs; and for a chip with a storage capacity of 64Gb, tECSint is approximately 161μs. This ensures that the DRAM is fully error-checked once every 24 hours.
[0069] Taking a chip with a storage capacity of 16Gb as an example, tECSint is about 644μs at this time. During this time period, the refresh command needs to be counted. When the count reaches the preset number (indicating that the time interval is about 644μs at this time), the current refresh command or the next refresh command will be stolen for automatic ECS operation command. However, in different scenarios, the time interval between two adjacent refresh commands is different, so the value of the preset number is also different. As shown in Table 1, it shows the time interval tREFI of the refresh command (REFab) in different scenarios and the value of the preset number.
[0070] Table 1
[0071] That is, in Normal mode, if the ambient temperature is 0-85°C, then every 165 refresh commands, the current refresh command (the 165th refresh command) or the next refresh command (the 166th refresh command) is stolen to generate an ECS operation command. If the ambient temperature is 85-95°C, then every 330 refresh commands, the current refresh command (the 330th refresh command) or the next refresh command (the 331st refresh command) is stolen to generate an ECS operation command. In Fine Granularity mode, if the ambient temperature is 0-85°C, then every 330 refresh commands, the current refresh command (the 660th refresh command) or the next refresh command (the 661st refresh command) is stolen to generate an ECS operation command. If the ambient temperature is 85-95°C, then every 660 refresh commands, the current refresh command (the 660th refresh command) or the next refresh command (the 661st refresh command) is stolen to generate an ECS operation command.
[0072] As can be seen above, in automatic ECS operation mode, a preset number of refresh commands are generated every time a refresh command steals the current or next refresh command to form an ECS operation command, thereby triggering an ECS operation. Because a complete ECS operation must be completed on the memory within 24 hours, the interval between ECS operations is fixed. However, because the frequency of refresh commands varies in different modes and temperatures, the value of the preset number needs to be adjusted based on actual conditions. In other words, how to adjust the preset number for different refresh modes and temperatures is a technical problem that needs to be solved.
[0073] Based on this, an embodiment of the present disclosure provides a command processing circuit that can adjust the value of a preset number simply by changing the counting group that the initial command enters. It can support command generation requirements in different scenarios, save circuit area, and reduce production costs.
[0074] In one embodiment of the present disclosure, referring to FIG1 , a schematic diagram of the structure of a command processing circuit 10 provided in an embodiment of the present disclosure is shown. The command processing circuit 10 is configured to generate a first operation command based on the current initial command or the next initial command every time a preset number of initial commands are received, and the preset number has multiple values. The command processing circuit 10 includes:
[0075] The counting circuit 11 includes a plurality of cascaded counting groups (e.g., the first-stage counting group 111, the second-stage counting group 112, ..., the Nth-stage counting group 11N in FIG. 1 ), and is configured to receive a threshold selection signal and an initial command, send the initial command to a clock terminal of one of the first-stage counting groups based on the threshold selection signal, and output the counting result of the last-stage counting group (i.e., the counting group 11N) as a command count value;
[0076] The command generating circuit 12 is configured to receive a command count value and an initial command, and to generate a first operation command based on a current initial command or a next initial command when the command count value reaches a target value.
[0077] It should be noted that the value of the preset number corresponds to the number of counting groups into which the initial command is sent. Specifically, the counting principle of the counting circuit 11 is similar to a "carry counting system," where the count value of the previous counting group is similar to the "low digit of the value," and the count value of the next counting group is similar to the "high digit of the value." That is, after the count value of the previous counting group reaches its maximum value, a new initial command will cause the count value of the previous counting group to return to zero while the count value of the next counting group changes. In other words, the earlier the initial command enters the counting group, the more initial commands are required to bring the command count value to the target value, and thus the larger the value of the preset number.
[0078] In this way, the preset quantity can be adjusted simply by changing the counting group that the initial command enters, which can support the command generation requirements in different scenarios. Moreover, different preset quantities reuse a part of the counting group, and there is no need to set up a separate counting module for each preset quantity, saving circuit area and reducing production costs.
[0079] In some embodiments, as shown in FIG2 , the command generation circuit 12 is further configured to generate a second operation command based on the current initial command or the next initial command when the command count value does not reach the target value; wherein the first operation command and the second operation command indicate different operations.
[0080] It should be noted that "certain commands" such as the initial command, the first operation command, and the second operation command all refer to generating a pulse at the corresponding signal port. This pulse can be a positive pulse or a negative pulse. The embodiments of this disclosure will be explained using positive pulses as an example.
[0081] In this way, most of the initial commands are used to generate the second operation command, but every preset number of initial commands, the current initial command or the next initial command is used to generate the first operation command.
[0082] In some embodiments, the preset number of values includes N preset values, where N is a positive integer. Here, the N preset values decrease in sequence, and the Nth preset value is the same as the target value, that is, the target value is the minimum value among the N preset values.
[0083] Accordingly, the counting circuit 11 includes N cascaded counting groups: the first counting group 111 to the Nth counting group 11N. Accordingly, the threshold selection signal is represented by CNT_SEL <n-1:0>, which includes N selection sub-signals CNT_SEL <0> 、CNT_SEL <1> ...CNT_SEL <n-1>, and at most one of the N selector signals is in an active state. The counting circuit 11 is specifically configured to send an initial command to the clock terminal of the i-th counting group 11i when the i-th selector signal is in an active state, so that the preset number reaches the i-th preset value; where i is a positive integer, 1≤i≤N.
[0084] Here, the logic levels of the valid state and the invalid state are different; for example, the valid state is logic 1 and the invalid state is logic 0; or, the valid state is logic 0 and the invalid state is logic 1.
[0085] In some embodiments, as shown in FIG2 , the counting circuit 11 further includes N data selectors (specifically, data selectors 121 to Nth data selector 12N), wherein: the first input terminals of all the data selectors receive an initial command, the second input terminal of the first-stage data selector receives a ground signal VSS, the second input terminal of the i-th-stage data selector is connected to the cascade terminal of the i-1-th-stage counting group; the selection terminal of the i-th-stage data selector receives the i-th selection sub-signal CNT_SEL <i-1>The output terminal of the i-th stage data selector is connected to the clock terminal of the i-th stage counting group. In particular, the data selector and the selection sub-signal are in one-to-one correspondence.
[0086] It should be noted that for the data selector in Figure 2, the first input terminal is the non-inverting input terminal, and the second input terminal is the inverting input terminal. However, this is determined based on the circuit connection relationship and signal change mechanism. For example, in another embodiment, the first input terminal is the inverting input terminal, and the second input terminal is the non-inverting input terminal; in yet another embodiment, the second input terminal of the first-stage data selector can also receive a power signal.
[0087] A specific configuration of the counting circuit 11 is provided using the ECS mode of a DRAM as an example scenario. In this case, the initial command may be the refresh command REFab, the first operation command may be the ECS operation command ECS_CMD, and the second operation command may be the refresh operation command REF_NEW. For a chip with a storage capacity of 16Gb, tECSint is approximately 644μs. As shown in Table 1, the first preset value (target value) is 165, the second preset value is 330, and the third preset value is 660.
[0088] In this case, N=3. Referring to FIG. 4A or FIG. 4B , counting circuit 11 includes a first-stage counting group 111, a second-stage counting group 112, and a third-stage counting group 113. The counting result CNT_3 of third-stage counting group 113 is the aforementioned command count value. FIG. 4A or FIG. 4B also illustrates the counting result CNT_1 of first-stage counting group 111 and the counting result CNT_2 of second-stage counting group 112. However, CNT_1 and CNT_2 have no specific purpose in this disclosed embodiment and may or may not be included.
[0089] When the first preset value is 4 times the target value and the second preset value is 2 times the target value:
[0090] (1) The first-stage counting group 111 includes a first trigger, the clock terminal of the first trigger forms the clock terminal of the first-stage counting group, the input terminal of the first trigger is connected to its own inverting output terminal, the inverting output terminal of the first trigger forms the cascade terminal of the first-stage counting group, and the positive output terminal of the first trigger outputs the counting result CNT_1.
[0091] (2) The second-stage counting group 112 includes a second flip-flop, the clock terminal of the second flip-flop forms the clock terminal of the second-stage counting group, the input terminal of the second flip-flop is connected to its own inverting output terminal, the inverting output terminal of the second flip-flop forms the cascade terminal of the second-stage counting group, and the positive output terminal of the second flip-flop outputs the counting result CNT_2.
[0092] (3) Referring to FIG5 , the third-stage counting group 113 includes A cascaded third triggers ( FIG5 takes A=8 as an example), and 2 A The clock terminal of the first third flip-flop forms the clock terminal of the third-stage counting group, and the clock terminals of the remaining third flip-flops are connected to the inverting output terminal of the previous third flip-flop; the input terminal of each third flip-flop is connected to its own inverting output terminal, and the positive output terminal of each third flip-flop outputs a one-bit counting sub-signal (for example, REF <0> ~REF <7> ), the A-bit counting sub-signal (ie, REF<7:0>) together constitute the command count value.
[0093] It should be understood that in the ECS circuit scenario, the target value = 165, the third-level counting group 113 includes a total of 8 third triggers (third triggers 201-208), and the maximum count value is 2 8 =256, which is greater than the target value of 165, which is the circuit shown in Figure 5.
[0094] In this way, if the initial command REFab enters the clock end of the first third trigger, the command count value reaches the target value every "165 (target value)" initial commands; if the initial command signal enters the clock end of the second trigger, the command count value reaches the target value every "330 (2 times the target value)" initial commands; if the initial command signal enters the clock end of the first trigger, the command count value reaches the target value every "660 (4 times the target value)" initial commands, thereby flexibly adjusting the value of the preset number.
[0095] In other embodiments, the multiple relationship between different preset values can be adjusted according to the actual application scenario. Specifically, the number of triggers required for the i-th counting group is determined based on the multiple relationship between each preset value and the previous preset value. For example, if the i-1-th preset value × 2 b-1 < the i-th preset value ≤ the i-1-th preset value × 2 b , the i-th counting group should set b triggers.
[0096] Furthermore, if the quotient of the i-th preset value and the i-1-th preset value is an integer power of 2, the inverting output of the last flip-flop in the i-th stage counting group forms the cascade end of the counting group; if the quotient of the i-th preset value and the i-1-th preset value is not an integer power of 2, then a numerical processing unit (which may be a decoder) for determining whether the count value reaches the quotient value (between the i-th preset value and the i-1-th preset value) needs to be added to the i-th stage counting group. The input end of the numerical processing unit is connected to the non-inverting output end of some / all flip-flops, and the output end of the numerical processing unit forms the cascade end of the counting group. The numerical processing unit can be formed by one or more of an AND gate, a NAND gate, an XNOR gate, an XOR gate, and a NOT gate.
[0097] It should be noted that the counting circuit 11 also has a reset mechanism to recount the refresh commands after generating the first operation command, thereby ensuring the normal generation of the next first operation command. Therefore, in some embodiments, as shown in Figures 2 and 3, the command generation circuit 12 is further configured to generate and output a count reset signal CNT_Rst based on the first operation command; the counting circuit 11 is further configured to receive the count reset signal CNT_Rst and control all count groups to perform zero clearing based on the count reset signal CNT_Rst.
[0098] Here, referring to FIG. 5 , the reset terminals of the flip-flops in all the counting groups receive the counting reset signal CNT_Rst, that is, the clearing process of the counting group means that all the flip-flops contained therein are reset.
[0099] In some embodiments, as shown in FIG6 , the command generating circuit 12 includes a second decoding circuit 121 , a command generator 122 and a logic circuit 123 ; wherein,
[0100] The second decoding circuit 121 is configured to receive a command count value, and based on the command count value, generate and output a flag signal; wherein if the command count value does not reach the target value, the flag signal is in an invalid state; if the command count value reaches the target value, the flag signal is in a valid state;
[0101] The command generator 122 is configured to receive an initial command and a flag signal; and generate a second operation command based on the current initial command or the next initial command when the flag signal is in an invalid state; and generate a first operation command based on the current initial command or the next initial command when the flag signal is in a valid state;
[0102] The logic circuit 123 is configured to receive a first operation command and a system reset command, perform a logic operation on the first operation command and the system reset command, and generate and output a count reset signal.
[0103] Please note that after the count value reaches the target value, a first operation command is generated based on the current initial command or pending the next initial command, thereby generating a count reset signal. However, after the count value reaches the target value and before the first operation command is generated, the count value remains unchanged. In other words, the count pulse of the count value and the generation of the first operation command are both triggered by the "same initial command."
[0104] Therefore, the second decoding circuit 121 is primarily used to determine whether the command count value has reached the target value, the command generator 122 is primarily used to generate the first operation command or the second operation command using the initial command, and the logic circuit 123 is primarily used to implement the logic related to clearing the count to meet the clearing requirement after generating the first operation command or the reset requirement from the system. It should be understood that the first operation command and the second operation command in Figure 6 are not generated simultaneously.
[0105] In the ECS circuit scenario, the specific structure of the command generation circuit 12 is shown in Figure 7. Referring to Figure 4A (or Figure 4B) and Figure 7, the count result CNT_3 of the third-stage counting group 113 is the command count value, the flag signal is represented by ECS_Flag, and the system reset command is represented by Reset. As shown in Figure 7, the second decoding circuit 121 can also receive the count result CNT_1 of the first-stage counting group 111 and the count result CNT_2 of the second-stage counting group 112 to address potential needs. In other words, in the previous example, whether the preset number has been reached is determined based on whether the count result of the last-stage counting group reaches the target value. However, in other embodiments, whether the preset number has been reached can be determined based on several of the count results CNT_1 of the first-stage counting group 111, the count result CNT_2 of the second-stage counting group 112, and the count result CNT_3 of the third-stage counting group 113. In this case, the target value can be the same as the preset value, or it can change with changes in the preset value.
[0106] In the ECS circuit scenario, the target value = 165, and the counting result CNT_3 of the third-level counting group 113 can specifically include REF <7> ~REF <0> The 8-bit counting sub-signal is assumed to be in the valid state of the flag signal ECS_Flag as logic 1 and in the invalid state of the flag signal ECS_Flag as logic 0. In this case, as shown in FIG8 , the second decoding circuit 121 includes a first AND gate 301, a second AND gate 302, a third AND gate 303, a fourth AND gate 304, a fifth AND gate 305, a first NOR gate 306 and a second NOR gate 307; wherein: the two input terminals of the first AND gate 301 receive the 8-bit counting sub-signal REF <7> and the 6th bit counting sub-signal REF <5> The two input terminals of the second AND gate 302 receive the third bit counting sub-signal REF <2> and the 1st bit counting sub-signal REF <0> The two input terminals of the first NOR gate 306 receive the 7th counting sub-signal REF <6> and the 5th bit counting sub-signal REF <4> The two input terminals of the second NOR gate 307 receive the 4th counting sub-signal REF <3> and the second bit counting sub-signal REF <1> ; A first input terminal of the third AND gate 303 is connected to the output terminal of the first AND gate 301, a second input terminal of the third AND gate 303 is connected to the output terminal of the second AND gate 302, a first input terminal of the fourth AND gate 304 is connected to the output terminal of the first NOR gate 306, and a second input terminal of the fourth AND gate 304 is connected to the output terminal of the second NOR gate 307; a first input terminal of the fifth AND gate 305 is connected to the output terminal of the third AND gate 303, a second input terminal of the fifth AND gate 305 is connected to the output terminal of the fourth AND gate 304, and the output terminal of the fifth AND gate 305 outputs the flag signal ECS_Flag.
[0107] Thus, when REF<7:0>=10100101 (165 in decimal), the flag signal ECS_Flag=1 (valid state); when REF<7:0> does not reach 10100101, the flag signal ECS_Flag=0 (invalid state).
[0108] In some embodiments, as shown in Figure 8, the command generator 122 includes a NOT gate 401, a delay unit 402, a sixth AND gate 403 and a seventh AND gate 404; wherein, the input end of the NOT gate 401 receives the flag signal ECS_Flag, the input end of the delay unit 402 receives the initial command (specifically, the refresh command REFab in Figure 7), the first input end of the sixth AND gate 403 is connected to the output end of the NOT gate 401, the second input end of the sixth AND gate 403 is connected to the output end of the delay unit 402, and the output end of the sixth AND gate 403 is used to output the second operation command (specifically, the refresh operation command REF_NEW in Figure 7); the first input end of the seventh AND gate 404 is connected to the output end of the delay unit 402, the second input end of the seventh AND gate 404 receives the flag signal ECS_Flag, and the output end of the seventh AND gate 404 is used to output the first operation command (specifically, the ECS operation command ECS_CMD in Figure 7).
[0109] Here, the delay unit 402 is used to delay the received initial command to achieve timing matching, but it does not change the signal change properties.
[0110] It should be noted that the refresh command REFab, the refresh operation command REF_NEW, and the ECS operation command ECS_CMD can all be considered as a single positive pulse. Thus, if the flag signal ECS_Flag = 1, the output of the sixth AND gate 403 is always low, meaning the refresh operation command REF_NEW is not generated. Simultaneously, the output of the seventh AND gate 404 generates a positive pulse, meaning the ECS operation command ECS_CMD is generated. If the flag signal ECS_Flag = 0, the output of the sixth AND gate 403 is a positive pulse, meaning the refresh operation command REF_NEW is generated. Simultaneously, the output of the seventh AND gate 404 is always low, meaning the ECS operation command ECS_CMD is not generated.
[0111] In a specific embodiment, as shown in FIG7 , the logic circuit 123 includes an OR gate, wherein a first input of the OR gate receives a first operation command, a second input of the OR gate receives a system reset command, and an output of the OR gate outputs a count reset signal CNT_Rst. This embodiment is applicable in at least the following scenarios: the count reset signal CNT_Rst is a high-active signal; during normal system operation, the signal port corresponding to the system reset command Reset is always at a low level; when the system needs to be initialized / reset, the signal port corresponding to the system reset command Reset generates a positive pulse; and the ECS operation command ECS_CMD (i.e., the first operation command) is essentially a positive pulse. Thus, based on the generated ECS operation command ECS_CMD, the count reset signal CNT_Rst generates a positive pulse, thereby resetting all count groups and restarting the count of refresh commands; alternatively, when the system issues a system reset command, the count reset signal CNT_Rst also generates a positive pulse, thereby resetting all count groups; at all other times, the count reset signal CNT_Rst is always at a low level.
[0112] In other circuit scenarios, the logic circuit 123 may also be an AND gate, a NOR gate, a NAND gate, etc., which needs to be determined according to the change mechanism of the associated signal.
[0113] In some embodiments, as shown in FIG3 , the command processing circuit 10 further includes a threshold decision circuit 13 ; the threshold decision circuit 13 is configured to determine an associated parameter signal and adjust the threshold selection signal based on the associated parameter signal to adjust the value of the preset number.
[0114] Here, the associated parameter signal indicates all relevant factors that can affect the value of the preset quantity, such as one or more of temperature, voltage, and associated mode parameters.
[0115] For example, in an ECS circuit scenario, the associated mode parameter is used to indicate which automatic refresh mode the memory is in, Normal or Fine Granularity, and the current ambient temperature. Accordingly, as shown in FIG4A , the threshold decision circuit 13 includes a temperature sensor 131 and a first decoding circuit 132, wherein:
[0116] a temperature sensor 131 configured to sense an internal temperature of the circuit and generate and output an ambient temperature signal based on the internal temperature;
[0117] The first decoding circuit 132 is configured to receive the ambient temperature signal and the associated mode signal MR4 OP[4], decode the ambient temperature signal and the associated mode signal MR4 OP[4], and output a threshold selection signal; wherein the ambient temperature signal and the associated mode signal MR4 OP[4] constitute an associated parameter signal, and the associated mode signal MR4 OP[4] is generated by the mode register circuit.
[0118] It should be noted that, referring to Table 1, the associated mode signal MR4 OP[4] is used to indicate whether the current refresh mode of the memory is Normal or Fine Granularity. For example, when the associated mode signal MR4 OP[4] = 0, the memory is in Normal refresh mode, and when the associated mode signal MR4 OP[4] = 1, the memory is in Fine Granularity refresh mode; the ambient temperature signal includes Temp<0:85> and Temp<85:95>, Temp<0:85> is used to indicate whether the current temperature is 0~85℃, and Temp<85:95> is used to indicate whether the current temperature is 85~95℃.
[0119] In another specific embodiment, as shown in Figure 3, the command processing circuit 10 also includes a threshold decision circuit 13; the threshold decision circuit 13 is configured to generate a threshold selection signal; and in a first preset mode, the threshold selection signal is controlled to remain unchanged; or, in a second preset mode, the threshold selection signal is adjusted based on the associated parameter signal to adjust the value of the preset number.
[0120] In this way, in the first preset mode, the preset number is fixed; in the second preset mode, the preset number is adjustable. According to different scene requirements / design requirements, the preset number can be controlled to be fixed or flexibly adjusted.
[0121] Similarly, as shown in FIG4B , the threshold determination circuit 13 includes a temperature sensor 131 and a first decoding circuit 132 ;
[0122] a temperature sensor 131 configured to sense an internal temperature of the circuit and generate and output an ambient temperature signal based on the internal temperature;
[0123] The first decoding circuit 132 is configured to receive the ambient temperature signal, the associated mode signal MR4 OP[4] and the mode selection signal, and decode the ambient temperature signal, the associated mode signal MR4 OP[4] and the mode selection signal to output a threshold selection signal; wherein the ambient temperature signal and the associated mode signal MR4 OP[4] constitute an associated parameter signal, the mode selection signal indicates whether the command generating circuit is in the first preset mode or the second preset mode, and the mode selection signal and the associated mode signal MR4 OP[4] are both generated via the mode register circuit.
[0124] Please refer to Figures 4A, 5, and 8 for a comprehensive description of a command processing circuit 10 that supports ECS-related circuit requirements. As shown in Figure 4A, the command processing circuit 10 decodes temperature information (specifically, Temp<0:85> and Temp<85:95>) and refresh mode information (MR4OP[4]) via a temperature sensor to obtain a threshold selection signal CNT_SEL<2:0>. The threshold selection signal CNT_SEL<2:0> is then used to select which counter group the refresh command will be sent to (or the number of counter groups enabled).
[0125] Taking Table 1 as an example, the target value is set to 165. Specifically, (1) when the refresh mode is Fine Granularity and the ambient temperature is 85-95°C, when CNT_SEL<2:0>=001, the refresh command enters the first-level counting group, that is, the refresh command is counted by three counting groups, and the preset number is 660. (2) when the refresh mode is Fine Granularity Mode and the ambient temperature is 0-85°C or when the refresh mode is Normal and the ambient temperature is 85-95°C, when CNT_SEL<2:0>=010, the refresh command enters the second-level counting group, that is, the refresh command is counted by two counting groups, and the preset number is 330; (3) when the refresh mode is Normal and the ambient temperature is 0-85°C, when CNT_SEL<2:0>=100, the refresh command enters the third-level counting group, that is, the refresh command is counted by one counter, and the preset number is 165.
[0126] As shown in Figure 8 , when the count result of the third-stage counter does not reach the set target value, the decoded flag ECS_FLAG signal is low, and command generator 122 generates a refresh operation command REF_NEW based on the refresh command REFab, thereby executing a refresh operation. After the count result of the third-stage counter reaches the set target value, the decoded flag ECS_FLAG signal becomes high, and command generator 122 steals the current refresh command REFab or the next refresh command REFab to generate the ECS operation command ECS_CMD. Meanwhile, the refresh operation command REF_NEW is not generated for the stolen REFab command. Simultaneously, after the ECS operation command is generated, a count reset signal CNT_Rst is generated, and each counting group restarts counting.
[0127] It should be understood that when the command count value reaches the target value, if it is necessary to "steal the current refresh command REFab to form the ECS operation command ECS_CMD", the delay of the delay module 402 in the control command generator is relatively large, so that the delayed current refresh command REFab is received after the count value is decoded, and the current refresh command REFab is further used to generate the ECS operation command ECS_CMD; conversely, if it is necessary to "steal the next refresh command REFab to form the ECS operation command ECS_CMD", the delay of the delay module 402 in the control command generator is relatively small, or the delay module 402 is removed, or a delay module is added between the ECS_Flag signal and the command generator 122, and the current refresh command REFab has been received before the count value decoding is completed, and it is necessary to wait for the next refresh command REFab before the ECS operation command ECS_CMD can be generated.
[0128] Furthermore, taking the refresh mode as Normal and the ambient temperature as 0-85°C as an example, see FIG9 , which provides a schematic diagram of the signal timing change. <2> =001, the refresh command REFab enters the third-level counting group. After REF<7:0> counts to 165, the flag signal ECS_Flag goes high, stealing the current refresh command REFab and generating the ECS operation command ECS_CMD. At the same time, the refresh command that was not stolen generates the refresh operation command REF_NEW to perform the refresh operation, and the refresh command that was stolen REFab does not generate the refresh operation command REF_NEW. In addition, after the ECS operation command ECS_CMD is generated, the count reset signal CNT_Rst is also generated, which can cause all counting groups to reset.
[0129] That is, in order to ensure that all ECS operations on the DRAM are completed within 24 hours, the host needs to periodically enter the refresh or self-refresh mode. At this time, the refresh command is used as the clock signal of the counting group, and different counting groups are connected in the form of asynchronous counters. When the number of refresh command counts reaches the preset number, a refresh command will be stolen to generate the ECS operation command ECS_CMD. Since the time interval of the refresh command is different under different refresh modes and ambient temperatures, the refresh mode is indicated by the associated mode signal MR4 OP[4]. At the same time, the temperature information under different modes can also be obtained from the temperature sensor 131. In this way, the specific refresh mode and ambient temperature can be obtained, and then the corresponding refresh command time interval can be obtained. Based on this, the counting group to be entered by the refresh command can be selected. The execution frequency of the ECS operation can be adjusted in time according to the associated parameters of the ECS operation, thereby ensuring that all ECS operations on the DRAM can be completed within 24 hours under different environments and different modes.
[0130] In another embodiment of the present disclosure, referring to Figure 10 , which shows a schematic diagram of the structure of a memory 50 provided by an embodiment of the present disclosure. As shown in Figure 10 , the memory 50 at least includes the aforementioned command processing circuit 10 .
[0131] In some embodiments, the memory complies with the DDR5 specification.
[0132] The above are only preferred embodiments of the present disclosure and are not intended to limit the scope of protection of the present disclosure. It should be noted that in the present disclosure, the terms "include", "comprise" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. The above serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided in the present disclosure can be arbitrarily combined to obtain new method embodiments if there is no conflict. The features disclosed in the several product embodiments provided in the present disclosure can be arbitrarily combined to obtain new product embodiments if there is no conflict. The features disclosed in the several method or device embodiments provided in the present disclosure can be arbitrarily combined to obtain new method embodiments or device embodiments if there is no conflict. The above are only specific embodiments of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A command processing circuit, the command processing circuit (10) being configured to generate a first operation command based on a current initial command or a next initial command at intervals of a preset number of initial commands, wherein the preset number has multiple values; The command processing circuit (10) comprises: A counting circuit (11), comprising a plurality of cascaded counting groups (111-11N), configured to receive a threshold selection signal and the initial command, send the initial command to a clock end of one of the counting groups at one stage based on the threshold selection signal, and output the counting result of the counting group at the last stage as a command count value; A command generating circuit (12) is configured to receive the command count value and the initial command, and when the command count value reaches a target value, generate a first operation command based on the current initial command or the next initial command; The value of the preset number corresponds to the level of the counting group into which the initial command is sent.
2. The command processing circuit according to claim 1, wherein: The command generating circuit (12) is further configured to generate a second operation command based on the current initial command or the next initial command when the command count value does not reach the target value; The first operation command and the second operation command indicate different operations.
3. The command processing circuit according to claim 2, wherein: The preset number of values includes N preset values, the counting circuit (11) includes N cascaded counting groups (111-11N), the threshold selection signal includes N selection sub-signals, and at most one of the N selection sub-signals is in a valid state; The counting circuit (11) is specifically configured to send the initial command to the clock end of the i-th counting group (11i) when the i-th selection sub-signal is in a valid state, so that the preset number is the i-th preset value; Among them, i and N are both positive integers, 1≤i≤N.
4. The command processing circuit according to claim 3, wherein: The N preset values decrease in sequence, and the Nth preset value is the same as the target value.
5. The command processing circuit according to claim 3 or 4, wherein: The counting circuit (11) further includes N data selectors (121-12N); The first input ends of all the data selectors (121-12N) receive the initial command, the second input end of the first-stage data selector (121) receives a ground signal, the second input end of the i-th-stage data selector (12i) is connected to the cascade end of the i-1-th-stage counting group; the selection end of the i-th-stage data selector (12i) receives the i-th selection sub-signal, and the output end (12i) of the i-th-stage data selector is connected to the clock end of the i-th-stage counting group (11i).
6. The command processing circuit according to any one of claims 3 to 5, wherein: When N=3, and the first preset value is 4 times the target value, and the second preset value is 2 times the target value, The first stage counting group (111) includes a first trigger, the clock terminal of the first trigger The clock end of the first-stage counting group (111) is formed, the input end of the first trigger is connected to its own inverting output end, and the inverting output end of the first trigger forms the cascade end of the first-stage counting group (111); The second-stage counting group (112) comprises a second trigger, the clock end of the second trigger forms the clock end of the second-stage counting group (112), the input end of the second trigger is connected to its own inverting output end, and the inverting output end of the second trigger forms the cascade end of the second-stage counting group (112); The third stage counting group (113) includes A cascaded third triggers (201-208), and 2 A is greater than or equal to the target value; the clock end of the first third trigger forms the clock end of the third level counting group (113), and the clock ends of the remaining third triggers are all connected to the inverting output end of the third trigger of the previous level; the input end of each level of the third trigger is connected to its own inverting output end, and the positive output end of each level of the third trigger outputs a one-bit counting sub-signal, and the A-bit counting sub-signals together constitute the command count value.
7. The command processing circuit according to any one of claims 2 to 6, wherein: The command processing circuit (10) further comprises a threshold decision circuit (13); the threshold decision circuit (13) is configured to determine an associated parameter signal and adjust the threshold selection signal based on the associated parameter signal to adjust the value of the preset number; The threshold determination circuit (13) comprises a temperature sensor (131) and a first decoding circuit (132); The temperature sensor (131) is configured to sense the internal temperature of the circuit and generate and output an ambient temperature signal based on the internal temperature; The first decoding circuit (132) is configured to receive the ambient temperature signal and the associated mode signal, decode the ambient temperature signal and the associated mode signal, and output the threshold selection signal; The ambient temperature signal and the associated mode signal constitute the associated parameter signal, and the associated mode signal is generated via a mode register circuit.
8. The command processing circuit according to any one of claims 2 to 6, wherein: The command processing circuit (10) further comprises a threshold decision circuit (13), wherein the threshold decision circuit (13) is configured to generate the threshold selection signal; and in a first preset mode, control the threshold selection signal to remain unchanged; or, in a second preset mode, adjust the threshold selection signal based on an associated parameter signal to adjust the value of the preset number; The threshold determination circuit (13) comprises a temperature sensor (131) and a first decoding circuit (132); The temperature sensor (131) is configured to sense the internal temperature of the circuit and generate and output an ambient temperature signal based on the internal temperature; The first decoding circuit (132) is configured to receive the ambient temperature signal, the associated mode signal and the mode selection signal, decode the ambient temperature signal, the associated mode signal and the mode selection signal, and output the threshold selection signal; The ambient temperature signal and the associated mode signal constitute the associated parameter signal, the mode selection signal indicates that the command generating circuit (12) is in the first preset mode or the second preset mode, and the mode selection signal and the associated mode signal are both generated via a mode register circuit.
9. The command processing circuit according to claim 8, wherein: The command generating circuit (12) is further configured to generate and output a count reset signal based on the first operation command; The counting circuit (11) is further configured to receive the counting reset signal and control all the counting groups to perform zero clearing processing based on the counting reset signal.
10. The command processing circuit according to claim 9, wherein: The command generating circuit (12) comprises a second decoding circuit (121), a command generator (122) and a logic circuit (123); The second decoding circuit (121) is configured to receive the command count value and output a flag signal based on the command count value; wherein if the command count value does not reach the target value, the flag signal is in an invalid state; if the command count value reaches the target value, the flag signal is in a valid state; The command generator (122) is configured to receive the initial command and the flag signal; and when the flag signal is in an invalid state, generate a second operation command based on the current initial command or the next initial command; when the flag signal is in a valid state, generate a first operation command based on the current initial command or the next initial command; The logic circuit (123) is configured to receive the first operation command and the system reset command, perform a logic operation on the first operation command and the system reset command, and generate and output the count reset signal.
11. The command processing circuit according to claim 10, wherein: The command generator (122) includes a NOT gate (401), a delay unit (402), a sixth AND gate (403) and a seventh AND gate (404); The input end of the NOT gate (401) receives the flag signal, the input end of the delay unit (402) receives the initial command, the first input end of the sixth AND gate (403) is connected to the output end of the NOT gate (401), the second input end of the sixth AND gate (403) is connected to the output end of the delay unit (402), and the output end of the sixth AND gate (403) outputs the second operation command; The first input end of the seventh AND gate (404) is connected to the output end of the delay unit (402), the second input end of the seventh AND gate (404) receives the flag signal, and the output end of the seventh AND gate (404) outputs the first operation command.
12. The command processing circuit according to claim 10 or 11, wherein: The logic circuit (123) comprises an OR gate, a first input terminal of the OR gate receives the first operation command, a second input terminal of the OR gate receives the system reset command, and an output terminal of the OR gate outputs the count reset signal.
13. The command processing circuit according to any one of claims 2 to 12, wherein: The initial command is a refresh command, the second operation command is a refresh operation command, and the first operation command is an error check and clear ECS operation command.
14. The command processing circuit according to any one of claims 10 to 12, wherein: When the target value is 165, the command count value includes an 8-bit count sub-signal; The second decoding circuit (121) comprises a first AND gate (301), a second AND gate (302), a third AND gate (303), a fourth AND gate (304), a fifth AND gate (305), a first NOR gate (306) and a second NOR gate (307); wherein: The two input ends of the first AND gate (301) receive the 8th counting sub-signal and the 6th counting sub-signal respectively, the two input ends of the second AND gate (302) receive the 3rd counting sub-signal and the 1st counting sub-signal respectively, and the two input ends of the first NOR gate (306) receive the The 7th counting sub-signal and the 5th counting sub-signal, and the two input ends of the second NOR gate (307) receive the 4th counting sub-signal and the 2nd counting sub-signal respectively; The first input end of the third AND gate (303) is connected to the output end of the first AND gate (301), the second input end of the third AND gate (303) is connected to the output end of the second AND gate (302), the first input end of the fourth AND gate (304) is connected to the output end of the first NOR gate (306), the second input end of the fourth AND gate (304) is connected to the output end of the second NOR gate (307); the first input end of the fifth AND gate (305) is connected to the output end of the third AND gate (303), the second input end of the fifth AND gate (305) is connected to the output end of the fourth AND gate (304), and the output end of the fifth AND gate (305) outputs the flag signal.
15. A memory, comprising the command processing circuit according to any one of claims 1 to 14.
Citation Information
Patent Citations
Memory refresh counting method and device and memory controller
CN114242132A
Pulse generator, error checking and clearing circuit and memory
CN115206407A
Control circuit, control method, and semiconductor memory
CN115295040A
Semiconductor devices and semiconductor systems including the same
US20210142860A1
Memory device including refresh controller
US9691466B1
