diff options
| author | Robert Norton | 2018-06-07 17:39:01 +0100 |
|---|---|---|
| committer | Robert Norton | 2018-06-07 17:43:23 +0100 |
| commit | c281c3aed5b00d970c9a48b59eb4b3bc620a28b0 (patch) | |
| tree | 1213ccac27a230c188dae33348ed9874f2d0db53 /test/ocaml/vec_32_64/vec_32_64.sail | |
| parent | 28f13f5b62cb760a7fecb24e955047dd3d5e4504 (diff) | |
Rename some functions in vector_dec library file to avoid clashes with functions in mips spec in prepartion for using this file in mips prelude. Also modify tests that use this header. We should consider prefixing library builtins to avoid name clashes. overload can then be used to provide aliases if desired.
Diffstat (limited to 'test/ocaml/vec_32_64/vec_32_64.sail')
| -rw-r--r-- | test/ocaml/vec_32_64/vec_32_64.sail | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ocaml/vec_32_64/vec_32_64.sail b/test/ocaml/vec_32_64/vec_32_64.sail index ac44d9ae..5dc58cc3 100644 --- a/test/ocaml/vec_32_64/vec_32_64.sail +++ b/test/ocaml/vec_32_64/vec_32_64.sail @@ -12,12 +12,12 @@ val main : unit -> unit function main () = { let 'len = get_size (); - let xs = zeros(len); + let xs = sail_zeros(len); if (len == 32) then { () } else { only64(xs) }; print_bits("xs = ", xs); - print_bits("zeros(64) = ", zeros(64)) + print_bits("zeros(64) = ", sail_zeros(64)) }
\ No newline at end of file |
