The design team for a simple, single-issue processor is choosingbetween a pipelined or non-pipelinedimplementation.  Here are some design parameters for thetwopossibilities:

Parameter                             PipelinedVersion               Non-Pipelined Version

Clock Rate

500MHz

350 MHz

CPI for ALU instructions

1

1

CPI for Control instructions

2

1

CPI for Memory instructions

2.7

1

(a) For a program with 20% ALU instructions, 10% controlinstructions and 70% memory instructions, which design will befaster? Give a quantitative CPI average for each case.

(b) For a program with 80% ALU instructions, 10% controlinstructions and 10% memory instructions, which design will befaster? Give a quantitative CPI average for each case.