==========================================================================
RISC-V ISA Simulator
==========================================================================
-# Author : Andrew Waterman
+# Author : Andrew Waterman, Yunsup Lee
# Date : June 19, 2011
# Version : (under version control)
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:
Now you can simulate the program atop the proxy kernel:
- % riscv-isa-run pk hello
+ % spike pk hello
--------------------------------------------------------------------------
Simulating a New Instruction