Skip to content

Commit 4a55be1

Browse files
committed
Merge remote-tracking branch 'private/master' into secure-grt-rudy-tweak
2 parents f253a1d + 1cbce35 commit 4a55be1

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ klayout:
10541054
.phony: run
10551055
run:
10561056
@mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
1057-
($(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT) 2>&1 | tee $(abspath $(LOG_DIR)/run.log))
1057+
($(OPENROAD_CMD) -no_splash $(if $(filter %.py,$(RUN_SCRIPT)),-python) $(RUN_SCRIPT) 2>&1 | tee $(abspath $(LOG_DIR)/$(RUN_LOG_NAME_STEM).log))
10581058

10591059
# Utilities
10601060
#-------------------------------------------------------------------------------

flow/scripts/open.tcl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ proc read_timing {input_file} {
5757
puts "OK"
5858
}
5959

60+
if {[ord::openroad_gui_compiled]} {
61+
set db_basename [file rootname [file tail $input_file]]
62+
gui::set_title "OpenROAD - $::env(PLATFORM)/$::env(DESIGN_NICKNAME)/$::env(FLOW_VARIANT) - ${db_basename}"
63+
}
64+
6065
if {[env_var_equals GUI_TIMING 1]} {
6166
puts "GUI_TIMING=1 reading timing, takes a little while for large designs..."
6267
read_timing $input_file

flow/scripts/variables.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,3 +875,12 @@ GDS_ALLOW_EMPTY:
875875
Regular expression of module names of macros that have no .gds file
876876
stages:
877877
- final
878+
RUN_SCRIPT:
879+
description: >
880+
Path to script to run from `make run`, python or tcl script detected by
881+
.py or .tcl extension.
882+
RUN_LOG_NAME_STEM:
883+
description: >
884+
Stem of the log file name, the log file will be named
885+
`$(LOG_DIR)/$(RUN_LOG_NAME_STEM).log`.
886+
default: run

0 commit comments

Comments
 (0)