Skip to content

Commit 1fef313

Browse files
authored
Merge pull request #2070 from The-OpenROAD-Project-staging/do-gpl-skip-io-with-constraints
Use global_place_skip_io with HAS_IO_CONSTRAINTS
2 parents a0615e8 + 9d10b78 commit 1fef313

File tree

4 files changed

+5
-26
lines changed

4 files changed

+5
-26
lines changed

flow/designs/gf180/jpeg/metadata-base-ok.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,4 @@
303303
"synth__mem__peak": 722752.0,
304304
"synth__runtime__total": "2:12.36",
305305
"total_time": "0:15:03"
306-
}
306+
}

flow/designs/gf180/jpeg/rules-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959
"value": -19.07,
6060
"compare": ">="
6161
}
62-
}
62+
}

flow/scripts/global_place_skip_io.tcl

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,10 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
22
load_design 2_floorplan.odb 2_floorplan.sdc
33

4-
# Temporary: remove after fixing instability in GPL with multithreading
54
set_thread_count 1
65

7-
if {
8-
[info exists ::env(FLOORPLAN_DEF)] ||
9-
(
10-
[info exists ::env(HAS_IO_CONSTRAINTS)] &&
11-
$::env(HAS_IO_CONSTRAINTS) == 1
12-
) ||
13-
(
14-
[info exists ::env(IO_CONSTRAINTS)] &&
15-
(
16-
[info exists ::env(HAS_IO_CONSTRAINTS)] == 0 ||
17-
$::env(HAS_IO_CONSTRAINTS) == 1
18-
)
19-
) ||
20-
(
21-
$::env(PLACE_PINS_ARGS) != "" &&
22-
(
23-
[info exists ::env(HAS_IO_CONSTRAINTS)] == 0 ||
24-
$::env(HAS_IO_CONSTRAINTS) == 1
25-
)
26-
)
27-
} {
28-
puts "Has top down IO Constraints. Skip global placement without IOs"
6+
if { [info exists ::env(FLOORPLAN_DEF)] } {
7+
puts "FLOORPLAN_DEF is set. Skipping global placement without IOs"
298
} else {
309
source $::env(SCRIPTS_DIR)/set_place_density.tcl
3110

0 commit comments

Comments
 (0)