Ass3 Debugging tips

43 views
Skip to first unread message

Arrvindh Shriraman

unread,
Oct 28, 2020, 1:41:07 PM10/28/20
to cmpt-295-sfu
For those struggling with debugging
1) Try passing -cc to venus.jar

timeout 120 java -jar venus.jar ./test_files/main.s ./inputs/simple1/bin/inputs/input1.bin ./inputs/simple1/bin/m0.bin ./inputs/simple1/bin/m1.bin -ms -1 -cc

It will print error messages like so:
[CC Violation]: (PC=0x000003C4) Usage of unset register a2! ../matmul.s:22 bne a2, a4, mismatched_dimensions
[CC Violation]: (PC=0x000003C4) Usage of unset register a4! ../matmul.s:22 bne a2, a4, mismatched_dimensions
.


Reply all
Reply to author
Forward
0 new messages