summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-05-17 16:34:00 +0100
committerAlasdair Armstrong2019-05-17 16:34:00 +0100
commitf0b547154b3d2ce9e4bac74b0c56f20d6db76cd2 (patch)
treeb6d1053bea33a115879fe24b4c5e6add0bae566e /test
parent4a95bb1c25fe84be62f6eada024f964472736e69 (diff)
SMT: Finish adding all memory builtins from lib/regfp.sail
Diffstat (limited to 'test')
-rw-r--r--test/smt/mem_builtins.unsat.sail12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/smt/mem_builtins.unsat.sail b/test/smt/mem_builtins.unsat.sail
new file mode 100644
index 00000000..28e44658
--- /dev/null
+++ b/test/smt/mem_builtins.unsat.sail
@@ -0,0 +1,12 @@
+default Order dec
+
+$include <prelude.sail>
+$include <regfp.sail>
+
+$property
+function prop() -> bool = {
+ __barrier(Barrier_DSB);
+ let _ = __excl_res();
+ __write_mem_ea(Write_exclusive_release, 32, 0xFFFF_FFFF, 8);
+ true
+}