Discussion:
A5Q1 Counting Clock Cycles
(too old to reply)
Ofotsu MacCarthy
2012-03-27 21:24:06 UTC
Permalink
For A5Q1, do we assume each instruction takes 1 clock cycle (and account
for loads and branches where necessary) or do we follow the pipeline
diagram where it takes 5 clock cycles to go through the instruction and
the next instruction begins on the 2nd clock cycle.
Richard Mann
2012-03-28 01:32:49 UTC
Permalink
For A5Q1, do we assume each instruction takes 1 clock cycle (and account for
loads and branches where necessary) or do we follow the pipeline diagram where
it takes 5 clock cycles to go through the instruction and the next instruction
begins on the 2nd clock cycle.
Count the number of instructions executed, then add four clock cycles
for the last instruction to finish in the pipeline.

Loading...