Description:
Implement the controlpath module. Decode instruction (opcode, funct3, funct7) and generate all control signals for the datapath.
Includes: main control logic, ALU control logic, branch decision logic, and next-PC selection logic.
No datapath modules instantiated—only combinational control logic.
Description:
Implement the controlpath module. Decode instruction (opcode, funct3, funct7) and generate all control signals for the datapath.
Includes: main control logic, ALU control logic, branch decision logic, and next-PC selection logic.
No datapath modules instantiated—only combinational control logic.