InClassActivity10-sol - 2/21/03 10:05 PM Activity #10...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
2/21/03 10:05 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 2 Activity #10 (Solutions) Activity 10.1 Pipeline registers Consider the example of Figures 6.11 – 6.18 (beginning p. 451). a. (9pts) In Figure 6.11, in which Clock Cycles (CC) something is read from the register file, in which CCs something is written into the register file? Also, state which registers are read or written in those CCs. In CCs 2, 3 and 4, register 0 is read. In CCs 5, 6 and 7, something is written into registers 1, 2 and 3 respectively. Grading: 1pt off for each of wrong CC-register pair. b. (9pts) In CC 5 of Figure 6.11, what operation does the ALU perform, where does it get its operands, and where are the results placed? The ALU adds 0 to 300 after sign-extending 300(i.e., filling in leading zeros to make it 32 bits), and puts the result in the EX/MEM pipeline register. Both operands are obtained from the ID/EX register. Grading: 3pts off for each of wrong operation, source, destination. c. (9pts) In CC 7 of Figure 6.11, what is written into the register file? Which register?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

InClassActivity10-sol - 2/21/03 10:05 PM Activity #10...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online