data/full_repos/permissive/207890020/Top.v
1: b"%Error: data/full_repos/permissive/207890020/Top.v:77: Cannot find file containing module: 'Compare10'\nCompare10 #(\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/207890020,data/full_repos/permissive/207890020/Compare10\n             data/full_repos/permissive/207890020,data/full_repos/permissive/207890020/Compare10.v\n             data/full_repos/permissive/207890020,data/full_repos/permissive/207890020/Compare10.sv\n             Compare10\n             Compare10.v\n             Compare10.sv\n             obj_dir/Compare10\n             obj_dir/Compare10.v\n             obj_dir/Compare10.sv\n%Error: Exiting due to 1 error(s)\n"
module Top(
	input			clk,
	input			rst,
	input	[3:0]	fcn,
	input	[N:0]	in1,
	input	[N:0]	in2,
	output		out
);
parameter	W = 32;

localparam	N = W-1;

reg	[N:0]	a_q, b_q;
reg	[3:0]	f_q;
reg			o_q;
wire			cmp_out;

always @(posedge clk) begin
	if (rst) begin
		a_q <= {W{1'b0}};
		b_q <= {W{1'b0}};
		f_q <= 4'b0;
		o_q <= 1'b0;
	end
	else begin
		a_q <= in1;
		b_q <= in2;
		f_q <= fcn;
		o_q <= cmp_out;
	end
end

assign out = o_q;

(* KEEP_HIERARCHY="soft" *)
Compare10 #(
	.W(W)
) cmp (
	.fcn(f_q),
	.a(a_q),
	.b(b_q),
	.o(cmp_out)
);

endmodule
module Top(
	input			clk,
	input			rst,
	input	[3:0]	fcn,
	input	[N:0]	in1,
	input	[N:0]	in2,
	output		out
);

parameter	W = 32;

localparam	N = W-1;

reg	[N:0]	a_q, b_q;
reg	[3:0]	f_q;
reg			o_q;
wire			cmp_out;

always @(posedge clk) begin
	if (rst) begin
		a_q <= {W{1'b0}};
		b_q <= {W{1'b0}};
		f_q <= 4'b0;
		o_q <= 1'b0;
	end
	else begin
		a_q <= in1;
		b_q <= in2;
		f_q <= fcn;
		o_q <= cmp_out;
	end
end

assign out = o_q;

(* KEEP_HIERARCHY="soft" *)
Compare10 #(
	.W(W)
) cmp (
	.fcn(f_q),
	.a(a_q),
	.b(b_q),
	.o(cmp_out)
);

endmodule