Skip to content

Commit 538b6e6

Browse files
Noam Cohennanocoh
authored andcommitted
Add KEPLER_FORMAL_EXE env
Signed-off-by: nanocoh <noam.chn1@gmail.com>
1 parent 8b98a3f commit 538b6e6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

flow/scripts/lec_check.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ proc write_lec_script { step file1 file2 } {
2323
proc run_lec_test { step file1 file2 } {
2424
write_lec_script $step $file1 $file2
2525
# tclint-disable-next-line command-args
26-
eval exec kepler-formal --config $::env(OBJECTS_DIR)/${step}_lec_test.yml
26+
eval exec $::env(KEPLER_FORMAL_EXE) --config $::env(OBJECTS_DIR)/${step}_lec_test.yml
2727
try {
2828
set count [exec grep -c "Found difference" $::env(LOG_DIR)/${step}_lec_check.log]]
2929
} trap CHILDSTATUS {results options} {

flow/scripts/variables.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ YOSYS_IS_VALID := $(if $(YOSYS_EXE),$(shell test -x $(YOSYS_EXE) && echo "true")
117117
KLAYOUT_DIR = $(abspath $(FLOW_HOME)/../tools/install/klayout/)
118118
KLAYOUT_BIN_FROM_DIR = $(KLAYOUT_DIR)/klayout
119119

120+
KEPLER_FORMAL_EXE ?= $(abspath $(FLOW_HOME)/../tools/install/kepler-formal/bin/kepler-formal)
121+
export KEPLER_FORMAL_EXE := $(KEPLER_FORMAL_EXE)
122+
120123
ifeq ($(wildcard $(KLAYOUT_BIN_FROM_DIR)), $(KLAYOUT_BIN_FROM_DIR))
121124
export KLAYOUT_CMD ?= sh -c 'LD_LIBRARY_PATH=$(dir $(KLAYOUT_BIN_FROM_DIR)) $$0 "$$@"' $(KLAYOUT_BIN_FROM_DIR)
122125
else

0 commit comments

Comments
 (0)