diff options
| author | Thomas Bauereiss | 2020-04-18 20:56:34 +0100 |
|---|---|---|
| committer | Thomas Bauereiss | 2020-04-21 14:02:39 +0100 |
| commit | b9860a9bc7c546bfab207c76d15e0f72e6047922 (patch) | |
| tree | e67a2bbdfe240d37bc379e6208649e6fd24a3ea2 /lib | |
| parent | 5963b1fddba11309c8a3efa9efa866530473c42d (diff) | |
Add more monomorphisation rewrites
Supporting more ASL idioms
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/vector_dec.sail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vector_dec.sail b/lib/vector_dec.sail index 2a9e96f0..eaea2c99 100644 --- a/lib/vector_dec.sail +++ b/lib/vector_dec.sail @@ -230,7 +230,7 @@ val get_slice_int = "get_slice_int" : forall 'w. (int('w), int, int) -> bits('w) val set_slice_int = "set_slice_int" : forall 'w. (int('w), int, int, bits('w)) -> int val set_slice_bits = "set_slice" : forall 'n 'm. - (int('n), int('m), bits('n), int, bits('m)) -> bits('n) + (implicit('n), int('m), bits('n), int, bits('m)) -> bits('n) /*! converts a bit vector of length $n$ to an integer in the range $0$ to $2^n - 1$. |
