mirror of https://github.com/YosysHQ/picorv32.git
13 lines
325 B
Bash
13 lines
325 B
Bash
|
#!/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
|
||
|
|