tree: Introduce SystemRDL support #74
Open
+1,074
β2,083
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
System RDL support
This PR introduces initial support for generating SoC configuration registers using the SystemRDL tool. The goal is to replace the existing
reggentool withSystemRDL.π Added
rdl: Therdlfolder contains all the RDL files needed to correctly generate the SoC address map. It includes the SoC control registers (chimera_regs) as well as the top-level address map (chimera.rdl), which is used to generate the C-header with the full address map and helper structs.chimera_top_wrapper: The top-level wrapper has been updated to convert the internal Cheshire register protocol to the APB protocol used to connect to the SystemRDL-generated registers.chimera_addrmap.h: With the C-header support of SystemRDL, a new header file containing the full Chimera SoC address map has been generated.offload.c: The offload helper functions have been refactored to use the new generated structs.chimera.mk: The makefile now includes a target to regenerate the SoC registers if necessary.sw.mk: A new target has been introduced to regenerate the address map header.