aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cxxdemo
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-05-04 08:57:16 +0200
committerClifford Wolf <clifford@clifford.at>2016-05-04 08:57:16 +0200
commit6c69b3812e55f1383a8d23d097c54d67a1167116 (patch)
tree8b26a6673cd93fe6d6f4d8211f51d7ad52b2130b /scripts/cxxdemo
parent84bd9e9b88d8e0a0e59a1c42583def292985b2e9 (diff)
downloadpicorv32-6c69b3812e55f1383a8d23d097c54d67a1167116.tar.gz
picorv32-6c69b3812e55f1383a8d23d097c54d67a1167116.zip
Using .vvp instead of .exe for iverilog executables
Diffstat (limited to 'scripts/cxxdemo')
-rw-r--r--scripts/cxxdemo/.gitignore2
-rw-r--r--scripts/cxxdemo/Makefile12
2 files changed, 7 insertions, 7 deletions
diff --git a/scripts/cxxdemo/.gitignore b/scripts/cxxdemo/.gitignore
index 563b908..47e6b5c 100644
--- a/scripts/cxxdemo/.gitignore
+++ b/scripts/cxxdemo/.gitignore
@@ -4,6 +4,6 @@ firmware.hex
firmware32.hex
firmware.o
syscalls.o
-testbench.exe
+testbench.vvp
testbench.vcd
start.elf
diff --git a/scripts/cxxdemo/Makefile b/scripts/cxxdemo/Makefile
index d811427..e858761 100644
--- a/scripts/cxxdemo/Makefile
+++ b/scripts/cxxdemo/Makefile
@@ -7,12 +7,12 @@ CCFLAGS = -MD -Os -Wall -std=c++11
LDFLAGS = -Wl,--gc-sections
LDLIBS = -lstdc++
-test: testbench.exe firmware32.hex
- vvp -N testbench.exe
+test: testbench.vvp firmware32.hex
+ vvp -N testbench.vvp
-testbench.exe: testbench.v ../../picorv32.v
- iverilog -o testbench.exe testbench.v ../../picorv32.v
- chmod -x testbench.exe
+testbench.vvp: testbench.v ../../picorv32.v
+ iverilog -o testbench.vvp testbench.v ../../picorv32.v
+ chmod -x testbench.vvp
firmware32.hex: firmware.elf start.elf hex8tohex32.py
$(RISCV_TOOLS_PREFIX)objcopy -O verilog start.elf start.tmp
@@ -32,7 +32,7 @@ start.elf: start.S start.ld
clean:
rm -f *.o *.d *.tmp start.elf
rm -f firmware.elf firmware.hex firmware32.hex
- rm -f testbench.exe testbench.vcd
+ rm -f testbench.vvp testbench.vcd
-include *.d
.PHONY: test clean