data/full_repos/permissive/461620575/Galaga on FPGA/VGA/bitgen.v
1: b'%Error: Cannot find file containing module: on\n        ... Looked in:\n             data/full_repos/permissive/461620575/Galaga/on\n             data/full_repos/permissive/461620575/Galaga/on.v\n             data/full_repos/permissive/461620575/Galaga/on.sv\n             on\n             on.v\n             on.sv\n             obj_dir/on\n             obj_dir/on.v\n             obj_dir/on.sv\n%Error: Cannot find file containing module: FPGA/VGA,data/full_repos/permissive/461620575\n%Error: Cannot find file containing module: data/full_repos/permissive/461620575/Galaga\n%Error: Cannot find file containing module: FPGA/VGA/bitgen.v\n%Error: Exiting due to 4 error(s)\n'
module bitgen (vga_blank_n, pixel_en, fg_pixel, bg_pixel, rgb);
	input vga_blank_n;
	input pixel_en;
	input [23:0] fg_pixel, bg_pixel;
	
	output reg [23:0] rgb;
	
	always@(*)
		if(vga_blank_n) 
			if(pixel_en) 
				if(fg_pixel == 24'h000000) rgb = bg_pixel;
				else rgb = fg_pixel;
			else rgb = bg_pixel;
		else rgb = 24'h000000;

endmodule
module bitgen (vga_blank_n, pixel_en, fg_pixel, bg_pixel, rgb);

	input vga_blank_n;
	input pixel_en;
	input [23:0] fg_pixel, bg_pixel;
	
	output reg [23:0] rgb;
	
	always@(*)
		if(vga_blank_n) 
			if(pixel_en) 
				if(fg_pixel == 24'h000000) rgb = bg_pixel;
				else rgb = fg_pixel;
			else rgb = bg_pixel;
		else rgb = 24'h000000;

endmodule