tree: Introduce SystemRDL support#74
Open
Lore0599 wants to merge 3 commits intopulp-platform:develfrom
Open
Conversation
96c78fa to
2979c8d
Compare
ec07ad9 to
ac9f120
Compare
f1a6e79 to
d990517
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.