data/full_repos/permissive/203526788/IceStick/ADC/top.v
 line:72: before: "="
1: b'%Error: data/full_repos/permissive/203526788/IceStick/ADC/top.v:1: Cannot find include file: async.v\n`include "async.v" \n         ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/203526788/IceStick/ADC,data/full_repos/permissive/203526788/async.v\n             data/full_repos/permissive/203526788/IceStick/ADC,data/full_repos/permissive/203526788/async.v.v\n             data/full_repos/permissive/203526788/IceStick/ADC,data/full_repos/permissive/203526788/async.v.sv\n             async.v\n             async.v.v\n             async.v.sv\n             obj_dir/async.v\n             obj_dir/async.v.v\n             obj_dir/async.v.sv\n%Error: Exiting due to 1 error(s)\n'
module CLK_GEN #(parameter FREQ = 1000) (
	input CLK,
	output reg outPin
	);


reg [32:0] count;





always @(posedge CLK)
begin
	if (count == 12000000 / FREQ / 2 -1)
	begin
		outPin = ~outPin;
		count <= 0;
	end
	else
	begin
		count <= count + 1;
	end
end

endmodule
module CLK_GEN #(parameter FREQ = 1000) (
	input CLK,
	output reg outPin
	);



reg [32:0] count;





always @(posedge CLK)
begin
	if (count == 12000000 / FREQ / 2 -1)
	begin
		outPin = ~outPin;
		count <= 0;
	end
	else
	begin
		count <= count + 1;
	end
end

endmodule