CN209803777U - NVDIMM controller and NVDIMM - Google Patents

NVDIMM controller and NVDIMM Download PDF

Info

Publication number
CN209803777U
CN209803777U CN201822275375.5U CN201822275375U CN209803777U CN 209803777 U CN209803777 U CN 209803777U CN 201822275375 U CN201822275375 U CN 201822275375U CN 209803777 U CN209803777 U CN 209803777U
Authority
CN
China
Prior art keywords
dbi
nvdimm
controller
data
nand flash
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn - After Issue
Application number
CN201822275375.5U
Other languages
Chinese (zh)
Inventor
周小锋
江喜平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Ziguang Guoxin Semiconductor Co ltd
Original Assignee
Xian Unilc Semiconductors Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Unilc Semiconductors Co Ltd filed Critical Xian Unilc Semiconductors Co Ltd
Priority to CN201822275375.5U priority Critical patent/CN209803777U/en
Application granted granted Critical
Publication of CN209803777U publication Critical patent/CN209803777U/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The utility model provides a NVDIMM controller and NVDIMM. The NVDIMM controller controls the NVDIMM and comprises a DDR controller (101), a NAND flash controller (102), a data backup module (103) and a data recovery module (104), and the DRAM adopts DBI and enables the DBI. In data backup, DDR controller reads N bits DQ from DRAMiAnd 1-position DBIiAnd sends it to the data backup module when the DBI isiWhen 1, the data backup module compares DQiAnd DQi‑1If DQiAnd DQi‑1If the median is different and the digit is greater than N/2, then the DQ is invertediAnd DBIiSet to 0, otherwise hold DQiAnd DBIiThe change is not changed; when DBI is usediAt 0, DQiAnd DBIiRemaining unchanged, the data backup module will process the DQsiAnd DBIiSending to a NAND controller that will process the DQsiAnd DBIiAnd writing into the NAND flash memory.

Description

