data/full_repos/permissive/467899092/full_subtractor.v
1: b"%Error: data/full_repos/permissive/467899092/full_subtractor.v:10: Cannot find file containing module: 'half_subtractor'\n half_subtractor hs1(hs1_d, hs1_bo, a, b);\n ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/467899092,data/full_repos/permissive/467899092/half_subtractor\n             data/full_repos/permissive/467899092,data/full_repos/permissive/467899092/half_subtractor.v\n             data/full_repos/permissive/467899092,data/full_repos/permissive/467899092/half_subtractor.sv\n             half_subtractor\n             half_subtractor.v\n             half_subtractor.sv\n             obj_dir/half_subtractor\n             obj_dir/half_subtractor.v\n             obj_dir/half_subtractor.sv\n%Error: data/full_repos/permissive/467899092/full_subtractor.v:11: Cannot find file containing module: 'half_subtractor'\n half_subtractor hs2(diff, hs2_bo, hs1_d, bin);\n ^~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module full_subtractor(
	output diff, output bout,
	input a, input b, input bin
	);

	wire hs1_d, hs1_bo, hs2_bo;
	
	half_subtractor hs1(hs1_d, hs1_bo, a, b);
	half_subtractor hs2(diff, hs2_bo, hs1_d, bin);
	
	and(bout, hs2_bo, hs1_bo);
	
endmodule
module full_subtractor(
	output diff, output bout,
	input a, input b, input bin
	);


	wire hs1_d, hs1_bo, hs2_bo;
	
	half_subtractor hs1(hs1_d, hs1_bo, a, b);
	half_subtractor hs2(diff, hs2_bo, hs1_d, bin);
	
	and(bout, hs2_bo, hs1_bo);
	
endmodule