`timescale 1ns/1ns module mux4_1( input [1:0]d1,d2,d3,d0, input [1:0]sel, output[1:0]mux_out ); reg[1:0] temp ; always @(*)(1444584) begin if (sel == 2'b11) temp = d0 ; else if (sel == 2'b10) temp = d1 ; else if (sel == 2'b01) temp = d2 ; else temp = d3 ; end assign mux_out = temp ; endmodule