Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/digital-systems-linear-algebra-introduction-to-formal-proof/3/a/solution

Fetch the MIPS instruction at the program counter, and compute . The opcode selects an MIPS R-type instruction; register-file read addresses and select the two operands. The function field selects ALU addition. The result returns through write-back multiplexer input zero to destination , and the next program counter is .
Using the diagram's actual selector encodings, the control signals are
Here means decode the function field; means add and means subtract. The source's is a two-bit control: the branch-taken output is . With , is immaterial; zero is a convenient concrete setting. No data-memory access occurs.

New to topics? Read the docs here!