Question: Consider the following datapath and control unit. ( (s2 t0)) ! 23 ! a. What are the operands for the instruction (underlined in red) in
Consider the following datapath and control unit.
( (s2 t0)) !
23 !
| a. What are the operands for the instruction (underlined in red) in the (ID stage)? What are the operands and instruction (underlined in red) in the (EX stage)? | |||||||||||
| Instruction in ID: lw $,($) | Instruction in EX: $,$,$ | ||||||||||
| b. What are the control signals at ID stage (choose the correct ones (either 0 or 1; no x) )? | |||||||||||
| I | H | G | F | E | D | C | B | A | |||
|
|
|
|
|
|
|
|
|
| |||
| c. What are the names of the 3 hidden components/signals in the figure? | |||||||||||
| Component/Signal Names ( ) Data Memory, Instruction Memory, Control Unit, MemWrite, MemRead, RegWrite, Cache Memory, ALU, Register File, MemtoReg | |||||||||||
| 1 | 2 | 3 | |||||||||
|
|
|
| |||||||||
| d. What are the sizes of the four pipeline registers in bits? | |||||||||||
| Pipeline Registers Sizes
| |||||||||||
| IF/ID | ID/EX | EX/MEM | MEM/WB | ||||||||
| Bits | Bits | Bits | Bits | ||||||||
11.5 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
