riscv-fast-interrupt icon indicating copy to clipboard operation
riscv-fast-interrupt copied to clipboard

Inconsistency on which fields are zeroed when switching to CLINT mode

Open Timmmm opened this issue 1 year ago • 0 comments

For backwards compatibility in implementations supporting both CLINT and CLIC modes, when switching to CLINT mode the new CLIC xcause.xpil state field is zeroed.

For backwards compatibility in systems supporting both CLINT and CLIC modes, when switching to CLINT mode the new CLIC xcause state fields (xinhv and xpil) are zeroed.

I assume the latter is the correct one.

Timmmm avatar Sep 24 '24 10:09 Timmmm