blob: 6ddf7388aec1550a97bbd7390708c85089c62a07 [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
:type: simulation parsing
*/
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