data/full_repos/permissive/511828706/sonic_test.v
1: b"%Error: data/full_repos/permissive/511828706/sonic_test.v:16: Cannot find file containing module: 'pll'\n pll pll(CLOCK_50, ~KEY[1], clock);\n ^~~\n        ... Looked in:\n             data/full_repos/permissive/511828706,data/full_repos/permissive/511828706/pll\n             data/full_repos/permissive/511828706,data/full_repos/permissive/511828706/pll.v\n             data/full_repos/permissive/511828706,data/full_repos/permissive/511828706/pll.sv\n             pll\n             pll.v\n             pll.sv\n             obj_dir/pll\n             obj_dir/pll.v\n             obj_dir/pll.sv\n%Error: data/full_repos/permissive/511828706/sonic_test.v:18: Cannot find file containing module: 'sonic'\n sonic #(cycle) sc (clock, echo, counter_out[cycle-1:0], trig, sonic_out[cycle-1:0]);\n ^~~~~\n%Error: Exiting due to 2 error(s)\n"
module sonic_test(
	input CLOCK_50,
	input [1:0] KEY,
	input echo,
	output trig,
	output [3:0] LED,
	output [15:0] LED2);
	
	parameter cycle = 20;
	
	wire clock;
	wire [31:0] counter_out;
	wire [31:0] sonic_out;
	wire [7:0] debug;
	
	pll pll(CLOCK_50, ~KEY[1], clock);
	simple_counter counter(clock, counter_out);
	sonic #(cycle) sc (clock, echo, counter_out[cycle-1:0], trig, sonic_out[cycle-1:0]);


	assign LED2 = KEY[0] ? sonic_out[15:0] : sonic_out[31:16];
endmodule
module sonic_test(
	input CLOCK_50,
	input [1:0] KEY,
	input echo,
	output trig,
	output [3:0] LED,
	output [15:0] LED2);

	
	parameter cycle = 20;
	
	wire clock;
	wire [31:0] counter_out;
	wire [31:0] sonic_out;
	wire [7:0] debug;
	
	pll pll(CLOCK_50, ~KEY[1], clock);
	simple_counter counter(clock, counter_out);
	sonic #(cycle) sc (clock, echo, counter_out[cycle-1:0], trig, sonic_out[cycle-1:0]);


	assign LED2 = KEY[0] ? sonic_out[15:0] : sonic_out[31:16];
endmodule