diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-07 17:39:31 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-07 17:39:31 +0200 |
commit | da9b25591e8b4d1c05a2ac84bb40b5cb5e3a86c5 (patch) | |
tree | 7b778eb83559574670674d6f836ef269bc4eddac /src/control_unit.v | |
parent | 9d69eaa8e3be69ead0918d915bdacb7d0def9281 (diff) | |
download | riscv_cpu-da9b25591e8b4d1c05a2ac84bb40b5cb5e3a86c5.tar.gz riscv_cpu-da9b25591e8b4d1c05a2ac84bb40b5cb5e3a86c5.zip |
control unit
Diffstat (limited to 'src/control_unit.v')
-rw-r--r-- | src/control_unit.v | 7 |
1 files changed, 3 insertions, 4 deletions
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 ); |