|
@ -89,6 +89,7 @@ module tb_cbctdes; |
|
|
initial |
|
|
initial |
|
|
forever @(negedge reset) begin |
|
|
forever @(negedge reset) begin |
|
|
index = 0; |
|
|
index = 0; |
|
|
|
|
|
wait (reset); |
|
|
while (index < 19) begin |
|
|
while (index < 19) begin |
|
|
@(posedge clk) |
|
|
@(posedge clk) |
|
|
if (ready) begin |
|
|
if (ready) begin |
|
@ -131,7 +132,7 @@ module tb_cbctdes; |
|
|
// checker process |
|
|
// checker process |
|
|
always begin : checker |
|
|
always begin : checker |
|
|
|
|
|
|
|
|
wait (reset) |
|
|
|
|
|
|
|
|
wait (reset); |
|
|
|
|
|
|
|
|
outdex = 0; |
|
|
outdex = 0; |
|
|
// encryption tests |
|
|
// encryption tests |
|
|