Skip to content

Commit e7cfcfd

Browse files
committed
floorplan_to_place: behavior is back to what it was on master
This PR now adds the option of skipping saving of .odb/.sdc files only Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 306ef25 commit e7cfcfd

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ configuration file.
483483

484484
## All stages variables
485485

486+
- [KEEP_VARS](#KEEP_VARS)
486487
- [NUM_CORES](#NUM_CORES)
487488
- [OPENROAD_HIERARCHICAL](#OPENROAD_HIERARCHICAL)
488489
- [SWAP_ARITH_OPERATORS](#SWAP_ARITH_OPERATORS)
@@ -520,7 +521,6 @@ configuration file.
520521
- [GLOBAL_PLACEMENT_ARGS](#GLOBAL_PLACEMENT_ARGS)
521522
- [GUI_TIMING](#GUI_TIMING)
522523
- [IR_DROP_LAYER](#IR_DROP_LAYER)
523-
- [KEEP_VARS](#KEEP_VARS)
524524
- [KLAYOUT_TECH_FILE](#KLAYOUT_TECH_FILE)
525525
- [LAYER_PARASITICS_FILE](#LAYER_PARASITICS_FILE)
526526
- [LIB_FILES](#LIB_FILES)

‎flow/scripts/floorplan_to_place.tcl‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Enable keeping variables between stages
22
set ::env(KEEP_VARS) 1
3-
set ::env(WRITE_ODB_AND_SDC_EACH_STAGE) 0
43

54
# Floorplan
65
source $::env(SCRIPTS_DIR)/floorplan.tcl
@@ -31,6 +30,3 @@ source $::env(SCRIPTS_DIR)/detail_place.tcl
3130

3231
# Repair timing after placement
3332
source $::env(SCRIPTS_DIR)/repair_timing_post_place.tcl
34-
35-
write_db $::env(RESULTS_DIR)/3_6_place_repair_timing.odb
36-
write_sdc -no_timestamp $::env(RESULTS_DIR)/3_6_place_repair_timing.sdc

‎flow/scripts/variables.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,8 @@ KEEP_VARS:
12381238
This is useful for the single-run flow, where all stages of the flow
12391239
are run in a single OpenROAD instance.
12401240
default: 0
1241+
stages:
1242+
- All stages
12411243
WRITE_ODB_AND_SDC_EACH_STAGE:
12421244
description: >
12431245
Save out .sdc and .odb file after each stage, useful to disable

0 commit comments

Comments
 (0)