We have implemented the basic RV32I ISA, excluding the system calls. As beginners in this field we are finding it difficult to implement the privileged mode for the processor (in this case machine mode). We have gone through the privileged mode documentation and understood it. the problem we are facing is in how to implement these csr registers along with our regular RV32I core. Any documentation on how to go forward with implementing these registers alongside with the unprivileged core would be of great help.
Thanks in advanced