代做 CSE 230、代写 Python/java 编程
CSE 230 – Assignment 1 Important: This is an individual assignment. Please do not collaborate.
Make sure to follow the academic integrity policies. Using work done by someone else will be considered a violation of the academic integrity and will result in a report to the Dean's office. Your work should not match with anything found online.
Copying any part of this assignment, and providing them to another person or posting them on the Internet without a permission of the instructor will be a violation of its copyright.
Late, handwritten or scanned submissions will NOT be accepted.
Show all the steps including formulas, calculations and Units to receive full credit. There are 2 questions worth a total of 3 points.
Make sure to segment your document for the 2 questions.
Question 1: A program with 640 M instructions is run on two different processors, CPU1 and CPU2 with the following specifications:
CPU1 specifications: 4.8 GHz clock and a CPI of 1.5
CPU2 specifications: 5.2 GHz clock and a CPI of 1.2
(a) How fast is CPU1 when compared to CPU2 while executing the above program?
(0.5 points)
(b) A designer decides to reduce the execution time of the program by 10%, by
modifying the ISA. But the average CPI is increased by 15%. Thus, this requires a change in the clock rate. What clock rate is required on each of the CPUs to achieve this? (1.5 points)
Question 2: The hardware implementation of a program uses different classes of instructions as shown in the Table below. This program is run on a Processor which has a clock rate 4.6 GHz.
a. What is the CPI (cycles per instruction) for the program? (0.5 points)
b. What is the performance of the Processor? (0.5 points)
Instruction Class ALU (A) Unconditional Conditional Data transfer Branch (B) Branch (C) (D)
CPI 1234 Instruction 10 4 8 6 Count