Closed AlAlves closed 5 years ago
The formal test-bench used by riscv-formal (rvfi_testbench
) only activates the checker in cycle RISCV_FORMAL_CHECK_CYCLE
. Thus, changing the SBY mode from bmc
to prove
will not change what is proven.
Thus for a complete proof rvfi_testbench
must be changed so that trig
and check
are unconstrained, for example by connecting them primary inputs of rvfi_testbench
. A new configuration variable, for example RISCV_FORMAL_UNBOUNDED
, should control this.
Add a "mode" option on .cfg file to define whether you are going for a bmc or an induction proof