diff options
Diffstat (limited to 'src/tb/tb_keywrap.v')
-rw-r--r-- | src/tb/tb_keywrap.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tb/tb_keywrap.v b/src/tb/tb_keywrap.v index 412bdb2..c53790b 100644 --- a/src/tb/tb_keywrap.v +++ b/src/tb/tb_keywrap.v @@ -80,6 +80,7 @@ module tb_keywrap(); localparam ADDR_R_DATA0 = 8'h80; localparam ADDR_R_DATA127 = 8'hff; + localparam DUT_ASPACE = 12; //---------------------------------------------------------------- // Register and Wire declarations. @@ -95,7 +96,7 @@ module tb_keywrap(); reg tb_reset_n; reg tb_cs; reg tb_we; - reg [7 : 0] tb_address; + reg [(DUT_ASPACE - 1) : 0] tb_address; reg [31 : 0] tb_write_data; wire [31 : 0] tb_read_data; wire tb_error; |