2016-08-30 17:12:16 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
yosys -ql mulcmp.yslog \
|
|
|
|
-p 'read_verilog -formal -norestrict -assume-asserts ../../picorv32.v' \
|
|
|
|
-p 'read_verilog -formal mulcmp.v' \
|
|
|
|
-p 'prep -top testbench -nordff' \
|
2016-08-30 18:44:03 +08:00
|
|
|
-p 'write_smt2 -wires mulcmp.smt2'
|
2016-08-30 17:12:16 +08:00
|
|
|
|
|
|
|
yosys-smtbmc -s yices -t 100 --dump-vcd output.vcd --dump-smtc output.smtc mulcmp.smt2
|
|
|
|
|