diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-08-24 22:09:50 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-08-24 22:09:50 +0200 |
commit | ee3e7a0e45e764c2655391b0e444e4379c97fe3c (patch) | |
tree | d2b087e184ebffdcd9791be7a95073b912fd2749 /examples | |
parent | cd18235f30221ea2a5d51ab8b1d2639f51f1e99d (diff) | |
download | yosys-ee3e7a0e45e764c2655391b0e444e4379c97fe3c.tar.gz yosys-ee3e7a0e45e764c2655391b0e444e4379c97fe3c.tar.bz2 yosys-ee3e7a0e45e764c2655391b0e444e4379c97fe3c.zip |
yosys-smtbmc --smtc -g
Diffstat (limited to 'examples')
-rw-r--r-- | examples/smtbmc/.gitignore | 9 | ||||
-rw-r--r-- | examples/smtbmc/Makefile | 10 |
2 files changed, 14 insertions, 5 deletions
diff --git a/examples/smtbmc/.gitignore b/examples/smtbmc/.gitignore new file mode 100644 index 000000000..1c9afd5ba --- /dev/null +++ b/examples/smtbmc/.gitignore @@ -0,0 +1,9 @@ +demo1.smt2 +demo1.yslog +demo2.smt2 +demo2.vcd +demo2.yslog +demo2_tb +demo2_tb.smtc +demo2_tb.v +demo2_tb.vcd diff --git a/examples/smtbmc/Makefile b/examples/smtbmc/Makefile index 711be712b..a266567e4 100644 --- a/examples/smtbmc/Makefile +++ b/examples/smtbmc/Makefile @@ -6,19 +6,19 @@ demo1: demo1.smt2 yosys-smtbmc -i --dump-vcd demo1.vcd demo1.smt2 demo2: demo2.smt2 - yosys-smtbmc -g --dump-vcd demo2.vcd --dump-vlogtb demo2_tb.v --dump-constr demo2.smtc demo2.smt2 + yosys-smtbmc -g --dump-vcd demo2.vcd --dump-vlogtb demo2_tb.v --dump-smtc demo2_tb.smtc demo2.smt2 iverilog -g2012 -o demo2_tb demo2_tb.v demo2.v vvp demo2_tb +vcd=demo2_tb.vcd demo1.smt2: demo1.v - yosys -p 'read_verilog -formal demo1.v; prep -top demo1 -nordff; write_smt2 -wires -mem -bv demo1.smt2' + yosys -ql demo1.yslog -p 'read_verilog -formal demo1.v; prep -top demo1 -nordff; write_smt2 -wires -mem -bv demo1.smt2' demo2.smt2: demo2.v - yosys -p 'read_verilog -formal demo2.v; prep -top demo2 -nordff; write_smt2 -wires -mem -bv demo2.smt2' + yosys -ql demo2.yslog -p 'read_verilog -formal demo2.v; prep -top demo2 -nordff; write_smt2 -wires -mem -bv demo2.smt2' clean: - rm -f demo1.smt2 demo1.vcd - rm -f demo2.smt2 demo2.vcd demo2_tb.v demo2_tb demo2_tb.vcd + rm -f demo1.yslog demo1.smt2 demo1.vcd + rm -f demo2.yslog demo2.smt2 demo2.vcd demo2_tb.v demo2_tb demo2_tb.vcd demo2_tb.smtc .PHONY: demo1 clean |