CSE 230 including formulas


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
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值