8- For this question, assume that there are no pipeline stalls and that the breakdown of…

8- For this question, assume that there are no pipeline stalls and that the breakdown of executed instructions is as follows: (8 pts add 10% addi 15% not 0% beq 30% lw 30% SW 15% a- In what fraction of all cycles is the data memory used? b- In what fraction of all cycles is the input of the sign-extend circuit needed?