mirror of https://github.com/YosysHQ/picorv32.git
13 lines
303 B
Diff
13 lines
303 B
Diff
|
diff --git a/riscv/insns/sbreak.h b/riscv/insns/sbreak.h
|
||
|
index c22776c..31397dd 100644
|
||
|
--- a/riscv/insns/sbreak.h
|
||
|
+++ b/riscv/insns/sbreak.h
|
||
|
@@ -1 +1,7 @@
|
||
|
+for (int i = 0; i < 16*1024; i += 4) {
|
||
|
+ unsigned int dat = MMU.load_int32(i);
|
||
|
+ printf("%08x\n", dat);
|
||
|
+}
|
||
|
+exit(0);
|
||
|
+
|
||
|
throw trap_breakpoint();
|