Patent ID: 11869615
Assignee: CHANGXIN MEMORY TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 10:
11. A memory device, comprising:
a command receiving unit, configured to receive a read/write command;
a memory cell, configured to correspond to address information pointed to by the read/write command;
a spare memory cell;
an associating unit, configured to associate the address information with the spare memory cell;
an execution unit, configured to perform a read/write operation on the memory cell or the spare memory cell; and
an identification code generating unit connected to the associating unit, wherein the identification code generating unit is configured to generate an identification code configured for identifying the spare memory cell, the associating unit being configured to associate the address information with the spare memory cell through the identification code;
wherein the associating unit is further configured to store mark information configured for recording whether the address information is valid or invalid;
wherein the associating unit is a lookup table, address information of the memory cell and a numerical code corresponding to the address information being recorded in the lookup table;
wherein the numerical code is composed of a first type code and a second type code, the first type code being configured for marking whether the address information is valid, and the second type code being configured for recording the identification code of the spare memory cell; and
wherein if an error occurs in data to be read out, the first type code of the numerical code corresponding to the address information pointed to by the read command is revised as an invalid marked value in the lookup table, and the second type code is revised as the identification code configured for identifying the spare memory cell.