2016-08-29 11:23:00 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
yosys -ql notrap_validop.yslog \
|
|
|
|
-p 'read_verilog -formal -norestrict -assume-asserts ../../picorv32.v' \
|
|
|
|
-p 'read_verilog -formal notrap_validop.v' \
|
|
|
|
-p 'prep -top testbench -nordff' \
|
2016-08-30 06:44:03 -04:00
|
|
|
-p 'write_smt2 -wires notrap_validop.smt2'
|
2016-08-29 11:23:00 -04:00
|
|
|
|
2016-08-30 06:44:03 -04:00
|
|
|
yosys-smtbmc -s yices -t 30 --dump-vcd output.vcd --dump-smtc output.smtc notrap_validop.smt2
|
|
|
|
yosys-smtbmc -s yices -i -t 30 --dump-vcd output.vcd --dump-smtc output.smtc notrap_validop.smt2
|
2016-08-29 11:23:00 -04:00
|
|
|
|