Command generation circuit and memory
By designing the circuits of the command receiving module and the command decoding module, on-chip termination commands for various operations are generated, which solves the problems of circuit complexity and high power consumption in the existing technology, and improves memory performance.
Patent Information
- Application Number
- CN202310419609.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-04-14
AI Technical Summary
In the existing technology, when the target chip performs different operations, a set of command generation circuits need to be set up for each operation to generate on-chip termination commands, resulting in complex circuits, high power consumption and large occupation area, which affects memory performance.
Design a command generation circuit, including a command receiving module and a command decoding module. By sampling the clock signal and registering the command address signal and chip select signal, it generates an on-chip termination command to perform any one of at least two operations on the target chip. Control the on-chip termination of non-target chips under such circumstances, and realize the generation of on-chip termination commands for various operations.
The circuit structure is simplified, circuit power consumption and occupied area are reduced, memory performance is improved, and on-chip termination command generation for multiple operations is realized without setting up separate circuits.
Smart Images

Figure CN118866040A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to, but is not limited to, a command generation circuit and a memory. Background Art
[0002] With the continuous development of semiconductor technology, people have put forward higher and higher requirements for data transmission speed when manufacturing and using computers and other equipment. In order to obtain faster data transmission speed, a series of devices such as memory that can transmit data at double data rate (DDR) have emerged.
[0003] In a dynamic random access memory (DRAM) chip, the command address (CMD / ADD or CA) signal can be sampled as an address and can also be sampled and decoded as an instruction. For example, the ODT (On Die Termination) command can be generated from the CA signal. For the ODT command of non-target chips, the related circuits have further room for optimization. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a command generation circuit and a memory, which can simplify the circuit, reduce the circuit power consumption and occupied area, and thus improve the performance of the memory.
[0005] The technical solution of the embodiment of the present disclosure is implemented as follows:
[0006] An embodiment of the present disclosure provides a command generating circuit, which includes: a command receiving module, configured to receive a first command address signal, a first chip select signal and a clock signal, and sample and register the first command address signal and the first chip select signal according to the clock signal to obtain a second command address signal and a second chip select signal; a command decoding module, connected to the command receiving module, configured to receive and decode an on-chip termination command according to the second command address signal and the second chip select signal; the on-chip termination command is used to control the on-chip termination in a non-target chip when the target chip is performing any one of at least two operations.
[0007] In the above solution, the on-chip termination command is used to control the on-chip termination in the non-target chip when the target chip is executing a mode register read operation or a read operation.
[0008] In the above scheme, the second command address signal includes multiple command address sub-signals; wherein, when the second chip select signal is at a low level and the target chip performs the mode register read operation or the read operation, the first command address sub-signal is valid at a high level, the second command address sub-signal is valid at a low level, the third command address sub-signal is valid at a high level, and the fifth command address sub-signal is valid at a high level.
[0009] In the above scheme, the command decoding module includes: a first inverter, a second inverter, a first NAND gate, a second NAND gate and a first NOR gate; the input end of the first inverter receives the second chip select signal, and the output end of the first inverter is connected to the first input end of the first NAND gate; the second input end of the first NAND gate receives the first command address sub-signal; the input end of the second inverter receives the second command address sub-signal, and the output end of the second inverter is connected to the third input end of the first NAND gate; the first input end of the second NAND gate receives the third command address sub-signal; the second input end of the second NAND gate is connected to the power supply end; the third input end of the second NAND gate receives the fifth command address sub-signal; the output end of the first NAND gate is connected to the first input end of the first NOR gate; the output end of the second NAND gate is connected to the second input end of the first NOR gate; the output end of the first NOR gate outputs the on-chip termination command.
[0010] In the above scheme, the command decoding module also includes: a first delay device, a second delay device and a third delay device; the input end of the first delay device receives the first command address sub-signal, and the output end of the first delay device is connected to the second input end of the first NAND gate; the input end of the second delay device receives the third command address sub-signal, and the output end of the second delay device is connected to the first input end of the second NAND gate; the input end of the third delay device receives the fifth command address sub-signal, and the output end of the third delay device is connected to the third input end of the second NAND gate.
[0011] In the above solution, the first inverter, the second inverter, the first delay device, the second delay device and the third delay device have consistent device delays.
[0012] In the above scheme, the command decoding module includes: a third inverter, a fourth inverter, a fifth inverter, a second NOR gate, a third NOR gate and a first AND gate; the first input end of the second NOR gate receives the second chip select signal; the input end of the third inverter receives the first command address sub-signal, and the output end of the third inverter is connected to the second input end of the second NOR gate; the third input end of the second NOR gate receives the second command address sub-signal; the input end of the fourth inverter receives the third command address sub-signal, and the output end of the fourth inverter is connected to the first input end of the third NOR gate; the second input end of the third NOR gate is grounded; the input end of the fifth inverter receives the fifth command address sub-signal, and the output end of the fifth inverter is connected to the third input end of the third NOR gate; the output end of the second NOR gate is connected to the first input end of the first AND gate; the output end of the third NOR gate is connected to the second input end of the first AND gate; the output end of the first AND gate outputs the on-chip termination command.
[0013] In the above scheme, the command decoding module also includes: a fourth delay device and a fifth delay device; the input end of the fourth delay device receives the second chip select signal, and the output end of the fourth delay device is connected to the first input end of the second NOR gate; the input end of the fifth delay device receives the second command address sub-signal, and the output end of the fifth delay device is connected to the third input end of the second NOR gate.
[0014] In the above solution, the third inverter, the fourth inverter, the fifth inverter, the fourth delay device and the fifth delay device have consistent device delays.
[0015] In the above scheme, the command receiving module includes: a command address signal receiving module, configured to receive the first command address signal and the clock signal, and sample and register the first command address signal according to the clock signal to obtain the second command address signal; a chip select signal receiving module, configured to receive the first chip select signal and the clock signal, and sample and register the first chip select signal according to the clock signal to obtain the second chip select signal.
[0016] In the above scheme, the command address signal receiving module includes: a multi-stage first D flip-flop group; the in-phase output terminal of the first D flip-flop group of each stage is connected to the data input terminal of the first D flip-flop group of the next stage; the data input terminal of the first D flip-flop group of the first stage is connected to receive the first command address signal; the in-phase output terminal of the first D flip-flop group of the last stage is connected to output the second command address signal; the clock input terminal of the first D flip-flop group of each stage is connected to receive the clock signal.
[0017] In the above scheme, the first D flip-flop group of each stage includes: a plurality of first D flip-flops; each of the first D flip-flops is used to correspondingly process one of the first, second, third and fifth command address sub-signals.
[0018] In the above scheme, the chip select signal receiving module includes: multiple stages of second D flip-flops; the in-phase output end of the second D flip-flop of each stage is connected to the data input end of the second D flip-flop of the next stage; the data input end of the second D flip-flop of the first stage receives the first chip select signal; the in-phase output end of the second D flip-flop of the last stage outputs the second chip select signal; and the clock input end of the second D flip-flop of each stage receives the clock signal.
[0019] The embodiment of the present disclosure further provides a memory, characterized in that the memory includes the command generating circuit described in the above solution.
[0020] In the above solution, the memory is DRAM and complies with DDR5 memory specifications.
[0021] It can be seen that the embodiment of the present disclosure provides a command generation circuit and a memory, and the command generation circuit includes: a command receiving module and a command decoding module. The command receiving module is configured to receive a first command address signal, a first chip select signal and a clock signal, and sample and register the first command address signal and the first chip select signal according to the clock signal to obtain a second command address signal and a second chip select signal; the command decoding module is connected to the command receiving module, and is configured to receive and decode an on-chip termination command according to the second command address signal and the second chip select signal; the on-chip termination command is used to control the on-chip termination in the non-target chip when the target chip performs any one of at least two operations. In this way, only one set of command generation circuits is set to generate on-chip termination commands for multiple operations; and there is no need to set a set of command generation circuits for each operation to generate an on-chip termination command. Thereby, the circuit is simplified, the circuit power consumption and occupied area are reduced, and the performance of the memory is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a structural schematic diagram of an ODT functional circuit;
[0023] Figure 2 It is a schematic diagram of the structure of the double-row chip in the memory;
[0024] Figure 3 A schematic diagram of the structure of the command generation circuit provided in the embodiment of the present disclosure Figure 1 ;
[0025] Figure 4 A schematic diagram of the structure of the command decoding module provided in the embodiment of the present disclosure Figure 1 ;
[0026] Figure 5 A schematic diagram of the structure of the command decoding module provided in the embodiment of the present disclosure Figure 2 ;
[0027] Figure 6 A schematic diagram of the structure of the command decoding module provided in the embodiment of the present disclosure Figure 3 ;
[0028] Figure 7 A schematic diagram of the structure of the command decoding module provided in the embodiment of the present disclosure Figure 4 ;
[0029] Figure 8 A schematic diagram of the structure of the command receiving module provided in the embodiment of the present disclosure Figure 1 ;
[0030] Fig. 9 A schematic diagram of the structure of the command receiving module provided in the embodiment of the present disclosure Figure 2 ;
[0031] Fig.10 A schematic diagram of the structure of a command address signal receiving module provided in an embodiment of the present disclosure;
[0032] Fig.11 A schematic diagram of the structure of a memory provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0034] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0035] If similar descriptions of "first / second" appear in the application documents, the following description is added. In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged in a specific order or 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.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
[0037] With the rapid development of semiconductor technology, the transmission rate of signals is getting faster and faster, resulting in increasingly prominent signal integrity issues. In the process of high-speed signal transmission, in order to better improve the signal integrity of data, ODT resistors are added separately in the design of DDR3, DDR4 and DDR5. That is, ODT resistors are used to match the impedance of the transmission line, which reduces the reflection and energy loss of the signal during transmission, thereby ensuring the signal integrity received by the receiving end.
[0038] Taking DDR5 DRAM as an example, DDR5 DRAM supports ODT function, which can adjust the terminal resistance (also called "termination resistance") of each device's DQ, DQS_t / c, DM_n and TDQS_t / c ports through ODT pin control, write commands or mode registers to set default resistance values. In addition, the purpose of ODT function is to reduce reflections and effectively improve the signal integrity on the memory interface by independently controlling the terminal resistance of all or any DRAM by the controller. Figure 1 As shown, it shows a structural schematic diagram of an ODT functional circuit provided by the related art. Figure 1 In the embodiment, the ODT functional circuit may at least include a switch S1, a terminal resistor RTT and a power supply VDDQ. One end of the switch S1 is connected to one end of the terminal resistor RTT, the other end of the terminal resistor RTT is connected to the power supply VDDQ, and the other end of the switch S1 is connected to other circuits, as well as DQ, DQS, DM, and TDQS ports. It should be noted that DQS can be a pair of differential data selection signals DQS_t and DQS_c, and TDQS can be a pair of differential data selection signals TDQS_t and TDQS_c.
[0039] in addition, Figure 1 The switch S1 in the circuit is controlled by the ODT control logic. The ODT control logic includes the external ODT pin input, mode register configuration and other control information. The value of RTT is controlled by the configuration information in the mode register.
[0040] It should be noted that, for DDR DRAM, a two-rank chip structure is adopted. Accordingly, when an operation is performed on a target chip in one rank, an ODT needs to be performed on a non-target chip in another rank so that the two-rank chips can match each other. Figure 2 The structure of the double-row chip is shown. Figure 2 As shown, when Rank1 receives the command signal CMD and performs an operation, that is, the chip in Rank1 acts as a target chip; the non-target chip in Rank2 executes NT_ODT, that is, the ODT circuit of the non-target chip in Rank2 is in an on state.
[0041] However, in the related art, for each operation performed by the target chip, a set of circuits needs to be set up to generate ODT commands for the non-target chip. In this way, the circuit is relatively complex, and the power consumption and occupied area of the circuit are large, which is not conducive to improving the memory performance.
[0042] like Figure 3 As shown, the embodiment of the present disclosure provides a command generating circuit 80, and the command generating circuit 80 includes: a command receiving module 10 and a command decoding module 20. The command receiving module 10 is configured to receive a first command address signal CA, a first chip select signal CS_n and a clock signal CLK, and sample and register the first command address signal CA and the first chip select signal CS_n according to the clock signal CLK to obtain a second command address signal CA_2T and a second chip select signal CS_2T. The command decoding module 20 is connected to the command receiving module 10, and is configured to receive and decode an on-chip termination command NT_ODT_CMD according to the second command address signal CA_2T and the second chip select signal CS_2T; wherein the on-chip termination command NT_ODT_CMD is used to control the on-chip termination in the non-target chip when the target chip is performing any one of at least two operations.
[0043] In the embodiment of the present disclosure, when the target chip performs any of at least two operations, the command generation circuit 80 can decode the on-chip termination command NT_ODT_CMD through the same first command address signal CA and the first chip selection signal CS_n. In other words, the command generation circuit 80 can decode the same on-chip termination command NT_ODT_CMD for different operations performed by the target chip to control the on-chip termination in the non-target chip.
[0044] It is understandable that the embodiment of the present disclosure only needs to set up one set of command generation circuits to generate on-chip termination commands for multiple operations, and it is not necessary to set up one set of command generation circuits for each operation to generate on-chip termination commands. Thus, the circuit is simplified, the circuit power consumption and occupied area are reduced, and the performance of the memory is improved.
[0045] In some embodiments of the present disclosure, reference Figure 3The on-chip termination command NT_ODT_CMD is used to control the on-chip termination in the non-target chip when the target chip is performing a mode register read (Mode Register Read) operation or a read (Read) operation.
[0046] In some embodiments of the present disclosure, the second command address signal CA_2T includes a plurality of command address sub-signals. Wherein, when the second chip select signal CS_2T is at a low level and the target chip performs a mode register read operation or a read operation, the first command address sub-signal CA0 is high level valid, the second command address sub-signal CA1 is low level valid, the third command address sub-signal CA2 is high level valid, and the fifth command address sub-signal CA4 is high level valid.
[0047] Table 1 below shows the truth table of some commands in the SPEC (design specification) of DDR DRAM. Referring to Table 1, according to the definition of SPEC, during the target chip's execution of the mode register read operation and the read operation, the command address sub-signals (including CA0 to CA4) used to generate the ODT command of the non-target chip are similar; among them, the first command address sub-signal CA0 is valid at a high level (H), the second command address sub-signal CA1 is valid at a low level (L), the third command address sub-signal CA2 is valid at a high level (H), and the fifth command address sub-signal CA4 is valid at a high level (H); among them, only the valid level of the fourth command address sub-signal CA3 is inconsistent.
[0048] Function abbreviation CS_n CA0 CA1 CA2 CA3 CA4 Mode Register Read MRR L H L H L H Read RD L H L H H H
[0049] Table 1
[0050] Therefore, combined with Figure 3 As shown in Table 1, for the target chip to perform the mode register read operation and the read operation, the command decoding module 20 provided in the embodiment of the present disclosure can generate an ODT command for the non-target chip according to the same set of command address sub-signals (including CA0-CA4). That is, only one set of command generation circuits 80 is provided to generate on-chip termination commands for the mode register read operation and the read operation. Thus, the circuit is simplified, the circuit power consumption and the occupied area are reduced, and the performance of the memory is improved.
[0051] In some embodiments of the present disclosure, Figure 4 As shown, the command decoding module 20 includes: a first inverter Inv1, a second inverter Inv2, a first NAND gate Nand1, a second NAND gate Nand2 and a first NOR gate Nor1.
[0052] The input end of the first inverter Inv1 receives the second chip select signal CS_2T, and the output end of the first inverter Inv1 is connected to the first input end of the first NAND gate Nand1. The second input end of the first NAND gate Nand1 receives the first command address sub-signal CA0_2T. The input end of the second inverter Inv2 receives the second command address sub-signal CA1_2T, and the output end of the second inverter Inv2 is connected to the third input end of the first NAND gate Nand1. The first input end of the second NAND gate Nand2 receives the third command address sub-signal CA2_2T; the second input end of the second NAND gate Nand2 is connected to the power supply terminal VDD; the third input end of the second NAND gate Nand2 receives the fifth command address sub-signal CA4_2T. The output end of the first NAND gate Nand1 is connected to the first input end of the first NOR gate Nor1; the output end of the second NAND gate Nand2 is connected to the second input end of the first NOR gate Nor1. The output end of the first NOR gate Nor1 outputs the on-chip termination command NT_ODT_CMD.
[0053] Combination Figure 4 As shown in Table 1, when the second chip select signal CS_2T is low, the first command address sub-signal CA0_2T is high, the second command address sub-signal CA1_2T is low, the third command address sub-signal CA2_2T is high, and the fifth command address sub-signal CA4_2T is high, the first NAND gate Nand1 and the second NAND gate Nand2 both output low levels, and then the first NOR gate Nor1 outputs a high-level on-chip termination command NT_ODT_CMD, that is, the on-chip termination command NT_ODT_CMD is a valid level.
[0054] That is to say, when the second chip select signal CS_2T, the first command address sub-signal CA0_2T, the second command address sub-signal CA1_2T, the third command address sub-signal CA2_2T and the fifth command address sub-signal CA4_2T satisfy the truth table shown in Table 1 (i.e., the truth table corresponding to the mode register read operation and the read operation), the on-chip termination command NT_ODT_CMD is at a valid level (i.e., the on-chip termination command NT_ODT_CMD is at a high level). Correspondingly, if any one of the second chip select signal CS_2T, the first command address sub-signal CA0_2T, the second command address sub-signal CA1_2T, the third command address sub-signal CA2_2T and the fifth command address sub-signal CA4_2T does not satisfy the truth table shown in Table 1, the on-chip termination command NT_ODT_CMD is not at a valid level (i.e., the on-chip termination command NT_ODT_CMD is at a low level).
[0055] It should be noted that in the truth table shown in Table 1, the valid level of the fourth command address sub-signal CA3 corresponding to the mode register read operation is inconsistent with the valid level of the fourth command address sub-signal CA3 corresponding to the read operation. Figure 4 In the circuit shown, the fourth command address sub-signal CA3_2T is not introduced, and the second input terminal of the second NAND gate Nand2 is connected to the power supply terminal VDD. Therefore, the fourth command address sub-signal CA3_2T, which is different between the two operations, will not affect the output on-chip termination command NT_ODT_CMD.
[0056] Understandably, Figure 4 The command decoding module 20 shown can generate corresponding on-chip termination commands for mode register read operations and read operations. That is, only one set of command decoding module 20 circuits is provided to generate on-chip termination commands for multiple operations; and there is no need to provide a set of command generation circuits for each operation to generate on-chip termination commands. Thus, the circuit is simplified, the circuit power consumption and occupied area are reduced, and the performance of the memory is improved.
[0057] In some embodiments of the present disclosure, Figure 5 As shown, the command decoding module 20 further includes: a first delay device DL1, a second delay device DL2 and a third delay device DL3.
[0058] The input end of the first delay DL1 receives the first command address sub-signal CA0_2T, and the output end of the first delay DL1 is connected to the second input end of the first NAND gate Nand1. The input end of the second delay DL2 receives the third command address sub-signal CA2_2T, and the output end of the second delay DL2 is connected to the first input end of the second NAND gate Nand2. The input end of the third delay DL3 receives the fifth command address sub-signal CA4_2T, and the output end of the third delay DL3 is connected to the third input end of the second NAND gate Nand2.
[0059] In the embodiments of the present disclosure, reference Figure 5, the first inverter Inv1 and the second inverter Inv2 have device delay, that is, the second chip select signal CS_2T will be delayed after passing through the first inverter Inv1, and the second command address sub-signal CA1_2T will be delayed after passing through the second inverter Inv2. The first delay DL1, the second delay DL2 and the third delay DL3 also have device delay, that is, the first command address sub-signal CA0_2T will be delayed after passing through the first delay DL1, the third command address sub-signal CA2_2T will be delayed after passing through the second delay DL2, and the fifth command address sub-signal CA4_2T will be delayed after passing through the third delay DL3. In this way, the delay amount of each signal can be balanced to avoid causing a large timing difference between each signal, thereby ensuring the accuracy and stability of the output on-chip termination command.
[0060] In some embodiments of the present disclosure, reference Figure 5 The first inverter Inv1, the second inverter Inv2, the first delay DL1, the second delay DL2 and the third delay DL3 have consistent device delays. In this way, it can be ensured that each signal has a consistent delay amount during the transmission process, and the timing of each signal can be aligned, thereby ensuring the accuracy and stability of the output on-chip termination command.
[0061] In some embodiments of the present disclosure, Figure 4 and Figure 5 The second NAND gate Nand2 shown in the figure can be a two-input NAND gate, and the two input ends of the second NAND gate Nand2 receive the third command address sub-signal CA2_2T and the fifth command address sub-signal CA4_2T respectively; that is, the Figure 4 and Figure 5 In this way, the fourth command address sub-signal CA3_2T, which has a difference between the two operations, will not affect the output on-chip termination command NT_ODT_CMD.
[0062] In some embodiments of the present disclosure, Figure 6 As shown, the command decoding module 20 includes: a third inverter Inv3, a fourth inverter Inv4, a fifth inverter Inv5, a second NOR gate Nor2, a third NOR gate Nor3 and a first AND gate And1.
[0063] Among them, the first input end of the second NOR gate Nor2 receives the second chip select signal CS_2T. The input end of the third inverter Inv3 receives the first command address sub-signal CA0_2T, and the output end of the third inverter Inv3 is connected to the second input end of the second NOR gate Nor2. The third input end of the second NOR gate Nor2 receives the second command address sub-signal CA1_2T. The input end of the fourth inverter Inv4 receives the third command address sub-signal CA2_2T, and the output end of the fourth inverter Inv4 is connected to the first input end of the third NOR gate Nor3. The second input end of the third NOR gate Nor3 is grounded (i.e., connected to the ground terminal VSS). The input end of the fifth inverter Inv5 receives the fifth command address sub-signal CA4_2T, and the output end of the fifth inverter Inv5 is connected to the third input end of the third NOR gate Nor3. The output end of the second NOR gate Nor2 is connected to the first input end of the first AND gate And1; the output end of the third NOR gate Nor3 is connected to the second input end of the first AND gate And1. The output end of the first AND gate And1 outputs the on-chip termination command NT_ODT_CMD.
[0064] Combination Figure 6 As shown in Table 1, when the second chip select signal CS_2T is low, the first command address sub-signal CA0_2T is high, the second command address sub-signal CA1_2T is low, the third command address sub-signal CA2_2T is high, and the fifth command address sub-signal CA4_2T is high, the second NOR gate Nor2 and the third NOR gate Nor3 both output high levels, and then, the first AND gate And1 outputs a high-level on-chip termination command NT_ODT_CMD, that is, the on-chip termination command NT_ODT_CMD is a valid level.
[0065] That is to say, when the second chip select signal CS_2T, the first command address sub-signal CA0_2T, the second command address sub-signal CA1_2T, the third command address sub-signal CA2_2T and the fifth command address sub-signal CA4_2T satisfy the truth table shown in Table 1 (i.e., the truth table corresponding to the mode register read operation and the read operation), the on-chip termination command NT_ODT_CMD is at a valid level (i.e., the on-chip termination command NT_ODT_CMD is at a high level). Correspondingly, if any one of the second chip select signal CS_2T, the first command address sub-signal CA0_2T, the second command address sub-signal CA1_2T, the third command address sub-signal CA2_2T and the fifth command address sub-signal CA4_2T does not satisfy the truth table shown in Table 1, the on-chip termination command NT_ODT_CMD is not at a valid level (i.e., the on-chip termination command NT_ODT_CMD is at a low level).
[0066] It should be noted that in the truth table shown in Table 1, the valid level of the fourth command address sub-signal CA3 corresponding to the mode register read operation is inconsistent with the valid level of the fourth command address sub-signal CA3 corresponding to the read operation. Figure 6 In the circuit shown, the fourth command address sub-signal CA3_2T is not introduced, and the second input terminal of the third NOR gate Nor3 is connected to the ground terminal VSS. Therefore, the fourth command address sub-signal CA3_2T, which makes the difference between the two operations, will not affect the output on-chip termination command NT_ODT_CMD.
[0067] Understandably, Figure 6 The command decoding module 20 shown can generate corresponding on-chip termination commands for mode register read operations and read operations. That is, only one set of command decoding module 20 circuits is provided to generate on-chip termination commands for multiple operations; and there is no need to provide a set of command generation circuits for each operation to generate on-chip termination commands. Thus, the circuit is simplified, the circuit power consumption and occupied area are reduced, and the performance of the memory is improved.
[0068] In some embodiments of the present disclosure, Figure 7 As shown, the command decoding module 20 further includes: a fourth delay device DL4 and a fifth delay device DL5.
[0069] The input end of the fourth delay DL4 receives the second chip select signal CS_2T, and the output end of the fourth delay DL4 is connected to the first input end of the second NOR gate Nor2. The input end of the fifth delay DL5 receives the second command address sub-signal CA1_2T, and the output end of the fifth delay DL5 is connected to the third input end of the second NOR gate Nor2.
[0070] In the embodiments of the present disclosure, reference Figure 7 , the third inverter Inv3, the fourth inverter Inv4 and the fifth inverter Inv5 have device delay, that is, the first command address sub-signal CA0_2T will be delayed after passing through the third inverter Inv3, the third command address sub-signal CA2_2T will be delayed after passing through the fourth inverter Inv4, and the fifth command address sub-signal CA4_2T will be delayed after passing through the fifth inverter Inv5. The fourth delay DL4 and the fifth delay DL5 also have device delay, that is, the second chip select signal CS_2T will be delayed after passing through the fourth delay DL4, and the second command address sub-signal CA1_2T will be delayed after passing through the fifth delay DL5. In this way, the delay amount of each signal can be balanced to avoid causing a large timing difference between each signal, thereby ensuring the accuracy and stability of the output on-chip termination command.
[0071] In some embodiments of the present disclosure, reference Figure 7 The third inverter Inv3, the fourth inverter Inv4, the fifth inverter Inv5, the fourth delay DL4 and the fifth delay DL5 have consistent device delays. In this way, it can be ensured that each signal has a consistent delay amount during the transmission process, and the timing of each signal can be aligned, thereby ensuring the accuracy and stability of the output on-chip termination command.
[0072] In some embodiments of the present disclosure, Figure 6 and Figure 7 The third NOR gate Nor3 shown can be a two-input NOR gate, and the two input ends of the third NOR gate Nor3 receive the third command address sub-signal CA2_2T and the fifth command address sub-signal CA4_2T respectively; that is, the Figure 6 and Figure 7 In this way, the fourth command address sub-signal CA3_2T, which has a difference between the two operations, will not affect the output on-chip termination command NT_ODT_CMD.
[0073] In some embodiments of the present disclosure, Figure 8 As shown, the command receiving module 10 includes: a command address signal receiving module 30 and a chip select signal receiving module 40. The command address signal receiving module 30 is configured to receive a first command address signal CA and a clock signal CLK, and to sample and register the first command address signal CA according to the clock signal CLK to obtain a second command address signal CA_2T. The chip select signal receiving module 40 is configured to receive a first chip select signal CS_n and a clock signal CLK, and to sample and register the first chip select signal CS_n according to the clock signal CLK to obtain a second chip select signal CS_2T.
[0074] In some embodiments of the present disclosure, Fig. 9 As shown, the command address signal receiving module 30 includes: a multi-stage first D flip-flop group 301. The in-phase output terminal Q of each stage of the first D flip-flop group 301 is connected to the data input terminal D of the next stage of the first D flip-flop group 301. The data input terminal D of the first stage of the first D flip-flop group 301 receives the first command address signal CA. The in-phase output terminal Q of the last stage of the first D flip-flop group 301 outputs the second command address signal CA_2T. The clock input terminal of each stage of the first D flip-flop group 301 receives the clock signal CLK.
[0075] In the embodiments of the present disclosure, reference Fig. 9, the multi-stage first D flip-flop group 301, under the triggering of the clock signal CLK, samples and stores the first command address signal CA, and outputs the second command address signal CA_2T.
[0076] It should be noted that Figure 8 and Fig. 9 The first command address signal CA shown in FIG. 1 includes a plurality of command address sub-signals, and correspondingly, the second command address signal CA_2T also includes a plurality of command address sub-signals. Each flip-flop in the first D flip-flop group 301 processes one command address sub-signal.
[0077] In some embodiments of the present disclosure, Fig. 9 and Fig.10 Each first D flip-flop group 301 includes: a plurality of first D flip-flops (including 3011, 3012, 3013 and 3014). Each first D flip-flop is used to process one of the first, second, third and fifth command address sub-signals (i.e. CA0, CA1, CA2 and CA4) correspondingly.
[0078] In the embodiments of the present disclosure, reference Fig.10 , the in-phase output terminal Q of the first D flip-flop 3011 of each stage is connected to the data input terminal D of the first D flip-flop 3011 of the next stage. The data input terminal D of the first D flip-flop 3011 of the first stage receives the first command address sub-signal CA0. The in-phase output terminal Q of the first D flip-flop 3011 of the last stage outputs the first command address sub-signal CA0_2T after registration. The clock input terminal of the first D flip-flop 3011 of each stage receives the clock signal CLK. The other first D flip-flops 3012, 3013 and 3014 have a connection structure similar to that of the first D flip-flop 3011, which will not be described in detail here.
[0079] In the embodiment of the present disclosure, referring to Table 1, for the truth table of the mode register read operation and the read operation, there is a difference in the effective level of the fourth command address sub-signal CA3. Fig. 9 In each first D flip-flop group 301 of each level, the first D flip-flop is not set to process the fourth command address sub-signal CA3, that is, the fourth command address sub-signal CA3 with differences is not introduced, so as to ensure that the generated on-chip termination command can simultaneously target the mode register read operation and the read operation. In this way, it is not necessary to set the corresponding first D flip-flop for the fourth command address sub-signal CA3; thus, the circuit is simplified, the circuit power consumption and the occupied area are reduced, and the performance of the memory is improved.
[0080] In some embodiments of the present disclosure, reference Fig. 9The chip select signal receiving module 40 includes: a plurality of second D flip-flops 401. The in-phase output terminal Q of each second D flip-flop 401 is connected to the data input terminal D of the next second D flip-flop 401. The data input terminal D of the first second D flip-flop 401 receives the first chip select signal CS_n. The in-phase output terminal Q of the last second D flip-flop 401 outputs the second chip select signal CS_2T. The clock input terminal of each second D flip-flop 401 receives the clock signal CLK.
[0081] In the embodiments of the present disclosure, reference Fig. 9 , the multi-stage second D flip-flop 401, under the triggering of the clock signal CLK, samples and registers the first chip selection signal CS_n, and outputs the second chip selection signal CS_2T.
[0082] An embodiment of the present disclosure also provides a memory, such as Fig.11 As shown, the memory 90 may include the command generating circuit 80 described in any one of the aforementioned embodiments.
[0083] In some embodiments of the present disclosure, reference Fig.11 , the memory 90 may be a DRAM chip. Further, in some embodiments, the memory 90 complies with the DDR5 memory specification.
[0084] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also 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 "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0085] The 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 by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0086] The above description is only a specific implementation mode of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure.
Claims
1. A command generating circuit, characterized in that: The command generating circuit comprises: A command receiving module is configured to receive a first command address signal, a first chip select signal and a clock signal, and sample and register the first command address signal and the first chip select signal according to the clock signal to obtain a second command address signal and a second chip select signal; A command decoding module is connected to the command receiving module and is configured to receive and decode an on-chip termination command based on the second command address signal and the second chip select signal; the on-chip termination command is used to control the on-chip termination in the non-target chip when the target chip performs any one of at least two operations.
2. The command generating circuit according to claim 1, characterized in that: The on-chip termination command is used to control the on-chip termination in the non-target chip when the target chip is performing a mode register read operation or a read operation.
3. The command generating circuit according to claim 2, characterized in that: The second command address signal includes a plurality of command address sub-signals; wherein, When the second chip select signal is at a low level and the target chip performs the mode register read operation or the read operation, the first command address sub-signal is valid at a high level, the second command address sub-signal is valid at a low level, the third command address sub-signal is valid at a high level, and the fifth command address sub-signal is valid at a high level.
4. The command generating circuit according to claim 3, characterized in that: The command decoding module includes: a first inverter, a second inverter, a first NAND gate, a second NAND gate and a first NOR gate; The input end of the first inverter receives the second chip selection signal, and the output end of the first inverter is connected to the first input end of the first NAND gate; The second input terminal of the first NAND gate receives the first command address sub-signal; The input end of the second inverter receives the second command address sub-signal, and the output end of the second inverter is connected to the third input end of the first NAND gate; The first input terminal of the second NAND gate receives the third command address sub-signal; the second input terminal of the second NAND gate is connected to the power supply terminal; the third input terminal of the second NAND gate receives the fifth command address sub-signal; The output end of the first NAND gate is connected to the first input end of the first NOR gate; the output end of the second NAND gate is connected to the second input end of the first NOR gate; The output end of the first NOR gate outputs the on-chip termination command.
5. The command generating circuit according to claim 4, characterized in that: The command decoding module further includes: a first delay device, a second delay device and a third delay device; The input end of the first delay device receives the first command address sub-signal, and the output end of the first delay device is connected to the second input end of the first NAND gate; The input end of the second delay device receives the third command address sub-signal, and the output end of the second delay device is connected to the first input end of the second NAND gate; The input end of the third delay device receives the fifth command address sub-signal, and the output end of the third delay device is connected to the third input end of the second NAND gate.
6. The command generating circuit according to claim 5, characterized in that: The first inverter, the second inverter, the first delay device, the second delay device and the third delay device have consistent device delays.
7. The command generating circuit according to claim 3, characterized in that: The command decoding module includes: a third inverter, a fourth inverter, a fifth inverter, a second NOR gate, a third NOR gate and a first AND gate; The first input terminal of the second NOR gate receives the second chip selection signal; The input end of the third inverter receives the first command address sub-signal, and the output end of the third inverter is connected to the second input end of the second NOR gate; The third input terminal of the second NOR gate receives the second command address sub-signal; The input end of the fourth inverter receives the third command address sub-signal, and the output end of the fourth inverter is connected to the first input end of the third NOR gate; The second input terminal of the third NOR gate is grounded; The input end of the fifth inverter receives the fifth command address sub-signal, and the output end of the fifth inverter is connected to the third input end of the third NOR gate; The output end of the second NOR gate is connected to the first input end of the first AND gate; the output end of the third NOR gate is connected to the second input end of the first AND gate; The output end of the first AND gate outputs the on-chip termination command.
8. The command generating circuit according to claim 7, characterized in that: The command decoding module further includes: a fourth delay device and a fifth delay device; The input end of the fourth delay device receives the second chip selection signal, and the output end of the fourth delay device is connected to the first input end of the second NOR gate; The input end of the fifth delay device receives the second command address sub-signal, and the output end of the fifth delay device is connected to the third input end of the second NOR gate.
9. The command generating circuit according to claim 8, characterized in that: The third inverter, the fourth inverter, the fifth inverter, the fourth delay device and the fifth delay device have consistent device delays.
10. The command generating circuit according to claim 3, characterized in that: The command receiving module comprises: a command address signal receiving module, configured to receive the first command address signal and the clock signal, and sample and register the first command address signal according to the clock signal to obtain the second command address signal; The chip select signal receiving module is configured to receive the first chip select signal and the clock signal, and to sample and register the first chip select signal according to the clock signal to obtain the second chip select signal.
11. The command generating circuit according to claim 10, characterized in that: The command address signal receiving module includes: a multi-stage first D flip-flop group; The in-phase output terminal of the first D flip-flop group of each stage is connected to the data input terminal of the first D flip-flop group of the next stage; the data input terminal of the first D flip-flop group of the first stage receives the first command address signal; the in-phase output terminal of the first D flip-flop group of the last stage outputs the second command address signal; The clock input terminal of the first D flip-flop group in each stage receives the clock signal.
12. The command generating circuit according to claim 11, characterized in that: The first D flip-flop group of each stage includes: a plurality of first D flip-flops; Each of the first D flip-flops is used to process one of the first, second, third and fifth command address sub-signals accordingly.
13. The command generating circuit according to claim 10, characterized in that: The chip selection signal receiving module includes: a multi-stage second D flip-flop; The in-phase output terminal of the second D flip-flop of each stage is connected to the data input terminal of the second D flip-flop of the next stage; the data input terminal of the second D flip-flop of the first stage receives the first chip select signal; the in-phase output terminal of the second D flip-flop of the last stage outputs the second chip select signal; The clock input terminal of the second D flip-flop of each stage receives the clock signal.
14. A memory, characterized in that: The memory comprises the command generating circuit according to any one of claims 1 to 13.
15. The memory according to claim 14, characterized in that: The memory is DRAM and complies with DDR5 memory specifications.
Citation Information
Patent Citations
Memory Device And System Supporting Command Bus Training, And Operating Method Thereof
CN107844439A
- - ODT Methods and memory system for optimizing on-die termination ODT settings of multi-ranks
CN110310681A
Signal sampling circuit and semiconductor memory
CN114678056A
Signal sampling circuit and semiconductor memory
TW202305792A
Semiconductor storage device and control method thereof
US20140140152A1
