data/full_repos/permissive/496266817/rtl/romix.v
1: b"%Error: data/full_repos/permissive/496266817/rtl/romix.v:22: Cannot find file containing module: 'romix_dp'\n romix_dp datapath(\n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/496266817/rtl,data/full_repos/permissive/496266817/romix_dp\n             data/full_repos/permissive/496266817/rtl,data/full_repos/permissive/496266817/romix_dp.v\n             data/full_repos/permissive/496266817/rtl,data/full_repos/permissive/496266817/romix_dp.sv\n             romix_dp\n             romix_dp.v\n             romix_dp.sv\n             obj_dir/romix_dp\n             obj_dir/romix_dp.v\n             obj_dir/romix_dp.sv\n%Error: data/full_repos/permissive/496266817/rtl/romix.v:43: Cannot find file containing module: 'romix_ct'\n romix_ct controller(\n ^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module romix(
		input 	wire	clk				,
		input	wire	reset_n			,
		input	wire	init			,
		input	wire	[1023:0]	in	,
		output	wire	[1023:0]	out	,

		output	wire	valid
);

	wire		blockmix_en		;
	wire		sel_mux_0		;
	wire		sel_mux_1		;
	wire		sel_mux_2		;
	wire		write_en		;
	wire		blockmix_valid	;
	wire		counter_reset_n	;
	wire		count_up		;
	wire		first_count		;
	wire		end_count		;
	
	romix_dp datapath(

		.clk			(clk)				,
		.reset_n		(reset_n)			,

		.counter_reset_n(counter_reset_n)	,
		.count_up		(count_up)			,
		.blockmix_en	(blockmix_en)		,
		.sel_mux_0		(sel_mux_0)			,
		.sel_mux_1		(sel_mux_1)			,
		.sel_mux_2		(sel_mux_2)			,
		.write_en		(write_en)			,
		.valid			(valid)				,
		.in				(in)				,

		.blockmix_valid	(blockmix_valid)	,
		.first_count	(first_count)		,
		.end_count		(end_count)			,
		.out			(out)			
	);
	
	romix_ct	controller(

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

		.blockmix_valid	(blockmix_valid)	,
		.first_count	(first_count)		,
		.end_count		(end_count)			,


		.counter_reset_n(counter_reset_n)	,
		.count_up		(count_up)			,
		.blockmix_en	(blockmix_en)		,
		.sel_mux_0		(sel_mux_0)			,
		.sel_mux_1		(sel_mux_1)			,
		.sel_mux_2		(sel_mux_2)			,
		.write_en		(write_en)			,
		.valid			(valid)
	);

endmodule
module romix(
		input 	wire	clk				,
		input	wire	reset_n			,
		input	wire	init			,
		input	wire	[1023:0]	in	,
		output	wire	[1023:0]	out	,

		output	wire	valid
);


	wire		blockmix_en		;
	wire		sel_mux_0		;
	wire		sel_mux_1		;
	wire		sel_mux_2		;
	wire		write_en		;
	wire		blockmix_valid	;
	wire		counter_reset_n	;
	wire		count_up		;
	wire		first_count		;
	wire		end_count		;
	
	romix_dp datapath(

		.clk			(clk)				,
		.reset_n		(reset_n)			,

		.counter_reset_n(counter_reset_n)	,
		.count_up		(count_up)			,
		.blockmix_en	(blockmix_en)		,
		.sel_mux_0		(sel_mux_0)			,
		.sel_mux_1		(sel_mux_1)			,
		.sel_mux_2		(sel_mux_2)			,
		.write_en		(write_en)			,
		.valid			(valid)				,
		.in				(in)				,

		.blockmix_valid	(blockmix_valid)	,
		.first_count	(first_count)		,
		.end_count		(end_count)			,
		.out			(out)			
	);
	
	romix_ct	controller(

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

		.blockmix_valid	(blockmix_valid)	,
		.first_count	(first_count)		,
		.end_count		(end_count)			,


		.counter_reset_n(counter_reset_n)	,
		.count_up		(count_up)			,
		.blockmix_en	(blockmix_en)		,
		.sel_mux_0		(sel_mux_0)			,
		.sel_mux_1		(sel_mux_1)			,
		.sel_mux_2		(sel_mux_2)			,
		.write_en		(write_en)			,
		.valid			(valid)
	);

endmodule