当前位置:网站首页>logisim计组实验十 单周期MIPS CPU
logisim计组实验十 单周期MIPS CPU
2022-07-21 14:56:00 【SakamataZ】
全部电路已经在educoder平台测试通过。
电路文件已经托管至Github,欢迎star:点这里
mips指令格式
- 当OP六位为全零的时候,表示是R型指令
Rs、Rt原寄存器,Rd是目标寄存器
shamt是用来移位的偏移量,最多偏移31位
最后一个字段funct描述运算功能,相当于是op字段的扩展操作码 32表示加法,34表示减法 - OP不为0,能够唯一确定不同的功能 I型指令有两个操作数Rs和Rt
指令
lw:
addi:
sw:
beq:
bne:
add:
syscall:
slt:
辅助指令R_TYPE:
用于判断是否是寄存器写回信号
指令译码逻辑
OP是指令的26-31位,func是指令的0-5位。
ALU控制逻辑
ALU_OP=((指令==slt)?11:5)
控制信号
电路图
功能说明
支持8条MIPS核心指令,最终设计实现的 MIPS 处理器能运行冒泡排序测试程序 sort.asm,该程序自动在数据存储器0~15号字单元中写入16个数据,然后利用冒泡排序将数据升序排序。
边栏推荐
猜你喜欢
Leetcode brush question: circular linked list and circular linked list II
NI LabVIEW 2019 installation tutorial, atecloud installation free and online
IP address classification and range
Detailed explanation of PLC cascade PID control (temperature control of furnace and central air conditioning system)
DOM系列之DOM事件流
leetcode 225. Implement stack with queue (simple)
异常处理丨一个小案例,带你解决NullPointerException
Leetcode skimming: balanced binary tree and flipped binary tree
ApacheCon Asia 2022 开启报名:Pulsar 技术议题重磅亮相
吉利星瑞产品力再升级,增加文化IP联动,是否值得买?
随机推荐
设置MySQL时区
oracle rac一个节点重启后公网网卡丢失,Device eth3 does not seem to be present, delaying initialization
还在被电影中吧爆炸的画面震撼?那你一定不要错过这款Unity的爆炸插件
Leetcode 1217 playing chips [greedy] the leetcode road of heroding
Keithley software 2600 series 2611b | 2612b | 2614b | 2634b ns SourceMeter source table software
Is it worth buying Geely Xingrui's products to upgrade and increase cultural IP linkage?
Leetcode skimming: bit operation (find numbers that are different and appear only once)
EF Core 数据过滤
void 0 有什么意义?undefined竟然是可变的?
Is the income of fixed income financial products certain?
OSPF实验演示(Huawei路由器设备配置)
Software testing: equivalence testing, decision table based testing and comprehensive problem analysis
单域名SSL证书和多域名SSL证书有什么区别?
2022-07-21日报:吴恩达撰文:如何建立适应AI职业生涯的项目
Lazy cancer Gospel! Software that can replace LabVIEW - atecloud Intelligent Cloud test platform
PLC 模糊控制系列之高斯型隶属函数指令
吉时利Keithley软件2400|2440|2450|2460|2461|2470 NS-SourceMeter源表软件
运营商AI机遇:以大模型拓展全新赛道
DOM event proxy (2)
unity 设置物体不能被穿透