From 0e462574b20fe7d7b79397b39a117989a924fe3f Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Fri, 27 May 2022 15:04:43 +0100 Subject: [PATCH] Move declaration of x_exec_pmp_fail to before its first use --- hdl/hazard3_core.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hdl/hazard3_core.v b/hdl/hazard3_core.v index 9a430ca..a407c31 100644 --- a/hdl/hazard3_core.v +++ b/hdl/hazard3_core.v @@ -439,6 +439,7 @@ hazard3_alu #( // Load/store bus request wire x_loadstore_pmp_fail; +wire x_exec_pmp_fail; wire x_unaligned_addr = d_memop != MEMOP_NONE && ( bus_hsize_d == HSIZE_WORD && |bus_haddr_d[1:0] || @@ -726,8 +727,6 @@ wire x_pmp_cfg_wen; wire [W_DATA-1:0] x_pmp_cfg_wdata; wire [W_DATA-1:0] x_pmp_cfg_rdata; -wire x_exec_pmp_fail; - generate if (PMP_REGIONS > 0) begin: have_pmp