Actions
Bug #9473
openriscv.mmu 181:0 ERROR (SEMANTIC): "IF statements are not allowed in operations."
Start date:
02/05/2019
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
extern SATP_MODE = SATP_MODE // 0 - No translation or protection. op store_global(va: VA) init = { va.type = STORE_OP; va.is_pa = 0; va.pa = 0; va.ppn = 0; #ifdef MEM_SV32 va.i = 1; // Sv32 #else // V64 if SATP_MODE == 8 then va.i = 2; // Sv39 else va.i = 3; // Sv48 endif; #endif }
Actions