1 votes 1 votes Please solve this problem saumya mishra asked Oct 11, 2017 saumya mishra 298 views answer comment Share Follow See 1 comment See all 1 1 comment reply Prashant. commented Oct 11, 2017 i edited by Prashant. Oct 11, 2017 reply Follow Share Part a: 5 Stages each taking 1 clock cycles = Total time = 5 clock cycles to complete Now execution time = Number of instruction * Number of clock cycle * clock cycle time = 5 *1nsec [assume instrucion are infinite] = 5nsec Execution rate = 1/ execution time = 1/ 5nsec = 200 MIPs Part b: Here clock cycle for fetch cycle(1st stage) = 0.9 * 1 + 0.1 * 4 = 1.3 Here clock cycle for 2nd stage = 1 Here clock cycle for 3rd stage = 1 Here clock cycle for 4nd stage (load and store) = (0.3 *3) + (0.7 * 1) = 1.6 Here clock cycle for 5th stage = 1 Total CPI = 1.3 + 1 + 1 + 1.6 + 1 = 5.9 So execution rate = 1/ 5.9 nsec = 169.5 MIPs 2 votes 2 votes Please log in or register to add a comment.