Move declaration of x_exec_pmp_fail to before its first use
This commit is contained in:
parent
e208652ad7
commit
0e462574b2
|
@ -439,6 +439,7 @@ hazard3_alu #(
|
||||||
// Load/store bus request
|
// Load/store bus request
|
||||||
|
|
||||||
wire x_loadstore_pmp_fail;
|
wire x_loadstore_pmp_fail;
|
||||||
|
wire x_exec_pmp_fail;
|
||||||
|
|
||||||
wire x_unaligned_addr = d_memop != MEMOP_NONE && (
|
wire x_unaligned_addr = d_memop != MEMOP_NONE && (
|
||||||
bus_hsize_d == HSIZE_WORD && |bus_haddr_d[1:0] ||
|
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_wdata;
|
||||||
wire [W_DATA-1:0] x_pmp_cfg_rdata;
|
wire [W_DATA-1:0] x_pmp_cfg_rdata;
|
||||||
|
|
||||||
wire x_exec_pmp_fail;
|
|
||||||
|
|
||||||
generate
|
generate
|
||||||
if (PMP_REGIONS > 0) begin: have_pmp
|
if (PMP_REGIONS > 0) begin: have_pmp
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue