Draw the execution diagram for the program in Problem 10-12, assuming the combination of the RISC CPU

Question:

Draw the execution diagram for the program in Problem 10-12, assuming the combination of the RISC CPU with branch prediction in Figure 10-17 and the RISC CPU with data forwarding in Figure 10-13.

Figure 10-17 

PC +1 PC ADDER BrA MUX C 0132 BIA RAA Address Instruction memory Instruction 800 RW DA MD BSO IM=IR 14:0

Problem 10-12

For the RISC design, draw the execution diagram for the following RISC program (with the contents of R7 nonzero after the subtraction), and indicate any data or control hazards that are present:

1 SUB 2 BNZ 3 AND 4 OR R7, R7, R2 R7,000F R8, R7, R4 R4, R8, R2

Figure 10-13

PC +1 PC PC Adder BrA MUX C 13 BARAA BS BS La ca Address Instruction memory Instruction IR IM=IR SHIR RW DA

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

Step by Step Answer:

Related Book For  book-img-for-question

Logic And Computer Design Fundamentals

ISBN: 9780133760637

5th Edition

Authors: M. Morris Mano, Charles Kime, Tom Martin

Question Posted: