Method and memory device for performing wear leveling
AssigneeMacronix International Co., Ltd.
InventorsWei-Cheng SU, Chih-Hsiang YANG, Hsiang-Lan LUNG
Life of this patent
Estimating the term…
Abstract
The application provides a method and a memory device for performing wear leveling in a memory device. The method includes: receiving data to be written transmitted by a host in the memory device; predicting the data to be written as a first type of data or a second type of data; referencing an erase count table in an erase count table buffer of the memory device; and when the data to be written is predicted as the first type of data, writing the data to be written into the block with a highest erase count among these blocks, and when the data to be written is predicted as the second type of data, writing the data to be written into the block with a lowest erase count among these blocks.
Claims10
A method of performing wear leveling in a memory device, the memory device comprising a plurality of blocks, the method including:
- receiving data to be written transmitted by a host in the memory device;
- predicting the data to be written as a first type of data or a second type of data;
- referencing an erase count table in an erase count table buffer of the memory device;
- and
- when the data to be written is predicted as the first type of data, writing the data to be written into the block with a highest erase count among these blocks, and when the data to be written is predicted as the second type of data, writing the data to be written into the block with a lowest erase count among these blocks.
A memory device with wear leveling function, comprising:
- a memory controller including one or more hardware circuits to perform wear leveling;
- and
- a memory array, coupled to the memory controller, the memory array comprising a plurality of blocks,
- wherein,
- when the memory controller receives data to be written transmitted by a host, the memory controller performs:
- predicting the data to be written as a first type of data or a second type of data;
- referencing an erase count table in an erase count table buffer of the memory device;
- and
- when the data to be written is predicted as the first type of data, writing the data to be written into the block with a highest erase count among these blocks, and when the data to be written is predicted as the second type of data, writing the data to be written into the block with a lowest erase count among these blocks.
Dependencies are inferred from the claim text.