The present disclosure general relates to apparatus, protocols, and techniques for providing power management in systems that include (integrated circuit) memory controller and memory devices.
As mobile devices continue to offer increasing processing power and data transfer rates, battery life has become an important performance metric. Meanwhile, manufacturers strive to make mobile devices thinner and smaller. Since the power reserve available in many mobile devices is limited by the energy density and size of its battery, power-management features of the underlying hardware can be useful improvements to system blocks in order to increase the overall power efficiency of the mobile device.
Embodiments of the present disclosure provide for various protocols and apparatus for memory device power management. In an embodiment, a memory system, memory devices, and controllers that control such memory devices in the system allow a portion of a high-speed interface (HSI) of the memory device to be powered down. For example, a register is used to store a value indicating the portion of the HSI to be powered down, and a power-mode signal is used to power down the corresponding IISI portion. The operational state of the memory core is controlled separately by a command carried on the command/address (CA) portion and/or the data portion of the HSI. This way, the HSI can be powered up from a power-down mode for calibration while the memory core remains in an operational state with low power consumption.
Although in
During operation, the level of PM signal 126, combined with the value of the mode register, determines the power mode for the HST. In general, the HST has at least two power modes: a power-up mode and a power-down mode. The power-up mode can correspond to several active states of the memory devices, such as idle (wherein the device is precharged), active (wherein a row has been activated), and active refresh (wherein a single row is being refreshed). In the power-up mode, all the transmitters and receivers coupled to the HSI on both controller 102 and memory device 106 are powered up. That is, the transmitters and receivers associated with DQ bus 108, CA bus 110, and CK bus 112 are all powered up. In the power-down mode, the transmitters and receivers associated with different buses can be selectively powered down. For example, when the mode register is set to a certain value, only the transmitters and receivers associated with DQ bus 108 are powered down in response to a transition in the level of the PM signal 126, whereas the transmitters and receivers associated with CA bus 110 remain powered up. Alternatively, when the mode register is set to a different value, all the transmitters and receivers associated with the HSI, as well as the corresponding transmitters and receivers in controller 102, are powered down in response to a transition in the level of the PM signal 126.
Various methods can be used to power down a transmitter or receiver. For example, a receiver or transmitter can have a current source which can be enabled or disabled (i.e., turned off) based on the power mode. In addition, the transmitter/receiver power for each individual interface (i.e., the interface corresponding to a given signal line or bus) can be controlled separately. The internal clocking to a particular interface can be gated such that no clocking of the circuits in that interface occurs when the interface is powered down.
In one embodiment, a high level on PM signal 126 indicates a normal operation (power-up) mode, and a low level indicates a power-down mode for the HSI. A transitional edge of PM signal 126 triggers memory device 106 to power down all or a subset of the transmitters and receivers associated with the HSI, depending on the value stored in the mode register. Correspondingly, memory controller 102 also turns off the associated transmitters and receivers. Alternatively, memory controller 102 can keep its transmitters and receiver powered on if the high-speed signal lines are coupled to more than one memory device, so that memory controller 102 can communicate with other memory devices when one memory device has its HSI powered down. Because the transition of PM signal 126 can occur very quickly, the HSI can be placed in the power-down mode with very little latency.
PM signal 126 does not affect the operational state of memory core 120. The operational state of memory core 120 is controlled by a command carried on CA bus 110 and/or DQ bus 108. For example, a self-refresh command can be transmitted by controller 102 on CA bus 110 to place memory core 106 in a self-refresh mode, before the HSI is put into the power-down mode. Other commands can be used to place memory core 106 in various states, such as idle standby and active standby. Such commands can be stored in registers and be used at a later time to set or control the operational state of memory core 120. This configuration facilitates separate control of the power modes for the HSI and operational states for memory core 106. As a result, memory core 120 and the HSI can be turned “on” or “off” without affecting each other's power state. When the HSI is in the power-down mode, memory core 120 is typically placed in an operational state with low power consumption. On the other hand, in certain situations, for example when the HSI needs to be calibrated, the HSI can be placed in a power-up mode (which can be triggered by a rising edge of PM signal 126), while memory core 120 remains in the low-power-consumption operational state. When memory core 120 is to exit the low-power-consumption operational state, the HSI is typically powered up first, and a command is then transmitted via the HSI to wake up memory core 120.
In one embodiment, memory controller 102 calibrates a set of parameters associated with the transmitters and receivers of the HSI to optimize data transmission. The calibration operations can be performed on a periodic basis to accommodate changes in conditions such as voltage and temperature fluctuation. To calibrate the HSI, controller 102 can transmit test patterns on one or more signal lines coupled to the memory device via the HSI and receive results of sampled test pattern from the memory device over the HSI.
Parameters of the HSI may be adjusted and/or updated during the calibration process and stored in registers. The calibration parameters can include timing parameters, such as receiver sample phase and transmitter drive phase, voltage parameters, such as receiver offset or reference voltage, receiver current bias, receiver termination impedance, transmit supply voltage, transmit drive swing voltage, and transmit termination impedance.
The receiver sample phase is a parameter that affects the temporal position of a received signal relative to a timing reference. Transmitter drive phase is a parameter that affects the temporal position of a transmitted signal relative to a timing reference. Receiver offset is a parameter that adjusts the voltage level of a received signal. Receiver reference voltage is an offset that adjusts a receiver reference voltage. Receiver current bias is a parameter that adjusts the bias voltage and a current source for a receiver circuit. Receiver termination impedance is a parameter that affects the impedance of a transmission line termination for a receiver circuit. Transmit supply voltage is a parameter that affects the supply voltage for a driver used to transmit a signal. Transmit drive swing voltage is a parameter that affects the voltage swing of a transmitted signal by a transmitter. Transmit termination impedance is a parameter that affects the impedance of a transmission line termination on the transmitter (or driver) circuit used to transmit a signal or the impedance of the transmitter.
In some embodiments, SCK line 124 and SDQ bus 122 can remain functional when the HSI is in the low-power mode and/or when memory core 120 is in the low-power-consumption operational state. SCK signal 124 is typically at a frequency much lower than that of CK 112. Hence, sideband bus 130 can remain operational at all times without being calibrated. In addition, SDQ bus 122 can be used to transfer data to and from registers 128, even when memory core 120 is in a low-power-consumption operational state. This feature provides an alternative way to access registers 128 without using the HSI.
After power-down entry 202, the HSI remains in a power-down state for a duration of tpD. However, the transition of the PM signal does not affect the power state of the memory core. In general, the memory core can be placed in a low-power self-refresh state by a command carried on the CA bus when valid commands are allowed before the HSI enters the power-down mode. For example, as illustrated in
A rising edge of the PM signal triggers the power-down exit 204. After HSI exits the power-down mode, transmission on the HSI is resumed. Typically, to reduce the interference of voltage fluctuation and to minimize transmission errors, transmission on the HSI is slightly delayed following the rising edge of the PM signal. In this example, transmission of the CK signal is resumed at tPMCK after power-down exit 204. Transmission of valid commands on the CA bus is allowed at tpDx after power-down exit 204. A self-fresh exit (SRX) command placed on the CA bus can bring the memory core out of the low-power self-refresh mode to resume normal operation.
One advantage of having separate control of the power modes for the HSI and operational states for the memory core is that it allows the HSI to be periodically woken up for receiver calibration (such that the HSI remains locked with the clock in the memory controller) without waking up the core. This feature saves both power and time. In conventional systems where the power modes of the HSI and operational states of the memory core are jointly controlled, each time the HSI receivers need calibration, the memory core has to exit the low-power-consumption state. It could take the memory core hundreds of nano seconds to exit the low-power-consumption state, while it only takes the HST tens of nano seconds to exit the power-down mode for calibration. Hence, periodic calibration of HSI receivers in conventional systems can be both energy-inefficient and time-consuming.
The present system solves this problem, because the PM signal can wake up the HSI without waking up the memory core.
After the HSI calibration is complete, the PM signal transitions to a low level so that the HSI can be placed back in the power-down mode during period 306. The memory core also remains in the self-refresh state. At the beginning of period 308, the PM signal transitions to the high level to power up the HSI. After the HSI is stabilized and functional, the memory controller transmits an SRX command via the CA bus to instruct the memory core to exit the self-refresh state and return to normal operation.
Although the example in
Since the CA bus can carry various commands to control the power state of the memory core, it is possible to change the operational state (e.g., operating frequency) of the HSI upon it exiting the power-down mode.
After the HSI power-down period 402, the memory controller changes the PM signal to a high level to bring the HSI back to the normal power mode. Correspondingly, the CK signal is transmitted at a different frequency. Before the CA bus and DQ bus can be used to transmit bits at the new frequency, a calibration bit sequence is placed on these buses so that their receivers can be calibrated based on the new clock signal.
In the example in
During the initial power-up of the memory device, the voltage ramp-up can exhibit non-uniformities, as illustrated in the upper right corner of
As illustrated in the example in
In some embodiments, the sideband bus can be used to transfer data to and from the memory core regardless of the power state of the HSI and memory core. Referring back to
Subsequently, the memory controller changes the PM signal to a higher level, which places the HSI in the power-up mode. The memory controller now transmits the CK signal at a lower frequency. Since the memory core has already received all the necessary parameters corresponding to the new CK frequency, the memory core can now operate at this new frequency. The memory controller can then transmit an SRX command on the CA bus to bring the memory core out of the low-power self-refresh mode.
In further embodiments, the memory controller can read values from the registers in the memory core via the sideband bus when the memory core is in the low-power self-refresh mode. For example, some registers can store information on the physical state, e.g., temperature, of the memory core. The sideband bus can be used to read the values of these registers, which allows the memory controller to monitor and maintain proper functionality in the memory core.
The above described embodiments may include fewer or additional components. Components may be combined into a single encapsulated package, stacked on top of one-another in the same or different packets and/or the position of one or more components may be changed. In general, a memory controller is a chip that orchestrates the control of data access to and from a memory device, which is an integrated circuit device having an array of memory cells. In some embodiments, the memory controller functionality is included in a processor or other integrated circuit device, for example, a graphics processing unit (GPU), or a mobile applications processor. Thus, there may or may not be a standalone memory controller in the memory system.
An output of a process for designing an integrated circuit, or a portion of an integrated circuit, comprising one or more of the circuits described herein may be a computer-readable medium such as, for example, a magnetic tape or an optical or magnetic disk. The computer-readable medium may be encoded with data structures or other information describing circuitry that may be physically instantiated as an integrated circuit or portion of an integrated circuit. Although various formats may be used for such encoding, these data structures are commonly written in Caltech Intermediate Format (CIF), Calma GDS II Stream Format (GDSII) or Electronic Design Interchange Format (EDIF). Those of skill in the art of integrated circuit design can develop such data structures from schematic diagrams of the type detailed above and the corresponding descriptions and encode the data structures on a computer-readable medium. Those of skill in the art of integrated circuit fabrication can use such encoded data to fabricate integrated circuits comprising one or more of the circuits described herein.
While the present disclosure has been described in connection with specific embodiments, the claims are not limited to what is shown. For example, in some embodiments the links between a memory controller and a memory device utilize half-duplex and/or full-duplex communication (e.g., communication on a given link may be in both directions). Similarly, the links between a memory controller and a memory device may operate at a data rate that is: a multiple of the clock frequency such as double data rate (DDR), quad-data rate (QDR), or high multiple data rates.
Moreover, some components are shown directly connected to one another, while others are shown connected via intermediate components. In each instance the method of interconnection, or “coupling,” establishes some desired electrical communication between two or more circuit nodes, or terminals. Such coupling may often be accomplished using a number of circuit configurations, as will be understood by those of skill in the art. Therefore, the spirit and scope of the appended claims should not be limited to the foregoing description. Only those claims specifically reciting “means for” or “step for” should be construed in the manner required under the sixth paragraph of 35 U.S.C. § 112.
This application is a continuation of U.S. patent application Ser. No. 18/181,185 filed on Mar. 9, 2023, which is a continuation of U.S. patent application Ser. No. 17/568,656 (now U.S. Pat. No. 11,621,030) filed on Jan. 4, 2022, which is a continuation of Ser. No. 17/103,374 (now U.S. Pat. No. 11,250,901) filed on Nov. 24, 2020 which is a continuation of U.S. patent application Ser. No. 16/825,247 (now U.S. Pat. No. 10,878,878) filed on Mar. 20, 2020 which is a continuation of U.S. patent application Ser. No. 16/276,338 (now U.S. Pat. No. 10,622,053) filed on Feb. 14, 2019 which is a continuation of U.S. patent application Ser. No. 16/139,636 (now U.S. Pat. No. 10,672,450) filed on Sep. 24, 2018 which is a continuation of U.S. patent application Ser. No. 15/855,535 (now U.S. Pat. No. 10,262,718) filed on Dec. 27, 2017, which is a continuation of U.S. patent application Ser. No. 15/332,785 (now U.S. Pat. No. 9,886,993) filed on Oct. 24, 2016, which is a continuation of U.S. patent application Ser. No. 14/573,323 (now U.S. Pat. No. 9,502,096) filed on Dec. 17, 2014, which is a continuation of U.S. patent application Ser. No. 13/980,826 (now U.S. Pat. No. 8,942,056) filed on Jul. 19, 2013, which is a 35 U.S.C. 371 Patent Application of PCT Application No. PCT/US2012/025310 filed on Feb. 15, 2012, which claims the benefit of U.S. Provisional Patent Application No. 61/445,947 filed on Feb. 23, 2011, each of which is incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61445947 | Feb 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 18181185 | Mar 2023 | US |
Child | 18590221 | US | |
Parent | 17568656 | Jan 2022 | US |
Child | 18181185 | US | |
Parent | 17103374 | Nov 2020 | US |
Child | 17568656 | US | |
Parent | 16825247 | Mar 2020 | US |
Child | 17103374 | US | |
Parent | 16276338 | Feb 2019 | US |
Child | 16825247 | US | |
Parent | 16139636 | Sep 2018 | US |
Child | 16276338 | US | |
Parent | 15855535 | Dec 2017 | US |
Child | 16139636 | US | |
Parent | 15332785 | Oct 2016 | US |
Child | 15855535 | US | |
Parent | 14573323 | Dec 2014 | US |
Child | 15332785 | US | |
Parent | 13980826 | Jul 2013 | US |
Child | 14573323 | US |