Sign in with
Sign up | Sign in
Your question

Need help with pipelining

Last response: in CPUs
Share
Anonymous
a b à CPUs
February 28, 2010 3:51:26 PM

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;

More about : pipelining

February 28, 2010 4:38:18 PM

Google "average instruction execution time in cpi" it's really answered so many places,
and is part of basic computer architecture math. You'll find what you need.
Anonymous
a b à CPUs
February 28, 2010 5:17:44 PM

I tried, and found lots of theory, but don't know whow to apply it to this specific question. If you could help me, I would really appreciate it.
!