Open apaj opened 5 years ago
/emulator/commom/Makefile.include
1.line 55, completion the line:
CHISEL_ARGS_DEBUG := -td emulator/${MK_TARGET_PROC}/generated-src-debug
2.line 72: add a new line (compare with 'generated-src' above line 72 ):
generated-src-debug/Top.v: $(srcDir)/src/${MK_TARGETPROC}/.scala $(srcDir)/src/common/_.scala cd $(buildDir) && $(SBT) "project ${MK_TARGET_PROC}" "run $(CHISEL_ARGS_DEBUG)"
(before the cd is a Tab)
3.line 87: emulator-debug: generated-src/Top.v to:
emulator-debug: generated-src-debug/Top.v
4.line 191: add two new line, the rules for 'run-asm-tests-debug' and 'run-bmarks-test-debug':
run-asm-tests-debug: $(addprefix output/, $(addsuffix .vcd, $(global_asmtests))) @echo; perl -ne 'print " [$$1] $$ARGV \t$$2\n" if /{3}(.{8}){3}(.)/' $(patsubst %.vpd,%.out,$^); echo; run-bmarks-test-debug: $(addprefix output/, $(addsuffix .riscv.vcd, $(globalbmarks))) @echo; perl -ne 'print " [$$1] $$ARGV \t$$2\n" if /{3}(.{8}){3}(.)/' $(patsubst %.vpd,%.out,$^); echo;
(before the @Echos is a Tab)
BTW, you can download it here, https://gitee.com/abignail/riscv-sodor/blob/master/emulator/common/Makefile.include
Hi, everything is running smoothly until I try to do
make run-emulator-debug
. That results in the following:At this webpage, I found this text:
When I open Makefile.include, I do see this part:
but, unfortunately, I have to admit I don't really see how to add
-v
if it's already there...Could someone please advise?
Thanks, Aleksandar