Skip to content

Commit a85b1fd

Browse files
committed
Fix array bounds in test/orfs/mock-array/power.tcl
Signed-off-by: Matt Liberty <[email protected]>
1 parent aedca3b commit a85b1fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/orfs/mock-array/power.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ if { [llength $no_vcd_activity] > 0 } {
6666
}
6767

6868
set ces {}
69-
for { set x 0 } { $x < 8 } { incr x } {
70-
for { set y 0 } { $y < 8 } { incr y } {
69+
for { set x 0 } { $x < $::env(ARRAY_COLS) } { incr x } {
70+
for { set y 0 } { $y < $::env(ARRAY_ROWS) } { incr y } {
7171
lappend ces ces_${x}_${y}
7272
}
7373
}

0 commit comments

Comments
 (0)