Reputation: 41
I didn't see anything in ISA 2.0 that talks about IO. Is RISC-V IO memory mapped ? Are there any specification on how IO is suppose to be done ? Do I get to define my own method ? TIA.
Upvotes: 4
Views: 1694
Reputation: 1571
Yes, it is memory mapped. The exact specifications are still being worked out, as there are attempts to factor things as cleanly as possible to promote reuse. It was even the topic of long conversation on the riscv-hw mailing list. Virtio is the direction things seem to be heading.
If you define your own now, you of course run the risk of needing to port things when it is standardized later on.
Upvotes: 1