data/full_repos/permissive/499137621/CheckPoint1_32bit_ALU_project-main/ripple_adder_5.v
1: b"%Error: data/full_repos/permissive/499137621/CheckPoint1_32bit_ALU_project-main/ripple_adder_5.v:12: Cannot find file containing module: 'ripple_adder_4'\n ripple_adder_4 rca4_0(\n ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/499137621/CheckPoint1_32bit_ALU_project-main,data/full_repos/permissive/499137621/ripple_adder_4\n             data/full_repos/permissive/499137621/CheckPoint1_32bit_ALU_project-main,data/full_repos/permissive/499137621/ripple_adder_4.v\n             data/full_repos/permissive/499137621/CheckPoint1_32bit_ALU_project-main,data/full_repos/permissive/499137621/ripple_adder_4.sv\n             ripple_adder_4\n             ripple_adder_4.v\n             ripple_adder_4.sv\n             obj_dir/ripple_adder_4\n             obj_dir/ripple_adder_4.v\n             obj_dir/ripple_adder_4.sv\n%Error: data/full_repos/permissive/499137621/CheckPoint1_32bit_ALU_project-main/ripple_adder_5.v:20: Cannot find file containing module: 'full_adder_1'\n full_adder_1 fa1(\n ^~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module ripple_adder_5(
	input [4:0]a, b,
	input c_in,
	output [4:0] s,
	output c_out, last_cin
	);
	
	wire carry;
	
	ripple_adder_4 rca4_0(
		.a(a[3:0]),
		.b(b[3:0]),
		.c_in(c_in),
		.s(s[3:0]),
		.c_out(carry)
	);
	
	full_adder_1 fa1(
		.a(a[4]),
		.b(b[4]),
		.c_in(carry),
		.s(s[4]),
		.c_out(c_out)
	);
	
	assign last_cin = carry;
	
endmodule
module ripple_adder_5(
	input [4:0]a, b,
	input c_in,
	output [4:0] s,
	output c_out, last_cin
	);

	
	wire carry;
	
	ripple_adder_4 rca4_0(
		.a(a[3:0]),
		.b(b[3:0]),
		.c_in(c_in),
		.s(s[3:0]),
		.c_out(carry)
	);
	
	full_adder_1 fa1(
		.a(a[4]),
		.b(b[4]),
		.c_in(carry),
		.s(s[4]),
		.c_out(c_out)
	);
	
	assign last_cin = carry;
	
endmodule