How do you plan to solve it?
module concat8_packer(input C, D,input [1:0] B,input [3:0] A, output [7:0] OUT); assign OUT = {A,B,~C,D}; endmodule