Modified the hptw's simulation error message so that synthesis does not attempt to include this statement.

This commit is contained in:
Ross Thompson 2021-08-16 10:02:29 -05:00
parent 4c8ea89f15
commit 66ad510abf

View File

@ -201,7 +201,9 @@ module hptw
FAULT: if (ITLBMissF & AnyCPUReqM & ~MemAfterIWalkDone) NextWalkerState = FAULT; FAULT: if (ITLBMissF & AnyCPUReqM & ~MemAfterIWalkDone) NextWalkerState = FAULT;
else NextWalkerState = IDLE; else NextWalkerState = IDLE;
default: begin default: begin
// synthesis translate_off
$error("Default state in HPTW should be unreachable"); $error("Default state in HPTW should be unreachable");
// synthesis translate_on
NextWalkerState = IDLE; // should never be reached NextWalkerState = IDLE; // should never be reached
end end
endcase endcase