Following the spec, SWA instruction should store a value to the specified address only when the atomic-reserve is set.
If atomic-reserve is not set, SWA should not do any store.
SWA with misaligned address should not assert any exception if atomic-reserve is not set.
It seems mor1kx asserts exception in the above case.
Following the spec, SWA instruction should store a value to the specified address only when the atomic-reserve is set. If atomic-reserve is not set, SWA should not do any store. SWA with misaligned address should not assert any exception if atomic-reserve is not set. It seems mor1kx asserts exception in the above case.
following insn streams will reproduce
following should solve this issue in mor1kx_lsu_cappuccino.v change assign except_align