cpu - Which one is right one in pipelining? -
i'm studying cpu pipelining, , had trouble.
want know 1 right pipelining in below picture
in opinion, first gantt chart kinda "structural hazard" becuase "if" stage partially overlapped. think using 1 stage 2 instruction not allowed. think second 1 right....
right?
you right.
the first chart has 2 instructions being fetched during second cycle. unless specified otherwise, cannot done.
there circumstances in allowable:
- the instruction fetch divided 2 stages,
if1
,if2
, each of take 1 cycle.if1
,if2
can overlapped. - the data path , instruction cache support 2 simultaneous operations.
Comments
Post a Comment