Add IALIGN exception to non-RVC implementations
This commit is contained in:
parent
c4e81922da
commit
96a9ee18e1
|
@ -708,6 +708,7 @@ end
|
|||
wire [W_ADDR-1:0] m_exception_return_addr;
|
||||
|
||||
wire [W_EXCEPT-1:0] x_except =
|
||||
~|EXTENSION_C && d_pc[1] ? EXCEPT_INSTR_MISALIGN :
|
||||
x_csr_illegal_access ? EXCEPT_INSTR_ILLEGAL :
|
||||
|EXTENSION_A && x_unaligned_addr && d_memop_is_amo ? EXCEPT_STORE_ALIGN :
|
||||
|EXTENSION_A && x_amo_phase == 3'h4 && x_unaligned_addr? EXCEPT_STORE_ALIGN :
|
||||
|
|
Loading…
Reference in New Issue