URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Subversion Repositories neorv32
Compare Revisions
- This comparison shows the changes necessary to convert path
/neorv32/trunk/sw/example
- from Rev 7 to Rev 8
- ↔ Reverse comparison
Rev 7 → Rev 8
/test_exceptions/makefile
File deleted
/test_exceptions/main.c
File deleted
/hw_analysis/main.c
File deleted
/hw_analysis/makefile
File deleted
/cpu_test/main.c
197,6 → 197,25
|
|
// ---------------------------------------------------------- |
// Test fence instructions - make sure CPU does not crash here and throws no exception |
// ---------------------------------------------------------- |
neorv32_uart_printf("FENCE(.I): "); |
cnt_test++; |
asm volatile ("fence"); |
asm volatile ("fence.i"); |
|
if (exception_handler_answer != 0) { |
neorv32_uart_printf("fail\n"); |
cnt_fail++; |
} |
else { |
neorv32_uart_printf("ok\n"); |
cnt_ok++; |
} |
exception_handler_answer = 0; |
|
|
// ---------------------------------------------------------- |
// Unaligned instruction address |
// ---------------------------------------------------------- |
neorv32_uart_printf("EXC I_ALIGN: "); |