[Solved] CSE331-Homework 4 MiniMIPS Design

$25

File Name: CSE331-Homework_4_MiniMIPS_Design.zip
File Size: 310.86 KB

SKU: [Solved] CSE331-Homework 4 MiniMIPS Design Category: Tag:
5/5 - (1 vote)

In this assignment you will design a small version of MIPS processor. Its name is MiniMIPS. In MiniMIPS, there are 8 registers each holding 32 bit numbers. The instruction width is 16 bits instead of 32 bits in MIPS. There are two types of instructions in MiniMIPS.

R-type:

Op (4bits) Rs (3bits) Rt (3bits) Rd(3bits) Func(3bits)
I-type:
Op (4bits) Rs (3bits) Rt (3bits) Imm (10bits)

The instructions of MiniMIPS are given in below table:

Instr Opcode Func
AND 0000 000
ADD 0000 001
SUB 0000 010
XOR 0000 011
NOR 0000 100
OR 0000 101
ADDI 0001 XXX
ANDI 0010 XXX
ORI 0011 XXX
NORI 0100 XXX
BEQ 0101 XXX
BNE 0110 XXX
SLTI 0111 XXX
LW 1000 XXX
SW 1001 XXX

They all work similar to the actual MIPS Green Sheet. As immediate field is 10 bits you should extend it to 32 bits. Do not forget, only the instruction width and number of registers are different remaining part is same as MIPS. The register contents are 32 bits. Zero register is always 0. All other rules in MIPS are also rules of MiniMIPS.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE331-Homework 4 MiniMIPS Design
$25