From da9b25591e8b4d1c05a2ac84bb40b5cb5e3a86c5 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Tue, 7 May 2024 17:39:31 +0200 Subject: control unit --- src/control_unit.v | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/control_unit.v') diff --git a/src/control_unit.v b/src/control_unit.v index 35fc32c..5d18f7a 100644 --- a/src/control_unit.v +++ b/src/control_unit.v @@ -3,16 +3,15 @@ module control_unit ( input [6:0] opcode, input [2:0] funct3, input [6:0] funct7, - input zero, + input alu_zero, output pc_we, output mem_addr_src, output mem_we, output instr_we, output [1:0] result_src, output [3:0] alu_op, - output [1:0] alu_src0_src, - output [1:0] alu_src1_src, - output [1:0] imm_src, + output [1:0] alu_a_src, + output [1:0] alu_b_src, output rf_we ); -- cgit v1.2.3