Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Aim: To design a 8 bit processor connected to instruction and data memory. In this assignment, you will design and implement a simple microprocessor with
Aim: To design a 8 bit processor connected to instruction and data memory. In this assignment, you will design and implement a simple microprocessor with a custom instruction set. This project can be done in groups (up to 4 members per team), but the final project report must give a clear breakup of portions of the design implemented by each team member For the purpose of this assignment, a CPU consists of the following components: Instruction memory (read only) Data memory (read/write) Register file (two ports read, one port write simultaneously) Arithmetic and Logic Unit (ALU) Instruction format : he CPU uses 16-bit instructions that are stored in the IMEM. There are 3 types of instructions: Type 15-12 R (register) Opcode I (immediate) Opcode J (jump) Opcode 11-9 8-6 Rd Ra Imm[5:3] Ra [11:7) dont care 5-3 Rb Rb 2-0 Func Imm[2:07 Addr [6:0] Assume that the register r0 always stores the numeric value 0 (to make comparisons easy), and Ra, Rb can refer to any register. The CPU you have to design will have the following instructions: Instruction add rd, ra, rb sub rd, ra, rb and rd, ra, rb or rd, ra, rb addi rd, ra, imm lw rd, imm(ra) sw rd, imm(ra) beg rd, ra, imm j addr Opcode/Func 0000/000 0000/010 0000/100 0000/101 0100 1011 1111 1000 0010 Type R R R R 1 1 1 1 J Operation rd
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started