data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v
1: b'%Warning-WIDTH: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:535: Operator ADD expects 32 or 10 bits on the RHS, but RHS\'s REPLICATE generates 8 bits.\n                                                                                     : ... In instance G10k.ptex\n CounterX <= cx + {deltax,1\'b0}-48;\n                ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:536: Operator ADD expects 9 bits on the RHS, but RHS\'s REPLICATE generates 6 bits.\n                                                                                     : ... In instance G10k.ptex\n CounterY <= cy + {deltay,1\'b0};\n                ^\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:43: Cannot find file containing module: \'clearer\'\nclearer clr(.clk(clk),\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/521337848/Hardware/GRAPHICS,data/full_repos/permissive/521337848/clearer\n             data/full_repos/permissive/521337848/Hardware/GRAPHICS,data/full_repos/permissive/521337848/clearer.v\n             data/full_repos/permissive/521337848/Hardware/GRAPHICS,data/full_repos/permissive/521337848/clearer.sv\n             clearer\n             clearer.v\n             clearer.sv\n             obj_dir/clearer\n             obj_dir/clearer.v\n             obj_dir/clearer.sv\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:66: Cannot find file containing module: \'bufferTextMem\'\nbufferTextMem btm(.clk(clk),\n^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:78: Cannot find file containing module: \'textBuffer\'\ntextBuffer tBufeer(.clk(clk),\n^~~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:116: Cannot find file containing module: \'BCGController\'\nBCGController bcc(.clk(clk),\n^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:180: Cannot find file containing module: \'deltaController\'\ndeltaController dca(.clk(clk),\n^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:245: Cannot find file containing module: \'clkdiv\'\nclkdiv cd(.clk(clk),\n^~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:297: Cannot find file containing module: \'bcgman\'\nbcgman bma(.clk(clk),\n^~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:316: Cannot find file containing module: \'VRAM\'\nVRAM vram(.clk(clk),\n^~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:336: Cannot find file containing module: \'paletteBcg\'\npaletteBcg pBc(.clk(clk),\n^~~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:418: Cannot find file containing module: \'SpriteController\'\nSpriteController sco(.clk(clk),\n^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:432: Cannot find file containing module: \'spriteRAM\'\nspriteRAM sRAM(.clk(clk),\n^~~~~~~~~\n%Error: data/full_repos/permissive/521337848/Hardware/GRAPHICS/Graphics.v:445: Cannot find file containing module: \'sprites\'\nsprites sprT(.clk(clk),\n^~~~~~~\n%Error: Exiting due to 12 error(s), 2 warning(s)\n'
module prze(
	input clk,
	input[9:0] cx,
	input[8:0] cy,
	
	input[6:0] deltax,
	input[4:0] deltay,
	
	output reg[9:0] CounterX,
	output reg[8:0] CounterY
);

always@(posedge clk)begin
	CounterX <= cx + {deltax,1'b0}-48;
	CounterY <= cy + {deltay,1'b0};
end

endmodule
module prze(
	input clk,
	input[9:0] cx,
	input[8:0] cy,
	
	input[6:0] deltax,
	input[4:0] deltay,
	
	output reg[9:0] CounterX,
	output reg[8:0] CounterY
);


always@(posedge clk)begin
	CounterX <= cx + {deltax,1'b0}-48;
	CounterY <= cy + {deltay,1'b0};
end

endmodule