Move declaration of x_exec_pmp_fail to before its first use

This commit is contained in:
Luke Wren 2022-05-27 15:04:43 +01:00
parent e208652ad7
commit 0e462574b2
1 changed files with 1 additions and 2 deletions

View File

@ -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