Commit graph

840 commits

Author SHA1 Message Date
umarcor
edf86075ab [doit] add task BuildAndInstallSoftwareFrameworkTests 2021-09-19 21:50:32 +02:00
stnolting
2cf4a59200 [sw/example] converted example programs 2021-09-17 18:29:57 +02:00
stnolting
511e37b6b6 [sw] optimized intrinsic libraries
Intirnsics (pseudo custom instructions) for "Zfinx" and "Zbb" extensions
* now using true inlining
* no more pseudo operations
-> faster execution; closer to the original/native instructions
2021-09-11 18:22:22 +02:00
stnolting
b28dbbd927 removed mstatus.sd and mstatus.fs bits
according to the revised specs. these mstatus bits are hardwired to zero / not used by the Zfinx extension
2021-09-11 07:30:25 +02:00
stnolting
eab859cb95 [sw/example/processor_check] minor edit
using custom instruction type with invalid opcode to check for illegal instruction exception
2021-09-09 10:36:33 +02:00
stnolting
a2ef87c2f8 [sw] added Zbb test program
using "intrinsics" for the Zbb instructions since there is no support in upstream gcc yet
2021-09-08 19:32:43 +02:00
stnolting
e4b29674a2 [sw] removed custom mzext CSR; moved info o new SYSINFO_CPU register 2021-08-19 13:32:05 +02:00
stnolting
0b1a478a0f [sw/example/processor_check] added MRET test 2021-08-16 15:16:29 +02:00
stnolting
7259831b9a [sw/example/dhrystone] minor edits 2021-08-15 16:18:18 +02:00
stnolting
6abfc3df64 [sw] added Dhrystone benchmark port
🚧 work in progress
2021-08-15 13:43:45 +02:00
stnolting
8cb3d4cf1f 🐛 [rtl] fixed DRET and MRET trapping
* `dret` has to trap if executed outside of debug-mode
* `mret` has to trap if executed in privilege modes less than machine-mode
2021-08-07 18:05:23 +02:00
stnolting
5d39d65e8c [sw] added mstatus.SD and mstatus.FS bits 2021-08-05 17:31:08 +02:00
stnolting
55198c6170 [sw] typo fix (in comment) 2021-07-26 12:49:37 +02:00
stnolting
1f416745e5 [rtl,sw,docs] added 'mstatus.TW' CSR bit 2021-07-25 20:48:33 +02:00
stnolting
b1c1dd9923 [sw] reworked NEOLED module 2021-07-21 21:00:23 +02:00
umarcor
5b380dc56b [sw/example] define NEORV32_HOME 2021-07-12 17:39:45 +02:00
stnolting
c849e2b5eb [sw] added usage of central makefile 2021-07-12 17:39:45 +02:00
stnolting
0fcb1d57c8 [sw] moved central makefile to common 2021-07-12 17:39:45 +02:00
umarcor
7d4f89fd36 [sw/example] add common.mk 2021-07-12 17:39:44 +02:00
umarcor
ca8927e558 [sw] use RISCV_PREFIX instead of RISCV_TOOLCHAIN 2021-07-09 23:23:46 +02:00
stnolting
c541967e3a 🐛 fixed broken freeRTOS makefile #112 2021-07-09 12:57:17 +02:00
stnolting
8109de5590 minor edits 2021-07-09 12:49:05 +02:00
stnolting
6375439d17 minor edits, typo fixes and clean-ups 2021-07-06 15:37:28 +02:00
stnolting
805ddc4f00 [sw] clean-up of makefiles; added "hex" target 2021-07-06 15:35:22 +02:00
stnolting
a89a09d688 added XIRQ tests to processor check environment 2021-07-03 16:14:00 +02:00
stnolting
d111d65e90 added example program for new XIRQ controller 2021-07-03 16:12:40 +02:00
stnolting
b49edc6b48 [sw] increased GPIO ports from 32-bit to 64-bit; removed pin-change interrupt
* removed sw/example/demo_gpio_irq (obsolete now)
2021-06-30 18:26:43 +02:00
stnolting
cddf8b9d0f [sw/example/processor_check] minor typo fix in UART1 test code 2021-06-29 15:50:34 +02:00
stnolting
b7a25826bf [sw/example/processor_check] added SLINK check; added minimal UART result report output #89 2021-06-29 15:42:11 +02:00
stnolting
a7f3c8d35c [sw] removed numerically-controlled oscillator (NCO) IO module 2021-06-27 14:53:46 +02:00
stnolting
f269884902 ⚠️ [rtl,setups,sim,sw] removed top's FIRQ inputs
see CHANGELOG.md for more details
2021-06-27 12:01:44 +02:00
stnolting
2f15bf655c [sw] minor edits 2021-06-26 15:39:01 +02:00
stnolting
7bd101b9c5 changed function type of "after main handler"
void -> int
2021-06-26 11:20:33 +02:00
stnolting
d68db0fe0b [sw/example/processor_check] clean-up... 2021-06-25 18:54:06 +02:00
stnolting
6170ed0381 [sw/examples/processor_check] minor edits
* changed PMP tests
* added security failure checks (make sure that invalid loads/reads do NOT return any relevant data)
2021-06-25 18:02:42 +02:00
stnolting
260e2cf39b reworked processor check program
* using macros to redirect prints
* minor edits to allow execution on real (but constrained) hardware
* minor edits to avoid execution of tests that might cause dead locks if certain HW modules are not implemented
2021-06-18 15:11:55 +02:00
stnolting
0eecbda630 added UART1 simulation mode enable 2021-06-17 20:56:19 +02:00
Lars Asplund
917b7c8d12 Added option to print a selected subset of information from processor_check to UART0 during simulation. 2021-06-16 22:51:55 +02:00
stnolting
e3fc880691 fixed UART tests
* both UARTs are correctly initilized
* complete backup of original config during explicit low-level UART tests
2021-06-15 16:14:23 +02:00
stnolting
c41580b088 🐛 [sw/examples/processor_check] fixed bug in UART tests
corrupted UART1 configuration
2021-06-14 22:34:08 +02:00
stnolting
673a07472c [sw/example/processor_check] fixed intermediate UART enable/disable 2021-06-13 15:50:49 +02:00
stnolting
3b4ea762a9 [sw/example/processor_check] re-added FENCE.I test
currently, this cannot be covered by the riscv-arch-test due to boot concept issues #62
2021-06-11 22:21:44 +02:00
stnolting
ebd298da11 [sw/example/blink_led] simplification
executable is now less than 4kB
2021-06-11 19:38:17 +02:00
stnolting
d5b8c776a6 [sw/example/processor_check] added "after-main" handler; minor edits 2021-06-07 19:40:11 +02:00
stnolting
94034acd36 [sw/lib] clean-up of MISA extension definitions; added C++ guarding 2021-06-07 19:19:44 +02:00
stnolting
2ce40fc44d [sw/example/processor_check] refined counter tests
counter tests (mtime, cycle, instret) now check for low-to-high overflow
2021-06-06 00:38:35 +02:00
stnolting
652a022669 [sw] fixed return value of all example programs
return 0: successful execution
return !=0: error during execution
2021-06-05 11:32:49 +02:00
stnolting
83fce8252c [sw/example/processor_check] minor edits 2021-06-04 22:29:54 +02:00
stnolting
9f838c1861 ⚠️ removed B (bit manip.) ISA extension from project
This extension will be deleted from the project for the time being.

see https://github.com/stnolting/neorv32/projects/7
2021-06-03 20:49:31 +02:00
umarcor
d692097626 [ci] cleanup shell scripts 2021-06-03 16:33:11 +02:00