Skip to content

Commit 48089c1

Browse files
committed
Remove - test snippet
Signed-off-by: louiic <[email protected]>
1 parent 2b78124 commit 48089c1

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

flow/designs/asap7/mock-array-big/macro-placement.tcl

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,15 @@ set units [$block getDefUnits]
88
set x [expr ($margin_x + ($ce_pitch_x / 2)) * $units]
99
set y [expr ($margin_y + ($ce_pitch_y / 2)) * $units]
1010

11-
set instList [list]
12-
for {set i 0} {$i < 8} {incr i} {
13-
for {set j 0} {$j < 8} {incr j} {
14-
lappend instList [format "ces_%d_%d" $i $j]
15-
}
16-
}
17-
18-
set i 0
1911
for {set row 0} {$row < $rows} {incr row} {
2012
for {set col 0} {$col < $cols} {incr col} {
21-
set inst [$block findInst [lindex $instList $i]]
13+
set inst [$block findInst [format "ces_%d_%d" $row $col]]
2214
$inst setOrient R0
2315

2416
$inst setOrigin [expr int($x)] [expr int($y)]
2517
$inst setPlacementStatus FIRM
2618

2719
set x [expr $x + ($ce_pitch_x * $units)]
28-
incr i
29-
if { $i == 64 } {
30-
break
31-
}
32-
}
33-
if { $i == 64 } {
34-
break
3520
}
3621
set y [expr $y + ($ce_pitch_y * $units)]
3722
set x [expr ($margin_x + ($ce_pitch_x / 2)) * $units]

0 commit comments

Comments
 (0)