data/full_repos/permissive/185301529/mux8.sv
 line:27: before: ":"
data/verilator_xmls/a0cae505-556d-4f82-8c39-cf8325d973b3.xml
module mux8 #(parameter width = 32)
(
	input logic [2:0] sel,
	input [width-1:0] a, b, c, d, aa, bb, cc, dd,
	output logic [width-1:0] f
);
	always_comb
	begin
		if (sel == 0)
			f = a;
		else if (sel == 1)
			f = b;
		else if (sel == 2)
			f = c;
		else if (sel == 3)
			f = d;
		else if (sel == 4)
			f = aa;
		else if (sel == 5)
			f = bb;
		else if (sel == 6)
			f = cc;
		else 
			f = dd;
		
	end
endmodule
module mux8 #(parameter width = 32)
(
	input logic [2:0] sel,
	input [width-1:0] a, b, c, d, aa, bb, cc, dd,
	output logic [width-1:0] f
);

	always_comb
	begin
		if (sel == 0)
			f = a;
		else if (sel == 1)
			f = b;
		else if (sel == 2)
			f = c;
		else if (sel == 3)
			f = d;
		else if (sel == 4)
			f = aa;
		else if (sel == 5)
			f = bb;
		else if (sel == 6)
			f = cc;
		else 
			f = dd;
		
	end
endmodule