mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-02 14:16:28 -04:00
Add APP_SIZE parameter to tk1 block to set size of application when simulating.
This commit is contained in:
parent
5b49d80891
commit
e54045a4dd
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue