NAND Flash Controller Design and Co-Verification with Software and Hardware

Author
XieYao
Advisor
WangYiWen , ChenZhengXian
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP333.8 Random Access Memory
Degree
Master's thesis
Year
2012
Downloads
122
Citations
0

Request the full text

Abstract

With the rapid development of electronic products, the function of consumerelectronics products are becoming more and more complicated, and the requirement ofits memory capacity is becoming more and more big. One type of consumer electronicproducts, portable multimedia player requires that the memory should be small size andlow power consumption. The NAND FLASH has been used in electronic productswidely with its high-capacity, small size, low cost and low power consumptioncharacteristics. Therefore, it becomes a tendency that the NAND FLASH controller isintegrated into the SoC system.This paper analyzes the NAND FLASH storage principle, the architecture of theNAND FLASH device and the operation sequence and timing of read write and eraseoperation at first. According to the feature of NAND FLASH device, the paperdiscusses a design of AMBA AHB bus NAND FLASH controller and software andhardware co-verificaiton base on FPGA.For the controller design, in order to overcome the bit-flipping characteristics ofMLC NAND FLASH device, the BCH module is integrated into the NAND FLASHcontroller. And also use the serial data converted to parallel data computing technologyto optimize the BCH calculation. In order to accelerate the speed of access to the NANDFLASH device, the controller could work at auto mode according to the usual read andwrite sequence and timing of the NAND FLASH device, when access multiple NANDFLASH chip, the interleave mode make use of each device’s busy time, and improve theoverall read and write operation efficiency. In order to make the controller can beapplied to a variety of NAND FLASH device, the controller supports NAND FLASHdevice access timing parameters CPU configuration, and also support for multiple pagesize and variety of error correction specifications for different NAND FLASH device,and try to make the shared hardware to save the controller area.For the verification of NAND flash controller, this paper discusses the functionalsimulation and the FPGA-based software and hardware co-verification. After thefunctional simulation, in order to verify the NAND FLASH controller fully and realistically, the FPGA based software and hardware co-verification is used. At first,integrate the NAND FLASH controller into the ARM core SoC system, synthesis anddownloaded the bit file to Xilinx Virtex-4FPGA chip, and then, write the C testprogram in the ARM intergrated development environment. So that the NAND FLASHcontroller is verified by software and hardware.The design of a high preformance FLASH controller with error correctionfunction has a borad pratically value in engineering.

Table of contents

Summary 5-6 ABSTRACT 6-11 first chapter 11-23 1.1 research background 11-13 development process 1.2 NAND flash 13-15 1.3 NAND Flash and NOR Flash contrast 15-17 1.4 SLC and MLC flash contrast 17-19 1.5 NAND FLASH application 19-20 1.6 dynamic abroad 20-21 1.7 significance of this topic 21 - 23 Chapter II NAND FLASH device architecture and basic operations analysis 23-33 2.1 NAND FLASH device architecture 23-24 2.2 NAND FLASH device Interface description 24-25 2.3 NAND FLASH operation timing analysis nbsp 25-31 2.3.1 page read operation ; 27-28 2.3.2 write Page operation 28-29 2.3.3 read Status nbsp operation ; nbsp 29-30 2.3.4 block Erase operation ; 30-31 2.4 reader some optimization operations nbsp operation ; 31-32 2.4.1 write-back write 31 2.4.2 arbitrary byte data access 31 2.4.3 to read and write on both sides of the page 31-32 2.5 Summary 32-33 Chapter NAND FLASH controller Specifications 33-52 <br / > features 3.1 controller supports 33 3.2 controller interface signals 33-36 3.3 CPU configuration registers 36-48 3.3 .1 NAND FLASH device interface timing setting 45-47 3.3.2 data Structure 47-48 3.4 controller architecture 48-51 <br / > 3.4.1 Introduction workflow controller 49-50 3.4.1.1 page write operation controller workflow 49 3.4.1.2 page read operation workflow controller 49-50 3.4.1.3 controller erase operation workflow 50 3.4.2 of data between the various modules interact agreement 50-51 3.5 Summary 51-52 fourth chapter of each module design 52-74 4.1 CPU configuration module design 52-57 4.1. 1 module schematic 52 4.1.2 input output Description 52-56 4.1.3 module Description 56-57 4.2 AMBA AHB MASTER DMA Interface design 57-62 4.2.1 module schematic 58 4.2.2 input output Description 58-60 4.2.3 module Description 60-62 4.3 NAND FLASH automatically read and write data module design 62-66 4.3.1 module schematic 62-63 4.3.2 input output Description 63-65 4.3.3 module Description 65-66 4.4 CPU NAND FLASH data read and write directly control module design 66-68 4.4.1 module schematic 67 4.4.2 input output Description 67-68 4.4.3 module Description 68 4.5 BCH codec module design 68-73 4.5.1 BCH code basic principle 69-70 4.5.2 serial algorithm to parallel algorithms on 70-71 4.5.3 BCH encoder design 71-72 4.5.4 BCH decoder design 72-73 4.6 of this chapter Summary 73-74 Chapter functional simulation , DC synthesis and formal verification 74-80 5.1 functional simulation 74-77 5.1. 1 VIP introduction 75-76 5.1.2 simulation tool introduces 76 5.1.3 code test coverage analysis 76-77 5.2 DESIGN COMPILER comprehensive 77-79 5.3 LEC formal verification 79 5.4 Summary 79-80 Chapter VI test FPGA hardware and software co 80-90 6.1 FPGA test platform to introduce 80-82 6.1.1 FPGA system environment to build 80-81 6.1.2 FPGA hardware platform build 81-82 6.2 NAND FLASH hardware and software co-verification to write C code 82-88 6.3 NAND FLASH using the relevant drivers 88-89 6.4 Chapter Summary 89-90 Chapter VII Conclusion and outlook 90-92 Thanks 92-93 references 93-95

Related dissertations

  1. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  2. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  3. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  4. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  5. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  6. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  7. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  9. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  10. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  11. The Design of Digital Ultrasonic Nondestructive Testing System
  12. Design and Implementation of High Speed Data Recorder Based on FPGA
  13. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  15. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  16. The Design and Research of PCI Data Acquisition Card Based on FPGA
  17. Usb Without Invasive Data Collection Technology Research
  18. Research on On-line Diameter Measurement System Based on FPGA
  19. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Realize of a Type of Automatic Target-scoring System