data/full_repos/permissive/51625123/src/vga.v
1: b'%Error: data/full_repos/permissive/51625123/src/vga.v:47: Unsupported: wand\nwand RED;\n^~~~\n%Error: data/full_repos/permissive/51625123/src/vga.v:48: Unsupported: wand\nwand GREEN;\n^~~~\n%Error: data/full_repos/permissive/51625123/src/vga.v:49: Unsupported: wand\nwand BLUE;\n^~~~\n%Error: Exiting due to 3 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module collider(cclk, bx, by, ptop, pbot, reset, collide);
	parameter px = 0;
	parameter pw = 16;

	
	input cclk;
	input [9:0]bx;
	input [9:0]by; 
	input [9:0]ptop;
	input [9:0]pbot;
	input reset;
	output reg collide;

	always @(posedge cclk or posedge reset) begin
		if (cclk) begin
			collide <= (bx >= px && bx <= (px + pw)) && (by+4 >= ptop && by-4 <= pbot); 
		end 
		else begin
			collide <= 0;
		end
	end
endmodule
module collider(cclk, bx, by, ptop, pbot, reset, collide);

	parameter px = 0;
	parameter pw = 16;

	
	input cclk;
	input [9:0]bx;
	input [9:0]by; 
	input [9:0]ptop;
	input [9:0]pbot;
	input reset;
	output reg collide;

	always @(posedge cclk or posedge reset) begin
		if (cclk) begin
			collide <= (bx >= px && bx <= (px + pw)) && (by+4 >= ptop && by-4 <= pbot); 
		end 
		else begin
			collide <= 0;
		end
	end
endmodule