takahirox/riscv-rust

Handle csr *ip properly

takahirox opened this issue · 0 comments

Currently the emulator takes an interrupt by seeing the device interrupt signal. But the interrupt signal should rise csr *ip register bit and the emulator should take an interrupt if csr *ip register bit is risen.

And csr *ip register can be writable. If it's writable software should be able to cause an interrupt by writing.