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

$include <prelude.sail>

register R1 : bits(4)
register R2 : bits(4)

$property
function prop((): unit) -> bool = {
  let x = sail_zero_extend(R1, 8);
  let x = sail_shiftleft(x, 4);
  let y = or_vec(x, sail_zero_extend(R2, 8));
  let z = R1 @ R2;
  y == z
}