NVDIMM controller and NVDIMM
Technical Field
The utility model relates to a non-volatile memory field, more specifically relate to a NVDIMM controller and NVDIMM of low-power consumption.
Background
NVDIMM is a non-volatile memory that includes DRAM, NAND Flash (NAND Flash), and NVDIMM controller. When the mainboard/CPU is abnormal or the power is down, the NVDIMM controller is informed through an interrupt or a message, and the NVDIMM controller can back up the data in the DRAM to the NAND flash memory. When the main board/CPU is powered on again later, the main board/CPU informs the NVDIMM controller to restore the data backed up in the NAND flash memory to the DRAM, and charges the super capacitor. The NVDIMM is powered by the super capacitor during data backup, but the super capacitor has limited power supply capacity and has larger attenuation along with the service time and the working temperature. For NVDIMMs, power consumption for data backup and data backup/restore time are two important performance indicators, which determine the capacity and reliability of the super capacitor and the cost of the product. The increase of data backup power consumption needs to be compensated by improving the capacity of the super capacitor, and the increase of the capacity of the super capacitor can increase the cost and reduce the reliability; data backup/restore time determines power consumption and user experience during data backup. Therefore, the fast backup and recovery of the NVDIMM data with low power consumption can obviously improve the competitiveness of products.
For the NVDIMM controller of DDR4, the power consumption mainly comes from DDR and NAND interfaces, and in the prior art, the power consumption can be reduced by about 25-40% by using dbi (data Bus inversion) on the DDR interface side, and since the NAND flash interface does not provide a signal for data inversion, the power consumption reduction for the NAND interface is difficult to achieve. While NAND flash typically operates at 1.8V (ONFI version 4.0) is a major source of NVDIMM controller interface power consumption.
Chinese patent publication CN107861901A discloses a storage method and system based on NVDIMM-F. The method comprises the following steps: when receiving data to be stored, the CPU sends the data to be stored to the NVDIMM-F; NVDIMM-F stores data to be stored. According to the method, the data to be stored are directly stored in the NVDIMM-F, so that the transmission rate of the data to be stored is greatly improved. However, this method only involves the operation of NVDIMM to store data in NAND and does not involve how to design low power consumption on NAND interface according to the operation data characteristics to reduce the power consumption of NAND interface.
SUMMERY OF THE UTILITY MODEL
The purpose of the utility model is to solve the following problems:
a) Reducing power consumption of the NAND interface with an NVDIMM controller;
b) Data recovery rates are improved with NVDIMM controllers.
According to a first aspect of the present invention, there is provided an NVDIMM controller comprising a DDR controller and a NAND flash memory controller, the NVDIMM controller for controlling an NVDIMM, the NVDIMM comprising a DRAM and a NAND flash memory, wherein the DRAM employs a DBI, characterized in that,
The NVDIMM controller further comprises:
A data backup module at DBIiComparison of DQ at 1iAnd DQi-1If DQiAnd DQi-1If the number of bits with different median values is greater than N/2, DQ is obtainediTurning over and DBIiset to 0, otherwise hold DQiAnd DBIiThe change is not changed; the data backup module is in DBIiHolding DQ at 0iAnd DBIiThe change is not changed; and
A data recovery module to determine DQs received from the NAND flash memory controlleriAnd DBIiIf DBIiIs equal to 0 and DQiIf the number of the middle 1 is less than or equal to N/2, the data recovery module converts the DQiTurning over and DBIiRewriting to 1, otherwise the data recovery module holds DQiAnd DBIiAnd is not changed.
According to a preferred embodiment of the first aspect of the present invention, wherein the data backup module arranges DQ in units of pages of the NAND flash memoryiAnd DBIiThe order of (a).
According to a preferred embodiment of the first aspect of the present invention, wherein the data recovery module recovers DQ in units of pages of the NAND flash memoryiAnd DBIi
According to a preferred embodiment of the first aspect of the present invention, wherein the DRAM is DDR 4.
According to a preferred embodiment of the first aspect of the present invention, wherein the DRAM is DDR4 × 8 or DDR4 × 16.
According to the utility model discloses a second aspect provides a NVDIMM, this NVDIMM include according to the utility model discloses first aspect NVDIMM controller.
The utility model discloses a NVDIMM controller is to the DDR that has used DBI mechanism, wherein 1) NVDIMM controller's data backup module is at DBIiComparison of DQ at 1iand DQi-1If DQiand DQi-1If the number of bits with different median values is greater than N/2, DQ is obtainediTurning over and DBIiSet to 0, otherwise hold DQiAnd DBIiThe change is not changed; the data backup module is in DBIiHolding DQ at 0iAnd DBIiInvariant, and 2) the data recovery module of the NVDIMM controller determines DQ received from the NAND flash controlleriand DBIiIf DBIiIs equal to 0 and DQiIf the number of the middle 1 is less than or equal to N/2, the data recovery module converts the DQiTurning over and DBIiRewritten to 1, otherwise holds DQiAnd DBIiAnd is not changed. The NVDIMM adopting the NVDIMM controller can reduce the power consumption of the NAND interface and improve the data recovery rate.
Drawings
The invention will be better understood from the following detailed description taken in conjunction with the accompanying drawings. It is to be understood that these drawings are for illustrative purposes only and are not necessarily drawn to scale. In the drawings:
Fig. 1 is a system block diagram of an NVDIMM controller according to one embodiment of the present invention.
Fig. 2 is a schematic diagram of an NVDIMM in accordance with an embodiment of the present invention.
Detailed Description
According to the utility model discloses, NVDIMM controller realizes that nonvolatile function is mainly accomplished by DDR controller, NAND flash memory controller and data backup/recovery module triplex, and these triplex are realized using FPGA or ASIC. The utility model discloses to the DDR that has used the DBI function. Unless otherwise indicated, the DDR described herein is DDR4, but it should be understood that the present invention is not so limited and that the present invention is equally applicable to other existing and future DDR versions that support DBI.
Fig. 1 is a system block diagram of an NVDIMM controller according to one embodiment of the present invention. Taking DDR4x8 as an example, the interface signals associated with the DDR controller are 8 bits DQ and 1 bit DBI.
The operation of the NVDIMM controller will be described in detail below.
The DDR controller reads data from DRAM, due to the action of DBI, the number of '1' in DQ and DBI indication has 9 possibilities, as shown in Table 1, DBI is '0' indicating that there is a flip in DQ data, otherwise, DQ is not flipped.
Table 1: DQ and DBI values and relationships
And the data backup module processes the DQ and the DBI. For DQiIf the DQ isiDBI of 1, the data backup module will DQiAnd DQi-1Comparing and detecting DQiAnd DQi-1The number of bits in which the medians are not the same. If the bit number with different values is larger than N/2, wherein N is the bit number of DQ, the data backup module will convert DQiFlip over and convert DQiDBI of the data backup module is set to be 0, if the number of bits with different values is less than or equal to N/2, the data backup module keeps DQiAnd DBIiAnd is not changed. If DQiDBI of 0, the data backup module does not perform DQiAnd DQi-1To maintain DQiAnd DBIiAnd is not changed. The data backup module sends the processed DQ and DBI to the NAND controller, and the processed DQ and DBI are controlled by the NAND controllerThe device writes the processed DQ and DBI into the NAND flash memory to complete data backup.
The data backup module may use a page (page) of the NAND flash memory as a unit when processing DQ and DBI. Taking a 9KB sized page as an example, read 8KB DQ and 1KB DBI from the DDR interface, format DQ and DBI:
DQ0DQ1DQ2DQ3DQ4DQ5DQ6DQ7DBI0DBI1DBI2DBI3DBI4DBI5DBI6DBI7and (4) organizing. It should be understood that DQiIs 8KB, and DBIiIs 1 KB. Further, it should be understood that any other suitable format may be used.
When the NVDIMM controller restores the data, the NAND controller reads DQ and DBI from the NAND flash memory and sends to the data restoration module. If DBIi0 and corresponding DQiIs less than or equal to 4, the data recovery module converts the DQiTurning over and DBIiRewritten to 1, otherwise holds DQiAnd DBIiThe change is not changed; if DBIi0 and corresponding DQiIs greater than 4 or if DBIiData recovery module holds DQ 1iAnd DBIiAnd is not changed. And then the data recovery module recovers and writes the DQ into the DRAM through the DDR controller according to the rule of the DBI.
When the data backup module processes DQ and DBI by taking a page (page) of the NAND flash memory as a unit, reading backup written data by taking the page as a unit, and analyzing according to a written format to obtain DQ and DBI stored in the NAND flash memory.
Fig. 2 is a schematic diagram of an NVDIMM in accordance with an embodiment of the present invention. As shown in fig. 2, the NVDIMM controller 100 includes a DDR controller 101, a NAND flash controller 102, a data backup module 103 and a data restore module 104. The NVDIMM controller controls NVDIMM200 including DRAM201 and NAND flash memory 202, data backup/restore module data backup and data restore. The DDR controller is connected with the DRAM, the NAND flash memory controller is connected with the NAND flash memory, the data backup module is connected with the DDR controller and the NAND flash memory controller, and the data recovery module is connected with the DDR controller and the NAND flash memory controller.
it is understood that these embodiments are for illustrative purposes only and that many variations may be made by those skilled in the art, while the scope of the invention is defined by the claims.

