Patent ID: 11914484
Assignee: XI'AN UNIIC SEMICONDUCTORS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. A data recovery method for a Non-Volatile Dual In-line Memory (NVDIMM), wherein the NVDIMM comprises a Dynamic Random Access Memory (DRAM), a Not AND (NAND) flash memory and an NVDIMM controller, the NVDIMM controller controlling the NVDIMM and comprising a Double Data Rate (DDR) controller, a NAND flash memory controller and a data recovery module, wherein the DDR controller uses and enables Data Bus Inversion (DBI), the data recovery method comprising:
reading, by the NAND flash memory controller, N-bit Encoded Data Queue (EDQ) data from the NAND flash memory, and sending the N-bit EDQ data to the data recovery module;
receiving, by the data recovery module, the N-bit EDQ data, decoding the N-bit EDQ data into N-bit DQ and 1-bit DBI and sending the N-bit Data Queue (DQ) and the 1-bit DBI to the DDR controller;
pulling down or up, by the DDR controller, a DBI signal at an interface of the DDR controller according to value of the 1-bit DBI, and sending the N-bit DQ to the DRAM, wherein under a condition that the N-bit EDQ contains N/2 “1”s, the N-bit DQ is identical with the N-bit EDQ, under a condition that number of “1”s in the N-bit EDQ is not N/2, the N-bit EDQ is inversely mapped to the N-bit DQ and 1-bit DBI.