data/full_repos/permissive/488093047/Verilog Codes/Mux_4x1.v
1: b'%Error: Cannot find file containing module: Codes,data/full_repos/permissive/488093047\n        ... Looked in:\n             data/full_repos/permissive/488093047/Verilog/Codes,data/full_repos/permissive/488093047\n             data/full_repos/permissive/488093047/Verilog/Codes,data/full_repos/permissive/488093047.v\n             data/full_repos/permissive/488093047/Verilog/Codes,data/full_repos/permissive/488093047.sv\n             Codes,data/full_repos/permissive/488093047\n             Codes,data/full_repos/permissive/488093047.v\n             Codes,data/full_repos/permissive/488093047.sv\n             obj_dir/Codes,data/full_repos/permissive/488093047\n             obj_dir/Codes,data/full_repos/permissive/488093047.v\n             obj_dir/Codes,data/full_repos/permissive/488093047.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/488093047/Verilog\n%Error: Cannot find file containing module: Codes/Mux_4x1.v\n%Error: Exiting due to 3 error(s)\n'
module Mux_4x1 #(parameter N = 32)(a,b,c,d,s0,s1,y);

input [N-1:0]a;
input [N-1:0]b;
input [N-1:0]c;
input [N-1:0]d;
input s0;
input s1;
output [N-1:0]y;

wire [N-1:0]f_1;
wire [N-1:0]f_2;

Mux_2x1 #(.N(N)) Mux_ab(.a(a),
			.b(b),
			.y(f_1),
			.s(s0));

Mux_2x1 #(.N(N)) Mux_cd(.a(c),
			.b(d),
			.y(f_2),
			.s(s0));

Mux_2x1 #(.N(N)) Mux_f_1f_2(.a(f_1),
			    .b(f_2),
			    .y(y),
			    .s(s1));

endmodule
module Mux_4x1 #(parameter N = 32)(a,b,c,d,s0,s1,y);


input [N-1:0]a;
input [N-1:0]b;
input [N-1:0]c;
input [N-1:0]d;
input s0;
input s1;
output [N-1:0]y;

wire [N-1:0]f_1;
wire [N-1:0]f_2;

Mux_2x1 #(.N(N)) Mux_ab(.a(a),
			.b(b),
			.y(f_1),
			.s(s0));

Mux_2x1 #(.N(N)) Mux_cd(.a(c),
			.b(d),
			.y(f_2),
			.s(s0));

Mux_2x1 #(.N(N)) Mux_f_1f_2(.a(f_1),
			    .b(f_2),
			    .y(y),
			    .s(s1));

endmodule