3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-27 17:59:26 +00:00

Added examples/smtbmc

This commit is contained in:
Clifford Wolf 2016-07-13 09:49:05 +02:00
parent 2afc72cae3
commit b3155af5f6
2 changed files with 30 additions and 0 deletions

13
examples/smtbmc/Makefile Normal file
View file

@ -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