Repeat Problem 10-15 using the RISC CPU with data forwarding in Figure 10-13. Problem 10-15 Simulate the
Question:
Repeat Problem 10-15 using the RISC CPU with data forwarding in Figure 10-13.
Problem 10-15
Simulate the processing of the program in Problem 10-12 using the RISC CPU with data-hazard stall in Figure 10-12. Give the contents of each pipeline platform and the register file (the latter only whenever a change occurs) for each clock cycle. Initially, R2 contains 0000001016, R4 contains 0000002016, R7 contains 0000003016, and the PC contains 0000000116. Is the data hazard avoided?
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:
Figure 10-12
Figure 10-13
Step by Step Answer:
Logic And Computer Design Fundamentals
ISBN: 9780133760637
5th Edition
Authors: M. Morris Mano, Charles Kime, Tom Martin