← ProblemsVerilog Language / Vectors
Vector concatenation operator
36%vectorsGiven six 5-bit inputs (a through f), concatenate them together with two trailing 1 bits (32 bits total), then split the result into four 8-bit outputs: w gets the most-significant byte, then x, y, and z.
{w, x, y, z} = {a, b, c, d, e, f, 2'b11}