Claims (6)

1. an NVDIMM controller comprising a DDR controller and a NAND flash controller, the NVDIMM controller for controlling an NVDIMM comprising DRAM and NAND flash, wherein the DRAM employs DBI,
The NVDIMM controller further comprises:
a data backup module at DBIiComparison of DQ at 1iAnd DQi-1If DQiAnd DQi-1If the number of bits with different median values is greater than N/2, DQ is obtainediTurning over and DBIiSet to 0, otherwise hold DQiand DBIiThe change is not changed; the data backup module is in DBIiHolding DQ at 0iAnd DBIiThe change is not changed; and
A data recovery module to determine DQs received from the NAND flash memory controlleriAnd DBIiIf DBIiIs equal to 0 and DQiIf the number of the middle 1 is less than or equal to N/2, the data recovery module converts the DQiTurning over and DBIiRewriting to 1, otherwise the data recovery module holds DQiAnd DBIiAnd is not changed.
2. The NVDIMM controller of claim 1, wherein the data backup module arranges DQ in units of pages of NAND flash memoryiAnd DBIiThe order of (a).
3. The NVDIMM controller of claim 2, wherein the data recovery module recovers DQ in units of page of the NAND flash memoryiAnd DBIi
4. The NVDIMM controller of claim 2, wherein the DRAM is DDR 4.
5. The NVDIMM controller of claim 4, wherein the DRAM is DDR4x8 or DDR4x 16.
6. An NVDIMM comprising the NVDIMM controller of any one of claims 1-5.
CN201822275375.5U 2018-12-29 2018-12-29 NVDIMM controller and NVDIMM Withdrawn - After Issue CN209803777U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201822275375.5U CN209803777U (en) 2018-12-29 2018-12-29 NVDIMM controller and NVDIMM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201822275375.5U CN209803777U (en) 2018-12-29 2018-12-29 NVDIMM controller and NVDIMM

Publications (1)

Publication Number Publication Date
CN209803777U true CN209803777U (en) 2019-12-17

Family

ID=68819460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201822275375.5U Withdrawn - After Issue CN209803777U (en) 2018-12-29 2018-12-29 NVDIMM controller and NVDIMM

Country Status (1)

Country Link
CN (1) CN209803777U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582507A (en) * 2018-12-29 2019-04-05 西安紫光国芯半导体有限公司 For the data backup and resume method of NVDIMM, NVDIMM controller and NVDIMM

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582507A (en) * 2018-12-29 2019-04-05 西安紫光国芯半导体有限公司 For the data backup and resume method of NVDIMM, NVDIMM controller and NVDIMM
WO2020135412A1 (en) * 2018-12-29 2020-07-02 西安紫光国芯半导体有限公司 Data backup method and data recovery method for nvdimm, nvdimm controller, and nvdimm
CN109582507B (en) * 2018-12-29 2023-12-26 西安紫光国芯半导体股份有限公司 Data backup and recovery method for NVDIMM, NVDIMM controller and NVDIMM
US11966298B2 (en) 2018-12-29 2024-04-23 Xi'an Uniic Semiconductors Co., Ltd. Data backup method and data recovery method for NVDIMM, NVDIMM controller, and NVDIMM

Similar Documents

Publication Publication Date Title
US10592410B2 (en) Backup mechanism of writing sequential data to single-level cell buffer and multi-level cell buffer
CN109582507B (en) Data backup and recovery method for NVDIMM, NVDIMM controller and NVDIMM
US10846008B2 (en) Apparatuses and methods for single level cell caching
US9164833B2 (en) Data storage device, operating method thereof and data processing system including the same
US10943639B2 (en) Data storage device and operating method thereof
CN102831072B (en) Flash memory device and management method, data read-write method and read-write equipment
US20160062690A1 (en) Data storage device, data processing system including the same, and operating method thereof
WO2020135411A1 (en) Data backup and recovery method for nvdimm, nvdimm controller and nvdimm
CN108614744B (en) Power-down protection method and device based on NAND flash
US20130339584A1 (en) Method for accessing flash memory having pages used for data backup and associated memory device
CN209803777U (en) NVDIMM controller and NVDIMM
CN103810297A (en) Writing method, reading method, writing device and reading device on basis of re-deleting technology
US10866858B2 (en) Memory systems having reduced memory channel traffic and methods for operating the same
US9424922B2 (en) Semiconductor memory device, operating method thereof, and data storage device including the same
EP4020220A1 (en) Utilizing nand buffer for dram-less multilevel cell programming
US9239610B2 (en) Systems and methods for managing data in a system for hibernation states
KR20150102329A (en) Data storage device
CN209803776U (en) NVDIMM controller and NVDIMM
US11928353B2 (en) Multi-page parity data storage in a memory device
US20240143208A1 (en) Data storage device and method for determining buffer size of the data storage device
US20240126463A1 (en) Data storage device and method for determining buffer size of the data storage device
US20240143226A1 (en) Data storage device and method for managing a write buffer
US20240126473A1 (en) Data storage device and method for managing a write buffer
US20160342352A1 (en) Encoding data in a memory array
US10169224B2 (en) Data protecting method for preventing received data from losing, memory storage apparatus and memory control circuit unit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 710003, 4th Floor, Block A, No. 38 Gaoxin 6th Road, Zhangba Street Office, Gaoxin District, Xi'an City, Shaanxi Province

Patentee after: Xi'an Ziguang Guoxin Semiconductor Co.,Ltd.

Address before: No.606, West District, national e-commerce demonstration base, No.528, tianguba Road, software new town, Xi'an hi tech Zone, Shaanxi 710003

Patentee before: XI''AN UNIIC SEMICONDUCTORS Co.,Ltd.

AV01 Patent right actively abandoned
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned

Granted publication date: 20191217

Effective date of abandoning: 20231226

AV01 Patent right actively abandoned

Granted publication date: 20191217

Effective date of abandoning: 20231226