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