data/full_repos/permissive/467899092/full_adder.v
1: b"%Error: data/full_repos/permissive/467899092/full_adder.v:12: Cannot find file containing module: 'half_adder'\n half_adder ha1(cout_ha1, s_ha1, a, b);\n ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/467899092,data/full_repos/permissive/467899092/half_adder\n             data/full_repos/permissive/467899092,data/full_repos/permissive/467899092/half_adder.v\n             data/full_repos/permissive/467899092,data/full_repos/permissive/467899092/half_adder.sv\n             half_adder\n             half_adder.v\n             half_adder.sv\n             obj_dir/half_adder\n             obj_dir/half_adder.v\n             obj_dir/half_adder.sv\n%Error: data/full_repos/permissive/467899092/full_adder.v:13: Cannot find file containing module: 'half_adder'\n half_adder ha2(cout_ha2, s_ha2, s_ha1, cin);\n ^~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module full_adder(
	output cout,
	output s,
	input a,
	input b,
	input cin
	);

	wire cout_ha1, s_ha1, cout_ha2, s_ha2;
	half_adder ha1(cout_ha1, s_ha1, a, b);
	half_adder ha2(cout_ha2, s_ha2, s_ha1, cin);

	or(cout, cout_ha1, cout_ha2);
	assign s = s_ha2;

endmodule
module full_adder(
	output cout,
	output s,
	input a,
	input b,
	input cin
	);


	wire cout_ha1, s_ha1, cout_ha2, s_ha2;
	half_adder ha1(cout_ha1, s_ha1, a, b);
	half_adder ha2(cout_ha2, s_ha2, s_ha1, cin);

	or(cout, cout_ha1, cout_ha2);
	assign s = s_ha2;

endmodule