diff options
-rw-r--r-- | src/rtl/keywrap.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl/keywrap.v b/src/rtl/keywrap.v index e0bda45..dc18d92 100644 --- a/src/rtl/keywrap.v +++ b/src/rtl/keywrap.v @@ -270,7 +270,7 @@ module keywrap #(parameter ADDR_BITS = 15) api_rd_delay_new = 32'h0; // api_mux - if (address[7]) + if (address[(ADDR_BITS - 1)]) tmp_read_data = core_api_rd_data; else tmp_read_data = api_rd_delay_reg; |