data/full_repos/permissive/211878730/atlys/practice/fulladder.v
1: b"%Error: data/full_repos/permissive/211878730/atlys/practice/fulladder.v:15: Cannot find file containing module: 'halfadder'\n halfadder ha1(\n ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/211878730/atlys/practice,data/full_repos/permissive/211878730/halfadder\n             data/full_repos/permissive/211878730/atlys/practice,data/full_repos/permissive/211878730/halfadder.v\n             data/full_repos/permissive/211878730/atlys/practice,data/full_repos/permissive/211878730/halfadder.sv\n             halfadder\n             halfadder.v\n             halfadder.sv\n             obj_dir/halfadder\n             obj_dir/halfadder.v\n             obj_dir/halfadder.sv\n%Error: data/full_repos/permissive/211878730/atlys/practice/fulladder.v:22: Cannot find file containing module: 'halfadder'\n halfadder ha0(\n ^~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module fulladder(
	input  wire a,
	input  wire b,
	input  wire cin,
	output wire cout,
	output wire s
    );
	
	wire s0;
	wire c0;
	wire c1;
	
	halfadder ha1(
		.a(a),
		.b(b),
		.c(c0),
		.s(s0)
	);
	
	halfadder ha0(
		.a(s0),
		.b(cin),
		.c(c1),
		.s(s)
	);
	
	assign cout = c1 | c0;
endmodule
module fulladder(
	input  wire a,
	input  wire b,
	input  wire cin,
	output wire cout,
	output wire s
    );

	
	wire s0;
	wire c0;
	wire c1;
	
	halfadder ha1(
		.a(a),
		.b(b),
		.c(c0),
		.s(s0)
	);
	
	halfadder ha0(
		.a(s0),
		.b(cin),
		.c(c1),
		.s(s)
	);
	
	assign cout = c1 | c0;
endmodule