For this problem, you will create a series of small snippets that illustrate the issues that arise

Question:

For this problem, you will create a series of small snippets that illustrate the issues that arise when using functional units with different latencies. For each one, draw a timing diagram similar to Figure C.38 that illustrates each concept, and clearly indicate the problem.

a. Demonstrate, using code different from that used in Figure C.38, the structural hazard of having the hardware for only one MEM and WB stage.

b. Demonstrate a WAW hazard requiring a stall.


Figure C.38

Clock cycle number 5 Instruction 2 3 4 10 6 7 11 MUL.D FO,F4,F6 M1 M4 WB МЗ M7 IF ID M2 M5 M6 MEM MEM IF ID EX WB ID E

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Architecture A Quantitative Approach

ISBN: 978-8178672663

5th edition

Authors: John L. Hennessy, David A. Patterson

Question Posted: