File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
flow/designs/asap7/mock-array-big Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -8,30 +8,15 @@ set units [$block getDefUnits]
88set x [expr ($margin_x + ($ce_pitch_x / 2)) * $units ]
99set 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
1911for {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 ]
You can’t perform that action at this time.
0 commit comments