mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-28 05:51:53 +01:00
13 lines
334 B
Bash
13 lines
334 B
Bash
|
#!/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
|
||
|
|