diff --git a/hw/application_fpga/application_fpga.bin.sha256 b/hw/application_fpga/application_fpga.bin.sha256 index 6b3aa34..08caf50 100644 --- a/hw/application_fpga/application_fpga.bin.sha256 +++ b/hw/application_fpga/application_fpga.bin.sha256 @@ -1 +1 @@ -2a3928e8587c8d5d7eca6048c6448dc1d16d52a9a25d3ca5026bec3e7fb14ef3 application_fpga.bin +44086edb70377991b57d3f1c231f743fcf0c2c9d2303843ec133f76cc42449a8 application_fpga.bin diff --git a/hw/application_fpga/core/tk1/rtl/tk1.v b/hw/application_fpga/core/tk1/rtl/tk1.v index 4f481b5..7e39ce0 100644 --- a/hw/application_fpga/core/tk1/rtl/tk1.v +++ b/hw/application_fpga/core/tk1/rtl/tk1.v @@ -13,7 +13,9 @@ `default_nettype none -module tk1 ( +module tk1 #( + parameter [31:0] APP_SIZE = 32'h0 +) ( input wire clk, input wire reset_n, @@ -255,7 +257,7 @@ module tk1 ( gpio3_reg <= 1'h0; gpio4_reg <= 1'h0; app_start_reg <= 32'h0; - app_size_reg <= 32'h0; + app_size_reg <= APP_SIZE; blake2s_addr_reg <= 32'h0; cdi_mem[0] <= 32'h0; cdi_mem[1] <= 32'h0;