aboutsummaryrefslogtreecommitdiff
path: root/src/tb
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-05-21 17:57:42 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-05-21 17:57:42 +0200
commit8d0777b9f58efdc57fe9f2caa75b0ee6e2aae7b1 (patch)
tree4ce8ad6f50ee2bda045844a075b2c38bd33fc01f /src/tb
parentac77ca2bfe6d184c13da7ba90e8276ed0fc35765 (diff)
Moved the Sbox used for key expansion into the key_mem.
Diffstat (limited to 'src/tb')
-rw-r--r--src/tb/tb_aes_key_mem.v11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/tb/tb_aes_key_mem.v b/src/tb/tb_aes_key_mem.v
index cac216a..b76fb64 100644
--- a/src/tb/tb_aes_key_mem.v
+++ b/src/tb/tb_aes_key_mem.v
@@ -78,9 +78,6 @@ module tb_aes_key_mem();
wire [127 : 0] tb_round_key;
wire tb_ready;
- wire [31 : 0] tb_sboxw;
- wire [31 : 0] tb_new_sboxw;
-
//----------------------------------------------------------------
// Device Under Test.
@@ -95,15 +92,9 @@ module tb_aes_key_mem();
.round(tb_round),
.round_key(tb_round_key),
- .ready(tb_ready),
-
- .sboxw(tb_sboxw),
- .new_sboxw(tb_new_sboxw)
+ .ready(tb_ready)
);
- // The DUT requirees Sboxes.
- aes_sbox sbox(.sboxw(tb_sboxw), .new_sboxw(tb_new_sboxw));
-
//----------------------------------------------------------------
// clk_gen