diff --git a/c_emulator/riscv_platform.c b/c_emulator/riscv_platform.c index 3e858704b..ae67bac42 100644 --- a/c_emulator/riscv_platform.c +++ b/c_emulator/riscv_platform.c @@ -22,11 +22,6 @@ bool sys_enable_rvc(unit u) return rv_enable_rvc; } -bool sys_enable_next(unit u) -{ - return rv_enable_next; -} - bool sys_enable_fdext(unit u) { return rv_enable_fdext; diff --git a/c_emulator/riscv_platform.h b/c_emulator/riscv_platform.h index 8e2dc265a..fe81c901b 100644 --- a/c_emulator/riscv_platform.h +++ b/c_emulator/riscv_platform.h @@ -2,7 +2,6 @@ #include "sail.h" bool sys_enable_rvc(unit); -bool sys_enable_next(unit); bool sys_enable_fdext(unit); bool sys_enable_svinval(unit); bool sys_enable_zcb(unit); diff --git a/c_emulator/riscv_platform_impl.c b/c_emulator/riscv_platform_impl.c index ec5b452bf..2713715cc 100644 --- a/c_emulator/riscv_platform_impl.c +++ b/c_emulator/riscv_platform_impl.c @@ -13,7 +13,6 @@ bool rv_enable_svinval = false; bool rv_enable_zcb = false; bool rv_enable_zfinx = false; bool rv_enable_rvc = true; -bool rv_enable_next = false; bool rv_enable_writable_misa = true; bool rv_enable_fdext = true; bool rv_enable_vext = true; diff --git a/c_emulator/riscv_platform_impl.h b/c_emulator/riscv_platform_impl.h index a7cf134f8..8bda5e624 100644 --- a/c_emulator/riscv_platform_impl.h +++ b/c_emulator/riscv_platform_impl.h @@ -18,7 +18,6 @@ extern bool rv_enable_svinval; extern bool rv_enable_zcb; extern bool rv_enable_zfinx; extern bool rv_enable_rvc; -extern bool rv_enable_next; extern bool rv_enable_fdext; extern bool rv_enable_vext; extern bool rv_enable_bext; diff --git a/c_emulator/riscv_sim.c b/c_emulator/riscv_sim.c index 3f812c5ec..78838462a 100644 --- a/c_emulator/riscv_sim.c +++ b/c_emulator/riscv_sim.c @@ -133,7 +133,6 @@ static struct option options[] = { {"enable-misaligned", no_argument, 0, 'm' }, {"pmp-count", required_argument, 0, OPT_PMP_COUNT }, {"pmp-grain", required_argument, 0, OPT_PMP_GRAIN }, - {"enable-next", no_argument, 0, 'N' }, {"ram-size", required_argument, 0, 'z' }, {"disable-compressed", no_argument, 0, 'C' }, {"disable-writable-misa", no_argument, 0, 'I' }, @@ -276,7 +275,6 @@ static int process_args(int argc, char **argv) "m" "P" "C" - "N" "I" "F" "W" @@ -340,10 +338,6 @@ static int process_args(int argc, char **argv) fprintf(stderr, "disabling RVC compressed instructions.\n"); rv_enable_rvc = false; break; - case 'N': - fprintf(stderr, "enabling N extension.\n"); - rv_enable_next = true; - break; case 'I': fprintf(stderr, "disabling writable misa CSR.\n"); rv_enable_writable_misa = false;