Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[topgen] Support for multiple interrupt domains #24242

Open
wants to merge 4 commits into
base: integrated_dev
Choose a base branch
from

Conversation

Razer6
Copy link
Member

@Razer6 Razer6 commented Aug 7, 2024

This PR adds support for multiple interrupt domains to topgen.

  1. The top-level HJSON is added an entry interrupt_domains, defining all domains with support for a default one. Instantiating an IP in the HJSON allows you to assign the IP to one of the domains. If no domain is selected, the default interrupt domain is assigned to that IP.
  2. The PLIC is ipgen-ed. For every interrupt domain, a dedicated PLIC is generated. The default interrupt domain has no name suiffix (to not change any existing RTL). Others have their suffix. FW collaterals such as IRQ mappings are generated for all domains (and address spaces).
  3. The DIF is templated and generates a dedicated DIF for every PLIC.

Note, the first commit is coming from #23122 that lays out some ground work.

Razer6 added 4 commits August 7, 2024 07:26
Individually generate C and Rust collateral for all address spaces

Signed-off-by: Robert Schilling <[email protected]>
@Razer6 Razer6 requested review from msfschaffner and a team as code owners August 7, 2024 15:36
@Razer6 Razer6 requested review from HU90m, a-will, rswarbrick and andreaskurth and removed request for a team, msfschaffner and HU90m August 7, 2024 15:36
@Razer6 Razer6 added Component:Tooling Issues related to tooling, e.g. tools/scripts for doc, code generation (docgen, reggen), CSR IP:rv_plic Component:Darjeeling labels Aug 7, 2024
@hcallahan-lowrisc hcallahan-lowrisc self-requested a review August 15, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:Darjeeling Component:Tooling Issues related to tooling, e.g. tools/scripts for doc, code generation (docgen, reggen), CSR IP:rv_plic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant