diff options
Diffstat (limited to 'src/tb/tb_keywrap_core.v')
-rw-r--r-- | src/tb/tb_keywrap_core.v | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tb/tb_keywrap_core.v b/src/tb/tb_keywrap_core.v index 1b9d96a..8d055fe 100644 --- a/src/tb/tb_keywrap_core.v +++ b/src/tb/tb_keywrap_core.v @@ -64,8 +64,8 @@ module tb_keywrap_core(); reg tb_keylen; reg [63 : 0] tb_a_init; wire [63 : 0] tb_a_result; - reg tb_api_cs; reg tb_api_we; + reg [13 : 0] tb_api_addr; reg [31 : 0] tb_api_wr_data; wire [31 : 0] tb_api_rd_data; @@ -76,18 +76,23 @@ module tb_keywrap_core(); keywrap_core dut( .clk(tb_clk), .reset_n(tb_reset_n), + .init(tb_init), .next(tb_next), .encdec(tb_encdec), + .ready(tb_ready), .valid(tb_valid), + .rlen(tb_rlen), .key(tb_key), .keylen(tb_keylen), + .a_init(tb_a_init), .a_result(tb_a_result), - .api_cs(tb_api_cs), + .api_we(tb_api_we), + .api_addr(tb_api_addr), .api_wr_data(tb_api_wr_data), .api_rd_data(tb_api_rd_data) ); @@ -140,8 +145,8 @@ module tb_keywrap_core(); tb_key = 256'h0; tb_keylen = 0; tb_a_init = 64'h0; - tb_api_cs = 0; tb_api_we = 0; + tb_api_addr = 14'h0; tb_api_wr_data = 32'h0; |