首页 | 本学科首页   官方微博 | 高级检索  
     

基于FPGA的一种存储器字节访问方法
引用本文:任小西,张克环,李仁发.基于FPGA的一种存储器字节访问方法[J].计算机应用,2008,28(6):1605-1607.
作者姓名:任小西  张克环  李仁发
作者单位:湖南大学计算机与通信学院 湖南大学计算机与通信学院 湖南大学计算机与通信学院
基金项目:国家高技术研究发展计划(863计划)
摘    要:计算机系统普遍采用较宽的存储器总线结构以提高吞吐率,这导致了以字节为基本单位读写数据的不便。通过对主流SDRAM存储器的访问机制的分析,为SDRAM存储控制器设计了一种数据自动对齐方案,该方案能够根据输入的字节地址和数据自动产生所需的存储器控制信号,并将数据对齐到正确的字节位置。详细阐述了生成地址、字节控制信号以及进行字节对齐的原理与方法,并在FPGA芯片上实现。与基于Cache以及基于两次存储器读写操作的方案相比较,新方案占用硬件资源更少,存储器带宽利用率更高。

关 键 词:动态存储器    存储控制器    字节对齐    现场可编程逻辑门阵列
文章编号:1001-9081(2008)06-1605-03
收稿时间:2008-01-28
修稿时间:2008年1月28日

Byte access method for wide data bus memory based on FPGA
REN Xiao-xi,ZHANG Ke-huan,LI Ren-fa.Byte access method for wide data bus memory based on FPGA[J].journal of Computer Applications,2008,28(6):1605-1607.
Authors:REN Xiao-xi  ZHANG Ke-huan  LI Ren-fa
Affiliation:REN Xiao-xi,ZHANG Ke-huan,LI Ren-faCollege of Computer , Communication,Hunan University,Changsha Hunan 410082,China
Abstract:It is a widely accepted approach to use wide data bus to increase the data accessing speed. However, this method causes the inconvenience on reading and writing data in bytes. The common operation mechanism of current mainstream SDRAM memory chip was analyzed, and a new byte alignment method was proposed for the SDRAM controller. Based on the given byte-address and input data, the new method could generate correct address and byte control signals, also aligned the bytes to the corresponding positions. The architecture and processing flow were illustrated in detail, as well as the implementation on Field Programmable Gate Array (FPGA) chips. Compared with other schemes based on memory cache and twice-memory-access, this method costs fewer hardware resources and memory bandwidth.
Keywords:SDRAM  memory controller  byte alignment  Field Programmable Gate Array (FPGA)
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号