Skip to content

Commit

Permalink
Add test for vector register constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
bacam committed Jul 22, 2024
1 parent 17b0db5 commit fd29104
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/property/vector_register_reset.unsat.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--reset-constraint '(= R[3] true)'
10 changes: 10 additions & 0 deletions test/property/vector_register_reset.unsat.sail
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
default Order dec
$include <prelude.sail>
$include <isla.sail>

register R: vector(16, bool)

function prop() -> bool = {
isla_reset_registers();
R[3]
}

0 comments on commit fd29104

Please sign in to comment.