InClassActivity08-sol - 2/12/03 12:43 PM ECSE-2660 Computer...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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 [310] 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

Page1 / 2

InClassActivity08-sol - 2/12/03 12:43 PM ECSE-2660 Computer...

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