mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-01 07:40:42 +00:00
Improvements in yosys-smtbmc
This commit is contained in:
parent
821f1b8534
commit
d7de0f4bd1
3 changed files with 38 additions and 21 deletions
|
@ -5,11 +5,10 @@ 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
|
||||
yosys-smtbmc: backends/smt2/smtbmc.py
|
||||
$(P) sed '3 { p; s|.*|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|; }' < $< > $@.new
|
||||
$(Q) chmod +x $@.new
|
||||
$(Q) mv $@.new $@
|
||||
|
||||
$(eval $(call add_share_file,share/python3,backends/smt2/smtio.py))
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue