Skip to content

Commit

Permalink
fixup! fixup! Add Svinval extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberger committed Apr 29, 2024
1 parent f06a04e commit db931c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion c_emulator/riscv_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ bool sys_enable_svinval(unit u)
return rv_enable_svinval;
}


bool sys_enable_zcb(unit u)
{
return rv_enable_zcb;
Expand Down
4 changes: 2 additions & 2 deletions ocaml_emulator/platform.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let config_enable_writable_misa = ref true
let config_enable_dirty_update = ref false
let config_enable_misaligned_access = ref false
let config_mtval_has_illegal_inst_bits = ref false
let config_enable_svinval = ref false
let config_enable_svinval = ref false
let config_enable_zcb = ref false
let config_enable_writable_fiom = ref true
let config_enable_vext = ref true
Expand Down Expand Up @@ -90,7 +90,7 @@ let enable_vext () = !config_enable_vext
let enable_dirty_update () = !config_enable_dirty_update
let enable_misaligned_access () = !config_enable_misaligned_access
let mtval_has_illegal_inst_bits () = !config_mtval_has_illegal_inst_bits
let enable_svinval () = !config_enable_svinval
let enable_svinval () = !config_enable_svinval
let enable_zcb () = !config_enable_zcb
let enable_zfinx () = false
let enable_writable_fiom () = !config_enable_writable_fiom
Expand Down

0 comments on commit db931c4

Please sign in to comment.