- Sep 06, 2016
-
-
Tim Newsome authored
They live in riscv-tests/debug now, since they also test gdb, and can be used to test other targets besides spike.
-
- Sep 03, 2016
-
-
Andrew Waterman authored
Implement address and data triggers.
-
Tim Newsome authored
Conflicts: riscv/encoding.h riscv/processor.cc
-
Tim Newsome authored
-
Tim Newsome authored
-
- Sep 02, 2016
-
-
Tim Newsome authored
-
- Sep 01, 2016
-
-
Tim Newsome authored
Add timing bit (but it doesn't do anything). Implement dmode bit.
-
Tim Newsome authored
-
- Aug 30, 2016
-
-
Tim Newsome authored
-
Tim Newsome authored
-
- Aug 27, 2016
-
-
Andrew Waterman authored
-
- Aug 26, 2016
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Aug 23, 2016
-
-
Andrew Waterman authored
-
Tim Newsome authored
So far I only have testcases for instruction and data address. Not implemented is the mechanism that lets the debugger prevent a user program from using triggers at all. I'll be adding that soonish. The critical path is unchanged, but my experimenting shows the simulation is slowed down about 8% by this code. Reducing the size of trigger_match() (which is never called during my benchmark) fixes that, but making it not be inlined has no effect. I suspect the slowdown comes from cache alignment or something similar, and on a different CPU or after more code changes the speed will come back.
-
- Aug 18, 2016
-
-
Andrew Waterman authored
Either approach is legal, but this more closely matches Rocket.
-
- Aug 17, 2016
-
-
Colin Schmidt authored
-
- Jul 29, 2016
-
-
Tim Newsome authored
Users can use this register to inspect and change the privilege level of the core. It doesn't make any assumptions about the actual underlying debug mechanism (as opposed to having the user change DCSR directly, which may not exist in all debug implementations).
-
- Jul 23, 2016
-
-
Andrew Waterman authored
-
- Jul 20, 2016
-
-
Tim Newsome authored
-
- Jul 14, 2016
-
-
Tim Newsome authored
csrw instructions instantly return if the PC isn't serialized. Take note of this, and don't enter debug mode until the instruction we just executed actually completed.
-
- Jul 13, 2016
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jul 06, 2016
-
-
Andrew Waterman authored
-
- Jul 02, 2016
-
-
Tim Newsome authored
-
- Jun 30, 2016
-
-
Andrew Waterman authored
The interpretation of RVC opcodes depends on XLEN, and the disassembler always assumed RV32. h/t Michael Clark
-
- Jun 28, 2016
-
-
Tim Newsome authored
-
Tim Newsome authored
-
- Jun 23, 2016
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
This avoids the need for fence.i.
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jun 18, 2016
-
-
Andrew Waterman authored
-
- Jun 10, 2016
-
-
Andrew Waterman authored
-
Jonathan Neuschäfer authored
-
Tim Newsome authored
1. Debug ROM wasn't actually writing 0xffffffff to the last word in Debug RAM after an exception happened. 2. Fix a race where debug interrupts were cleared before that write would have happened, so a debugger (gdbserver.cc in this case) might get the wrong idea about whether an exception happened or not. Why wasn't this wreaking havoc before?
-
- Jun 09, 2016
-
-
Andrew Waterman authored
-
- Jun 04, 2016
-
-
Tim Newsome authored
-