From ba775563d5413458c622b6f770197708b20d6d03 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Mon, 22 Aug 2022 09:10:12 +0100 Subject: [PATCH] Fix suspicious gating of jump request --- hdl/hazard3_core.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdl/hazard3_core.v b/hdl/hazard3_core.v index 169b828..e2fe1ab 100644 --- a/hdl/hazard3_core.v +++ b/hdl/hazard3_core.v @@ -754,7 +754,7 @@ wire x_jump_req_unchecked = !x_stall_on_raw && ( d_branchcond == BCOND_NZERO && x_branch_cmp ); -assign x_jump_req = x_jump_req_unchecked && !x_jump_misaligned && !x_exec_pmp_fail || x_trig_break; +assign x_jump_req = x_jump_req_unchecked && !x_jump_misaligned && !x_exec_pmp_fail && !x_trig_break; assign x_btb_set = |BRANCH_PREDICTOR && ( x_jump_req_unchecked && d_addr_offs[W_ADDR - 1] && !x_branch_was_predicted &&