data/full_repos/permissive/129127690/mux_4_1.v
1: b"%Error: data/full_repos/permissive/129127690/mux_4_1.v:9: Cannot find file containing module: 'mux_2_1'\n mux_2_1 #(bus_size) stage_1_1(select[0], a,b,stage_1_1_out);\n ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/129127690,data/full_repos/permissive/129127690/mux_2_1\n             data/full_repos/permissive/129127690,data/full_repos/permissive/129127690/mux_2_1.v\n             data/full_repos/permissive/129127690,data/full_repos/permissive/129127690/mux_2_1.sv\n             mux_2_1\n             mux_2_1.v\n             mux_2_1.sv\n             obj_dir/mux_2_1\n             obj_dir/mux_2_1.v\n             obj_dir/mux_2_1.sv\n%Error: data/full_repos/permissive/129127690/mux_4_1.v:10: Cannot find file containing module: 'mux_2_1'\n mux_2_1 #(bus_size) stage_1_2(select[0], c,d, stage_1_2_out);\n ^~~~~~~\n%Error: data/full_repos/permissive/129127690/mux_4_1.v:12: Cannot find file containing module: 'mux_2_1'\n mux_2_1 #(bus_size) stage_2(select[1],stage_1_1_out,stage_1_2_out, out);\n ^~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module mux_4_1 #(parameter bus_size = 32)
	(input [bus_size-1:0] 		a,b,c,d,
		input [1:0] 				select,
		output [bus_size-1:0] out);

	wire [bus_size-1:0] stage_1_1_out;
	wire [bus_size-1:0] stage_1_2_out;
	
	mux_2_1 #(bus_size) stage_1_1(select[0], a,b,stage_1_1_out);
	mux_2_1 #(bus_size) stage_1_2(select[0], c,d, stage_1_2_out);
	
	mux_2_1 #(bus_size) stage_2(select[1],stage_1_1_out,stage_1_2_out, out);

endmodule
module mux_4_1 #(parameter bus_size = 32)
	(input [bus_size-1:0] 		a,b,c,d,
		input [1:0] 				select,
		output [bus_size-1:0] out);


	wire [bus_size-1:0] stage_1_1_out;
	wire [bus_size-1:0] stage_1_2_out;
	
	mux_2_1 #(bus_size) stage_1_1(select[0], a,b,stage_1_1_out);
	mux_2_1 #(bus_size) stage_1_2(select[0], c,d, stage_1_2_out);
	
	mux_2_1 #(bus_size) stage_2(select[1],stage_1_1_out,stage_1_2_out, out);

endmodule