This application claims priority of Taiwan application No. 112140979 filed on Oct. 26, 2023, which is incorporated by reference in its entirety.
The present disclosure relates to control modules and methods for memory, and more particularly to a control module and a control method thereof for synchronous dynamic random access memory.
In a synchronous dynamic random access memory (SDRAM) framework, an SDRAM controller executes instructions and controls data channels. The development of a process of manufacturing conventional SDRAM controllers is usually carried out according to the instructions to execute and specific functions. However, from the perspective of developed SDRAM controllers, defects, flaws and/or errors in the operations (especially operations with special functions) of the SDRAMs can hardly be verified or even be corrected with any other methods.
Both Taiwan patent application 202226244 published on Jul. 1, 2022 and U.S. patent application 2022/0206684 published on Jun. 30, 2022 disclose a dynamic pin (DPIN) operation for mitigating the aforesaid drawback.
Some embodiments of the present invention provide a control method for a synchronous dynamic random access memory (SDRAM). The method includes: setting values of at least one register for a dynamic pin (DPIN) operation; performing a refresh-all-bank instruction; and performing the DPIN operation according to the values of the at least one register after performing the refresh-all-bank instruction.
Some embodiments of the present invention provide a control module for SDRAM. The control module includes: at least one register and a controller. The at least one register stores values for a DPIN operation. The controller is electrically connected to the at least one register and configured to: set the values of the at least one register; perform a refresh-all-bank instruction; and perform the DPIN operation according to the values of the at least one register after performing the refresh-all-bank instruction.
Aspects of the present invention are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
Embodiments of the disclosure will be described in detail below. However, it should be understood that the disclosure provides concepts widely applied to and embodied in specific situations. The specific embodiments of the disclosure are illustrative rather than restrictive of the scope of the disclosure.
A conventional synchronous dynamic random access memory (SDRAM) framework lacks usage flexibility, and thus defects, flaws and/or errors in SDRAM operation can hardly be verified or even be corrected with any other methods. The disclosure provides a control module and a control method thereof for dynamically executing a dynamic pin (DPIN) operation during SDRAM operation to enhance the operation flexibility of the SDRAM framework with a view to mitigating the aforesaid drawback of the prior art. Please refer to Taiwan patent application 202226244 published on Jul. 1, 2022 and U.S. patent application 2022/0206684 published on Jun. 30, 2022 for details of the DPIN operation.
In some embodiments, after the controller 23 has set the values of the at least one register 21 (implying a need to execute the DPIN operation D20), the controller 23 determines to carry out the pull-in performance of a refresh-all-bank instruction 230 in a corresponding refresh bank interval (for example, tREFi interval in a memory specification). Then, the controller 23 sequentially performs a memory pre-charge-all-bank instruction 232 (for example, PRECHA instruction in a memory specification) corresponding to the refresh-all-bank instruction 230 and the refresh-all-bank instruction 230 according to the pull-in performance of the refresh-all-bank instruction 230. Next, upon performance the refresh-all-bank instruction 230 and passing through a refresh instruction cycle tRFC, the controller 23 is configured to performs the DPIN operation D20 according to the values of the at least one register 21.
In some embodiments, the performance of the DPIN operation D20 may cause some changes to the SDRAM 8, and thus a memory recovery information related to the status of the SDRAM 8 has to be stored prior to the performance of the DPIN operation D20 such that, upon completion of the DPIN operation D20, the controller 23 restores the SDRAM 8 to its status before the performance of the DPIN operation D20 in accordance with the memory recovery information
In some embodiments, the controller 23 is configured to confirm whether the DPIN operation D20 is complete. If the controller 23 confirms that the DPIN operation D20 is complete, the controller 23 is configured to perform the next SDRAM instruction after a DPIN performance interval tDPIN has ended. If the controller 23 confirms that the DPIN operation D20 is not complete, the controller 23 is configured to repeatedly confirm whether the DPIN operation D20 is complete.
For example, the DPIN operation includes a memory temperature surveillance. In particular, when the SDRAM 8 is halfway through its operation and thus its operating temperature has to be confirmed to adjust SDRAM-related parameters (for example, change the bank refresh rate from 7.8 μs to 3.9 μs) in accordance with the confirmed operating temperature, the controller 23 sets the values of the at least one register 21 to facilitate subsequent performance of a corresponding DPIN operation (i.e., a memory temperature surveillance). Then, the controller 23 determines to carry out the pull-in performance of the refresh-all-bank instruction 230 in a corresponding refresh bank interval. Next, the controller 23 sequentially performs the memory pre-charge-all-bank instruction 232 and the refresh-all-bank instruction 230. After performing the refresh-all-bank instruction 230 and passing through the refresh instruction cycle tRFC, the controller 23 performs the memory temperature surveillance according to the numerical value of the at least one register 21 to confirm the temperature of the SDRAM 8. In some embodiments, the temperature of the SDRAM 8 is confirmed with a temperature sensing chip disposed on the SDRAM 8. In some embodiments, the temperature of the SDRAM 8 is confirmed with a temperature sensor positioned proximate to the SDRAM 8.
Some embodiments of the disclosure provide a control method for SDRAMs, and its flow chart is shown in
Some embodiments of the disclosure provide a control method for SDRAMs, and its flow chart is shown in
Step S401 is executed to set values of at least one register for a DPIN operation. Step S402 is executed to determine to carry out the pull-in performance of a refresh-all-bank instruction in a corresponding refresh bank interval. Step S403 is executed to perform a memory pre-charge-all-bank instruction and the refresh-all-bank instruction. Step S404 is executed to store a memory recovery information and performing the DPIN operation according to the values of the at least one register.
Step S405 is executed to determine whether the DPIN operation is complete. If it is confirmed that the DPIN operation is complete, step S406 is executed to wait for the completion of a DPIN performance interval. If it is confirmed that the DPIN operation is not complete, step S405 is repeatedly executed to confirm whether the DPIN operation is complete.
In conclusion, a control module and a control method thereof for SDRAMs, as provided by the disclosure, are effective in executing a dynamic pin (DPIN) operation dynamically during an SDRAM operation to flexibly improve the ease of the SDRAM operation (especially operations with special functions). In some embodiments, the controller comprises a logic circuit for executing computation and instructions, without limiting the embodiment of the hardware of the disclosure.
While this invention has been described with specific embodiments thereof, it is evident that many alternatives, modifications, and variations may be apparent to those skilled in the art. For example, various components of the embodiments may be interchanged, added, or substituted in the other embodiments. Also, all of the elements of each figure are not necessary for operation of the disclosed embodiments. For example, one of ordinary skill in the art of the disclosed embodiments would be enabled to make and use the teachings of the invention by simply employing the elements of the independent claims. Accordingly, embodiments of the invention as set forth herein are intended to be illustrative, not limiting. Various changes may be made without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
112140979 | Oct 2023 | TW | national |