blob: 5c9e84e21081f4f1f890f226577191d534e63aaf [file] [log] [blame]
/*
:name: operations-on-arrays-treat-as-integer
:description: Test packed arrays operations support (treat array as integer)
:should_fail: 0
:tags: 7.4.3
*/
module top ();
bit [7:0] arr_a;
bit [7:0] arr_b;
initial begin
arr_a = 8'd17;
arr_b = (arr_a + 29);
$display(":assert: (%d == 46)", arr_b);
end
endmodule