Problem array

In reply to peter:


module test;
  logic[7:0] m[3][2] = '{'{1,2},'{3,4},'{9,8}};
  int k;
  
initial begin
  k = m.sum(item1) with (item1.sum(item2) with (int'(item2>4)));
  $display ("K Value is %d",k);
end
  
endmodule