data/full_repos/permissive/127282917/FourBitAdder.v
1: b"%Error: data/full_repos/permissive/127282917/FourBitAdder.v:6: Cannot find file containing module: 'FullAdder'\n FullAdder first (  .a(a[0]),    \n ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/127282917,data/full_repos/permissive/127282917/FullAdder\n             data/full_repos/permissive/127282917,data/full_repos/permissive/127282917/FullAdder.v\n             data/full_repos/permissive/127282917,data/full_repos/permissive/127282917/FullAdder.sv\n             FullAdder\n             FullAdder.v\n             FullAdder.sv\n             obj_dir/FullAdder\n             obj_dir/FullAdder.v\n             obj_dir/FullAdder.sv\n%Error: data/full_repos/permissive/127282917/FourBitAdder.v:12: Cannot find file containing module: 'FullAdder'\n FullAdder second (  .a(a[1]),   \n ^~~~~~~~~\n%Error: data/full_repos/permissive/127282917/FourBitAdder.v:18: Cannot find file containing module: 'FullAdder'\n FullAdder third (  .a(a[2]),   \n ^~~~~~~~~\n%Error: data/full_repos/permissive/127282917/FourBitAdder.v:24: Cannot find file containing module: 'FullAdder'\n FullAdder fourth (  .a(a[3]),   \n ^~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module FourBitAdder (	input 	[3:0] a,
						input 	[3:0] b,
						output 	[4:0] s);
	wire [2:0] w;

	FullAdder first ( 	.a(a[0]),
						.b(b[0]),
						.cin(0),
						.s(s[0]),
						.cout(w[0]));

	FullAdder second ( 	.a(a[1]),
						.b(b[1]),
						.cin(w[0]),
						.s(s[1]),
						.cout(w[1]));

	FullAdder third ( 	.a(a[2]),
						.b(b[2]),
						.cin(w[1]),
						.s(s[2]),
						.cout(w[2]));

	FullAdder fourth ( 	.a(a[3]),
						.b(b[3]),
						.cin(w[2]),
						.s(s[3]),
						.cout(s[4]));
	
endmodule
module FourBitAdder (	input 	[3:0] a,
						input 	[3:0] b,
						output 	[4:0] s);

	wire [2:0] w;

	FullAdder first ( 	.a(a[0]),
						.b(b[0]),
						.cin(0),
						.s(s[0]),
						.cout(w[0]));

	FullAdder second ( 	.a(a[1]),
						.b(b[1]),
						.cin(w[0]),
						.s(s[1]),
						.cout(w[1]));

	FullAdder third ( 	.a(a[2]),
						.b(b[2]),
						.cin(w[1]),
						.s(s[2]),
						.cout(w[2]));

	FullAdder fourth ( 	.a(a[3]),
						.b(b[3]),
						.cin(w[2]),
						.s(s[3]),
						.cout(s[4]));
	
endmodule