InClassActivity08-sol - 10:54 PM SOLUTION Activity#08...

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

View Full Document Right Arrow Icon
2/18/02 10:54 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2002 Page 1 of 2 SOLUTION Activity #08 Activity 8.1 Single-cycle datapath 1. (50) Do question 5.5 in your textbook. Figure 5.20 of your textbook is reproduced below PC Instruction memory Read address Instruction [31– 0] Instruction [20 16] Instruction [25 21] Add Instruction [5 0] MemtoReg ALUOp MemWrite RegWrite MemRead Branch RegDst ALUSrc Instruction [31 26] 4 16 32 Instruction [15 0] 0 0 M u x 0 1 Control Add ALU result M u x 0 1 Registers Write register Write data Read data 1 Read data 2 Read register 1 Read register 2 Sign extend M u x 1 ALU result Zero PCSrc Data memory Write data Read data M u x 1 Instruction [15 11] ALU control Shift left 2 ALU Address a. (10 points) What changes to the datapath are needed? No additions to the datapath required. Grading: 3 points for unnecessary additions. b. (40 points) What changes to the Figure 5.20 are needed? A new row should be added to the truth table in Figure 5.20. The new control is similar to load word because we want to
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

InClassActivity08-sol - 10:54 PM SOLUTION Activity#08...

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