@@ -109,46 +109,6 @@ DESIGN_CONFIG ?= ./designs/nangate45/gcd/config.mk
109109# this file.
110110include $(DESIGN_CONFIG )
111111
112- # For instance Bazel needs artifacts (.odb and .rpt files) on a failure to
113- # allow the user to save hours on re-running the failed step locally, but
114- # when working with a Makefile flow, it is more natural to fail the step
115- # and leave the user to manually inspect the logs and artifacts directly via
116- # the file system.
117- #
118- # Set to 1 to change the behavior to generate artifacts upon failure to
119- # e.g. do a global route. The exit code will still be non-zero on all other
120- # failures that aren't covered by the "useful to inspect the artifacts on
121- # failure" use-case.
122- #
123- # Example: just like detailed routing, a global route that fails with congestion, is not
124- # a build failure(as in exit code non-zero), it is a successful(as in zero exit code)
125- # global route that produce reports detailing the problem.
126- #
127- # Detailed route will not proceed, if there is global routing congestion
128- #
129- # This allows build systems, such as bazel, to create artifacts for global
130- # and detailed route, even if the operation had problems, without having
131- # know about the semantics between global and detailed route.
132- #
133- # Considering that global and detailed route can run for a long time and
134- # use a lot of memory, this allows inspecting results on a laptop for
135- # a build that ran on a server.
136- export GENERATE_ARTIFACTS_ON_FAILURE ?= 0
137-
138- # Default TNS_END_PERCENT value for post CTS timing repair
139- # Try fixing all violating endpoints by default (reduce to 5% for runtime)
140- export TNS_END_PERCENT ?=100
141-
142- # Default routing layer adjustment
143- export ROUTING_LAYER_ADJUSTMENT ?= 0.5
144- export RECOVER_POWER ?= 0
145- export SKIP_INCREMENTAL_REPAIR ?= 0
146- export DETAILED_METRICS ?= 0
147- export EQUIVALENCE_CHECK ?= 0
148- export CORE_UTILIZATION ?=
149- export DIE_AREA ?=
150- export CORE_AREA ?=
151-
152112# If we are running headless use offscreen rendering for save_image
153113ifeq ($(DISPLAY ) ,)
154114export QT_QPA_PLATFORM ?= offscreen
@@ -200,6 +160,8 @@ export UTILS_DIR ?= $(FLOW_HOME)/util
200160export SCRIPTS_DIR ?= $(FLOW_HOME ) /scripts
201161export TEST_DIR ?= $(FLOW_HOME ) /test
202162
163+ $(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(line)))
164+
203165PUBLIC =nangate45 sky130hd sky130hs asap7 ihp-sg13g2 gf180
204166
205167ifneq ($(wildcard $(PLATFORM_HOME ) /$(PLATFORM ) ) ,)
0 commit comments