mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
When a trap occurs in mini-rv32ima, always pass to the host rather than allowing running code to handle it. This would be important for a real OS, but the aim of uvm32 is embeddable logic - not full emulation.
As all traps are caught by host, begin testing mini-rv32ima internals by checking PC oob and PC alignment.
This commit is contained in:
parent
be5dbbfa44
commit
5dc9acdf3d
8 changed files with 75 additions and 3 deletions
6
test/minirv32_internal/rom/rom.c
Normal file
6
test/minirv32_internal/rom/rom.c
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include "uvm32_target.h"
|
||||
|
||||
void main(void) {
|
||||
println("Hello world");
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue