diff options
Diffstat (limited to 'scripts/smtbmc/axicheck.sh')
-rw-r--r-- | scripts/smtbmc/axicheck.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/smtbmc/axicheck.sh b/scripts/smtbmc/axicheck.sh new file mode 100644 index 0000000..55c2b05 --- /dev/null +++ b/scripts/smtbmc/axicheck.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -ex + +yosys -ql axicheck.yslog \ + -p 'read_verilog -formal -norestrict -assume-asserts ../../picorv32.v' \ + -p 'read_verilog -formal axicheck.v' \ + -p 'prep -top testbench -nordff' \ + -p 'write_smt2 -wires axicheck.smt2' + +yosys-smtbmc -s boolector --dump-vcd output.vcd --dump-smtc output.smtc axicheck.smt2 + |