Commit graph

47 commits

Author SHA1 Message Date
stnolting
fa024f9a27 [sw/example] adjust project-specific makefiles
add all relevant configuration options (ISA, memory sizes, ...)
2024-10-20 20:37:11 +02:00
stnolting
1377399a91 [sw/example] use functions from neorv32_aux 2024-06-29 17:05:18 +02:00
stnolting
240658a56f [sw/example] update file headers 2024-06-21 20:17:16 +02:00
stnolting
6cbf165754 [float_test] adjust sign-injection models
sign-injection logic use floating point inputs as-is (no flushing)
2024-02-11 15:36:56 +01:00
stnolting
36ae41d5b3 [sw] float_test: fix rounding
use round to nearby integral
2024-02-11 15:25:57 +01:00
stnolting
162225b5d0 [sw/example] remove obsolete neorv32_rte_check_isa function 2023-12-04 17:40:16 +01:00
stnolting
5196e8aa45 [sw] add esception tests to FPU test program
⚠️ work-in-progress
2023-11-20 20:28:47 +01:00
stnolting
fc059bd5de [sw] FPU test: add CSR r/w test case 2023-08-04 23:02:28 +02:00
stnolting
44ada20e2f [FPU test program] clean-up (and fix) 2023-05-05 11:28:26 +02:00
stnolting
dadfdbd05a [FPU test] minor clean-up 2023-05-05 10:55:55 +02:00
stnolting
cd1b6c8878 [sw/example] update UART setup function 2023-03-05 19:00:24 +01:00
Stephan
74c0817a1e
[sw] rename library functions (#467)
* [sw/lib] rename library functions (UART + RTE)

* [sw/example] change library function calls

* [sw/lib] change library function calls

* [sw/lib] add backwards compatibility layer

* [docs] minor edits/fixes

* [sw/lib] comment edits

* update bootloader
2022-12-28 13:02:51 +01:00
stnolting
4bfcc05fd3 [sw/example/floating_point] update 2022-12-01 20:02:48 +01:00
stnolting
4d5952af04 [sw] cleanup makefiles 2022-10-03 18:28:59 +02:00
stnolting
3236c47ee2 transform NAN into canonical NAN 2022-04-06 21:32:57 +02:00
stnolting
ef16dbe3e7 [sw/example] fixed Zfinx discovery 2022-02-16 07:44:23 +01:00
stnolting
ddfa96a332 [sw] rework intrinsics (custom instructions) 2022-01-28 07:53:53 +01:00
stnolting
7f8e1bd570 [sw makefiles] minor edits
user only needs to define NEORV32_HOME variable
2021-11-16 21:10:43 +01:00
stnolting
d97df66b39 ⚠️ modify handling of makefile's MARCH and MABI variables
Pre-commit usage: `MARCH=-march=rv32i`, the `-march` should not be here

Post-commit usage: `MARCH=rv32i`, this is more straightforward

Same for `MABI=-mabi=...` -> `MABI=...`
2021-10-15 17:20:55 +02:00
stnolting
e44cb43819 [sw] no more use of "neorv32_uart_*" legacy wrappers
all of the software is now using `neorv32_uart0_*` instead of the legacy wrappers `neorv32_uart_*`; however, the legacy wrappers are still implemented
2021-10-12 16:19:18 +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
e4b29674a2 [sw] removed custom mzext CSR; moved info o new SYSINFO_CPU register 2021-08-19 13:32:05 +02:00
stnolting
5d39d65e8c [sw] added mstatus.SD and mstatus.FS bits 2021-08-05 17:31:08 +02:00
umarcor
5b380dc56b [sw/example] define NEORV32_HOME 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
805ddc4f00 [sw] clean-up of makefiles; added "hex" target 2021-07-06 15:35:22 +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
ca21559e51 [sw/examples/floating_point_test] fixed broken function call; now also using "RUN_CHECK" compile switch 2021-06-01 17:47:02 +02:00
stnolting
0a653199c1 [sw/example/floating_point_test/README] added some handy online resources 2021-03-29 11:10:31 +02:00
stnolting
b7a96d5578 [sw/example/floating_point_test] added one instruction of each "class" to execution time test (hw vs. sw) 2021-03-29 11:01:48 +02:00
stnolting
19521cbfdf [sw/example/floating_point_test] added simple HW vs. SW speedup test 2021-03-28 21:22:18 +02:00
stnolting
ec25d50e75 [sw/example/floating_point_test] minor optimization of intrinsic library 2021-03-28 21:21:35 +02:00
stnolting
411cb9db15 [sw/example/floating_point_test] updated intrinsic library
intrinsic library now inlines Zfinx floating-point "instructions" (nearly as fast as "native" zfinx support by the compiler)
2021-03-27 19:41:18 +01:00
stnolting
9a147543d1 [sw/example/floating_point_test] typo fix 2021-03-27 19:32:07 +01:00
stnolting
d1722afbe2 [sw/example/floating_point_test] minor edits 2021-03-27 18:36:34 +01:00
stnolting
f7790d0a78 [sw/example/floating_point_test/README] added current "FPU limitations" 2021-03-27 17:18:46 +01:00
stnolting
14db698f10 [sw/example/floating_point_test] removed timing test; added compile guard 2021-03-26 16:20:34 +01:00
stnolting
8325ff33ff [sw/example/floating_point_test] updated Zfinx README 2021-03-26 16:05:28 +01:00
stnolting
51ea4ff3b8 [sw/example/floating_point_test] updated Zfinx verification framework 2021-03-26 16:05:06 +01:00
stnolting
ce66253b74 [sw/example/floating_point_test] updated Zfinx intrinsic library
* intrinsics and emulation function now have the same "interface" (arguments and return value)
* added "flush_to_zero" function so arguments get "de-denormalized" before doing actual computations
2021-03-26 15:33:28 +01:00
stnolting
8de15f6c44 [sw/example/floating_point_test] added Zfinx verification framework 2021-03-25 16:22:24 +01:00
stnolting
7724da3f8e [sw/example/floating_point_test] added Zfinx intrinsic library 2021-03-25 16:22:11 +01:00
stnolting
463992547a [sw/example/floating_point_test] added showcase project for the Zfinx floating-point extension 2021-03-25 16:04:50 +01:00