From: Yunsup Lee Date: Wed, 15 May 2013 19:03:00 +0000 (-0700) Subject: change riscv-isa-run to spike in documentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9d1c3de84f79721dda71a12ddcdf87bf3675308;p=riscv-isa-sim.git change riscv-isa-run to spike in documentation --- diff --git a/README b/README index 5ba221d..ad9a25a 100644 --- a/README +++ b/README @@ -25,7 +25,7 @@ install path, and that the riscv-fesvr package is installed there. Compiling and Running a Simple C Program -------------------------------------------------------------------------- -Install riscv-isa-run (see Build Steps), riscv-gcc, and riscv-pk. +Install spike (see Build Steps), riscv-gcc, and riscv-pk. Write a short C program and name it hello.c. Then, compile it into a RISC-V ELF binary named hello: @@ -34,7 +34,7 @@ ELF binary named hello: Now you can simulate the program atop the proxy kernel: - % riscv-isa-run pk hello + % spike pk hello -------------------------------------------------------------------------- Simulating a New Instruction diff --git a/riscv/spike.cc b/riscv/spike.cc index 142df33..c9b755d 100644 --- a/riscv/spike.cc +++ b/riscv/spike.cc @@ -13,7 +13,7 @@ static void help() { - fprintf(stderr, "usage: riscv-isa-run [host options] [target options]\n"); + fprintf(stderr, "usage: spike [host options] [target options]\n"); fprintf(stderr, "Host Options:\n"); fprintf(stderr, " -p Simulate processors\n"); fprintf(stderr, " -m Provide MB of target memory\n");