Storage controllers, memory and storage systems
By introducing pre-row address and column address commands in the memory controller, the problem of unoccupied time between precharge and activation commands of the dynamic random access memory is solved, and the memory function of quickly opening the word line after receiving the activation command is realized. , improving operating efficiency.
Patent Information
- Application Number
- CN202011489627.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-29
- Filing Date
- 2020-12-16
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-12-16
AI Technical Summary
There is an unoccupied time between the generation of the precharge command and the activation command in the existing dynamic random access memory controller, which causes the memory to go through a delay chain time interval when turning on the word line after receiving the activation command, which affects efficiency.
Introducing pre-row address commands and pre-column address commands in the memory controller by instructing the processor to generate these commands after the precharge command or on the falling/rising edge of its clock, ensuring that the row address and column address information is locked before activating the command memory, thereby reducing the time interval between the memory receiving the activation command and turning on the word line.
Through the use of advance row address and column address commands, the memory can quickly turn on the corresponding word line after receiving the activation command, reducing the delay chain time interval and improving the operating efficiency of the memory.
Smart Images

Figure CN112992211B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a storage controller, a memory and a storage system, and in particular to a storage controller, a memory and a storage system capable of eliminating the time interval between the memory receiving an activation command and opening a corresponding word line. Background Art
[0002] Please refer to Figure 1 , Figure 1 FIG. 1 is a schematic diagram of a dynamic random access memory (DRAM) controller 10 disclosed in the prior art. Figure 1 As shown, one side of the dynamic random access memory controller 10 can be coupled to multiple hosts H1-Hn through an advanced eXtensible interface (AXI) bus 102 of the dynamic random access memory controller 10, and the other side of the dynamic random access memory controller 10 can be coupled to multiple memories M1-Mm through a port physical layer (PHY) interface 112 of the dynamic random access memory controller 10, wherein the multiple memories M1-Mm can be double data rate (Double Data Rate, (DDR~DDR4 or higher) memory, low power (low power) double data rate (LPDDR~LPDDR4 or higher) memory, etc. In addition, n and m are integers greater than 1.
[0003] like Figure 1 As shown, the dynamic random access memory controller 10 further includes an arbitration and mapping unit 104, a physical queue 106, a sequence engine 108, a command processor 110, and a double data rate (DDR) physical layer interface (PHY) bus 111. The arbitration and mapping unit 104 can determine the priority of multiple access commands (or commands) generated from multiple hosts H1-Hn, and map the multiple commands from the advanced extensible interface (AXI) address to the memory address. Then, the physical queue 106 can store the multiple commands into a command queue 202 (such as) according to the priority of the mapped memory address (corresponding to the priority of the multiple commands). Figure 2 For example, Figure 2As shown, the command queue 202 has 16 queues 0-15 (corresponding to commands C0-C15, respectively), wherein each queue has 36 bits, and the 36 bits include command bits, bank address data, row address data, and column address data. In addition, each command in commands C0-C15 may correspond to an 8-bit read or write command from a dynamic random access memory. The physical queue 106 may then sequentially transmit multiple commands C0-C15 to the sorting engine 108. For example, the physical queue 106 may sequentially transmit commands C0-C2 to registers FIFO00-FIFO02 (such as Figure 3 That is, commands C0-C2 are stored in registers FIFOO0-FIFOO2 in sequence. Figure 3 As shown, the finite state machine 1082 included in the sorting engine 108 can execute the commands C0-C2 stored in the registers FIFOO0-FIFOO2 according to the order of the corresponding registers FIFOO0-FIFOO2. For example, the finite state machine 1082 first executes the command C0 (with order 1) stored in the register FIFOO0, and then sequentially executes the command C1 (with order 2) stored in the register FIFOO1 and the command C2 (with order 3) stored in the register FIFOO2. After that, the command processor 110 also processes the command C0, command C1 and command C2 in sequence, wherein the operation timing of the command processor 110 processing the command C0, command C1 and command C2 can be referred to Figure 4 .like Figure 4 As shown, for example, command C0 is a read (Rd) command corresponding to the row 11 and column 11 address (K0_row11 / col11) of block 0 of memory M1, command C1 is a read (Rd) command corresponding to the row 22 and column 22 address (K7_row22 / col22) of block 7 of memory M1, and command C2 is a read (Rd) command corresponding to the row 33 and column 33 address (K5_row33 / col33) of block 5 of memory M1.
[0004] When the finite state machine 1082 executes command C0 (where command C0 is a read (Rd) command corresponding to the row 11 and column 11 address (K0_row11 / col11) of block 0 of memory M1), the finite state machine 1082 first checks whether row 11 of block 0 is activated. If row 11 of block 0 is not activated and other rows of block 0 are activated, the finite state machine 1082 enters the precharge state and controls the command processor 110 (in Figure 4 The precharge command Prech_K0 is generated at the time T1 shown in FIG. Figure 4As shown, after the command processor 110 generates the precharge command Prech_K0, the command processor 110 may generate the activation command ACT_K0_R11 (as shown in FIG. Figure 4 The address of row 11 will be received by memory M1 simultaneously with the activation command ACT_K0_R11. After a time interval tRCD (defined by the double data rate memory specification of the Joint Electronic Device Engineering Council) after the command processor 110 generates the activation command ACT_K0_R11, the command processor 110 may generate a read command Rd_K0_C11 to select column 11 of block 0 (as shown in FIG. 1 ). Figure 4 The time T6 shown). Then the address of column 11 will be received by the memory M1 simultaneously with the read command Rd_K0_C11. After the memory M1 receives the read command Rd_K0_C11, the data stored in the storage unit of row 11 and column 11 of block 0 coupled to the memory M1 will be read. However, if the command C0 is to write data to the row 11 and column 11 address (K0_row11 / col11) of block 0 of the memory M1, then at this time the command processor 110 will generate a write command corresponding to the row 11 and column 11 address (K0_row11 / col11) of block 0 to the memory M1. Then the memory M1 will write the data to the storage unit of row 11 and column 11 of block 0 coupled to the memory M1 according to the write command.
[0005] During the time interval tRP and the time interval tRCD, the command processor 110 may process part of the command C1 and / or the command C2 based on some lookahead rules. For example, before the activation command ACT_K0_R11 corresponding to the command C0 is generated, the finite state machine 1082 may control the command processor 110 to generate the precharge command Prech_K7 corresponding to the command C1 (e.g., Figure 4 The time T2 shown in FIG. 1 and the activation command ACT_K5_R33 corresponding to the command C2 is generated thereafter (eg, Figure 4 In addition, during the time interval tRCD, the finite state machine 1082 can control the command processor 110 to generate an activation command ACT_K7_R22 corresponding to the command C1 (eg, Figure 4 In addition, at Figure 4In the operation sequence, unlike commands C0 and C1, because the block 5 to be read or written according to command C2 may have been precharged before time T1 (or an auto-refresh command or a pre-charge all command has been executed), the command processor 110 does not generate a precharge command corresponding to command C2.
[0006] like Figure 5 As shown, taking command C0 as an example, after the memory M1 receives the activation command ACT_K0_R11, the time interval TT1 is the time for the decoder 502 of the memory M1 to receive and decode the activation command ACT_K0_R11, wherein the decoder 502 operates according to the clock signal CLK (ACT). Afterwards, the time interval TT2 (that is, the delay chain) is the time for the row address latch 506 to latch / output the address of row 11 according to the address lock signal ADDR_LATCH_PLS generated by the decoder 502, and is also the time for the row redundancy comparator 508 and the row address pre-decoder 510 to be ready according to the address of row 11. Then the time interval TT3 is the time for the row decoder 512 to decode the corresponding word line according to the address of row 11. In addition, as Figure 5 As shown, the signal XADD[0:N] includes the address of block 0, the address of row 11 and the address of column 11, and the address latch 504 is used to latch the address of block 0, the address of row 11 and the address of column 11, wherein the address latch 504 also operates according to the clock signal CLK(ACT).
[0007] However, if Figure 4 As shown, in the command processor 110, command C0 already includes the address information of row 11 and column 11 of block 0, command C1 also includes the address information of row 22 and column 22 of block 7, and command C2 also includes the address information of row 33 and column 33 of block 5. In addition, as Figure 4 As shown, since the unoccupied time still exists between the precharge command Prech_K0 and the activation command ACT_K0_R11 of the command C0, how to use the unoccupied time to remove the time interval TT2 (that is, the delay chain) has become an important issue for the designer of the dynamic random access memory controller 10. Summary of the invention
[0008] The present invention discloses a storage controller, a memory and a storage system. The storage controller can generate a pre-row address command to the memory between generating a pre-charge command and generating an activation command, so compared with the prior art, the memory can use the pre-row address command to quickly open the corresponding word line.
[0009] An embodiment of the present invention discloses a storage controller applied to a memory. The storage controller includes a command processor. When the storage controller executes an access command, the command processor generates row address information to the memory before generating an activation command to the memory, wherein the command processor generates the row address information and the activation command based on the access command.
[0010] According to another embodiment of the present invention, the command processor is further used to generate a precharge command to the memory, and the row address information is generated at a falling edge of a clock or a rising edge of a clock after the precharge command.
[0011] According to another embodiment of the present invention, the command processor is further used to generate a pre-row address command to the memory to latch the row address information before the memory receives the activate command, and the command processor generates the pre-row address command based on the access command.
[0012] According to another embodiment of the present invention, the row address information and the pre-row address command are generated to the memory within one clock cycle or simultaneously.
[0013] According to another embodiment of the present invention, after the activation command is issued, the command processor generates a read or write command based on the access command, and the command processor is also used to generate a column of address information between generating the activation command and generating the read or write command.
[0014] According to another embodiment of the present invention, the command processor is also used to generate a pre-column address command to the memory to latch the column address information before the memory receives the read or write command, and the command processor generates the pre-column address command based on the access command.
[0015] According to another embodiment of the present invention, the column address information and the pre-column address command are generated to the memory within one clock cycle or simultaneously.
[0016] According to another embodiment of the present invention, the storage controller further includes a sorting engine, wherein the sorting engine is coupled to the command processor, the access command is stored in the sorting engine, and the sorting engine controls the command processor to sequentially generate the row address information and the activation command according to the access command.
[0017] According to another embodiment of the present invention, after the activation command is issued, the sequencing engine controls the command processor to generate a column of address information corresponding to the access command, and then generates a read or write command corresponding to the access command.
[0018] Another embodiment of the present invention discloses a memory, wherein the memory can receive an access command from a memory controller. The memory includes a first decoder. The first decoder is used to decode an activation command corresponding to the access command; before receiving the activation command, the memory receives a row of address information corresponding to the access command.
[0019] According to another embodiment of the present invention, the memory further includes a second decoder, wherein the second decoder is used to decode a precharge command corresponding to the access command, and the memory receives the row address information at a falling edge of the clock or a rising edge of the clock after receiving the precharge command.
[0020] According to another embodiment of the present invention, the memory further includes a third decoder, wherein the third decoder is used to decode an advance row address command corresponding to the access command, and the advance row address command is used to latch the row address information before the memory receives the activation command.
[0021] According to another embodiment of the present invention, the memory receives the row address information and the pre-row address command within one clock cycle or simultaneously.
[0022] According to another embodiment of the present invention, the memory further comprises a row address latch, wherein the third decoder decodes the pre-row address command and generates a latch signal to the row address latch to latch the row address information before the memory receives the activate command.
[0023] According to another embodiment of the present invention, the memory further comprises a fourth decoder, wherein the fourth decoder is used to decode a read or write command corresponding to the access command, and the memory receives a column address information before receiving the read or write command.
[0024] According to another embodiment of the present invention, the memory receives the column address information and a pre-column address command within one clock cycle or simultaneously.
[0025] According to another embodiment of the present invention, the memory further includes a fifth decoder, wherein the fifth decoder is used to decode a pre-column address command corresponding to the access command, and the pre-column address command is used to latch the column address information before the memory receives the read or write command.
[0026] According to another embodiment of the present invention, the memory receives the column address information and the pre-column address command within one clock cycle or simultaneously.
[0027] According to another embodiment of the present invention, the memory further includes a column address latch, wherein the fifth decoder decodes the pre-column address command and generates a latch signal to the column address latch to latch the column address information before the memory receives the read or write command.
[0028] Another embodiment of the present invention discloses a storage system. The storage system includes a storage controller and a memory. The storage controller includes a command processor. The memory is coupled to the storage controller. When the storage controller executes an access command, the command processor generates a row of address information to the memory before generating an activation command to the memory; wherein the command processor generates the row address information and the activation command based on the access command.
[0029] According to another embodiment of the present invention, the command processor is further configured to generate a pre-row address command to the memory to latch the row address information before the memory receives the activate command.
[0030] According to another embodiment of the present invention, the row address information and the pre-row address command are generated to the memory within one clock cycle or simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of a dynamic random access memory controller disclosed in the prior art.
[0032] Figure 2 is a diagram illustrating a command queue.
[0033] Figure 3 is a schematic diagram illustrating a sorting engine.
[0034] Figure 4 The present invention is a schematic diagram illustrating the operation sequence of a command processor in a storage controller based on the prior art.
[0035] Figure 5 is a schematic diagram illustrating the operation of the memory after the memory receives an activation command.
[0036] Figure 6 It is a schematic diagram of a storage controller disclosed in an embodiment of the present invention.
[0037] Figure 7 is a diagram illustrating the data structure of a command.
[0038] Figure 8 is a diagram illustrating a command processor.
[0039] Fig. 9 is a diagram illustrating the operation sequence of the command processor.
[0040] Fig.10 is a schematic diagram illustrating the operation of the memory after the memory receives an activation command.
[0041] Fig.11 , 12 The diagram is a schematic diagram illustrating the operation timing of a memory based on a pre-row address command and the operation timing of a memory based on the prior art.
[0042] The reference numerals are described as follows:
[0043] 10, 100 Storage Controller
[0044] 102 Advanced eXtensible Interface Bus
[0045] 104 Arbitration and Mapping Unit
[0046] 106 Physical Queue
[0047] 108 Sorting Engine
[0048] 110, 150 Command Processor
[0049] 111 Double Data Rate Physical Layer Interface Bus
[0050] 112 Physical layer interface
[0051] 1082 Finite State Machine
[0052] 1102 Activation command generation circuit
[0053] 1104 Precharge command generation circuit
[0054] 1106 Advance row address command generation circuit
[0055] 1108 Pre-column address command generation circuit
[0056] 502, 1002 decoder
[0057] 504 Address Latch
[0058] 506 Row Address Latch
[0059] 508 redundant comparators
[0060] 510 row address pre-decoder
[0061] 512 line decoder
[0062] ACT_K0_R11, ACT_K5_R33, Activation command
[0063] ACT_K7_R22
[0064] ADDR_LATCH_PLS Address lock signal
[0065] ASS activation confirmation signal
[0066] BAD block address data
[0067] C0-C15 commands
[0068] col11, col22, col33 column addresses
[0069] CLK(ACT), CLK(PRA) clock signals
[0070] CC command code
[0071] CAD column address data
[0072] Delay chain
[0073] FIFOO0-FIFOO2 Registers
[0074] H1-Hn Host
[0075] K0, K7, K5 block addresses
[0076] M1-Mm Memory
[0077] Prech_K0, Prech_K7 precharge command
[0078] PCSS precharge confirmation signal
[0079] PRASS Pre-row address confirmation signal
[0080] PCASS Pre-column address confirmation signal
[0081] PRA0, PRA7, PRA5 advance row address command
[0082] PCA0 Pre-column address command
[0083] PRE_ADDR_LATCH_PLS Pre-address lock signal
[0084] Rd_K0_C11 Read command
[0085] Rd Read
[0086] row11, row22, row33 row addresses
[0087] RAD row address data
[0088] tRCD, tRP, TT1-TT3, tRRD, tPRA2C time interval
[0089] T1-T11 Time
[0090] XADD[0:N] signal DETAILED DESCRIPTION
[0091] Please refer to Figure 6 , Figure 6 FIG. 1 is a schematic diagram of a storage controller 100 disclosed in an embodiment of the present invention. Figure 6 As shown, the storage controller 100 at least includes an advanced eXtensible interface (AXI) bus 102, an arbitration and mapping unit 104, a physical queue 106, a sorting engine 108, a command processor 150, and a physical layer interface (port physical layer (PHY) interface) 112, wherein the advanced eXtensible interface bus 102, the arbitration and mapping unit 104, the physical queue 106, the sorting engine 108, the command processor 150, and the physical layer interface 112 and Figure 1 The AEIB bus 102, arbitration and mapping unit 104, physical queue 106, sorting engine 108, command processor 150, and physical layer interface 112 are the same as shown, so they are not described again. Figure 6 The command processor 150 in the Figure 1 In addition, the coupling relationship between the advanced extensible interface bus 102, the arbitration and mapping unit 104, the physical queue 106, the sorting engine 108, the command processor 150 and the physical layer interface 112 can be referred to. Figure 6 In addition, since other circuits in the storage controller 100 other than the above components are not the technical features of the present invention, they are not described here.
[0092] In addition, the data structure of the command C0 stored in the registers (eg, registers FIFO00-FIFO02) in the sorting engine 108 can be referred to as Figure 7 .like Figure 7As shown, command C0 has 36 bits B0-B35, where bits B0-B10 store column address data CAD, bits B11-B26 store row address data RAD, bits B27-B29 store block address data BAD, bits B32-B34 store command code CC, and bits B30, B31, and B35 are reserved bits. For example, column address data CAD represents column 11, row address data RAD represents row 11, block address data BAD represents block 0 of memory M1, and command code CC represents a read command or a write command. In addition, the data structure of each command in commands C1 and C2 is the same as the data structure of command C0, so it will not be repeated here. Therefore, when the command processor 150 starts to execute command C0, all address information (including row address data RAD and column address data CAD) has been stored in the sorting engine 108 and can be sent to the command processor 150.
[0093] Also, please refer to Figure 8 , Figure 8 is a schematic diagram illustrating the command processor 150. Figure 8 As shown, the command processor 150 includes an activation command generating circuit 1102, a precharge command generating circuit 1104, a pre-row address command generating circuit 1106, and a pre-column address command generating circuit 1108. Next, taking command C0 as an example, the activation command generating circuit 1102 can generate an activation command ACT_K0_R11 according to the block address data BAD of block 0 of the memory M1, the row address data RAD of block 0, and the activation confirmation signal ASS, wherein the block address data BAD and the row address data RAD are transmitted by the sorting engine 108; the precharge command generating circuit 1104 can generate a precharge command Prech_K0 according to the block address data BAD and the precharge confirmation signal PCSS, wherein the block address data BAD is transmitted by the sorting engine 108; The row address command generating circuit 1106 may generate a pre-row address command PRA0 according to the block address data BAD, the row address data RAD, and the pre-row address confirmation signal PRASS, wherein the block address data BAD and the row address data RAD are transmitted by the sorting engine 108; the pre-column address command generating circuit 1108 may generate a pre-column address command PCA0 according to the block address data BAD, the column address data CAD, and the pre-column address confirmation signal PCASS, wherein the block address data BAD and the column address data CAD are transmitted by the sorting engine 108. In addition, the command processor 150 may transmit a pre-row address command PRA0, a pre-charge command Prech_K0, a pre-column address command PCA0, and an activation command ACT_K0_R11 to the memory M1 via the double data rate physical layer interface bus 111 and the physical layer interface 112, wherein as shown in FIG. Figure 6As shown, the double data rate physical layer interface bus 111 is coupled between the command processor 150 and the physical layer interface 112 .
[0094] In one embodiment of the present invention, command C0 stored in register FIFO00 corresponds to sequence 1, command C1 stored in register FIFO01 corresponds to sequence 2, and command C2 stored in register FIFO02 corresponds to sequence 3. The finite state machine 1082 in the sequencing engine 108 can control the command processor 150 to execute command C0. At this time, the finite state machine 1082 can pre-execute parts of command C1 and command C2 to effectively send available address information to the command processor 150 so that the command processor 150 generates the pre-row address command PRA0 and / or the pre-column address command PCA0 at the appropriate time.
[0095] In addition, in the present invention, each command may correspond to a read command or a write command, and only the read command Rd is used as an example to illustrate the present invention. Fig. 9 As shown, taking command C0 as a read command Rd corresponding to column 11 and row 11 of block 0, command C1 as a read command Rd corresponding to column 22 and row 22 of block 7, and command C2 as a read command Rd corresponding to column 33 and row 33 of block 5 as an example, when command C0 is executed, the finite state machine 1082 first checks whether row 11 of block 0 is activated. If row 11 of block 0 is not activated and other rows of block 0 are activated, the finite state machine 1082 enters a pre-charge state and controls the pre-charge command generation circuit 1104 in the command processor 150 (in Fig. 9 If block 0 is in idle mode and no row of block 0 is activated, the finite state machine 1082 enters the active state and controls the active command generation circuit 1102 in the command processor 150 (at time T1). Fig. 9 At time T9 shown in the figure, an activation command ACT_K0_R11 is generated.
[0096] like Fig. 9 As shown, since there is an unoccupied time between the precharge command Prech_K0 and the activation command ACT_K0_R11 corresponding to the command C0, the advance row address command generating circuit 1106 in the command processor 150 can generate the advance row address command PRA0 accompanying the row 11 to the memory M1 within the unoccupied time, wherein the row 11 and the advance row address command PRA0 are generated to the memory M1 in one clock cycle or at the same time. In addition, as Fig. 9As shown, the advance row address command PRA0 can be issued at the falling edge of the clock after the precharge command Prech_K0 (eg Fig. 9 The pre-charge command generation circuit 1104 generates the pre-charge command Prech_K0, and then the finite state machine 1082 knows that it will control the pre-row address command generation circuit 1106 to generate the pre-row address command PRA0. In another embodiment of the present invention, the pre-row address command generation circuit 1106 may generate the pre-row address command PRA0 at the rising edge of the clock after the pre-charge command Prech_K0 (as shown in FIG. 1 ). Fig. 9 The time T3 shown generates the advance row address command PRA0 accompanied by row 11 to the memory M1, wherein the clock falling edge and the clock rising edge correspond to the internal clocks applied to the memories M1-Mm.
[0097] In addition, the present invention is not limited to the pre-row address command generation circuit 1106 generating the pre-row address command PRA0 at the falling edge of the clock and the rising edge of the clock after the pre-charge command Prech_K0. That is to say, as long as the pre-row address command generation circuit 1106 generates the pre-row address command PRA0 between the pre-charge command Prech_K0 and the activation command ACT_K0_R11 (or during the time interval tRP), it falls within the scope of the present invention.
[0098] In addition, because command C0 corresponds to column 11 and row 11 of block 0, when precharge command Prech_K0 or activation command ACT_K0_R11 is generated, finite state machine 1082 also knows column 11 and finite state machine 1082 is also used to control pre-column address command generation circuit 1108 to generate pre-column address command PCA0 accompanying column 11 at an appropriate time, wherein column 11 and pre-column address command PCA0 are generated to memory M1 in one clock cycle or at the same time. Therefore, pre-column address command generation circuit 1108 can also generate pre-column address command PCA0 accompanying column 11 before read command Rd_K0_C11 corresponding to command C0 is generated, or between activation command ACT_K0_R11 and read command Rd_K0_C11, or during time interval tRP (not shown). Figure 6 ).
[0099] like Fig. 9As shown, after the precharge command generation circuit 1104 generates the precharge command Prech_K0, the next command C1 stored in the sequencing engine 108 will be pre-executed by the finite state machine 1082. The finite state machine 1082 first checks whether the row 22 of the block 7 is activated. If the row 22 of the block 7 is not activated and the other rows of the block 7 are activated, the finite state machine 1082 enters the precharge state and controls the precharge command generation circuit 1104 (at Fig. 9 If block 7 is in the idle mode and no row of block 7 is activated, the finite state machine 1082 enters the active state and controls the active command generation circuit 1102 (at time T4). Fig. 9 At time T10 shown in FIG. 1 , an activation command ACT_K7_R22 is generated. Fig. 9 As shown, since there is an unoccupied time between the precharge command Prech_K7 and the activation command ACT_K7_R22 corresponding to the command C1, the advance row address command generating circuit 1106 can generate the precharge command Prech_K7 at the falling edge of the clock (eg, Fig. 9 time T5 as shown), or at the rising edge of the clock after the precharge command Prech_K7 (as shown in FIG. Fig. 9 At time T6 shown, an advance row address command PRA7 is generated along with row 22 to the memory M1.
[0100] In addition, Fig. 9 Unlike commands C0 and C1, in the operation sequence of command C2, since the block 5 to be read according to command C2 may have been precharged before time T1 (or the auto-refresh command or the precharge all command has been executed), the command processor 150 does not generate a precharge command corresponding to command C2. Fig. 9 In the operation sequence of , the advance row address command generating circuit 1106 may generate the advance row address command PRA5 of row 33 corresponding to command C2 at time T7 (corresponding to the rising edge of the clock) or at time T8 (corresponding to the falling edge of the clock) before the activation command ACT_K5_R33 corresponding to command C2 is generated at time T11. In addition, Fig. 9 As shown, the time interval tRRD (defined by the double data rate memory specification of the Joint Electron Device Engineering Council) should be satisfied between two different activation commands generated by the command processor 150. Fig. 9 As shown, the time interval tPRA2C between the advance row address command PRA0 and the activation command ACT_K0_R11 corresponding to the command C0 should not be less than one clock cycle of the internal clock applied to the memories M1-Mm (wherein the time interval tPRA2C also applies to the commands C1 and C2).
[0101] In addition, if Fig.10 As shown, taking command C0 as an example, after the pre-row address command PRA0 is generated, because the decoder 1002 in the memory M1 (the decoder 1002 is the third decoder at this time) can decode the pre-row address command PRA0 to generate the pre-address locking signal PRE_ADDR_LATCH_PLS to the row address latch 506 of the memory M1, and the pre-address latch 1004 of the memory M1 latches the address of block 0, the address of row 11 (that is, the row address information) and the address of column 11 (that is, the column address information), the row redundancy comparator 508 and the row address pre-decoder 510 can be ready before the memory M1 receives the activation command ACT_K0_R11 (or before the decoder 502 of the memory M1 (that is, the first decoder) decodes the activation command ACT_K0_R11), wherein the decoder 1002 and the pre-address latch 1004 operate according to the clock signal CLK (PRA).
[0102] like Fig.10 As shown, because the row redundancy comparator 508 and the row address pre-decoder 510 can be ready before the memory M1 receives the activation command ACT_K0_R11 (or before the decoder 502 of the memory M1 decodes the activation command ACT_K0_R11), Fig.10 Not as Figure 5 The delay chain shown in Figure 5 The delay chain shown is the time for the row address latch 506 to latch the address of row 11, and the time for the row redundancy comparator 508 and the row address pre-decoder 510 to be ready. Fig.10 There is no such Figure 5 The time interval TT2 is shown.
[0103] In addition, in another embodiment of the present invention, in the unoccupied time between the precharge command Prech_K0 and the activation command ACT_K0_R11 corresponding to the command C0, the command processor 150 only issues the address of row 11 to the memory M1 (without issuing the pre-row address command PRA0). For example, the command processor 150 may issue the address of row 11 to the memory M1 at the falling edge of the clock after the precharge command Prech_K0 (e.g. Fig. 9 time T2 as shown), or at the rising edge of the clock after the precharge command Prech_K0 (such as Fig. 9 The time T3 shown in FIG. 11 is generated. Of course, in this embodiment, as Fig.10The decoder 1002 of the memory M1 shown (the decoder 1002 is the second decoder at this time) will be modified so that it can decode the precharge command Prech_K0 (because there is no pre-row address command in this embodiment), or other available commands, or a combination of address bits to generate a pre-address lock signal PRE_ADDR_LATCH_PLS to the row address latch 506 of the memory M1.
[0104] In addition, in this embodiment, the command processor 150 may also issue only the address of column 11 to the memory M1 in the unoccupied time between the activation command ACT_K0_R11 and the read command Rd_K0_C11 corresponding to the command C0 (without issuing the pre-column address command PCA0). For example, the command processor 150 may generate column 11 at the falling edge of the clock after the activation command ACT_K0_R11 or at the rising edge of the clock after the activation command ACT_K0_R11.
[0105] In addition, after the pre-column address command PCA0 is generated, the decoder (not shown) in the memory M1 Fig.10 , and the decoder is the fifth decoder) can decode the pre-column address command PCA0 to generate another pre-address lock signal to the column address latch of the memory M1 (not shown). Fig.10 In addition, after the memory M1 receives the read command Rd_K0_C11, the read decoder (not shown) in the memory M1 Fig.10 , and the read decoder is the fourth decoder) can decode the read command Rd_K0_C11 to read the data stored in the storage cells of the row 11 and the column 11 of the block 0 coupled to the memory M1.
[0106] Please refer to Fig.11 , 12 , Fig.11 , 12 1 is a schematic diagram illustrating the operation timing of the memory M1 based on the advance row address command PRA0 and the operation timing of the memory M1 based on the prior art. Fig.11As shown in (a), after the memory M1 receives the precharge command Prech_K0, if the pre-row address command PRA0 is not applied to the memory M1 (that is, the prior art), even if the command C0 includes the row address data RAD, the memory M1 must latch the row address data RAD (corresponding to the address of row 11) and pre-decode the row address data RAD, and execute the row redundancy comparator 508 after receiving the activation command ACT_K0_R11. That is to say, the memory M1 must latch the row address data RAD and pre-decode the row address data RAD and execute the row redundancy comparator 508 after receiving the activation command ACT_K0_R11. Therefore, when the memory M1 receives the activation command ACT_K0_R11, the memory M1 starts to decode the activation command ACT_K0_R11. Then the memory M1 latches the row address data RAD, pre-decodes the row address data RAD, and executes the row redundancy comparator 508. Finally, the back memory M1 decodes the corresponding word line according to the row address data RAD to open the corresponding word line. For those skilled in the art, latching the row address data RAD, pre-decoding the row address data RAD, and executing the row redundancy comparator 508 are prior arts, so they are not described in detail here.
[0107] However, if Fig.11 As shown in (b), after the memory M1 receives the precharge command Prech_K0, if the pre-row address command PRA0 is applied to the memory M1, the memory M1 can decode the pre-row address command PRA0 to obtain the row address data RAD, latch the row address data RAD, pre-decode the row address data RAD, and execute the row redundancy comparator 508 before the memory M1 receives the activation command ACT_K0_R11. Because the memory M1 has decoded the precharge command Prech_K0, latched the row address data RAD, pre-decoded the row address data RAD, and executed the row redundancy comparator 508 before the activation command ACT_K0_R11 is decoded, when the memory M1 receives the activation command ACT_K0_R11, the memory M1 can quickly turn on the corresponding word line according to row 11.
[0108] In addition, if Fig.12As shown in (a), after the memory M1 receives the precharge command Prech_K0, if the pre-row address command PRA0 is not applied to the memory M1 (that is, the prior art), then after the memory M1 receives the activation command ACT_K0_R11, the time interval TT1-TT3 must exist before the memory M1 turns on the corresponding word line according to the row address data RAD, wherein the time interval TT1 is the time for the memory M1 to receive the activation command ACT_K0_R11 and decode the activation command ACT_K0_R11, the time interval TT2 is the time for the memory M1 to latch the row address data RAD, pre-decode the row address data RAD, and execute the row redundancy comparator 508, and the time interval TT3 is the time for the memory M1 to decode the corresponding word line according to the row address data RAD to turn on the corresponding word line.
[0109] However, if Fig.12 As shown in (b), after the memory M1 receives the precharge command Prech_K0, if the pre-row address command PRA0 is applied to the memory M1, because the memory M1 has decoded the pre-row address command PRA0 to obtain the row address data RAD, latched the row address data RAD, pre-decoded the row address data RAD, and executed the row redundancy comparator 508 before the memory M1 receives the activation command ACT_K0_R11, only time intervals TT1 and TT3 exist after the memory M1 receives the activation command ACT_K0_R11 and before the memory M1 turns on the corresponding word line. That is, when the memory M1 receives the activation command ACT_K0_R11, the memory M1 can quickly turn on the corresponding word line according to row 11.
[0110] In addition, the arbitration and mapping unit 104, the sorting engine 108, and the command processor 150 may be a field programmable gate array (FPGA) having the functions of the arbitration and mapping unit 104, the sorting engine 108, and the command processor 150, or an application-specific integrated circuit (ASIC) having the functions of the arbitration and mapping unit 104, the sorting engine 108, and the command processor 150, or a software module having the functions of the arbitration and mapping unit 104, the sorting engine 108, and the command processor 150, or an analog integrated circuit having the functions of the arbitration and mapping unit 104, the sorting engine 108, and the command processor 150.
[0111] In summary, because the unoccupied time exists between the precharge command and the activate command, the present invention can utilize the pre-row address command generation circuit in the command processor to generate the pre-row address command to the memory between the precharge command and the activate command. Therefore, compared with the prior art, the memory can utilize the pre-row address command to eliminate the time interval between the memory receiving the activate command and turning on the corresponding word line.
[0112] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A storage controller applied to a memory, characterized in that Includes: a command processor; wherein when the storage controller executes an access command, the command processor generates a pre-row address command to the memory between an activate command and a pre-charge command; The command processor generates a row of address information and the activation command based on the access command.
2. The storage controller according to claim 1, characterized in that : The command processor is further used to generate the precharge command to the memory, and the row address information is generated at a falling edge of a clock or a rising edge of a clock after the precharge command.
3. The storage controller according to claim 1, characterized in that :The command processor is also used to generate a pre-row address command to the memory to latch the row address information before the memory receives the activate command, and the command processor generates the pre-row address command based on the access command.
4. The storage controller according to claim 3, characterized in that : The row address information and the pre-row address command are generated to the memory in one clock cycle or simultaneously.
5. The storage controller according to claim 1, characterized in that :After the activation command is generated, the command processor generates a read or write command based on the access command, and the command processor is also used to generate a column of address information between generating the activation command and generating the read or write command.
6. The storage controller according to claim 5, characterized in that :The command processor is also used to generate a pre-column address command to the memory to latch the column address information before the memory receives the read or write command, and the command processor generates the pre-column address command based on the access command.
7. The storage controller according to claim 6, characterized in that : The column address information and the pre-column address command are generated to the memory in one clock cycle or simultaneously.
8. The storage controller according to claim 1, characterized in that Also includes: A sorting engine is coupled to the command processor, wherein the access command is stored in the sorting engine, and the sorting engine controls the command processor to sequentially generate the row address information and the activation command according to the access command.
9. The storage controller according to claim 8, characterized in that After the activation command is generated, the sequencing engine controls the command processor to generate a column of address information corresponding to the access command, and then generates a read or write command corresponding to the access command.
10. A memory capable of receiving an access command from a memory controller, characterized in that Includes: a first decoder, configured to decode an activation command corresponding to the access command; The memory receives a pre-row address command corresponding to the access command between receiving the activation command and a pre-charge command.
11. The memory according to claim 10, characterized in that Also includes: a second decoder, configured to decode the precharge command corresponding to the access command; The memory receives a row of address information at a falling edge of a clock or a rising edge of a clock after receiving the precharge command.
12. The memory according to claim 10, characterized in that Also includes: a third decoder for decoding a pre-row address command corresponding to the access command; The advance row address command is used to latch a row of address information before the memory receives the activate command.
13. The memory according to claim 12, characterized in that :The memory receives the row address information and the pre-row address command in one clock cycle or simultaneously.
14. The memory according to claim 12, characterized in that Also includes: A row address latch, wherein the third decoder decodes the pre-row address command and generates a latch signal to the row address latch to latch the row address information before the memory receives the activate command.
15. The memory according to claim 10, characterized in that Also includes: a fourth decoder, for decoding a read or write command corresponding to the access command; The memory receives a column of address information before receiving the read or write command.
16. The memory according to claim 15, characterized in that :The memory receives the column address information and a pre-column address command in one clock cycle or simultaneously.
17. The memory according to claim 15, characterized in that Also includes: a fifth decoder, for decoding a pre-column address command corresponding to the access command; The pre-column address command is used to latch the column address information before the memory receives the read or write command.
18. The memory according to claim 17, characterized in that :The memory receives the column address information and the pre-column address command in one clock cycle or simultaneously.
19. The memory according to claim 17, characterized in that Also includes: A column address latch, wherein the fifth decoder decodes the pre-column address command and generates a latch signal to the column address latch to latch the column address information before the memory receives the read or write command.
20. A storage system, characterized in that Includes: a storage controller including a command processor; and a memory, coupled to the memory controller; wherein when the storage controller executes an access command, the command processor generates a pre-row address command to the memory between an activate command and a pre-charge command; The command processor generates a row of address information and the activation command based on the access command.
21. The storage system according to claim 20, characterized in that The command processor is further used to generate a pre-row address command to the memory to latch the row address information before the memory receives the activate command.
22. The storage system according to claim 21, characterized in that : The row address information and the pre-row address command are generated to the memory in one clock cycle or simultaneously.
