blob: e8646e60f7a1fbd9ef1af7f02545ea4a07daf37c [file] [log] [blame]
/*
:name: integers-left-padding-bit
:description: Automatic left padding of literal numbers using single-bit value
:should_fail: 0
:tags: 5.7.1
*/
module top();
logic [15:0] a, b, c, d;
initial begin;
a = '0; // sets all 16 bits to 0
b = '1; // sets all 16 bits to 1
c = 'x; // sets all 16 bits to x
d = 'z; // sets all 16 bits to z
end
endmodule