This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 2/12/03 12:43 PM ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2003 Page 1 of 2 Activity #08 (Solution) Activity 8.1 Single-cycle datapath Do question 5.5 from your textbook. Figure 5.20 is reproduced below. PC Instruction memory Read address Instruction  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] M u x 1 Control Add ALU result M u x 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. (20 points) What changes to the datapath are needed? No additions to the datapath required. b. (30 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 A new row should be added to the truth table in Figure 5....
View Full Document
- Spring '09