data/full_repos/permissive/147086086/Lab6/hw/barrel_shifter_struct/mux_2in1_type1.v
data/verilator_xmls/d7c0b4fb-916b-42ec-ba7c-a9fea0b8358c.xml
module mux_2in1_type1 (i_dat0, i_dat1, i_sel, o_dat);

parameter WIDTH = 8;

input                i_sel;
input   [WIDTH-1:0]  i_dat0;
input   [WIDTH-1:0]  i_dat1;
output  [WIDTH-1:0]  o_dat;

assign  o_dat = i_sel ? i_dat1 : i_dat0;

endmodule
module mux_2in1_type1 (i_dat0, i_dat1, i_sel, o_dat);


parameter WIDTH = 8;

input                i_sel;
input   [WIDTH-1:0]  i_dat0;
input   [WIDTH-1:0]  i_dat1;
output  [WIDTH-1:0]  o_dat;

assign  o_dat = i_sel ? i_dat1 : i_dat0;

endmodule