You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduleFoo (
input [1:0] x,
output [1:0] y
);
assign y =x&2'h0;
endmodule
Rather than implicitly truncating the integer value, we should raise and error and force the user to acknowledge that the value will be truncated by doing the truncation themselves.
The text was updated successfully, but these errors were encountered:
Here's an example:
This produces
Rather than implicitly truncating the integer value, we should raise and error and force the user to acknowledge that the value will be truncated by doing the truncation themselves.
The text was updated successfully, but these errors were encountered: