You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed with 209217e.
Please note that the local irq signal is named clint_irq_i and has a lenngth of 32bits which maps directly to mie/mip register bits. To raise the sw interrupt, ACLINT needs to hook-up to bit 3 of the vector.
To ease integration core_complex.h provides an anonymous enum thus providing sysc::riscv::SW_IRQ, sysc::riscv::TIMER_IRQ, and sysc::riscv::EXT_IRQ.
Activity
eyck commentedon Jan 6, 2026
Fixed with 209217e.
Please note that the local irq signal is named clint_irq_i and has a lenngth of 32bits which maps directly to mie/mip register bits. To raise the sw interrupt, ACLINT needs to hook-up to bit 3 of the vector.
To ease integration core_complex.h provides an anonymous enum thus providing sysc::riscv::SW_IRQ, sysc::riscv::TIMER_IRQ, and sysc::riscv::EXT_IRQ.
quic-egmc commentedon Jan 8, 2026
Thanks, this works well, much appreciated.
I added an additional enum in this PR: #32 to aid in finding the start of local IRQs.