projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7acf41
)
dummy-rocc-test build fix
author
Arun Thomas
<arun.thomas@gmail.com>
Thu, 30 Oct 2014 14:20:08 +0000
(10:20 -0400)
committer
Arun Thomas
<arun.thomas@gmail.com>
Thu, 30 Oct 2014 14:20:08 +0000
(10:20 -0400)
riscv/dummy-rocc-test.c
patch
|
blob
|
history
diff --git
a/riscv/dummy-rocc-test.c
b/riscv/dummy-rocc-test.c
index 4071ece829a849d245feaf9dc5813ba448a65ae2..ce481797123cfcf666c6e483550deb2b34d1c642 100644
(file)
--- a/
riscv/dummy-rocc-test.c
+++ b/
riscv/dummy-rocc-test.c
@@
-1,11
+1,11
@@
// The following is a RISC-V program to test the functionality of the
// dummy RoCC accelerator.
-// Compile with riscv-gcc dummy.c
+// Compile with riscv-gcc dummy
-rocc-test
.c
// Run with spike --extension=dummy pk a.out
#include <assert.h>
#include <stdio.h>
-#include <
cstdint
>
+#include <
stdint.h
>
int main() {
uint64_t x = 123, y = 456, z = 0;