0.4.1
版本发布时间: 2023-05-23 09:23:40
Nuclei-Software/nuclei-sdk最新发布版本:0.6.0(2024-07-01 10:42:53)
This is release version 0.4.1
of Nuclei SDK.
-
Application
- Add demo_cidu to demo cidu feature of Nuclei RISC-V Processor
- Add demo_cache to demo ccm feature of Nuclei RISC-V Processor
- Optimize demo_nice for rv64
- Fix compile error when -Werror=shadow
- Update helloworld and smphello due to mhartid changes
-
NMSIS
-
Bump NMSIS to 1.1.1 release version, NMSIS DSP/NN prebuilt libraries are built with 1.1.1 release.
-
Add CIDU support via core_feature_cidu.h, and
__CIDU_PRESENT
macro is required in<Device>.h
to represent CIDU present or not -
Add macros of HPM m/s/u event enable, events type, events idx
-
Fix define error of HPM_INIT macro
-
Due to mhartid csr update for nuclei subsystem reference design, two new API added called
__get_hart_id
and__get_cluster_id
- mhartid csr is now used to present cluster id and hart id for nuclei subsystem reference design
- bit 0-7 is used for hart id in current cluster
- bit 8-15 is used for cluster id of current cluster
- for normal nuclei riscv cpu design, the mhartid csr is used as usual, but in NMSIS Core, we only take lower 8bits in use cases like systimer, startup code to support nuclei subsystem
-
-
Build System
- Add semihost support in build system via SEMIHOST make variable, if SEMIHOST=1, will link semihost library, currently only works with newlibc library, not working with libncrt
- Add support for compile cpp files with suffix like .cc or .CC
- Remove
--specs=nosys.specs
compile options used during compiling, since we have implement almost all necessary newlibc stub functions, no need to link the nosys version, which will throw warning of link with empty newlibc stub functions.
-
SoC
- Fix missing definition of BOOT_HARTID in
startup_demosoc.S
- Update demosoc and evalsoc interrupt id and handler definition for CIDU changes
- Add
__CIDU_PRESENT
macro to control CIDU present or not indemosoc.h
andevalsoc.h
which is the<Device>.h
- Add uart status get and clear api for evalsoc and demosoc, which is used by cidu demo
- Add semihost support for all SoCs, currently only works with newlib,
SEMIHOST=1
control semihost support - Update openocd configuration file to support semihosting feature
- Add extra run/restart command for openocd debug configuration in smp debug in npk for Nuclei Studio
- Update smp/boot flow to match mhartid csr update
- BOOT_HARTID is the choosen boot hart id in current cluster, not the full mhartid register value, for example, it the mhartid csr register is 0x0101, and the BOOT_HARTID should be set to 1, if you want hart 1 to be boot hart
- Update and add more newlib stub functions in demosoc/evalsoc/gd32vf103 SoC's newlibc stub implementation, since we are no longer compile with
--specs=nosys.specs
- Fix missing definition of BOOT_HARTID in
-
CI
- Add demo_cidu and demo_cache in ci configuration files, but expect it to run fail when run in qemu
- Don't check certificate when download tool
-
Tools
- Modify openocd configuration file in nsdk_utils.oy support win32 now
- Add new feature to generate cpu json when knowing cpu arch in nsdk_runcpu.py script
- Add runresult_diff.py script to compare the difference of two runresult.xlsx.csvtable.json files, useful when do benchmark difference check
- Add
--uniqueid <id>
option for nsdk cli tools
Full Changelog: https://github.com/Nuclei-Software/nuclei-sdk/compare/0.4.0...0.4.1