data/full_repos/permissive/496266817/rtl/pbkdf2_1.v
1: b"%Error: data/full_repos/permissive/496266817/rtl/pbkdf2_1.v:26: Cannot find file containing module: 'pbkdf2_1_dp'\n pbkdf2_1_dp datapath(\n ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/496266817/rtl,data/full_repos/permissive/496266817/pbkdf2_1_dp\n             data/full_repos/permissive/496266817/rtl,data/full_repos/permissive/496266817/pbkdf2_1_dp.v\n             data/full_repos/permissive/496266817/rtl,data/full_repos/permissive/496266817/pbkdf2_1_dp.sv\n             pbkdf2_1_dp\n             pbkdf2_1_dp.v\n             pbkdf2_1_dp.sv\n             obj_dir/pbkdf2_1_dp\n             obj_dir/pbkdf2_1_dp.v\n             obj_dir/pbkdf2_1_dp.sv\n%Error: data/full_repos/permissive/496266817/rtl/pbkdf2_1.v:53: Cannot find file containing module: 'pbkdf2_1_ct'\n pbkdf2_1_ct controller(\n ^~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module pbkdf2_1(
	input	wire				clk			,
	input	wire				reset_n		,
	input	wire				init		,
	input	wire	[639:0]		in			,
	output	wire	[1023:0]	out			,
	output	wire	[255:0]		ixor_hash	,
	output	wire	[255:0]		oxor_hash	,
	output	wire				valid
);

	wire			sha256_init				;
	wire			sha256_first_block		;
	wire	[1:0]	sel_block_in_i_hash		;
	wire			sel_block_in_o_hash		;
	wire			sel_block_in			;
	wire	[1:0]	sel_prev_hash			;
	wire			update_mem_0			;
	wire			update_mem_1			;
	wire			update_out_4			;
	wire			update_out_3			;
	wire			update_out_2			;
	wire			update_out_1			;
	wire	[2:0]	index					;
	
	pbkdf2_1_dp datapath(

		.clk					(clk)						,
		.reset_n				(reset_n)					,
		.sha256_init			(sha256_init)				,
		.sha256_first_block		(sha256_first_block)		,
		.sel_block_in_i_hash	(sel_block_in_i_hash)		,
		.sel_block_in_o_hash	(sel_block_in_o_hash)		,
		.sel_block_in			(sel_block_in)				,
		.sel_prev_hash			(sel_prev_hash)				,
		.update_mem_0			(update_mem_0)				,
		.update_mem_1			(update_mem_1)				,
		.update_ixor_mem		(update_ixor_mem)			,
		.update_oxor_mem		(update_oxor_mem)			,
		.update_out_4			(update_out_4)				,
		.update_out_3			(update_out_3)				,
		.update_out_2			(update_out_2)				,
		.update_out_1			(update_out_1)				,
		.index					(index)						,
		.in						(in)						,

		.out					(out)						,
		.ixor_hash				(ixor_hash)					,
		.oxor_hash				(oxor_hash)					,
		.sha256_digest_valid	(sha256_digest_valid)		
	);
	
	pbkdf2_1_ct	controller(

		.clk					(clk)						,
		.reset_n				(reset_n)					,
		.init					(init)						,
		.sha256_digest_valid	(sha256_digest_valid)		,

		.sha256_init			(sha256_init)				,
		.sha256_first_block		(sha256_first_block)		,
		.sel_block_in_i_hash	(sel_block_in_i_hash)		,
		.sel_block_in_o_hash	(sel_block_in_o_hash)		,
		.sel_block_in			(sel_block_in)				,
		.sel_prev_hash			(sel_prev_hash)				,
		.update_mem_0			(update_mem_0)				,
		.update_mem_1			(update_mem_1)				,
		.update_ixor_mem		(update_ixor_mem)			,
		.update_oxor_mem		(update_oxor_mem)			,
		.update_out_4			(update_out_4)				,
        .update_out_3			(update_out_3)				,
        .update_out_2			(update_out_2)				,
        .update_out_1			(update_out_1)				,
		.index					(index)						,
		.valid					(valid)		
	);
endmodule
module pbkdf2_1(
	input	wire				clk			,
	input	wire				reset_n		,
	input	wire				init		,
	input	wire	[639:0]		in			,
	output	wire	[1023:0]	out			,
	output	wire	[255:0]		ixor_hash	,
	output	wire	[255:0]		oxor_hash	,
	output	wire				valid
);


	wire			sha256_init				;
	wire			sha256_first_block		;
	wire	[1:0]	sel_block_in_i_hash		;
	wire			sel_block_in_o_hash		;
	wire			sel_block_in			;
	wire	[1:0]	sel_prev_hash			;
	wire			update_mem_0			;
	wire			update_mem_1			;
	wire			update_out_4			;
	wire			update_out_3			;
	wire			update_out_2			;
	wire			update_out_1			;
	wire	[2:0]	index					;
	
	pbkdf2_1_dp datapath(

		.clk					(clk)						,
		.reset_n				(reset_n)					,
		.sha256_init			(sha256_init)				,
		.sha256_first_block		(sha256_first_block)		,
		.sel_block_in_i_hash	(sel_block_in_i_hash)		,
		.sel_block_in_o_hash	(sel_block_in_o_hash)		,
		.sel_block_in			(sel_block_in)				,
		.sel_prev_hash			(sel_prev_hash)				,
		.update_mem_0			(update_mem_0)				,
		.update_mem_1			(update_mem_1)				,
		.update_ixor_mem		(update_ixor_mem)			,
		.update_oxor_mem		(update_oxor_mem)			,
		.update_out_4			(update_out_4)				,
		.update_out_3			(update_out_3)				,
		.update_out_2			(update_out_2)				,
		.update_out_1			(update_out_1)				,
		.index					(index)						,
		.in						(in)						,

		.out					(out)						,
		.ixor_hash				(ixor_hash)					,
		.oxor_hash				(oxor_hash)					,
		.sha256_digest_valid	(sha256_digest_valid)		
	);
	
	pbkdf2_1_ct	controller(

		.clk					(clk)						,
		.reset_n				(reset_n)					,
		.init					(init)						,
		.sha256_digest_valid	(sha256_digest_valid)		,

		.sha256_init			(sha256_init)				,
		.sha256_first_block		(sha256_first_block)		,
		.sel_block_in_i_hash	(sel_block_in_i_hash)		,
		.sel_block_in_o_hash	(sel_block_in_o_hash)		,
		.sel_block_in			(sel_block_in)				,
		.sel_prev_hash			(sel_prev_hash)				,
		.update_mem_0			(update_mem_0)				,
		.update_mem_1			(update_mem_1)				,
		.update_ixor_mem		(update_ixor_mem)			,
		.update_oxor_mem		(update_oxor_mem)			,
		.update_out_4			(update_out_4)				,
        .update_out_3			(update_out_3)				,
        .update_out_2			(update_out_2)				,
        .update_out_1			(update_out_1)				,
		.index					(index)						,
		.valid					(valid)		
	);
endmodule