3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-30 15:00:26 +00:00

Added yosys-smtbmc

This commit is contained in:
Clifford Wolf 2015-10-14 00:37:41 +02:00
parent 7bcd2a4bb3
commit 821f1b8534
2 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,17 @@
OBJS += backends/smt2/smt2.o
ifneq ($(CONFIG),mxe)
ifneq ($(CONFIG),emcc)
TARGETS += yosys-smtbmc
yosys-smtbmc:
$(P) sed '3 { p; s|.*|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|; }' \
< backends/smt2/smtbmc.py > yosys-smtbmc.new
$(Q) chmod +x yosys-smtbmc.new
$(Q) mv yosys-smtbmc.new yosys-smtbmc
$(eval $(call add_share_file,share/python3,backends/smt2/smtio.py))
endif
endif