Can someone please help answer this problem? Thanks in advance Construct a truth
ID: 3840585 • Letter: C
Question
Can someone please help answer this problem? Thanks in advance
Construct a truth table that has three inputs, and outputs the control signals for data forwarding. The three inputs are the preceding instruction, the second instruction that data-depends on the first instruction, and the number of cycles between the two instructions. Assume only one operand need to be forwarded from the first instruction to the second instruction, and the instructions in between neither read nor write to the registers or memory units used by these two. Complete the truth table, indicating which data forwarding signals should be asserted. EX/MEM: The ALU operand is forwarded from the prior ALU result. MEM/WB: The ALU operand is forwarded from data memory.Explanation / Answer
EX/MEM MEM/WB N N Y N Y N Y N N N N Y N Y N Y