Skip to content

Commit

Permalink
[topgen] Improve support for multiple address spaces
Browse files Browse the repository at this point in the history
Individually generate C and Rust collateral for all address spaces

Fix up alert and irq domains to enable generating collateral where the
alerts and irqs don't necessarily generate from devices in the same
address space as the CPU. Darjeeling has bus bridges that make servicing
those interrupts possible (indirect reachability to the IP).

The autogenerated tests will surely be bonkers, but that is to be fixed
up later.

Co-authored-by: Robert Schilling <[email protected]>
Signed-off-by: Alexander Williams <[email protected]>
  • Loading branch information
a-will and Razer6 committed Jan 16, 2025
1 parent 140185f commit 6bcfc4a
Show file tree
Hide file tree
Showing 36 changed files with 4,749 additions and 938 deletions.
442 changes: 442 additions & 0 deletions hw/top_darjeeling/rtl/autogen/top_darjeeling_soc_dbg_pkg.sv

Large diffs are not rendered by default.

497 changes: 497 additions & 0 deletions hw/top_darjeeling/rtl/autogen/top_darjeeling_soc_mbx_pkg.sv

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions hw/top_darjeeling/sw/autogen/chip/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
// SPDX-License-Identifier: Apache-2.0

pub mod top_darjeeling;
pub mod top_darjeeling_soc_dbg;
pub mod top_darjeeling_soc_mbx;
Loading

0 comments on commit 6bcfc4a

Please sign in to comment.