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 36761d9155
commit a70d51f4c9

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;