Browse Source

wait for rising edge of reset before send stimuli data

master
T. Meissner 11 years ago
parent
commit
2a2aa23e21
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cbctdes/sim/verilog/tb_cbctdes.v

+ 2
- 1
cbctdes/sim/verilog/tb_cbctdes.v View File

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


Loading…
Cancel
Save