Skip to content

Commit 0e02037

Browse files
committed
makefile: remove single openroad invocation to run through all stages
This capability does not have CI tests and has rotted, clean it out to clarify the code. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent d723079 commit 0e02037

File tree

4 files changed

+25
-98
lines changed

4 files changed

+25
-98
lines changed

flow/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,7 @@ clean_finish:
968968
# ==============================================================================
969969

970970
.PHONY: all
971-
all: $(SDC_FILE) $(WRAPPED_LIBS) $(DONT_USE_LIBS) $(OBJECTS_DIR)/klayout.lyt $(WRAPPED_GDSOAS) $(DONT_USE_SC_LIB)
972-
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
973-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/run_all.tcl -metrics $(LOG_DIR)/run_all.json) 2>&1 | tee $(LOG_DIR)/run_all.log
971+
all: synth floorplan place cts route finish
974972

975973
.PHONY: clean
976974
clean:

flow/scripts/generate_abstract.tcl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@ if {[info exist ::env(CDL_FILES)]} {
2727
cdl read_masters $::env(CDL_FILES)
2828
cdl out $::env(RESULTS_DIR)/$stem.cdl
2929
}
30-
31-
if {![info exists standalone] || $standalone} {
32-
exit
33-
}

flow/scripts/load.tcl

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,33 @@
11
proc load_design {design_file sdc_file msg} {
2-
if {![info exists standalone] || $standalone} {
3-
# Read liberty files
4-
source $::env(SCRIPTS_DIR)/read_liberty.tcl
5-
6-
# Read design files
7-
set ext [file extension $design_file]
8-
if {$ext == ".v"} {
9-
read_lef $::env(TECH_LEF)
10-
read_lef $::env(SC_LEF)
11-
if {[info exist ::env(ADDITIONAL_LEFS)]} {
12-
foreach lef $::env(ADDITIONAL_LEFS) {
13-
read_lef $lef
14-
}
2+
# Read liberty files
3+
source $::env(SCRIPTS_DIR)/read_liberty.tcl
4+
5+
# Read design files
6+
set ext [file extension $design_file]
7+
if {$ext == ".v"} {
8+
read_lef $::env(TECH_LEF)
9+
read_lef $::env(SC_LEF)
10+
if {[info exist ::env(ADDITIONAL_LEFS)]} {
11+
foreach lef $::env(ADDITIONAL_LEFS) {
12+
read_lef $lef
1513
}
16-
read_verilog $::env(RESULTS_DIR)/$design_file
17-
link_design $::env(DESIGN_NAME)
18-
} elseif {$ext == ".odb"} {
19-
read_db $::env(RESULTS_DIR)/$design_file
20-
} else {
21-
error "Unrecognized input file $design_file"
2214
}
15+
read_verilog $::env(RESULTS_DIR)/$design_file
16+
link_design $::env(DESIGN_NAME)
17+
} elseif {$ext == ".odb"} {
18+
read_db $::env(RESULTS_DIR)/$design_file
19+
} else {
20+
error "Unrecognized input file $design_file"
21+
}
2322

24-
# Read SDC file
25-
read_sdc $::env(RESULTS_DIR)/$sdc_file
23+
# Read SDC file
24+
read_sdc $::env(RESULTS_DIR)/$sdc_file
2625

27-
if [file exists $::env(PLATFORM_DIR)/derate.tcl] {
28-
source $::env(PLATFORM_DIR)/derate.tcl
29-
}
30-
31-
source $::env(PLATFORM_DIR)/setRC.tcl
32-
} else {
33-
puts $msg
26+
if [file exists $::env(PLATFORM_DIR)/derate.tcl] {
27+
source $::env(PLATFORM_DIR)/derate.tcl
3428
}
29+
30+
source $::env(PLATFORM_DIR)/setRC.tcl
3531
}
3632

3733
#===========================================================================================

flow/scripts/run_all.tcl

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)