NANDFCTRL2 is a VHDL IP core implementing an interface to NAND flash memory devices. The memory controller is designed to operate with ONFI 4.0 flash memory devices and provides DMA transfers to and from the memory. The core implements a BCH EDAC with the capability of correcting 60 errors per chunk of 1024 bytes of data. The actual error correction capability is configured by means of VHDL generics, in conjunction with the configuration of memory support. The EDAC can be combined with a data randomizer, which breaks any repetitive bit patterns, thereby increasing memory endurance. Both the EDAC and the Randomizer can be bypassed during runtime if the user needs to access the memory without them.
To support detection and recovery from SEFI, the core provides timeout functions in addition to the EDAC. The SEFI detection functionality monitors ongoing accesses towards the flash to detect if any access is too long, which could indicate an error in the memory.
NANDFCTRL2 can optionally be implemented without an EDAC and have the functionality implemented in software in order to save hardware resources when targeting smaller devices.
For details about the actual flash memory interface, flash memory architecture and ONFI 4.0 command set please refer to the Open NAND Flash Interface specification, revision 4.0.
|The NAND Flash controller has the following features:
The memory controller has been tested with the UT81NDQ512G8T, the 69F256G16, and the 3DFN128G08US8761 NAND flash memories.
NANDFCTRL2 is part of the GRLIB IP Library from April 2022 and can be licensed as a separate add-on. The current version of the core is suitable for users that want to include NANDFCTRL2 in products and is suitable for both ASIC and FPGA implementations. Additional features for the NANDFCTRL2 IP core will become available as part of milestone releases. The table below shows the planned milestones. Please note that the future milestone features and dates are tentative. Please click this link to sign up to receive notifications about product and documentation updates.
|Release 2.0||Release 2.0 adds the features listed below:
||Users that want to include NAND flash memories in products. Suitable for both ASIC and FPGA implementation.||Available|
|Release 2.5||Release 2.5 adds support for implementing NANDFCTRL2 with NV-DDR2 and NV-DDR3 support on Microchip and Xilinx FPGAs.
||Users that want to include NAND flash memories in products. Suitable for both ASIC and FPGA implementation. Capable for SLC-based flight grade Raw NAND Flash interfaces, with the exception of flight assurance related to FPGA PHY implementations.||2023-Dec|
|Future implementations||Future implementations are pending customer demands and include:
||Users that want to include NAND flash memories in products. Suitable for both ASIC and FPGA implementation.||Pending customer demand|
|NANDFCTRL2 IP Core User's Manual||
grip.pdf (See section NANDFCTRL2)
|NANDFCTRL2 FPGA Resources Utilization||
grlib_area.xls (See NANDFCTRL2-EX sheet)
|LEON3-XCKU-NANDFCTRL2 Example Bitstream User's Manual
|LEON3-XCKU-NANDFCTRL2 Example Bitstream Quick Start Guide|