data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v
1: b'%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:20: Cannot find include file: Pxs.vh\n`include "Pxs.vh" \n         ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/109394014/examples,data/full_repos/permissive/109394014/Pxs.vh\n             data/full_repos/permissive/109394014/examples,data/full_repos/permissive/109394014/Pxs.vh.v\n             data/full_repos/permissive/109394014/examples,data/full_repos/permissive/109394014/Pxs.vh.sv\n             Pxs.vh\n             Pxs.vh.v\n             Pxs.vh.sv\n             obj_dir/Pxs.vh\n             obj_dir/Pxs.vh.v\n             obj_dir/Pxs.vh.sv\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:36: Define or directive not defined: \'`XC\'\nassign X = VGA_SCA_Str_i[`XC]/XGridSize;\n                         ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:36: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nassign X = VGA_SCA_Str_i[`XC]/XGridSize;\n                            ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:37: Define or directive not defined: \'`YC\'\nassign Y = VGA_SCA_Str_i[`YC]/YGridSize;\n                         ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:37: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nassign Y = VGA_SCA_Str_i[`YC]/YGridSize;\n                            ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:46: Define or directive not defined: \'`RGB\'\n VGA_SCA_RGB_Str_o[`RGB] <= comp? White: Black; \n                   ^~~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:46: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n VGA_SCA_RGB_Str_o[`RGB] <= comp? White: Black; \n                       ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:47: Define or directive not defined: \'`HS\'\n    VGA_SCA_RGB_Str_o[`HS] <= VGA_SCA_Str_i[`HS];\n                      ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:47: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    VGA_SCA_RGB_Str_o[`HS] <= VGA_SCA_Str_i[`HS];\n                         ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:47: Define or directive not defined: \'`HS\'\n    VGA_SCA_RGB_Str_o[`HS] <= VGA_SCA_Str_i[`HS];\n                                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:48: Define or directive not defined: \'`VS\'\n    VGA_SCA_RGB_Str_o[`VS] <= VGA_SCA_Str_i[`VS];\n                      ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:48: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    VGA_SCA_RGB_Str_o[`VS] <= VGA_SCA_Str_i[`VS];\n                         ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:48: Define or directive not defined: \'`VS\'\n    VGA_SCA_RGB_Str_o[`VS] <= VGA_SCA_Str_i[`VS];\n                                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:49: Define or directive not defined: \'`XC\'\n VGA_SCA_RGB_Str_o[`XC] <= VGA_SCA_Str_i[`XC];\n                   ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:49: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n VGA_SCA_RGB_Str_o[`XC] <= VGA_SCA_Str_i[`XC];\n                      ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:49: Define or directive not defined: \'`XC\'\n VGA_SCA_RGB_Str_o[`XC] <= VGA_SCA_Str_i[`XC];\n                                         ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:50: Define or directive not defined: \'`YC\'\n    VGA_SCA_RGB_Str_o[`YC] <= VGA_SCA_Str_i[`YC];\n                      ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:50: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n    VGA_SCA_RGB_Str_o[`YC] <= VGA_SCA_Str_i[`YC];\n                         ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:50: Define or directive not defined: \'`YC\'\n    VGA_SCA_RGB_Str_o[`YC] <= VGA_SCA_Str_i[`YC];\n                                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:51: Define or directive not defined: \'`Active\'\n VGA_SCA_RGB_Str_o[`Active] <= VGA_SCA_Str_i[`Active];\n                   ^~~~~~~\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:51: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n VGA_SCA_RGB_Str_o[`Active] <= VGA_SCA_Str_i[`Active];\n                          ^\n%Error: data/full_repos/permissive/109394014/examples/PxsCheckerBoard.v:51: Define or directive not defined: \'`Active\'\n VGA_SCA_RGB_Str_o[`Active] <= VGA_SCA_Str_i[`Active];\n                                             ^~~~~~~\n%Error: Exiting due to 22 error(s)\n'
module PxsCheckerBoard (
            input wire       px_clk,
			input wire [22:0] VGA_SCA_Str_i,
			output reg [25:0] VGA_SCA_RGB_Str_o
         );


parameter [3:0] Black=3'b000;
parameter [3:0] White=3'b111;
parameter XGridSize = 64;
parameter YGridSize = 64;
wire comp, X0,Y0;
wire [9:0] X, Y;

assign X = VGA_SCA_Str_i[`XC]/XGridSize;
assign Y = VGA_SCA_Str_i[`YC]/YGridSize;



assign comp = X ^ Y;

always @(posedge px_clk)
begin

	VGA_SCA_RGB_Str_o[`RGB] <= comp? White: Black; 
    VGA_SCA_RGB_Str_o[`HS] <= VGA_SCA_Str_i[`HS];
    VGA_SCA_RGB_Str_o[`VS] <= VGA_SCA_Str_i[`VS];
	VGA_SCA_RGB_Str_o[`XC] <= VGA_SCA_Str_i[`XC];
    VGA_SCA_RGB_Str_o[`YC] <= VGA_SCA_Str_i[`YC];
	VGA_SCA_RGB_Str_o[`Active] <= VGA_SCA_Str_i[`Active];
end

endmodule
module PxsCheckerBoard (
            input wire       px_clk,
			input wire [22:0] VGA_SCA_Str_i,
			output reg [25:0] VGA_SCA_RGB_Str_o
         );



parameter [3:0] Black=3'b000;
parameter [3:0] White=3'b111;
parameter XGridSize = 64;
parameter YGridSize = 64;
wire comp, X0,Y0;
wire [9:0] X, Y;

assign X = VGA_SCA_Str_i[`XC]/XGridSize;
assign Y = VGA_SCA_Str_i[`YC]/YGridSize;



assign comp = X ^ Y;

always @(posedge px_clk)
begin

	VGA_SCA_RGB_Str_o[`RGB] <= comp? White: Black; 
    VGA_SCA_RGB_Str_o[`HS] <= VGA_SCA_Str_i[`HS];
    VGA_SCA_RGB_Str_o[`VS] <= VGA_SCA_Str_i[`VS];
	VGA_SCA_RGB_Str_o[`XC] <= VGA_SCA_Str_i[`XC];
    VGA_SCA_RGB_Str_o[`YC] <= VGA_SCA_Str_i[`YC];
	VGA_SCA_RGB_Str_o[`Active] <= VGA_SCA_Str_i[`Active];
end

endmodule