forked from ucb-bar/riscv-sodor
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
everything is running smoothly until I try to do make run-emulator-debug. That results in the following:
running basedir/Makefile: make run-emulator-debug
make -C emulator/rv32_1stage/ run-debug
make[1]: Entering directory '/home/apaj/riscv-sodor/emulator/rv32_1stage'
make[1]: *** No rule to make target 'run-asm-tests-debug', needed by 'run-debug'. Stop.
make[1]: Leaving directory '/home/apaj/riscv-sodor/emulator/rv32_1stage'
Makefile:97: recipe for target 'emulator/rv32_1stage/generated-src-debug/timestamp' failed
make: *** [emulator/rv32_1stage/generated-src-debug/timestamp] Error 2
At this webpage, I found this text:
When run in debug mode, all processors will generate .vcd information (viewable by your favorite waveform viewer). All processors can also spit out cycle-by-cycle log information. Although already done for you by the build system, to generate .vcd files, see emulator/common/Makefile.include to add the "-v${vcdfilename}" flag to the emulator-debug binary.
When I open Makefile.include, I do see this part:
output:
mkdir -p $@
$(addprefix output/, $(global_asm_vcd)): output/%.vcd: $(global_tstdir)/% emulator-debug
mkdir -p output
./emulator-debug -v$@ +max-cycles=$(asm_test_timeout) +verbose +loadmem=$< 2> /dev/null
...
$(addprefix output/, $(global_bmarks_vcd)): output/%.riscv.vcd: $(global_bmarkdir)/%.riscv emulator-debug
mkdir -p output
./emulator-debug -v$@ +max-cycles=$(bmark_timeout) +verbose +loadmem=$< 2> /dev/null
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels