summaryrefslogtreecommitdiff
path: root/test/smt/update_subrange.unsat.sail
blob: 5a6b2094cb00c389efacd7c03229be84ddbb478b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
default Order dec

$include <vector_dec.sail>

$property
function prop(xs: bits(65), ys: bits(5)) -> bool = {
  xs' = xs;
  xs'[63..59] = ys;
  xs'[46..42] = ys;
  xs'[4..0] = ys;
  xs'[63..59] == ys & xs'[46..42] == ys & xs'[4..0] == ys
}