diff options
| author | Jon French | 2018-07-05 14:00:50 +0100 |
|---|---|---|
| committer | Jon French | 2018-07-05 14:00:50 +0100 |
| commit | 0f0824741374ace62915eace4a91c77ba1bf3b33 (patch) | |
| tree | b2fa4dcc80a78b9f96d5fc688593e63e3c8da574 /riscv/riscv_extras_sequential.lem | |
| parent | c080665a6fbd8c88b66440a7bddc31a9634741cf (diff) | |
print to stdout not stderr to stop upsetting rmem regression tests
Diffstat (limited to 'riscv/riscv_extras_sequential.lem')
| -rw-r--r-- | riscv/riscv_extras_sequential.lem | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/riscv/riscv_extras_sequential.lem b/riscv/riscv_extras_sequential.lem index b29fe545..b3d84df6 100644 --- a/riscv/riscv_extras_sequential.lem +++ b/riscv/riscv_extras_sequential.lem @@ -101,7 +101,13 @@ val shift_bits_left : forall 'a 'b. Size 'a, Size 'b => bitvector 'a -> bitvecto let shift_bits_left v m = shiftl v (uint m) val print_string : string -> string -> unit -let print_string msg s = prerr_endline (msg ^ s) +let print_string msg s = print_endline (msg ^ s) + +val prerr_string : string -> string -> unit +let prerr_string msg s = prerr_endline (msg ^ s) val prerr_bits : forall 'a. Size 'a => string -> bitvector 'a -> unit let prerr_bits msg bs = prerr_endline (msg ^ (show_bitlist (bits_of bs))) + +val print_bits : forall 'a. Size 'a => string -> bitvector 'a -> unit +let print_bits msg bs = print_endline (msg ^ (show_bitlist (bits_of bs))) |
