This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2001 Page 1 of 2 SOLUTION Activity #08 Activity 8.1 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] 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. (10 points) What changes to the datapath are needed? No additions to the datapath required. Basically, we take the new instruction, and identify its addressing mode. Then, we examine the datapath to see if the existing circuit (shown above) has all the parts that we need. For this instruction, we examine the datapath to see if the existing circuit (shown above) has all the parts that we need....
View Full Document
- Spring '09
- Central processing unit, Processor register, ALU ALU result