mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 21:57:33 -04:00
[sw/cpu_test] minor layout fixes
This commit is contained in:
parent
65ef1027e2
commit
040d3dd422
1 changed files with 11 additions and 1 deletions
|
@ -773,6 +773,8 @@ int main() {
|
|||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
|
||||
if (exception_handler_answer == TRAP_CODE_MTI) {
|
||||
test_ok();
|
||||
|
@ -808,6 +810,8 @@ int main() {
|
|||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
|
||||
if (exception_handler_answer == TRAP_CODE_FIRQ_0) {
|
||||
test_ok();
|
||||
|
@ -867,6 +871,8 @@ int main() {
|
|||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
|
||||
// wait for UART to finish transmitting
|
||||
while(neorv32_uart_tx_busy());
|
||||
|
@ -908,6 +914,8 @@ int main() {
|
|||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
|
||||
if (exception_handler_answer == TRAP_CODE_FIRQ_3) {
|
||||
test_ok();
|
||||
|
@ -945,6 +953,8 @@ int main() {
|
|||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
asm volatile("nop");
|
||||
|
||||
if (exception_handler_answer == TRAP_CODE_FIRQ_3) {
|
||||
test_ok();
|
||||
|
@ -1075,7 +1085,7 @@ int main() {
|
|||
|
||||
|
||||
// ------ LOAD: should work ------
|
||||
neorv32_uart_printf("\n[%i] PMP: U-mode [!X,!W,R] load test: ", cnt_test);
|
||||
neorv32_uart_printf("[%i] PMP: U-mode [!X,!W,R] load test: ", cnt_test);
|
||||
cnt_test++;
|
||||
exception_handler_answer = 0xFFFFFFFF;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue