- fprintf(stderr, " -p <n> Simulate <n> processors [default 1]\n");
- fprintf(stderr, " -m <n> Provide <n> MiB of target memory [default 4096]\n");
- fprintf(stderr, " -d Interactive debug mode\n");
- fprintf(stderr, " -g Track histogram of PCs\n");
- fprintf(stderr, " -h Print this help message\n");
- fprintf(stderr, " --isa=<name> RISC-V ISA string [default RV64IMAFDC]\n");
- fprintf(stderr, " --ic=<S>:<W>:<B> Instantiate a cache model with S sets,\n");
- fprintf(stderr, " --dc=<S>:<W>:<B> W ways, and B-byte blocks (with S and\n");
- fprintf(stderr, " --l2=<S>:<W>:<B> B both powers of 2).\n");
- fprintf(stderr, " --extension=<name> Specify RoCC Extension\n");
- fprintf(stderr, " --extlib=<name> Shared library to load\n");
+ fprintf(stderr, " -p<n> Simulate <n> processors [default 1]\n");
+ fprintf(stderr, " -m<n> Provide <n> MiB of target memory [default 2048]\n");
+ fprintf(stderr, " -m<a:m,b:n,...> Provide memory regions of size m and n bytes\n");
+ fprintf(stderr, " at base addresses a and b (with 4 KiB alignment)\n");
+ fprintf(stderr, " -d Interactive debug mode\n");
+ fprintf(stderr, " -g Track histogram of PCs\n");
+ fprintf(stderr, " -l Generate a log of execution\n");
+ fprintf(stderr, " -h Print this help message\n");
+ fprintf(stderr, " -H Start halted, allowing a debugger to connect\n");
+ fprintf(stderr, " --isa=<name> RISC-V ISA string [default %s]\n", DEFAULT_ISA);
+ fprintf(stderr, " --pc=<address> Override ELF entry point\n");
+ fprintf(stderr, " --hartids=<a,b,...> Explicitly specify hartids, default is 0,1,...\n");
+ fprintf(stderr, " --ic=<S>:<W>:<B> Instantiate a cache model with S sets,\n");
+ fprintf(stderr, " --dc=<S>:<W>:<B> W ways, and B-byte blocks (with S and\n");
+ fprintf(stderr, " --l2=<S>:<W>:<B> B both powers of 2).\n");
+ fprintf(stderr, " --extension=<name> Specify RoCC Extension\n");
+ fprintf(stderr, " --extlib=<name> Shared library to load\n");
+ fprintf(stderr, " --rbb-port=<port> Listen on <port> for remote bitbang connection\n");
+ fprintf(stderr, " --dump-dts Print device tree string and exit\n");
+ fprintf(stderr, " --progsize=<words> Progsize for the debug module [default 2]\n");
+ fprintf(stderr, " --debug-sba=<bits> Debug bus master supports up to "
+ "<bits> wide accesses [default 0]\n");
+ fprintf(stderr, " --debug-auth Debug module requires debugger to authenticate\n");