Question: MIPS Architecture Simulator Project Assignment Project Overview Design and implement a simulator for a subset of the MIPS 3 2 - bit architecture. This project

MIPS Architecture Simulator Project Assignment
Project Overview
Design and implement a simulator for a subset of the MIPS 32-bit architecture. This project will help you understand computer architecture concepts, instruction set architecture, and system simulation.
Required Functionality
1. Instruction Set Support
Implement the following MIPS instructions:
R-Format
add rd, rs, rt
sub rd, rs, rt
and rd, rs, rt
or rd, rs, rt
slt rd, rs, rt
sll rd, rt, shamt
srl rd, rt, shamt
I-Format
addi rt, rs, imm
lw rt, offset(rs)
sw rt, offset(rs)
beq rs, rt, label
bne rs, rt, label
J-Format
j target
jal target
jr rs
2. Core Features
32-bit instruction handling
32 general-purpose registers
Program counter management
Memory management (minimum 512 Bytes for IM,512 Bytes for DM)
Instruction fetch-decode-execute cycle
Support assembly code instruction input
3. User Interface Requirements
Command-line interface for loading and executing programs
Step-by-step execution mode
Register state display
Memory state display
Program execution trace capability
Deliverables
Source Code
Well-documented source filesMakefile or build scriptREADME with build and run instructions
Documentation
Project architecture overviewImplementation detailsDesign decisions and rationaleKnown limitations or bugs
Test Suite
Unit tests for instructionsSample MIPS programsTest results and analysis
Project Report
Implementation approachChallenges faced and solutionsPerformance analysis

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!