下载中心
verilog实现cache?
1星 发布者: jerwey

2016-08-22 | 1积分 | 6.51KB |  3 次下载

下载 收藏 评论

文档简介
标签: verilog

verilog

cache

cache

I implemented 2Q cache strategy from paper "2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm" written by Theodore Johnson and Dennis Shasha. It is written in VHDL and supports my FORTH-processor, which runs on a Spartan 3A DSP board from Xilinx. I think it can be adapted for other processors easily.

parameters, user defineable:

- blocksizeld ld of size of tagram

- ldways ld of number of tagrams (n-way associative)

- ldcachedwords ld of number of 32-bit words in one cacheline

defineable too:

- ldram ld of depth of cacheram

- ldqueuelength ld of depth of fifo (2Q strategy)

YOU have to redefine subtype RAMrange in global.vhd:

As example, Your RAM is 128 MB then

subtype RAMrange is natural range 26 downto 0;

评论
相关视频
  • Verilog RTL编程实践

  • FPGA时序约束

  • 领航者ZYNQ开发板视频

  • Verilog HDL数字集成电路设计原理与应用

  • 正点原子领航者ZYNQ视频第一期FPGA设计篇

  • 赛灵思FPGA开发板图像及其数字处理

推荐帖子
精选电路图
  • 家用电源无载自动断电装置的设计与制作

  • PIC单片机控制的遥控防盗报警器电路

  • 短波AM发射器电路设计图

  • 开关电源的基本组成及工作原理

  • 用NE555制作定时器

  • 基于TDA2003的简单低功耗汽车立体声放大器电路

×