From 1ce3085843ebe53a31065b853a1d90bc55d455e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Str=C3=B6mbergson?= Date: Thu, 11 Jul 2024 14:34:10 +0200 Subject: [PATCH] fpga: Fix width of assigned fw_address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Joachim Strömbergson --- hw/application_fpga/rtl/application_fpga.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/application_fpga/rtl/application_fpga.v b/hw/application_fpga/rtl/application_fpga.v index ddd5329..bab738c 100644 --- a/hw/application_fpga/rtl/application_fpga.v +++ b/hw/application_fpga/rtl/application_fpga.v @@ -392,7 +392,7 @@ module application_fpga( fw_ram_cs = 1'h0; fw_ram_we = cpu_wstrb; - fw_ram_address = cpu_addr[10 : 2]; + fw_ram_address = cpu_addr[11 : 2]; fw_ram_write_data = cpu_wdata; trng_cs = 1'h0;