Skip to content

Commit

Permalink
Add enable-svinval option
Browse files Browse the repository at this point in the history
This was missed in the original implementation.
  • Loading branch information
trdthg authored Sep 12, 2024
1 parent 3f513ed commit 9063a2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions c_emulator/riscv_sim.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,10 @@ static int process_args(int argc, char **argv)
case 'l':
insn_limit = atoi(optarg);
break;
case OPT_ENABLE_SVINVAL:
fprintf(stderr, "enabling svinval extension.\n");
rv_enable_svinval = true;
break;
case OPT_ENABLE_ZCB:
fprintf(stderr, "enabling Zcb extension.\n");
rv_enable_zcb = true;
Expand Down

0 comments on commit 9063a2b

Please sign in to comment.