A method for controlling operations of a delay locked loop (dll) of a dynamic random access memory (DRAM) is provided herein. A phase detector of the dll compares an external clock signal with a feedback clock signal to generate a first control signal. A delay line circuit of the dll delays the external clock signal according to the first control signal. A detector of the DRAM detects variations of the first control signal to determine a length of an enable period of an enable signal. The delay line circuit and the output buffer are active only during the enable period when the DRAM is in a standby mode.
|
1. A method for controlling operations of a delay locked loop (dll) of a dynamic random access memory (DRAM), the method comprising steps of:
providing an external clock signal to a phase detector of the dll;
comparing the external clock signal with a feedback clock signal by using the phase detector, wherein the feedback clock signal is received from an output buffer of the dll;
generating a first control signal according to a result of the comparison of the external clock signal and the feedback clock signal;
adjusting a delay of a delay line circuit of the dll based on the first control signal, wherein the delay line circuit is coupled between the phase detector and the output buffer to receive and delay the external clock signal; and
detecting variations of the first control signal to determine a length of an enable period of an enable signal, wherein the delay line circuit and the output buffer are active only during the enable period when the DRAM is in a standby mode.
6. A method for controlling operations of a delay locked loop (dll) of a dynamic random access memory (DRAM), the method comprising steps of:
providing an external clock signal to a phase detector of the dll;
comparing the external clock signal with a feedback clock signal by using the phase detector, wherein the feedback clock signal is received from an output buffer of the dll;
generating a first control signal according to a result of the comparison of the external clock signal and the feedback clock signal;
adjusting a delay of a delay line circuit of the dll based on the first control signal, wherein the delay line circuit is coupled between the phase detector and the output buffer to receive and delay the external clock signal;
adjusting a duty cycle of a first delayed clock signal outputted by the delay line circuit according to a second control signal to output a second delayed clock signal by using a duty cycle corrector;
detecting the duty cycle of the second delayed clock signal to generate the second control signal; and
detecting variations of the first control signal or variations of the second control signal to determine a length of an enable period of an enable signal, wherein the delay line circuit, the duty cycle corrector and the output buffer are active only during the enable period when the DRAM is in a standby mode.
2. The method as claimed in
ending the enable period of the enable signal when status of the first control signal is changed twice.
3. The method as claimed in
determining a beginning of the enable period of the enable signal according to a refresh signal of a self refresh counter of the DRAM,
wherein the self refresh counter is used to refresh data stored in the DRAM, and the refresh signal is used to trigger the DRAM to refresh the data.
4. The method as claimed in
adjusting a duty cycle of a first delayed clock signal outputted by the delay line circuit according to a second control signal to output a second delayed clock signal;
detecting the duty cycle of the second delayed clock signal to generate the second control signal; and
detecting variations of the second control signal;
wherein the length of the enable period of the enable signal is determined based to on the variations of the first control signal and the variations of the second control signal.
5. The method as claimed in
ending the enable period of the enable signal when status of the first control signal or the second control signal is changed twice.
7. The method as claimed in
ending the enable period of the enable signal when status of the first control signal or the second control signal is changed twice.
8. The method as claimed in
determining a beginning of the enable period of the enable signal according to a refresh signal of a self refresh counter of the DRAM,
wherein the self refresh counter is used to refresh data stored in the DRAM, and the refresh signal is used to trigger the DRAM to refresh the data.
|
1. Field of Invention
The present invention is related to a method of controlling operations of a dynamic random access memory (DRAM), and more specifically, to a method of controlling operations of a delay locked loop (DLL) of the DRAM.
2. Description of Related Art
Typically, an electronic system includes a number of integrated circuit chips that communicate with one another to perform system applications. Often, the electronic system includes a controller, such as a micro-processor, and one or more memory chips, such as random access memory (RAM) chips. The controller communicates with the memory to store data and to read the stored data.
Sometimes, data and strobe signals are communicated between chips, such as a controller and RAM, to read and write data. To write data from the controller to the RAM, data and a clock or strobe signal are transmitted to the RAM and the received data is clocked into the RAM via the clock signal. To read data from the RAM, output data and a strobe signal are transmitted from the RAM. The output data and strobe signal are aligned to a clock signal via a delay locked loop (DLL).
Typically, the RAM receives an external clock signal and the DLL receives the external clock signal or an on-chip clock signal based on the external clock signal. The DLL provides an internal clock signal based on the external clock signal. The internal clock signal clocks the output data and strobe signal out of the RAM via output circuitry. The internal clock signal is fed back to a phase detector via a delay that mimics the delay of the output circuitry. The DLL aligns and locks the delayed internal clock signal to the external clock signal, which aligns the output data and strobe signal to the external clock signal. Since the external clock signal may drift over time and changes in the supply voltage and temperature may cause timing changes, the DLL runs continuously to maintain a lock state, which consumes considerable current.
In standby mode, integrated circuit chips are put into a low power state. If a DLL runs continuously in standby mode, the DLL is ready to drive output data as soon as the chip comes out of standby mode, however, considerable power is consumed in standby mode. If the DLL is switched off or loses lock state in standby mode, it takes considerable time to exit standby mode because the DLL must re-acquire lock state. As speeds increase and power consumption becomes more critical, these problems are amplified.
Accordingly, an object of the present invention is to provide a method of controlling operations of a DLL of a DRAM. When the DRAM is in a standby mode, the enable periods of the DLL could be adjusted dynamically.
A further object of the present invention is to provide a method for controlling operations of a delay locked loop (DLL) of a dynamic random access memory (DRAM). The method has a step of providing an external clock signal to a phase detector of the DLL. The method further has a step of comparing the external clock signal with a feedback clock signal by using the phase detector. The feedback clock signal is received from an output buffer of the DLL. The method further has a step of generating a first control signal according to a result of the comparison of the external clock signal and the feedback clock signal. The method further has a step of adjusting a delay of a delay line circuit of the DLL based on the first control signal. The delay line circuit is coupled between the phase detector and the output buffer to receive and delay the external clock signal. The method further has a step of detecting variations of the first control signal to determine a length of an enable period of an enable signal. The delay line circuit and the output buffer are active only during the enable period when the DRAM is in a standby mode.
A further object of the present invention is to provide a method for controlling operations of a DLL of a DRAM. The method comprises a step of providing an external clock signal to a phase detector of the DLL. The method further comprises a step of comparing the external clock signal with a feedback clock signal by using the phase detector. The feedback clock signal is received from an output buffer of the DLL. The method further comprises a step of generating a first control signal according to a result of the comparison of the external clock signal and the feedback clock signal. The method further comprises a step of adjusting a delay of a delay line circuit of the DLL based on the first control signal. The delay line circuit is coupled between the phase detector and the output buffer to receive and delay the external clock signal. The method further comprises a step of adjusting a duty cycle of a first delayed clock signal outputted by the delay line circuit according to a second control signal to output a second delayed clock signal by using a duty cycle corrector. The method further comprises a step of detecting the duty cycle of the second delayed clock signal to generate the second control signal. The method further comprises a step of detecting variations of the first control signal or variations of the second control signal to determine a length of an enable period of an enable signal. The delay line circuit, the duty cycle corrector and the output buffer are active only during the enable period when the DRAM is in a standby mode.
In an embodiment of the present invention, the phase detector generates the first control signal based on the external clock signal. The method further comprises a step of ending the enable period of the enable signal when status of the first control signal is changed twice within two successive periods of the external clock signal.
In an embodiment of the present invention, the method further comprises a step of determining a beginning of the enable period of the enable signal according to a refresh signal of a self refresh counter of the DRAM. The self refresh counter is used to refresh data stored in the DRAM, and the refresh signal is used to trigger the DRAM to refresh the data.
In an embodiment of the present invention, the method further comprises steps of adjusting a duty cycle of a first delayed clock signal outputted by the delay line circuit according to a second control signal to output a second delayed clock signal; detecting the duty cycle of the second delayed clock signal to generate the second control signal; and detecting variations of the second control signal. The length of the enable period of the enable signal is determined based on the variations of the first control signal and the variations of the second control signal.
In an embodiment of the present invention, the first control signal and the second control signal are generated based on the external clock signal. The method further comprises a step of ending the enable period of the enable signal when status of the first control signal or the second control signal is changed twice within two successive periods of the external clock signal.
As described above, the length of the enable period of the enable signal is determined by detecting variations of the first control signal. Therefore, when the DRAM is in the standby mode, the enable periods of the DLL could be adjusted dynamically.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, several preferred embodiments accompanied with figures are described in detail below.
It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the invention as claimed.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
The DLL 310 is used to align and lock the internal clock signal CLK to the external clock signal XCLK. The DLL 310 has a phase detector 350, a delay line circuit 360, and an output buffer 370. The external clock signal XCLK is provided to the phase detector 350, and the phase detector 350 compares the external clock signal XCLK with the internal clock signal CLK, which is feedback from the output buffer 370. The phase detector 350 generates the first control signal S1 according to a result of the comparison of the external clock signal XCLK and the feedback clock signal CLK. The delay line circuit 360 is coupled between the phase detector 350 and the output buffer 370 to receive and delay the external clock signal XCLK according to the first control signal S1 so as to output a first delayed clock signal C1. Accordingly, a delay of the delay line circuit 360 of the DLL 310 is adjusted based on the first control signal S1. Moreover, the control circuit 320 detects the variations of the first control signal S1 to determine a length of an enable period of an enable signal IDDL. Accordingly, the length of the enable period could be adjusted dynamically.
Moreover, the phase detector 350 generates the first control signal S1 based on the external clock signal XCLK. The control circuit 320 determines the lengths of the enable periods TD1, TD2 and TD3 of the enable signal IDDL according to variations of the first control signal S1. In detail, each of the enable periods TD1, TD2 and TD3 of the enable signal IDDL is ended when status of the first control signal S1 is changed twice. Since the feedback clock signal CLK would be very close to the external clock signal XCLK when the status of the first control signal S1 is changed frequently, the phase detector 350 finishes locking the feedback clock signal CLK to the external clock signal XCLK at the ends of the enable periods TD1, TD2 and TD3. Accordingly, the lock state of the DLL 310 is maintained when the DRAM 300 is in the standby mode.
The DLL 510 is used to align and lock the internal clock signal CLK to the external clock signal XCLK. The DLL 510 has a phase detector 552, a delay line circuit 554, a duty cycle corrector 556, a duty cycle detector 558 and an output buffer 560. The external clock signal XCLK is provided to the phase detector 552, and the phase detector 552 compares the external clock signal XCLK with the internal clock signal CLK, which is feedback from the output buffer 560. The phase detector 552 generates the first control signal S1 according to the result of the comparison of the external clock signal XCLK and the feedback clock signal CLK. The delay line circuit 554 is coupled between the phase detector 552 and duty cycle corrector 556 to receive and delay the external clock signal XCLK according to the first control signal S1 to output a first delayed clock signal C1. Accordingly, a delay of the delay line circuit 360 of the DLL 310 is adjusted based on the first control signal S1. The duty cycle corrector 556 adjusts the duty cycle of the first delayed clock signal C1 according to a second control signal S2 to output a second delayed clock signal C2. The duty cycle detector 558 detects the duty cycle of the second delayed clock signal C2 to generate the second control signal S2. The duty cycle corrector 556 adjusts the duty cycle of the second delayed clock signal C2 according to the second control signal S2. Moreover, the control circuit 520 detects the variations of the first control signal S1 or the variations of the second control signal S2 to determine the length of the enable period of the enable signal IDDL. Accordingly, the length of the enable period could be adjusted dynamically.
In the embodiment, the duty cycle detector 558 detects the duty cycle of the second delayed clock signal C2 to generate the second control signal S2. The second control signal S2 is transmitted to the control circuit 520. The control circuit 520 detects the variations of the second control signal S2 and determines the lengths of the enable periods TE1, TE2 and TE3 of the enable signal IDDL based on the variations of the second control signal S2. In detail, the duty cycle detector 558 generates the second control signal S2 based on the external clock signal XCLK. Each of the enable periods TE1, TE2 and TE3 of the enable signal IDDL is ended when status of the second control signal S2 is changed twice. Since the feedback clock signal CLK would be very close to the external clock signal XCLK when the status of the second control signal S2 is changed frequently, the phase detector 552 finishes locking the feedback clock signal CLK to the external clock signal XCLK at the ends of the enable periods TE1, TE2 and TE3. Accordingly, the lock state of the DLL 510 is maintained when the DRAM 500 is in the standby mode.
In an embodiment of the present invention, the control circuit 520 determines the lengths of the enable periods of the enable signal IDDL according to the variations of the first control signal S1 or the variations of the second control signal S2.
In the embodiment, the phase detector 552 generates the first control signal S1 according to the result of the comparison of the external clock signal XCLK and the feedback clock signal CLK, and the duty cycle detector 558 detects the duty cycle of the second delayed clock signal C2 to generate the second control signal S2. The first control signal and the second control signal S2 are transmitted to the control circuit 520. The control circuit 520 detects the variations of the first control signal S1 and the variations of the second control signal S2 and determines the lengths of the enable periods TF1, TF2 and TF3 of the enable signal IDDL based on the variations of the first control signal S1 or the variations of the second control signal S2. Each of the enable periods TF1, TF2 and TF3 of the enable signal IDDL is ended when the status of the first control signal S1 or the second control signal S2 is changed twice. Since the feedback clock signal CLK would be very close to the external clock signal XCLK when the status of the first control signal S1 or the second control signal S2 is changed frequently, the phase detector 552 finishes locking the feedback clock signal CLK to the external clock signal XCLK at the ends of the enable periods TF1, TF2 and TF3. Accordingly, the lock state of the DLL 510 is maintained when the DRAM 500 is in the standby mode.
In summary, the lengths of the enable periods of the enable signal are determined by detecting variations of the first control signal or the second control signal. Therefore, the enable periods of the DLL could be adjusted dynamically when the DRAM is in the standby mode. Moreover, the beginnings of the enable periods of the enable signal IDDL are determined according to the refresh signal of the self refresh counter of the DRAM, no extra clock counter for counting clocks of the external clock signal is required, such that the consumed power of the DRAM would not increased excessively to violate the specification of the standby mode (e.g. the IDD2P mode).
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Patent | Priority | Assignee | Title |
9547361, | Apr 29 2015 | Qualcomm Incorporated | Methods and apparatuses for memory power reduction |
Patent | Priority | Assignee | Title |
6456130, | Jan 11 2001 | Polaris Innovations Limited | Delay lock loop and update method with limited drift and improved power savings |
6556489, | Aug 06 2001 | Round Rock Research, LLC | Method and apparatus for determining digital delay line entry point |
6707759, | Jul 10 2002 | Samsung Electronics Co., Ltd. | Latency control circuit and method of latency control |
7218568, | Mar 11 2005 | Round Rock Research, LLC | Circuit and method for operating a delay-lock loop in a power saving manner |
7277333, | Aug 26 2002 | Round Rock Research, LLC | Power savings in active standby mode |
7277357, | Jun 05 2006 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Method and apparatus for reducing oscillation in synchronous circuits |
7728638, | Apr 25 2008 | Polaris Innovations Limited | Electronic system that adjusts DLL lock state acquisition time |
7729197, | May 16 2002 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Memory device having a delay locked loop with frequency control |
8358547, | Jan 05 2010 | Samsung Electronics Co., Ltd. | Delay-locked-loop circuit, semiconductor device and memory system having the delay-locked-loop circuit |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jul 12 2011 | HUANG, MING-CHIEN | Elite Semiconductor Memory Technology Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 026677 | /0056 | |
Jul 28 2011 | Elite Semiconductor Memory Technology Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Dec 04 2016 | M2551: Payment of Maintenance Fee, 4th Yr, Small Entity. |
Aug 21 2020 | M2552: Payment of Maintenance Fee, 8th Yr, Small Entity. |
Dec 04 2024 | M2553: Payment of Maintenance Fee, 12th Yr, Small Entity. |
Date | Maintenance Schedule |
Jul 09 2016 | 4 years fee payment window open |
Jan 09 2017 | 6 months grace period start (w surcharge) |
Jul 09 2017 | patent expiry (for year 4) |
Jul 09 2019 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 09 2020 | 8 years fee payment window open |
Jan 09 2021 | 6 months grace period start (w surcharge) |
Jul 09 2021 | patent expiry (for year 8) |
Jul 09 2023 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 09 2024 | 12 years fee payment window open |
Jan 09 2025 | 6 months grace period start (w surcharge) |
Jul 09 2025 | patent expiry (for year 12) |
Jul 09 2027 | 2 years to revive unintentionally abandoned end. (for year 12) |