Skip to content

Commit fd46cca

Browse files
committed
test bench is updated
1 parent cf03665 commit fd46cca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template/test_coram.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ module test;
12011201
end
12021202
endtask
12031203

1204-
integer i;
1204+
integer cycle_count;
12051205

12061206
initial begin
12071207
if(SINGLE_CLOCK &&
@@ -1292,11 +1292,11 @@ module test;
12921292

12931293
nclk();
12941294

1295-
for(i=0; i<SIM_CYCLE; i=i+1) begin
1295+
for(cycle_count=0; cycle_count<SIM_CYCLE; cycle_count=cycle_count+1) begin
12961296
nclk();
12971297
end
12981298

1299-
$display("[CoRAM] time:%d simulation time out. cycle:%d", $stime, i);
1299+
$display("[CoRAM] time:%d simulation time out. cycle:%d", $stime, cycle_count);
13001300
$finish;
13011301
end
13021302

0 commit comments

Comments
 (0)