aboutsummaryrefslogtreecommitdiff
path: root/spike_main
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-03-30 15:24:54 -0700
committerAndrew Waterman <andrew@sifive.com>2019-03-31 02:06:23 -0700
commit1def9a46371afd20f1d357294e5823daae61400e (patch)
tree73f0e979e800724cedab99cca80083bcbd84348b /spike_main
parentf49618ca9d674ec7e596118f85027c4b503862ac (diff)
downloadspike-1def9a46371afd20f1d357294e5823daae61400e.zip
spike-1def9a46371afd20f1d357294e5823daae61400e.tar.gz
spike-1def9a46371afd20f1d357294e5823daae61400e.tar.bz2
Version 1.0.0
Diffstat (limited to 'spike_main')
-rw-r--r--spike_main/spike.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/spike_main/spike.cc b/spike_main/spike.cc
index d4f4252..6d8d88a 100644
--- a/spike_main/spike.cc
+++ b/spike_main/spike.cc
@@ -12,9 +12,11 @@
#include <vector>
#include <string>
#include <memory>
+#include "../VERSION"
static void help(int exit_code = 1)
{
+ fprintf(stderr, "Spike RISC-V ISA Simulator " SPIKE_VERSION "\n\n");
fprintf(stderr, "usage: spike [host options] <target program> [target options]\n");
fprintf(stderr, "Host Options:\n");
fprintf(stderr, " -p<n> Simulate <n> processors [default 1]\n");