Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Single-Cycle Processor Design (15 Marks) Design a single cycle processor with 18 bit wide instructions, and data-word width of your choice. Your design should include

image text in transcribed
image text in transcribed
Single-Cycle Processor Design (15 Marks) Design a single cycle processor with 18 bit wide instructions, and data-word width of your choice. Your design should include the following details: Basic R-Type and I-Type instructions including Branch. (3 marks) Instruction Set that covers basic Arithmetic and Logical Operations. (3 marks) Number of Registers (2 marks) Datapath and Control Design (show the complete processor with the necessary connections) (7 marks) Code for Execution (15 Marks) Your processor is required to execute a sequence of instructions that takes a number N and generates the square of N as the answer. For example, if Nis 5, then the result of the execution must be 25. You are to provide the following in your report. Assembly Language Instructions based on your processors design (7 marks) Machine Code (Binary) with detailed explanations for each of the instructions. (8 marks) The variable N is a word variable stored in a memory location (you can assume any location). After the operation is complete, the answer must be written back to the same memory location of N. PCS Add - 2x Add ALU result Rag Write Shift left 2 PC! Instruction (25-211 Instruction (2016) ALUS Read address Instruction (31-01 Instruction memory Read register 1 Read Read data 1 register 2 Read Write data 2 register Write data Registers Zero MemWrite MemtoReg Address Read! data ALU ALU result Instruction (15-111 ONS Saxo OXES Write data Data memory Regos Instruction (15-0) 16 Sign 32 extend ALU control MomRoad Instruction (5-0) ALUOP Single-Cycle Processor Design (15 Marks) Design a single cycle processor with 18 bit wide instructions, and data-word width of your choice. Your design should include the following details: Basic R-Type and I-Type instructions including Branch. (3 marks) Instruction Set that covers basic Arithmetic and Logical Operations. (3 marks) Number of Registers (2 marks) Datapath and Control Design (show the complete processor with the necessary connections) (7 marks) Code for Execution (15 Marks) Your processor is required to execute a sequence of instructions that takes a number N and generates the square of N as the answer. For example, if Nis 5, then the result of the execution must be 25. You are to provide the following in your report. Assembly Language Instructions based on your processors design (7 marks) Machine Code (Binary) with detailed explanations for each of the instructions. (8 marks) The variable N is a word variable stored in a memory location (you can assume any location). After the operation is complete, the answer must be written back to the same memory location of N. PCS Add - 2x Add ALU result Rag Write Shift left 2 PC! Instruction (25-211 Instruction (2016) ALUS Read address Instruction (31-01 Instruction memory Read register 1 Read Read data 1 register 2 Read Write data 2 register Write data Registers Zero MemWrite MemtoReg Address Read! data ALU ALU result Instruction (15-111 ONS Saxo OXES Write data Data memory Regos Instruction (15-0) 16 Sign 32 extend ALU control MomRoad Instruction (5-0) ALUOP

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What do you understand by Mendeleev's periodic table

Answered: 1 week ago