soc-hub-fi / headsail-vp

Headsail — Virtual Platform
0 stars 3 forks source link

Fix Rust PLIC layout for ASIC #88

Open hegza opened 1 month ago

hegza commented 1 month ago

plic_codegen macro from riscv-peripherals works perfectly well for Headsail HPC (VP). However, if we want to do bare metal interrupts on ASIC, we could fork riscv-peripherals and fix the spacing in the codegen, like we do for OpenSBI at https://gitlab.tuni.fi/soc-hub/common/sw/baseport/-/blob/main/board/unknown-headsail/patches/opensbi/0003-Add-Headsail-SoC-PLIC-hotfix.patch.