@@ -268,30 +268,14 @@ endif
268268# The following determine the executable location for each tool used by this flow.
269269# Priority is given to
270270# 1 user explicit set with variable in Makefile or command line, for instance setting OPENROAD_EXE
271- # 2 user include PATH to the executable prior to running make
272- # 3 ORFS compiled tools: openroad, yosys
273- export OPENROAD_EXE ?= $(shell command -v openroad)
274- ifeq ($(OPENROAD_EXE ) ,)
275- export OPENROAD_EXE = $(abspath $(FLOW_HOME ) /../tools/install/OpenROAD/bin/openroad)
276- endif
271+ # 2 ORFS compiled tools: openroad, yosys
272+ export OPENROAD_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/OpenROAD/bin/openroad)
273+
277274OPENROAD_ARGS = -no_init $(OR_ARGS )
278275OPENROAD_CMD = $(OPENROAD_EXE ) -exit $(OPENROAD_ARGS )
279276OPENROAD_NO_EXIT_CMD = $(OPENROAD_EXE ) $(OPENROAD_ARGS )
280277OPENROAD_GUI_CMD = $(OPENROAD_EXE ) -gui $(OR_ARGS )
281278
282- YOSYS_OLDEST_VERSION = 0.13
283- YOSYS_CMD ?= $(shell command -v yosys)
284- ifneq ($(YOSYS_CMD ) ,)
285- YOSYS_VER := $(shell $(YOSYS_CMD ) -V | sed -n 's/^Yosys \([0-9]* \.[0-9]* \) .*/\1/p')
286- # Semantic Versioning Comparison
287- VERSION_GTEQ := $(shell echo -e "$(YOSYS_VER ) \n$(YOSYS_OLDEST_VERSION ) " | sort -V | head -n1)
288- ifeq ($(VERSION_GTEQ),$(YOSYS_OLDEST_VERSION))
289- $(info Using Yosys $(YOSYS_VER) found in path, it is newer or equal to $(YOSYS_OLDEST_VERSION))
290- else
291- $(info Yosys $(YOSYS_VER) is too old, using $(abspath $(FLOW_HOME)/../tools/install/yosys/bin/yosys))
292- undefine YOSYS_CMD
293- endif
294- endif
295279YOSYS_CMD ?= $(abspath $(FLOW_HOME ) /../tools/install/yosys/bin/yosys)
296280
297281KLAYOUT_CMD ?= $(shell command -v klayout)
0 commit comments