Skip to content

Commit f6356a0

Browse files
authored
Merge pull request #2367 from Pinata-Consulting/makefile-simpler-with-run
Makefile simpler with run
2 parents 8bed575 + 6ffa4f0 commit f6356a0

File tree

4 files changed

+3
-14
lines changed

4 files changed

+3
-14
lines changed

docs/user/FlowVariables.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,9 @@ Note:
145145
| `IO_PLACER_H` | The metal layer on which to place the I/O pins horizontally (top and bottom of the die). |
146146
| `IO_PLACER_V` | The metal layer on which to place the I/O pins vertically (sides of the die). |
147147
| `GUI_NO_TIMING` | Skip loading timing for a faster GUI load. |
148-
| `GUI_SOURCE` | Source the script. |
149-
| `GUI_ARGS` | OpenROAD command line options for gui_ and open_ targets, typically set tup `-exit` in combination with GUI_SOURCE to run a script and exit. |
150148
| `FILL_CELLS` | Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped. |
151149
| `TAP_CELL_NAME` | Name of the cell to use in tap cell insertion. |
152150

153-
154151
### Placement
155152

156153

flow/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ endef
614614
define OPEN_GUI
615615
.PHONY: $(1)_$(2)
616616
$(1)_$(2):
617-
$(3)=$(RESULTS_DIR)/$(2) $(4) $(GUI_ARGS) $(SCRIPTS_DIR)/gui.tcl
617+
$(3)=$(RESULTS_DIR)/$(2) $(4) $(SCRIPTS_DIR)/gui.tcl
618618
endef
619619

620620
# Separate dependency checking and doing a step. This can
@@ -1092,10 +1092,10 @@ $(foreach file,$(RESULTS_DEF) $(RESULTS_GDS) $(RESULTS_OAS),klayout_$(file)): kl
10921092

10931093
.PHONY: gui_synth
10941094
gui_synth:
1095-
$(OPENROAD_GUI_CMD) $(GUI_ARGS) $(SCRIPTS_DIR)/sta-synth.tcl
1095+
$(OPENROAD_GUI_CMD) $(SCRIPTS_DIR)/sta-synth.tcl
10961096
.PHONY: open_synth
10971097
open_synth:
1098-
$(OPENROAD_NO_EXIT_CMD) $(GUI_ARGS) $(SCRIPTS_DIR)/sta-synth.tcl
1098+
$(OPENROAD_NO_EXIT_CMD) $(SCRIPTS_DIR)/sta-synth.tcl
10991099

11001100
$(eval $(call OPEN_GUI_SHORTCUT,floorplan,2_floorplan.odb))
11011101
$(eval $(call OPEN_GUI_SHORTCUT,place,3_place.odb))

flow/scripts/gui.tcl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,3 @@ proc read_timing {input_file} {
5252
if {![info exist ::env(GUI_NO_TIMING)]} {
5353
read_timing $input_file
5454
}
55-
56-
if {[info exist env(GUI_SOURCE)]} {
57-
source $::env(GUI_SOURCE)
58-
}

flow/scripts/sta-synth.tcl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
22
load_design 1_synth.v 1_synth.sdc
3-
4-
if {[info exist env(GUI_SOURCE)]} {
5-
source $::env(GUI_SOURCE)
6-
}

0 commit comments

Comments
 (0)