data/full_repos/permissive/450072296/verilog/rtl/audiodac.v
1: b"%Error: data/full_repos/permissive/450072296/verilog/rtl/audiodac.v:82: Cannot find file containing module: 'audiodac_fifo'\n audiodac_fifo fifo (\n ^~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/450072296/verilog/rtl,data/full_repos/permissive/450072296/audiodac_fifo\n             data/full_repos/permissive/450072296/verilog/rtl,data/full_repos/permissive/450072296/audiodac_fifo.v\n             data/full_repos/permissive/450072296/verilog/rtl,data/full_repos/permissive/450072296/audiodac_fifo.sv\n             audiodac_fifo\n             audiodac_fifo.v\n             audiodac_fifo.sv\n             obj_dir/audiodac_fifo\n             obj_dir/audiodac_fifo.v\n             obj_dir/audiodac_fifo.sv\n%Error: data/full_repos/permissive/450072296/verilog/rtl/audiodac.v:95: Cannot find file containing module: 'audiodac_dsmod'\n audiodac_dsmod dsmod ( \n ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/450072296/verilog/rtl/audiodac.v:107: Cannot find file containing module: 'audiodac_sinegen'\n audiodac_sinegen sinegen (\n ^~~~~~~~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module audiodac (
`ifdef USE_POWER_PINS
	inout 			vccd1,
	inout 			vssd1,
`endif

	input		[15:0]	fifo_i,
	input			fifo_rdy_i,
	output 			fifo_ack_o,
	output			fifo_full_o,
	output			fifo_empty_o,

	input			rst_n_i,
	input			clk_i,

	input			mode_i,
	input 		[3:0]	volume_i,
	input		[1:0]	osr_i,

	output			ds_o,
	output 			ds_n_o,

	input			tst_sinegen_en_i,
	input		[3:0]	tst_sinegen_step_i,
	input			tst_fifo_loop_i
);

	wire		[15:0]	data_audio, data_sine;
	wire			audio_rd;

	wire [15:0] data = tst_sinegen_en_i ? data_sine : data_audio;

	audiodac_fifo fifo (
		.fifo_data_i(fifo_i),
		.fifo_rdy_i(fifo_rdy_i),
		.fifo_ack_o(fifo_ack_o),
		.fifo_full_o(fifo_full_o),
		.fifo_empty_o(fifo_empty_o),
		.audio_data_o(data_audio),
		.audio_rd_i(audio_rd),
		.rst_n_i(rst_n_i),
		.clk_i(clk_i),
		.tst_fifo_loop_i(tst_fifo_loop_i)
	);

	audiodac_dsmod dsmod (	
		.audio_i(data),
		.audio_rd_o(audio_rd),
		.rst_n_i(rst_n_i),
		.clk_i(clk_i),
		.mode_i(mode_i),
		.volume_i(volume_i),
		.osr_i(osr_i),
		.ds_o(ds_o),
		.ds_n_o(ds_n_o)
	);

	audiodac_sinegen sinegen (
		.data_o(data_sine),
		.data_rd_i(audio_rd),
		.rst_n_i(rst_n_i),
		.clk_i(clk_i),
		.tst_sinegen_en_i(tst_sinegen_en_i),
		.tst_sinegen_step_i(tst_sinegen_step_i)
	);


endmodule
module audiodac (
`ifdef USE_POWER_PINS
	inout 			vccd1,
	inout 			vssd1,
`endif

	input		[15:0]	fifo_i,
	input			fifo_rdy_i,
	output 			fifo_ack_o,
	output			fifo_full_o,
	output			fifo_empty_o,

	input			rst_n_i,
	input			clk_i,

	input			mode_i,
	input 		[3:0]	volume_i,
	input		[1:0]	osr_i,

	output			ds_o,
	output 			ds_n_o,

	input			tst_sinegen_en_i,
	input		[3:0]	tst_sinegen_step_i,
	input			tst_fifo_loop_i
);


	wire		[15:0]	data_audio, data_sine;
	wire			audio_rd;

	wire [15:0] data = tst_sinegen_en_i ? data_sine : data_audio;

	audiodac_fifo fifo (
		.fifo_data_i(fifo_i),
		.fifo_rdy_i(fifo_rdy_i),
		.fifo_ack_o(fifo_ack_o),
		.fifo_full_o(fifo_full_o),
		.fifo_empty_o(fifo_empty_o),
		.audio_data_o(data_audio),
		.audio_rd_i(audio_rd),
		.rst_n_i(rst_n_i),
		.clk_i(clk_i),
		.tst_fifo_loop_i(tst_fifo_loop_i)
	);

	audiodac_dsmod dsmod (	
		.audio_i(data),
		.audio_rd_o(audio_rd),
		.rst_n_i(rst_n_i),
		.clk_i(clk_i),
		.mode_i(mode_i),
		.volume_i(volume_i),
		.osr_i(osr_i),
		.ds_o(ds_o),
		.ds_n_o(ds_n_o)
	);

	audiodac_sinegen sinegen (
		.data_o(data_sine),
		.data_rd_i(audio_rd),
		.rst_n_i(rst_n_i),
		.clk_i(clk_i),
		.tst_sinegen_en_i(tst_sinegen_en_i),
		.tst_sinegen_step_i(tst_sinegen_step_i)
	);


endmodule