CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 VHDL编程

文件名称:PIPE_LINING_CPU_TEAM_24

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-10-14
  • 文件大小:
    4.72mb
  • 已下载:
    1次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

采用Quatus II编译环境,使用Verilog HDL语言编写实现了五段流水线CPU。

能够完成以下二十二条指令(均不考虑虚拟地址和Cache,并且默认为小端方式):

add rd,rs,rt addu rd,rs,rt addi rt,rs,imm addiu rt,rs,imm sub rd,rs,rt

subu rd,rs,rt nor rd,rs,rt xori rt,rs,imm clo rd,rs clz rd,rs

slt rd,rs,rt sltu rd,rs,rt slti rt,rs,imm sltiu rt,rs,imm sllv rd,rt,rs

sra rd,rt,shamt blez rs,imm j target lwl rt,offset(base)

lwl rt,offset(base) lw rt,imm(rs) sw rt,imm(rs)

在本设计中,采取非常良好的模块化编程风格,共分十三个主要模块PIPE_LINING_CPU_TEAM_24.v为顶层实体文件,对应为PIPE_LINING_CPU_TEAM_24模块作为顶层实体模块,如下:

ifetch.v、regdec.v、exec.v、mem.v、wr.v分别实现五个流水段;

cpuctr.v用于产生CPU控制信号;

ALU.v用于对操作数进行相应指令的运算并输出结果;

DM.v数据存储器

IM.v指令存储器

datareg.v数据寄存器堆

extender.v位扩展

yiwei_32bits.v 实现32位四种移位方式的移位器

在顶层实体中,调用ifetch.v、regdec.v、exec.v、mem.v、wr.v这五个模块就实现了流水线CPU。顶层模块的结构清晰明了。对于学习verilog编程非常有用- Quatus II compiled by the environment, using Verilog HDL language to achieve a five-stage pipeline CPU.

  To complete the following 22 commands (not considering the virtual address and Cache, and the default mode for the small end):

add rd, rs, rt addu rd, rs, rt addi rt, rs, imm addiu rt, rs, imm sub rd, rs, rt

subu rd, rs, rt nor rd, rs, rt xori rt, rs, imm clo rd, rs clz rd, rs

slt rd, rs, rt sltu rd, rs, rt slti rt, rs, imm sltiu rt, rs, imm sllv rd, rt, rs

sra rd, rt, shamt blez rs, imm j target lwl rt, offset (base)

lwl rt, offset (base) lw rt, imm (rs) sw rt, imm (rs)

In this design, take a very good modular programming style, is divided into 13 main modules PIPE_LINING_CPU_TEAM_24.v for the top-level entity file, the corresponding module as a top-level entity for the PIPE_LINING_CPU_TEAM_24 modules, as follows:

ifetch.v, regdec.v, exec.v, mem.v, wr.v water were to achieve the five paragraph 

cpuctr.v used to generate CPU control signal 

ALU.v accordingly
(系统自动生成,下载前可以参看下载内容)

下载文件列表

PIPE_LINING_CPU_TEAM_24/ALU.v
PIPE_LINING_CPU_TEAM_24/ALU.v.bak
PIPE_LINING_CPU_TEAM_24/cpuctr.v
PIPE_LINING_CPU_TEAM_24/cpuctr.v.bak
PIPE_LINING_CPU_TEAM_24/datareg.v
PIPE_LINING_CPU_TEAM_24/datareg.v.bak
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(0).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(0).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(1).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(1).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(10).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(10).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(11).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(11).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(12).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(12).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(13).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(13).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(14).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(14).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(15).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(15).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(16).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(16).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(17).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(17).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(18).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(18).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(19).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(19).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(2).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(2).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(20).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(20).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(21).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(21).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(22).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(22).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(23).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(23).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(24).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(24).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(25).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(25).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(3).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(3).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(4).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(4).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(5).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(5).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(6).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(6).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(7).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(7).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(8).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(8).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(9).cnf.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.(9).cnf.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.asm.qmsg
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cbx.xml
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.bpm
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.ecobp
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.kpt
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.logdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.rdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp.tdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp0.ddb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.cmp_merge.kpt
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.db_info
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.eco.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.eds_overflow
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.fit.qmsg
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.hier_info
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.hif
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.lpc.html
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.lpc.rdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.lpc.txt
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.map.bpm
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.map.cdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.map.ecobp
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.map.hdb
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.map.kpt
PIPE_LINING_CPU_TEAM_24/db/PIPE_LINING_CPU_TEAM_24.ma

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com