嵌入式CPU指令Cache的设计与实现

资料大小: 216

所需积分: 0

下载次数:

用户评论: 0条评论,查看

上传日期: 2009-08-05

上 传 者: 发烧友他上传的所有资料

资料介绍

标签:嵌入式(11)
针对嵌入式CPU 指令处理速度与存储器指令存取速度不匹配问题,本文基于FPGA 设计并实现了可以有效解决这一问题的指令Cache。根据嵌入式五级流水线CPU 特性,所设计指令Cache 的地址映射方式采用需要资源较少的直接映射(Direct Mapping),替换算法采用速度较快的先进先出(FIFO);使用VHDL实现指令Cache;对所设计指令Cache 进行功能仿真和时序仿真并给出功能仿真结果。仿真结果表明了所设计指令Cache 的有效性。
关键词:FPGA;高速缓存;直接映射;先进先出;
Abstract: Aim at the mismatch between the speed of CPU working and the speed of accessing memory, a based on FPGA instruction cache was designed and implemented, and the instruction cache can resolve the mismatch. According to the property of embedded
five stages pipeline CPU, the type of address mapping which is adopted in the instruction cache is direct mapping which needs lesser resource. FIFO algorithm is adopted in the instruction cache because the algorithm is fast in many algorithms. The cache was implemented with VHDL. The function simulation and time simulation were carried on the cache, and the result of the simulation
was presented. The result shows that the instruction cache is effective.
Keywords: FPGA; Cache; Direct mapping; FIFO;

用户评论

查看全部 条评论

发表评论请先 , 还没有账号?免费注册

发表评论

用户评论
技术交流、我要发言! 发表评论可获取积分! 请遵守相关规定。
上传电子资料