How to read controle signals from the opcode for a single-clock processor

42 Views Asked by At

At the moment I am wondering how I can read the settings for a control unit in a single-cycle processor from an opcode. Is there a logical way behind it or is there another way to solve the problem? The opcode I need results from Mips Assembler. A picture of the processor is attached. singe-clock

For example. If I have an Add instruction, the opcode in mips is 000000 but the control unit returns RegDst 1; Branch 0; MemRead 0; MemtoReg 0; ALUOP 10; MemWrite 0; MemRead 0; RegWrite 1. I understand why the control unit is doing that, but I can't see the connection between this and the opcode.

0

There are 0 best solutions below