COEN316Assignment1

.docx

School

Concordia University *

*We aren’t endorsed by this school

Course

316

Subject

Electrical Engineering

Date

Jan 9, 2024

Type

docx

Pages

2

Uploaded by AgentCloverPorpoise

Report
COEN 316 – Computer Architecture and Design Department of Electrical and Computer Engineering Assignment 1, Fall 2023 Due: Sept. 29, 2023 In this assignment, you will answer the following questions. Write your answer in the exact place: Your Information: First Name: Last Name: Student ID: Grade: Expectations of originality: Paste the signed form here or submit it as a separate file with this assignment: Question 1 Grade 1- Consider a machine with four instruction classes, whose CPI and code size (IC i ) for each instruction class for a program are given below: (i) Find the execution time on a 3GHz processor. (ii) What is the speedup if the number of ALU instructions can be reduced by one-quarter? 20 Question 2 Grade Suppose that a new MIPS instruction, called bcp, was designed to copy a block of words from one address to another. Assume that this instruction requires that the starting address of the source block is in register $t1 and that the destination address is in $t2. The instruction also requires that the number of words to copy be in $t3 (which is > 0). Furthermore, assume that the values of these registers as well as register $t4 can be destroyed in executing this instruction (so that the registers can be used as temporaries to execute the instruction). a. Write the MIPS assembly code to implement a block copy without this instruction. c. Estimate the total cycles necessary for each realization to copy 100-words on the multicycle machine. 30 1
Question 3 Grade 30 20 Grading Policy: The assignment score is out of 100 points. Here are some aspects that may lead to points deduction: The answers are missing. Missing steps. Inappropriate data to answer your question. Do your best to include exhaustive details, the final answer alone is not enough to get points. Collaborate on the individual assignment. 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help