Add test module exercising formal verification. #2
Loading…
Reference in a new issue
No description provided.
Delete branch "cesar/fayalite:formal_test_case"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is one the oldest tests I made to better understand formal verification, ported to Fayalite.
@ -0,0 +95,4 @@
hdl_assert(clk, o, "");
// additional terms below are only needed to assist with the induction proof
if let WithExtraAssertions = constraint_mode {
it's more idiomatic to use a
match
statement here instead of a separateif let
for eachenum
variant, that also ensures you've covered all enum variants. so like:39d895764a
toc1f1a8b749
Thanks!