I'm given timing information for
- IF (fetch instruction)
- ID (decode instruction)
- EX (Execute)
- MEM (Memory)
- WB (write back)
I derived that the clock cycle time of a single cycle processor is just all 5 aforementioned timings summed up, since there is no pipe lining (I hope that's the right justification).
However, if I were to calculate the CC time of a specific instruction such as a slt instruction, then do I only add the times of the components that are relevant? For instance, slt doesn't have to access memory, so can I exclude that in my summation?