Concatenation of 2 arrays

In reply to saritr:

Either you can use the replication operator.

// Assuming data[i] is 32 it wide vector and WDATA is 64 bit wide vector.
WDATA <= 2{data[i]};

Here is some info about replication operator.