summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-02-14 16:38:23 +0000
committerAlasdair Armstrong2018-02-15 16:49:06 +0000
commitc191c71c11189b1dbb3b98b64a27adc9c38734aa (patch)
tree265f94b3e503188f11a1d963ece2cdba31a1745e /lib
parent4fd52d03967cc4e5609378dd59d9307991f2271d (diff)
List support in C backend
Diffstat (limited to 'lib')
-rw-r--r--lib/vector_dec.sail1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vector_dec.sail b/lib/vector_dec.sail
index 84493f73..e24f5111 100644
--- a/lib/vector_dec.sail
+++ b/lib/vector_dec.sail
@@ -10,6 +10,7 @@ val "print_bits" : forall 'n. (string, bits('n)) -> unit
val "sign_extend" : forall 'n 'm, 'm >= 'n. (bits('n), atom('m)) -> bits('m)
val "zero_extend" : forall 'n 'm, 'm >= 'n. (bits('n), atom('m)) -> bits('m)
+/* Used for creating long bitvector literals in the C backend. */
val "append_64" : forall 'n. (bits('n), bits(64)) -> bits('n + 64)
val add_bits = {