首页> 中文期刊> 《计算机工程与科学》 >基于堆排序的片上Nor Flash损耗均衡硬件快速实现

基于堆排序的片上Nor Flash损耗均衡硬件快速实现

         

摘要

Traditional implementation methods of Flash wear leveling mainly base on file system and focus on Nand Flash,while the wear leveling of Nor Flash is ignored.Nor Flash sometimes fails to be embedded in the operating system,and the cost can be too huge,so wear leveling cannot be implemented through the file system.We implement Flash wear leveling on hardware to solve this problem and reduce software cost.Four modules,which are wear leveling,address mapping,garbage collection and Flash interface unit,are implemented by Verilog.When a write request arrives,the sector which has the minimum erase time is found by the heap-sort,the virtual address is connected to the sector's physical address,and the address mapping list is updated.When the number of garbage sectors reaches a threshold value,garbage collection starts.Finally,experimental results show that the operation time of initialization,heap deletion and read in hardware wear leveling algorithm is at most 14,16.4 and 17.8 times faster than those of software algorithms respectively.%传统的Flash损耗均衡的实现大部分都是针对Nand Flash,且基本都是通过文件系统进行的.针对Nor Flash损耗均衡的研究较少,而且对于无法植入操作系统或者植入代价过大的情况,文件系统的方法将不再适用.在硬件层面实现了Flash损耗均衡算法,以满足上述应用条件,同时大大减少了芯片软件层面的开销.通过Verilog语言实现了损耗均衡、地址映射、垃圾回收、Flash接口等四个模块,每次写操作到来时通过堆排序寻找擦写次数最小的块,将其物理地址与虚拟地址对应并更新到地址映射表,并在垃圾块达到一定数量时进行回收操作,从而实现Flash的损耗均衡.实验结果表明,硬件实现的损耗均衡算法在初始化、堆删除、读操作的时间消耗上分别比软件算法最多快了14、16.4、17.8倍,获得了较大的速度提升.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号