diff options
Diffstat (limited to 'examples/smtbmc/Makefile')
-rw-r--r-- | examples/smtbmc/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/smtbmc/Makefile b/examples/smtbmc/Makefile new file mode 100644 index 000000000..48c81a463 --- /dev/null +++ b/examples/smtbmc/Makefile @@ -0,0 +1,13 @@ + +demo1: demo1.smt2 + yosys-smtbmc -c demo1.vcd demo1.smt2 + yosys-smtbmc -i -c demo1.vcd demo1.smt2 + +demo1.smt2: demo1.v + yosys -p 'read_verilog -formal demo1.v; prep -top demo1; write_smt2 -wires -mem -bv demo1.smt2' + +clean: + rm -f demo1.smt2 + +.PHONY: demo1 clean + |