Same bank refresh command scheduling
AssigneeAdvanced Micro Devices, Inc.
InventorGuanHao Shen
Life of this patent
Estimating the term…
Abstract
A data processor includes a memory accessing agent and a memory controller. The memory accessing agent is for generating memory access requests for a memory. The memory controller includes a command queue and a refresh controller. The command queue is for storing the memory access requests. The refresh controller is coupled to the command queue and is operable to select an order of providing same bank refresh commands to a plurality of refresh groups of corresponding banks in the memory based on an aggregate request count of the memory access requests in the command queue.
Claims20
A data processor comprising:
- a memory accessing agent for generating memory access requests for a memory;
- and
- a memory controller comprising:
- a command queue for storing the memory access requests;
- and
- a refresh controller coupled to the command queue and operable to select an order of providing same bank refresh commands to a plurality of refresh groups of corresponding banks in the memory based on an aggregate request count of the memory access requests in the command queue.
A data processing system comprising:
- a data processor;
- and
- a memory coupled to the data processor and operable to execute a same bank refresh command by refreshing a group of corresponding banks in response to the same bank refresh command,
- wherein the data processor comprises a memory controller having a command queue for storing memory access requests, wherein the memory controller is operable select an order of providing same bank refresh commands to a plurality of refresh groups of the corresponding banks in the memory based on an aggregate request count of the memory access requests in the command queue.
A method for refreshing a memory having a plurality of bank groups by a memory controller having a command queue for storing memory access requests, comprising:
- during a predetermined time interval:
- picking a next refresh group with a lowest aggregate request count of the memory access requests in the command queue among one or more refresh groups that have not yet been picked in a current round, wherein each refresh group defines a corresponding bank in each of the plurality of bank groups;
- and
- generating a same bank refresh command for the next refresh group.
Dependencies are inferred from the claim text.