+The Control module selects the value of the output signals: WErf, WEdmem, MUXalu1, MUXalu2, MUXrf, MUXtgt, FUNCalu, and MUXpc, based on the opcode input and the EQ signal (only for MUXpc). The first step was to find the corrosponding opcodes to the instructions using the [instruction set](https://user.eng.umd.edu/~blj/risc/RiSC-isa.pdf). The output signals were found by looking at the "Instruction Dataflow" diagrams for each instruction found in the [sequential implementation document](https://user.eng.umd.edu/~blj/risc/RiSC-seq.pdf). Another useful part of the document was the "Putting it all together" section that shows which modules the signals are sent to and describes what the signals are used for in the modules.
0 commit comments