G
Guest
Guest
Consider a multi-cycle MIPS architecture. Assume there are 4 types of instructions supported by the architecture:
L-type (5 cycles), S-type (4 cycles), R-type (2 cycles), B-type (3 cycles)
If a program with 100 instructions containing different types in following ratio:
L-type (15), S-type (25), R-type (50), B-type (10).
From the above information, how would I calculate the average instruction execution time in CPI on a pipelined processor but with 0.1*cycle overhead;
L-type (5 cycles), S-type (4 cycles), R-type (2 cycles), B-type (3 cycles)
If a program with 100 instructions containing different types in following ratio:
L-type (15), S-type (25), R-type (50), B-type (10).
From the above information, how would I calculate the average instruction execution time in CPI on a pipelined processor but with 0.1*cycle overhead;
