Memory device control for self-refresh mode
To ensure that a memory device operates in self-refresh mode, the memory controller includes (1) a normal-mode output buffer for driving a clock enable signal CKE onto the memory device's CKE input and (2) a power island for driving a clock enable signal CKE_prime onto that same input. To power down the memory controller, the normal-mode output buffer drives signal CKE low, then the power island drives signal CKE_prime low, then the memory controller (except for the power island) is powered down. The power island continues to drive the memory device's CKE input low to ensure that the memory device stays in self-refresh mode while the memory controller is powered substantially off. To resume normal operations, the power module powers up the memory controller, then the normal-mode output buffer drives signal CKE low, then the power island is disabled, then the memory controller resumes normal operations of the memory device.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to electronics, and, in particular, to memory devices having self-refresh modes.
2. Description of the Related Art
In typical computer hardware architectures, an integrated circuit (IC) memory device chip is controlled by a separate IC memory controller chip that controls the writing of data to and the reading of data from the memory device during normal operations of the memory device. Some memory devices are capable of operating in a self-refresh mode in which the memory device maintains its stored data without any active command from the memory controller, such as when the memory controller is powered off.
For some memory devices, such as DDR1 and DDR2 registered dual in-line memory modules (RDIMMs) defined by Joint Electron Device Engineering Council (JEDEC) standards JESD79F and JESD79-2E, respectively, where DDR stands for "double data rate," the memory device's RESET signal can be used to keep the memory device in self-refresh mode by holding the memory device's clock enable (CKE) line low while allowing the memory controller to be powered down. For other memory devices, such as DDR3 RDIMM memory devices defined by JEDEC standard JESD79-3C, asserting the RESET signal takes the memory device out of self-refresh mode. As such, when the memory controller is powered off, the RESET signal cannot be used to keep the memory device in self-refresh mode, thereby jeopardizing the integrity of the data stored in the memory device.
SUMMARY OF THE INVENTION
In one embodiment, the present invention is apparatus comprising a memory controller for controlling a memory device having a clock enable (CKE) input. The memory controller comprises first circuitry and second circuitry. The first circuitry is adapted to apply a first CKE signal to the CKE input during a normal operating mode. The second circuitry is adapted to apply a second CKE signal to the CKE input during a self-refresh operating mode. During the self-refresh operating mode, (i) the first circuitry is powered off and (ii) the second circuitry is powered on to drive the second CKE signal to a self-refresh signal level for the memory device.
In another embodiment, the present invention is a method for controlling a memory device having a clock enable (CKE) input. The method comprises (a) using first circuitry to apply a first CKE signal to the CKE input during a normal operating mode and (b) using second circuitry to apply a second CKE signal to the CKE input during a self-refresh operating mode. During the self-refresh operating mode, (i) the first circuitry is powered off and (ii) the second circuitry is powered on to drive the second CKE signal to a self-refresh signal level for the memory device.
DETAILED DESCRIPTION
As used in this specification, the term "powered off" refers to a state of an integrated circuit (IC) chip in which no power is applied to the chip. The term "powered on" refers to a state in which power is applied to the chip. The term "powering up" refers to a transition from the powered-off state to the powered-on state, while the term "powering down" refers to a transition from the powered-on state to the powered-off state.
FIG. 1 shows a simplified block diagram of memory circuitry 100, according to one embodiment of the present invention. Memory circuitry 100 includes DDR3 RDIMM memory device 102, memory controller 104, power module 106, and reset controller 108. Memory controller 104 controls the writing of data to and the reading of data from memory device 102. Power module 106 provides power to memory device 102 via power lines 112 and to memory controller 104 via main power lines 114 and backup power lines 116. Reset controller 108 controls the operations of memory controller 104 via control lines 118-124.

