data/full_repos/permissive/490088950/hdl/top.v
1: b"%Error: data/full_repos/permissive/490088950/hdl/top.v:36: Cannot find file containing module: 'sys_pll'\n sys_pll pll_u0(\n ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/490088950/hdl,data/full_repos/permissive/490088950/sys_pll\n             data/full_repos/permissive/490088950/hdl,data/full_repos/permissive/490088950/sys_pll.v\n             data/full_repos/permissive/490088950/hdl,data/full_repos/permissive/490088950/sys_pll.sv\n             sys_pll\n             sys_pll.v\n             sys_pll.sv\n             obj_dir/sys_pll\n             obj_dir/sys_pll.v\n             obj_dir/sys_pll.sv\n%Error: data/full_repos/permissive/490088950/hdl/top.v:42: Cannot find file containing module: 'cs42448'\n cs42448 cs42448_u0(\n ^~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module top(
	input		sys_clk,
	input		sys_nrst,

	output		CS42xx8_DAC_SDOUT0,
	output		CS42xx8_DAC_SCLK,
	output		CS42xx8_DAC_LRCK,

	input		CS42xx8_ADC_SDIN0,
	output		CS42xx8_ADC_SCLK,
	output		CS42xx8_ADC_LRCK,


	output		CS42xx8_MCLK,


	output		CS42xx8_SCL,
	inout		CS42xx8_SDA,
	output		CS42xx8_nRST
);
	
	wire		glb_clk;
	
	sys_pll pll_u0(
		.clk_out1	(glb_clk),
		.resetn		(sys_nrst),
		.clk_in1	(sys_clk)
	);
	
	cs42448 cs42448_u0(
		.sys_clk				(glb_clk),
		.sys_nrst				(sys_nrst),
		
		.CS42xx8_nRST			(CS42xx8_nRST),
		.CS42xx8_SDA			(CS42xx8_SDA),
		.CS42xx8_SCL			(CS42xx8_SCL),
		
		.CS42xx8_MCLK			(CS42xx8_MCLK),
		
		.CS42xx8_ADC_SDIN0		(CS42xx8_ADC_SDIN0),
		.CS42xx8_ADC_LRCK		(CS42xx8_ADC_LRCK),
		.CS42xx8_ADC_SCLK		(CS42xx8_ADC_SCLK),
		
		.CS42xx8_DAC_SDOUT0		(CS42xx8_DAC_SDOUT0),
		.CS42xx8_DAC_LRCK		(CS42xx8_DAC_LRCK),
		.CS42xx8_DAC_SCLK		(CS42xx8_DAC_SCLK)
	);
	
endmodule
module top(
	input		sys_clk,
	input		sys_nrst,

	output		CS42xx8_DAC_SDOUT0,
	output		CS42xx8_DAC_SCLK,
	output		CS42xx8_DAC_LRCK,

	input		CS42xx8_ADC_SDIN0,
	output		CS42xx8_ADC_SCLK,
	output		CS42xx8_ADC_LRCK,


	output		CS42xx8_MCLK,


	output		CS42xx8_SCL,
	inout		CS42xx8_SDA,
	output		CS42xx8_nRST
);

	
	wire		glb_clk;
	
	sys_pll pll_u0(
		.clk_out1	(glb_clk),
		.resetn		(sys_nrst),
		.clk_in1	(sys_clk)
	);
	
	cs42448 cs42448_u0(
		.sys_clk				(glb_clk),
		.sys_nrst				(sys_nrst),
		
		.CS42xx8_nRST			(CS42xx8_nRST),
		.CS42xx8_SDA			(CS42xx8_SDA),
		.CS42xx8_SCL			(CS42xx8_SCL),
		
		.CS42xx8_MCLK			(CS42xx8_MCLK),
		
		.CS42xx8_ADC_SDIN0		(CS42xx8_ADC_SDIN0),
		.CS42xx8_ADC_LRCK		(CS42xx8_ADC_LRCK),
		.CS42xx8_ADC_SCLK		(CS42xx8_ADC_SCLK),
		
		.CS42xx8_DAC_SDOUT0		(CS42xx8_DAC_SDOUT0),
		.CS42xx8_DAC_LRCK		(CS42xx8_DAC_LRCK),
		.CS42xx8_DAC_SCLK		(CS42xx8_DAC_SCLK)
	);
	
endmodule