題組內容
4. Compare the single-cycle implementation, in which all instructions take 1 clock cycle, with the five-stage (IF, ID, EX, MEM, WB) pipelined implementation using the following eight instructions: load word (Iw), store word (sw), subtract (sub), and (and), or (or), set-less-than (slt) and branch-on-equal (beq). The operation times for the major functional units are 2 ns for memory access, 2 ns for ALU operation, and 1 ns for register file read or write.
申論題內容
4.1 Please complete the Table 4-1 by filling in the time for each component to calculate the total
time of each instruction executed in the single-cycle implementation. Assume that the multiplexors,
control unit, PC accesses, and sign extension unit have no delay. Please copy Table 4-1 to your
answer sheet and fill in the blanks with your answers.