summaryrefslogtreecommitdiffstats
path: root/scripts/smtbmc/mulcmp.sh
blob: 586d72accc10d912c350a19e10bd7b854cda4ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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' \
	-p 'write_smt2 -wires mulcmp.smt2'

yosys-smtbmc -s yices -t 100 --dump-vcd output.vcd --dump-smtc output.smtc mulcmp.smt2