data/full_repos/permissive/488964817/Mux8to1.v
1: b"%Error: data/full_repos/permissive/488964817/Mux8to1.v:9: syntax error, unexpected '(', expecting IDENTIFIER\n FD(iClk, nClk, sw);\n    ^~~~\n%Error: data/full_repos/permissive/488964817/Mux8to1.v:46: syntax error, unexpected '(', expecting IDENTIFIER\n JK_FF(iClk, Q[0], 1'b1, 1'b1);\n       ^~~~\n%Error: Exiting due to 2 error(s)\n"
module MUX_81(iData, iSelect, oData);
	input [7:0] iData;
	input [2:0] iSelect;
	output reg oData;
	

	always@(iSelect)
	begin

		case(iSelect)
			3'b000: oData = iData[0];
			3'b001: oData = iData[1];
			3'b010: oData = iData[2];
			3'b011: oData = iData[3];
			3'b100: oData = iData[4];
			3'b101: oData = iData[5];
			3'b110: oData = iData[6];
			3'b111: oData = iData[7];
			default: oData = 1'b0;
		endcase
	end
	
endmodule
module MUX_81(iData, iSelect, oData);

	input [7:0] iData;
	input [2:0] iSelect;
	output reg oData;
	

	always@(iSelect)
	begin

		case(iSelect)
			3'b000: oData = iData[0];
			3'b001: oData = iData[1];
			3'b010: oData = iData[2];
			3'b011: oData = iData[3];
			3'b100: oData = iData[4];
			3'b101: oData = iData[5];
			3'b110: oData = iData[6];
			3'b111: oData = iData[7];
			default: oData = 1'b0;
		endcase
	end
	
endmodule