aboutsummaryrefslogtreecommitdiff
path: root/src/tb/tb_aes.v
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-05-16 12:15:01 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-05-16 12:15:01 +0200
commitd35e060d1d66691e63f2d20c2500723b4bae8566 (patch)
treec5cd342dfc37f76312156caed6616e3d93ed17ee /src/tb/tb_aes.v
parent241a101d64f2f66ba53a8996d3499b23d5815f1b (diff)
(1) Changed name and version to reflect that it is not only AES-128 and that the core is fairly close to done. (2) Moved counter update.
Diffstat (limited to 'src/tb/tb_aes.v')
-rw-r--r--src/tb/tb_aes.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tb/tb_aes.v b/src/tb/tb_aes.v
index 3c1f7cc..f25fcf3 100644
--- a/src/tb/tb_aes.v
+++ b/src/tb/tb_aes.v
@@ -387,7 +387,6 @@ module tb_aes();
input [127 : 0] expected);
begin
$display("*** TC %0d ECB mode test started.", tc_number);
- tc_ctr = tc_ctr + 1;
init_key(key, key_length);
write_block(block);
@@ -402,6 +401,7 @@ module tb_aes();
if (result_data == expected)
begin
+ tc_ctr = tc_ctr + 1;
$display("*** TC %0d successful.", tc_number);
$display("");
end