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,9 +201,11 @@ module hptw
FAULT: if (ITLBMissF & AnyCPUReqM & ~MemAfterIWalkDone) NextWalkerState = FAULT;
else NextWalkerState = IDLE;
default: begin
$error("Default state in HPTW should be unreachable");
NextWalkerState = IDLE; // should never be reached
end
// synthesis translate_off
$error("Default state in HPTW should be unreachable");
// synthesis translate_on
NextWalkerState = IDLE; // should never be reached
end
endcase
end else begin // No Virtual memory supported; tie HPTW outputs to 0
assign HPTWRead = 0; assign SelPTW = 0;