In addition to other circuitry not shown in FIG. 1, memory controller 104 includes output buffers 126, application logic 128, and CKE power island 130. Application logic 128 controls the operations of output buffers 126, which drive signals into memory device 102, including clock enable signal CKE via signal line 132 at the memory devices CKE input. CKE power island 130 includes isolation logic 134and output buffers 136. Isolation logic 134 controls the operations of output buffers 136, whose outputs are connected to the same signal lines as the outputs of output buffers 126, including clock enable signal CKE_prime, which is connected to the same signal line 132 that receives the CKE signal from a corresponding one of output buffers 126. Note that, in general, connections could be made on the die or in the package routing. In general, the corresponding buffer 126 can be used to drive the CKE signal onto signal line 132, when the corresponding buffer 136 is disabled, and vice versa. In addition, both corresponding buffers can be used simultaneously to drive equivalent output signals (i.e., the CKE and CKE_prime signals both high or both low) onto signal line 132.
Although FIG. 1 shows memory circuitry 100 having separate components, in general, two or more of those components may be implemented in a single integrated system-on-a-chip (SOC).
Memory circuitry 100 supports two different modes of operation: normal operating mode and self-refresh operating mode.
- During the normal operating mode:
- Memory device 102 and memory controller 104 are both fully powered on;
- Application logic 128 controls the operations of output buffers 126 to drive appropriate signals into memory device 102. For example and in particular, in order for memory controller 104 to be able to write data to and read data from memory device 102 during the normal operating mode, application logic 128 controls output buffers 126 to toggle the CKE signal on signal line 132; and
- Reset controller 108 and isolation logic 134 ensure that output buffers 136 are disabled.
- During the Self-Refresh Operating Mode:
- Memory device 102 is fully powered on;
- Most but not all of memory controller 104 is powered off. For example and in particular, output buffers 126 and application logic128 are powered off, while CKE power island 130 remains powered on; and
- Reset controller 108 and isolation logic 134 control the operations of output buffers 136 to drive appropriate signals into memory device 102. For example and in particular, in order for memory device 102 to remain in its self-refresh mode, output buffers 136are controlled to drive the CKE_prime signal low on signal line 132.
FIG. 1 indicates, via circled reference numbers, the sequence of operations to transition memory circuitry 100 from its normal operating mode into its self-refresh operating mode, and vice versa. In particular, memory circuitry 100 can be transitioned from its normal operating mode into its self-refresh operating mode (i.e., a power-down transition) by the following sequence of events:
- (1) Transition is initiated by a system-level event, resulting in reset controller 108 asserting low-power-mode signal LOWPOWER_MODE on control line 118.
- (2) In response to the assertion of the LOWPOWER_MODE signal, application logic 128 controls output drivers 126 to place memory device 102 into its self-refresh mode, including driving the CKE signal low on signal line 132.
- (3) Application logic 128 activates CKE power island 130.
- (4) Reset controller 108 enables output drivers 136 via control line124, which results in isolation logic 134 controlling output drivers136 to drive the CKE_prime signal low on signal line 132. Note that, at this time, both corresponding output drivers 126 and 136simultaneously drive signal line 132 low.
- (5) Reset controller 108 asserts system-reset signal SYS_RESET via control line 120. Asserting the SYS_RESET signal causes application logic 128 to place output buffers 126 into their initial state to ensure that output buffers 126 drive the CKE signal low.
- (6) Reset controller 108 asserts clock-disable signal CLOCK_DISABLE via control line 122 to disable the clocks (not shown) in memory controller 104.
- (7) Reset controller 108 opens switch 138 to switch off power from power module 106 to memory controller 104 via main power lines114, which powers down most of memory controller 104, including output buffers 126 and application logic 128.
Note that power module 106 continues to provide power to memory device 102 via power lines 112 and to CKE power island 130 via backup power lines 116, such that isolation logic 134 controls output buffers 136to drive the CKE_prime signal low to enable memory device 102 to remain in its self-refresh mode. Note that the seven steps involved in the power-down transition may be implemented in a different order. For example, the order of steps (2) and (3) can be reversed. Note further that some of the steps may be optional. For example, step (5) is provided as a safety measure, but may be omitted in light of step (2).
In addition, referring to the same circled reference numbers in FIG. 1, but in descending order (with the exception of steps (1) and (2)), memory circuitry 100can be transitioned from its self-refresh operating mode back into its normal operating mode (i.e., a power-up transition) by the following sequence of events:
- (7) Reset controller 108 closes switch 138 to switch back on power from power module 106 to memory controller 104 via main power lines 114, which fully powers up memory controller 104, including output buffers 126 and application logic 128. Note that power module 106 continues to provide power to memory device102 via power lines 112 and to CKE power island 130 via backup power lines 116, such that isolation logic 134 controls output buffers 136 to continue to drive the CKE_prime signal low to enable memory device 102 to remain in its self-refresh mode.
- (6) Reset controller 108 de-asserts clock-disable signal CLOCK_DISABLE via control line 122 to re-enable the clocks (not shown) in memory controller 104.
- (5) Reset controller 108 de-asserts system-reset signal SYS_RESET via control line 120. De-asserting the SYS_RESET signal causes application logic 128 to re-initialize output buffers126 for resumption of normal operations. Note that, at initialization, output buffers 126 drive the CKE signal low. At this time, both corresponding output drivers 126 and 136 simultaneously drive signal line 132 low.
- (4) Reset controller 108 disables output drivers 136 via control line124.
- (3) Application logic 128 deactivates CKE power island 130.
- (1) Reset controller 108 de-asserts the LOWPOWER_MODE signal via control line 118.
- (2) In response to the de-assertion of the LOWPOWER_MODE signal, application logic 128 controls output drivers 126 to release memory device 102 from its self-refresh mode for resumption of normal operations, including driving the CKE signal as needed.
Note that, here, too, the seven steps involved in the power-up transition may be implemented in a different order. For example, the order of step (3) can be implemented after steps (1) and (2).
Memory circuitry 100 enables memory controller 104 to be substantially powered down while maintaining the integrity of the data stored in memory device 102.
In one implementation, each of elements 102-108 of FIG. 1 is a discrete electronic module mounted on a circuit board and interconnected via suitable board traces. Memory controller 104 may be part of a larger integrated circuit module that provides, in addition to the control of memory device 102, other functions related to other system elements not shown in FIG. 1. Similarly, power module 106 may provide power to other system elements not shown in FIG. 1, including other memory devices.
Although the present invention has been described in the context of memory circuitry 100 of FIG. 1 having a single DDR3 RDIMM memory device, it will be understood that, in general, the present invention can be implemented for any suitable type of memory topology having one or more memory devices, where those memory devices can be RDIMMs, such as DDR1, DDR2, or DDR3 RDIMMs, or other suitable on-board devices.
SRC=https://www.google.com.hk/patents/US8139433
Memory device control for self-refresh mode的更多相关文章
- 每个内存大小:sudo dmidecode -t memory |grep -A16 "Memory Device$" |grep "Size:"
CPU: 型号:grep "model name" /proc/cpuinfo |awk -F ':' '{print $NF}' 数量:lscpu |grep "CPU ...
- Vulkan Device Memory
1.通过下面的接口,可以获得显卡支持的所有内存类型: MemoryType的类型如下: 2.引用索引3对内存的描述 我们可以通过调用vkGetPhysicalDeviceMemoryPropertie ...
- Method for training dynamic random access memory (DRAM) controller timing delays
Timing delays in a double data rate (DDR) dynamic random access memory (DRAM) controller (114, 116) ...
- ROM, RAM, Flash Memory
ROM Read-only memory (ROM) is a class of storage medium used in computers and other electronic devic ...
- 學習 DT device tree 以 ST 的開發板 STM32F429i-disc1 為例
目標 因為對 device tree 不是很熟悉, 所以就將 device tree, 設為學習目標. 啟動 注意, 這篇隨筆的解說都放在最下面,會標 Explanation_XX,只要搜尋 Expl ...
- Partitioned Replacement for Cache Memory
In a particular embodiment, a circuit device includes a translation look-aside buffer (TLB) configur ...
- PatentTips - Method for booting a host device from an MMC/SD device
FIELD OF THE INVENTION The present invention relates to a memory device and especially to the interf ...
- Network authentication method and device for implementing the same
A network authentication method is to be implemented using a network authentication device and a use ...
- PatentTips - Method, apparatus and system for instructing a virtual device from a virtual machine
BACKGROUND OF THE INVENTION A virtual machine (VM) may be or include a framework or environment crea ...
随机推荐
- C#游戏开发高速入门 2.1 构建游戏场景
C#游戏开发高速入门 2.1 构建游戏场景 假设已经计划好了要编写什么样的游戏,在打开Unity以后.要做的第一件事情就是构建游戏场景(Scene).游戏场景就是玩家游戏时,在游戏视图中看到的一切. ...
- NSNotificationCenter消息通信(KVO)
NSNotificationCenter是程序不同类间的消息通信. 注册消息通知: [[NSNotificationCenter defaultCenter]addObserver:self sele ...
- Android android.database.CursorIndexOutOfBoundsException:Index -1 requested, with a size of 1
Android中数据库处理使用cursor时,游标不是放在为0的下标,而是放在为-1的下标处开始的. 也就是说返回给cursor查询结果时,不能够马上从cursor中提取值. 下面的代码会返回错误 U ...
- [WASM] Write to WebAssembly Memory from JavaScript
We write a function that converts a string to lowercase in WebAssembly, demonstrating how to set the ...
- stm32的APB1和APB2时钟
要学会看官方例子,还要查找官方程序...
- 【39.66%】【codeforces 740C】Alyona and mex
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard o ...
- Xposed也要热更新
好久没写博客了.这次玩一点不一样的. 吐槽&起因 相信熟悉Xposed的小伙伴们都知道,每次写完Xposed都要重新启动啊.有木有!反射错了,写错了名字.改一个log,都要重新启动啊有木有!重 ...
- Vue.js开发环境搭建的介绍
包含了最基础的Vue.js的框架,包含了打包工具和测试工具,开发调试的最基本的服务器,不需要关注细节,只需关注Vuejs对项目的实现 npm在国内的网络使用较慢,所以推荐下载安装淘宝的镜像 1: 2: ...
- oracle 之 COMMENT 分类: H2_ORACLE 2014-04-24 15:30 386人阅读 评论(0) 收藏
http://blog.csdn.net/liguihan88/article/details/3002403 无疑注释现在都被大家接受和认可,在大家编程用的IDE中都提供或有第三方插件来支持提取注释 ...
- Selector API用法
java.nio.channels 类 Selector java.lang.Object java.nio.channels.Selector 直接已知子类: AbstractSelector pu ...