Skip to content

Commit 215191a

Browse files
committed
Merge remote-tracking branch 'origin/master' into HEAD
2 parents d9b9cfa + 6eac4b1 commit 215191a

File tree

12 files changed

+419
-403
lines changed

12 files changed

+419
-403
lines changed

flow/.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.2.1
1+
7.4.0rc3

flow/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ filegroup(
1010

1111
orfs_flow(
1212
name = "gcd",
13-
stage_args = {
13+
stage_arguments = {
1414
"synth": {
1515
"SDC_FILE": "$(location :constraints-gcd)",
1616
},
@@ -64,7 +64,7 @@ all_sources = [":additional_lefs", ":additional_libs"]
6464

6565
orfs_flow(
6666
name = "swerv_wrapper",
67-
stage_args = {
67+
stage_arguments = {
6868
"synth": SWERV_ALL | {
6969
"SYNTH_HIERARCHICAL": "1",
7070
"SDC_FILE": "$(location :constraints-swerv)",
@@ -153,7 +153,7 @@ MOCK_ARRAY_FLOORPLAN_PLACE = {
153153
orfs_flow(
154154
name = "MockArray",
155155
macros = ["Element_generate_abstract"],
156-
stage_args = {
156+
stage_arguments = {
157157
"synth": {
158158
"SDC_FILE": "$(location :mock-array-constraints)",
159159
},
@@ -222,7 +222,7 @@ mock_array_all_sources = ["designs/src/mock-array/util.tcl"]
222222
orfs_flow(
223223
name = "Element",
224224
abstract_stage = "route",
225-
stage_args = {
225+
stage_arguments = {
226226
"synth": MOCK_ARRAY_ELEMENT_ALL | {
227227
"SDC_FILE": "$(location :mock-array-constraints)",
228228
},

flow/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module(
77
bazel_dep(name = "bazel-orfs")
88
git_override(
99
module_name = "bazel-orfs",
10-
commit = "16eb5dd5b31bdeacc0b3006a71dbce29076e9850",
10+
commit = "b12fc7a172d4211315ec36214f872595e084ab25",
1111
remote = "https://github.com/The-OpenROAD-Project/bazel-orfs.git",
1212
)
1313

flow/MODULE.bazel.lock

Lines changed: 16 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flow/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ synth-report: synth
437437

438438
.PHONY: do-synth-report
439439
do-synth-report:
440-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/synth_metrics.tcl) 2>&1 | tee $(LOG_DIR)/1_1_yosys_metrics.log
440+
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/synth_metrics.tcl) 2>&1 | tee $(abspath $(LOG_DIR)/1_1_yosys_metrics.log)
441441

442442
.PHONY: memory
443443
memory:
@@ -860,7 +860,7 @@ generate_abstract: $(RESULTS_DIR)/6_final.gds $(RESULTS_DIR)/6_final.def $(RESU
860860
.PHONY: do-generate_abstract
861861
do-generate_abstract:
862862
mkdir -p $(LOG_DIR) $(REPORTS_DIR)
863-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/generate_abstract.tcl -metrics $(LOG_DIR)/generate_abstract.json) 2>&1 | tee $(LOG_DIR)/generate_abstract.log
863+
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/generate_abstract.tcl -metrics $(LOG_DIR)/generate_abstract.json) 2>&1 | tee $(abspath $(LOG_DIR)/generate_abstract.log)
864864

865865
.PHONY: clean_abstract
866866
clean_abstract:
@@ -878,7 +878,7 @@ $(WRAPPED_GDSOAS): $(OBJECTS_DIR)/klayout_wrap.lyt $(WRAPPED_LEFS)
878878
-rd out_file=$@ \
879879
-rd tech_file=$(OBJECTS_DIR)/klayout_wrap.lyt \
880880
-rd layer_map=$(GDS_LAYER_MAP) \
881-
-r $(UTILS_DIR)/def2stream.py) 2>&1 | tee $(LOG_DIR)/6_merge_$(basename $(notdir $@)).log
881+
-r $(UTILS_DIR)/def2stream.py) 2>&1 | tee $(abspath $(LOG_DIR)/6_merge_$(basename $(notdir $@)).log)
882882

883883
# Merge GDS using Klayout
884884
#-------------------------------------------------------------------------------
@@ -896,7 +896,7 @@ do-gds-merged:
896896
-rd out_file=$(GDS_MERGED_FILE) \
897897
-rd tech_file=$(OBJECTS_DIR)/klayout.lyt \
898898
-rd layer_map=$(GDS_LAYER_MAP) \
899-
-r $(UTILS_DIR)/def2stream.py) 2>&1 | tee $(LOG_DIR)/6_1_merge.log
899+
-r $(UTILS_DIR)/def2stream.py) 2>&1 | tee $(abspath $(LOG_DIR)/6_1_merge.log)
900900

901901
$(RESULTS_DIR)/6_final.v: $(LOG_DIR)/6_report.log
902902

@@ -916,15 +916,15 @@ ifneq ($(KLAYOUT_DRC_FILE),)
916916
$(call KLAYOUT_FOUND)
917917
($(TIME_CMD) $(KLAYOUT_CMD) -zz -rd in_gds="$<" \
918918
-rd report_file=$(abspath $@) \
919-
-r $(KLAYOUT_DRC_FILE)) 2>&1 | tee $(LOG_DIR)/6_drc.log
919+
-r $(KLAYOUT_DRC_FILE)) 2>&1 | tee $(abspath $(LOG_DIR)/6_drc.log)
920920
# Hacky way of getting DRV count (don't error on no matches)
921921
grep -c "<value>" $@ > $(REPORTS_DIR)/6_drc_count.rpt || [[ $$? == 1 ]]
922922
else
923923
echo "DRC not supported on this platform" > $@
924924
endif
925925

926926
$(RESULTS_DIR)/6_final.cdl: $(RESULTS_DIR)/6_final.v
927-
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/cdl.tcl) 2>&1 | tee $(LOG_DIR)/6_cdl.log
927+
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/cdl.tcl) 2>&1 | tee $(abspath $(LOG_DIR)/6_cdl.log)
928928

929929
$(OBJECTS_DIR)/6_final_concat.cdl: $(RESULTS_DIR)/6_final.cdl $(CDL_FILE)
930930
cat $^ > $@
@@ -938,7 +938,7 @@ ifneq ($(KLAYOUT_LVS_FILE),)
938938
($(TIME_CMD) $(KLAYOUT_CMD) -b -rd in_gds="$<" \
939939
-rd cdl_file=$(abspath $(OBJECTS_DIR)/6_final_concat.cdl) \
940940
-rd report_file=$(abspath $@) \
941-
-r $(KLAYOUT_LVS_FILE)) 2>&1 | tee $(LOG_DIR)/6_lvs.log
941+
-r $(KLAYOUT_LVS_FILE)) 2>&1 | tee $(abspath $(LOG_DIR)/6_lvs.log)
942942
else
943943
echo "LVS not supported on this platform" > $@
944944
endif

flow/designs/asap7/mock-array/config.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ export ROUTING_LAYER_ADJUSTMENT = 0.45
6666
export MACRO_HALO_X = 0.5
6767
export MACRO_HALO_Y = 0.5
6868

69-
export ADDITIONAL_FILES = designs/src/mock-array/util.tcl
69+
export ADDITIONAL_FILES = \
70+
designs/src/mock-array/util.tcl \
71+
designs/asap7/mock-array/macro-placement.tcl
7072

7173
export IO_PLACER_V = M5 M7
7274
export IO_PLACER_H = M4 M6

0 commit comments

Comments
 (0)