by metaprogram · 2y ago · 0 comments
The configurability problem has several main parts.
(1) It's a Turing complete problem as the informal RISCV specification gives you so much freedom, including all those IMPDEFs. The specification of a complex, configurable ISA will always be intrinsically complex and syntax can only do so much about presenting this intrinsic complexity.
(2) Sail's lack of a clear, easy to use module system for configuration of the exact RISCV version to be emulated.
https://alasdair.github.io/#_modules
But it's very new and the RISC-V model doesn't use it yet. I think it's also just a first step rather than fully solving the problem.