CS470 Spring 2008

 

HW Assignment 2

Due May. 3, 2008

 

 

  1. Give truth tables that describe these combinational blocks in Fig 5.24:

ALU

ALU Control

Control (with input Inst[31-26])  (include the jump instruction)

Shift Left 2

 

  1. Answer the following:

            5.2 a, c

            5.3 a, c

            5.8 Hint: a modification of the data path is needed. Give the revised table for Control.

            5.10: Assume that the ALU performs a 16-bit shift-left when ALUOp = 11. Give the revised table for Control.

     

  2. Answer the following:

            4.1

            4.10

            4.11