InClassActivity08-sol

InClassActivity08-sol - 10/18/02 10:54 PM SOLUTION Activity...

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

View Full Document Right Arrow Icon
10/18/02 10:54 PM SOLUTION Activity #08 Activity 8.1 Single-cycle datapath 1. (50) Do question 5.19 in your textbook. Figure 5.17 of your textbook is reproduced below 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.17 are needed? A new row should be added to the truth table in Figure 5.17. The new control is similar to load word because we want to use the ALU to add the immediate operand to a register (and thus RegDst = 0, ALUSrc = 1, ALUop = 00). The new control is also similar to an R-format instruction because we want to write the result of the ALU into a register (and thus MemtoReg = 0, RegWrite =1) and of course we aren't branching or using memory (branch = 0, MemRead =0, MemWrite =0). Instruction Regdst (1bits) ALUSrc MemtoReg Reg Write Mem Read Mem Write Branch ALUop addi 0 1 0 1 0 0 0 00 Grading: 3 points off for incorrect additional cells or changes in existing cells. 8 points for trying without adding a row.
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.

This homework help was uploaded on 04/08/2008 for the course ECE 562 taught by Professor Zhou during the Fall '07 term at New Hampshire.

Page1 / 2

InClassActivity08-sol - 10/18/02 10:54 PM SOLUTION Activity...

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