From e44bfc9ea42a45f5776158e8e51c025f185b4f56 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 28 Oct 2023 20:23:07 +0200 Subject: [PATCH] fix: propagate conditional jump from control_unit --- src/control_unit.sv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/control_unit.sv b/src/control_unit.sv index 60ed34eb91c7ec1303ed40d1abbc2509e4377944..ae4874292265f61d63aae58d0b722234d87acef4 100755 --- a/src/control_unit.sv +++ b/src/control_unit.sv @@ -47,6 +47,8 @@ module control_unit( wire alu_reg_add_one, alu_reg_negate, alu_reg_signed; wire alu_jump_add_one, alu_jump_negate; + assign jump_instruction = conditional_jump; + instruction_decoder decoder( .instruction(instruction),