2016-08-27 05:39:39 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
yosys -ql tracecmp.yslog \
|
|
|
|
-p 'read_verilog -formal -norestrict -assume-asserts ../../picorv32.v' \
|
|
|
|
-p 'read_verilog -formal tracecmp.v' \
|
|
|
|
-p 'prep -top testbench -nordff' \
|
|
|
|
-p 'write_smt2 -mem -bv -wires tracecmp.smt2'
|
|
|
|
|
2016-08-29 23:23:00 +08:00
|
|
|
yosys-smtbmc -s yices --smtc tracecmp.smtc --dump-vcd output.vcd --dump-smtc output.smtc tracecmp.smt2
|
2016-08-27 05:39:39 +08:00
|
|
|
|