data/full_repos/permissive/133863909/Implementation of a Boolean Expression/mux_8_1.v
1: b'%Error: Cannot find file containing module: of\n        ... Looked in:\n             data/full_repos/permissive/133863909/Implementation/of\n             data/full_repos/permissive/133863909/Implementation/of.v\n             data/full_repos/permissive/133863909/Implementation/of.sv\n             of\n             of.v\n             of.sv\n             obj_dir/of\n             obj_dir/of.v\n             obj_dir/of.sv\n%Error: Cannot find file containing module: a\n%Error: Cannot find file containing module: Boolean\n%Error: Cannot find file containing module: Expression,data/full_repos/permissive/133863909\n%Error: Cannot find file containing module: data/full_repos/permissive/133863909/Implementation\n%Error: Cannot find file containing module: Expression/mux_8_1.v\n%Error: Exiting due to 6 error(s)\n'
module mux_8_1(
	output reg W,
	input [7:0] X,
	input [2:0] S
);

always @(*) begin
	case(S)
		3'b000: W <= X[0];
		3'b001: W <= X[1];
		3'b010: W <= X[2];
		3'b011: W <= X[3];
		3'b100: W <= X[4];
		3'b101: W <= X[5];
		3'b110: W <= X[6];
		3'b111: W <= X[7];
	endcase
end

endmodule
module mux_8_1(
	output reg W,
	input [7:0] X,
	input [2:0] S
);


always @(*) begin
	case(S)
		3'b000: W <= X[0];
		3'b001: W <= X[1];
		3'b010: W <= X[2];
		3'b011: W <= X[3];
		3'b100: W <= X[4];
		3'b101: W <= X[5];
		3'b110: W <= X[6];
		3'b111: W <= X[7];
	endcase
end

endmodule