# US 2021/0173468 A1 · Memory management to save power

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173468 A1
- Document ID: US20210173468A1
- Status: Published application
- Kind: A1
- Application number: 17/109,452
- Filed: 2020-12-02
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: STMicroelectronics (Grenoble 2) SAS
- Applicants: STMicroelectronics SA
- Inventors: Michael GIOVANNINI
- Web page: https://patentgrep.com/patent/US20210173468A1

## CPC

- G06F 1/3275: {Power saving in memory, e.g. RAM, cache}
- G06F 1/3225: of memory devices
- G06F 1/3287: by switching off individual functional units in the computer system
- G11C 5/14: Power supply arrangements {, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A memory includes writable memory units. Each memory unit is configurable: in a retention state wherein the memory unit is capable of retaining data until a subsequent power-off of the memory unit, and in a non-retention state wherein the memory unit does not retain data and consumes less power than in the first state. A controller configures any memory unit of the memory having undergone at least one write access since its last power-up to be in the retention state. The controller further configures at least one memory unit of the memory that has not undergone any write access since its last power-up in the non-retention state.

## Claims

### Claim 1

A system, comprising:
a memory including a plurality of writable memory units, wherein each writable memory unit is configurable to operate:
in a retention state where the writable memory unit will retain data until a subsequent power-off of the memory unit; and
in a non-retention state where the writable memory unit does not retain data and consumes less power than in the first state; and
a controller that is configured to:
configure any writable memory unit of the memory having undergone at least one write access since its last power-up to be in the retention state; and
configure at least one writable memory unit of the memory that has not undergone any write access since its last power-up to be in the non-retention state.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the controller is further configured to configure any writable memory unit of the memory that has not undergone any write access since its last power-up to be in the non-retention state.

### Claim 3 (depends on 1)

The system according to claim 1, wherein the memory is configurable in a plurality of modes comprising:
a first mode wherein any writable memory unit of the memory having undergone at least one write access since its last power-up is in the retention state, and wherein at least one writable memory unit of the memory that has not undergone any write access since its last power-up is in the non-retention state; and
at least one other mode wherein all the writable memory units of the memory are in a same state.

### Claim 4 (depends on 3)

The system according to claim 3, wherein the first mode is a mode wherein at least one system clock is deactivated.

### Claim 5 (depends on 3)

The system according to claim 3, wherein the at least one other mode comprises:
a second mode wherein all the writable memory units are in the retention state; and
a third mode wherein all the writable memory units are in the non-retention state.

### Claim 6 (depends on 5)

The system according to claim 5, wherein the first mode is a mode wherein at least one system clock is deactivated.

### Claim 7 (depends on 3)

The system according to claim 3, wherein the system further comprises an interface configured to receive user commands requesting a configuration of the memory in a selected mode of the plurality of modes.

### Claim 8 (depends on 1)

The system according to claim 1, wherein the controller is configured to not authorize individual configuration of the state of a writable memory unit of the memory by means of a user command received by the interface.

### Claim 9 (depends on 1)

The system according to claim 1, further comprising a write register for each writable memory unit, wherein the register stores data indicating whether the memory unit has undergone at least one write access since its last power-up.

### Claim 10 (depends on 9)

The system according to claim 9, wherein the controller, in response to a received write request in the memory, is configured to:
identify ones of the writable memory units targeted by said received write request; and
set the data in the corresponding write registers to indicate that the memory unit has undergone at least one write access since its last power-up.

### Claim 11 (depends on 10)

The system according to claim 10, wherein the controller is further configured to determine a current operating mode of the memory and:
configure each of the identified ones of the writable memory units in the retention state if the current operating mode is a STOP mode; and
if the current operating mode is not the STOP mode, then do not configure each of the identified ones of the writable memory units in the retention state.

### Claim 12 (depends on 9)

The system according to claim 9, wherein the controller, in response to a received erase request in the memory, is configured to:
identify ones of the writable memory units to be emptied by said received erase request; and
set the data in the corresponding write registers to indicate that the memory unit has not undergone at least one write access since its last power-up.

### Claim 13 (depends on 12)

The system according to claim 12, wherein the controller is further configured to determine a current operating mode of the memory and:
configure each of the identified ones of the writable memory units in the non-retention state if the current operating mode is a STOP mode; and
if the current operating mode is not the STOP mode, then do not configure each of the identified ones of the writable memory units in the retention state.

### Claim 14 (depends on 1)

The system according to claim 1, wherein the memory is a volatile memory such as a RAM memory.

### Claim 15 (depends on 1)

The system according to claim 1, wherein the system is of a system on chip type.

### Claim 16

A method for controlling a memory that comprises a plurality of writable memory units, each memory unit being configurable: in a retention state wherein the memory unit is capable of retaining data until a subsequent power-off of the memory unit, and in a non-retention state wherein the memory unit does not retain data and consumes less power than in the first state;
wherein the method comprises the following steps:
configuring any memory unit of the memory having undergone at least one write access since its last power-up to be in the retention state; and
configuring at least one memory unit of the memory that has not undergone any write access since its last power-up to be in the non-retention state.

### Claim 17 (depends on 16)

The method according to claim 16, further comprising configuring any writable memory unit of the memory that has not undergone any write access since its last power-up to be in the non-retention state.

### Claim 18 (depends on 16)

The method according to claim 16, further comprising:
receiving user commands requesting a configuration of the memory in a selected mode of a plurality of modes; and
wherein the plurality of modes comprise:
a first mode wherein any writable memory unit of the memory having undergone at least one write access since its last power-up is in the retention state, and wherein at least one writable memory unit of the memory that has not undergone any write access since its last power-up is in the non-retention state; and
at least one other mode wherein all the writable memory units of the memory are in a same state.

### Claim 19 (depends on 18)

The method according to claim 18, further comprising deactivating at least one system clock in the first mode.

### Claim 20 (depends on 18)

The method according to claim 18, wherein the at least one other mode comprises:
a second mode wherein all the writable memory units are in the retention state; and
a third mode wherein all the writable memory units are in the non-retention state.

### Claim 21 (depends on 16)

The method according to claim 16, further comprising refusing to authorize individual configuration of the state of a writable memory unit of the memory by means of a user command.

### Claim 22 (depends on 1)

The method according to claim 1, further comprising storing data indicating whether the memory unit has undergone at least one write access since its last power-up in a write register for each writable memory unit.

### Claim 23 (depends on 22)

The method according to claim 22, further comprising:
receiving a memory write request;
identifying ones of the writable memory units targeted by said memory write request; and
setting the data in the corresponding write registers to indicate that the memory unit has undergone at least one write access since its last power-up.

### Claim 24 (depends on 23)

The method according to claim 23, further comprising:
determining a current operating mode of the memory;
configuring each of the identified ones of the writable memory units in the retention state if the current operating mode is a STOP mode; and
if the current operating mode is not the STOP mode, then not configuring each of the identified ones of the writable memory units in the retention state.

### Claim 25 (depends on 22)

The method according to claim 22, further comprising:
receiving a memory erase request;
identifying ones of the writable memory units to be emptied by said memory erase request; and
setting the data in the corresponding write registers to indicate that the memory unit has not undergone at least one write access since its last power-up.

### Claim 26 (depends on 25)

The method according to claim 25, further comprising:
determining a current operating mode of the memory;
configuring each of the identified ones of the writable memory units in the non-retention state if the current operating mode is a STOP mode; and
if the current operating mode is not the STOP mode, then not configuring each of the identified ones of the writable memory units in the retention state.
