Skip to content

Commit c1dc39c

Browse files
committed
mock-array: add pins on multiple metal layers
No other test-case in ORFS before this of pins on multiple metal layers. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 32154ff commit c1dc39c

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

flow/designs/asap7/mock-array/Element/config.mk

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@ export PDN_TCL = $(FLOW_HOME)/platforms/asap7/openRoad/pdn/BLOCK_
2929
# If this design isn't quickly done in detailed routing, something is wrong.
3030
# At time of adding this option, only 3 iterations were needed for 0
3131
# violations.
32-
export DETAILED_ROUTE_ARGS=-bottom_routing_layer M2 -top_routing_layer M5 -save_guide_updates -verbose 1 -droute_end_iter 10
32+
export DETAILED_ROUTE_END_ITERATION = 10
3333

3434
# since we are specifying DETAILED_ROUTE_ARGS, we need to communicate the
3535
# same information to other stages in the flow.
36-
export MIN_ROUTING_LAYER = M2
37-
export MAX_ROUTING_LAYER = M5
36+
export MAX_ROUTING_LAYER = M7
3837

39-
export PLACE_PINS_ARGS = -annealing
38+
export IO_PLACER_H=M4 M6
39+
export IO_PLACER_V=M5 M7
40+
41+
# FIXME annealing takes a long time
42+
# export PLACE_PINS_ARGS = -annealing
4043

4144
export GND_NETS_VOLTAGES =
4245
export PWR_NETS_VOLTAGES =

flow/designs/asap7/mock-array/Element/io.tcl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ proc zip {list1 list2} {
4242
foreach {direction direction2 names} $assignments {
4343
set mirrored [zip {*}$names]
4444
set_io_pin_constraint -region $direction2:* -pin_names [lindex $names 1]
45-
set_io_pin_constraint -group -order -pin_names [lindex $names 1]
45+
# Test pins across multiple metal layers; so don't group
46+
# pins as a group of pins must be on a single metal layer.
47+
#
48+
# set_io_pin_constraint -group -order -pin_names [lindex $names 1]
4649
set_io_pin_constraint -mirrored_pins $mirrored
4750
}
4851

flow/designs/asap7/mock-array/config.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ power:
5959
# If this design isn't quickly done in detailed routing, something is wrong.
6060
# At time of adding this option, only 12 iterations were needed for 0
6161
# violations.
62-
export DETAILED_ROUTE_ARGS = -bottom_routing_layer M2 -top_routing_layer M7 -save_guide_updates -verbose 1 -droute_end_iter 15
62+
export DETAILED_ROUTE_END_ITERATION = 15
6363

64-
export MIN_ROUTING_LAYER = M2
65-
export MAX_ROUTING_LAYER = M7
64+
export MAX_ROUTING_LAYER = M9
6665
export ROUTING_LAYER_ADJUSTMENT = 0.45
6766

6867
# works with 28 or more iterations as of writing, so give it a few more.

0 commit comments

Comments
 (0)