data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v
1: b'%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:19: 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/PxsColorBarsPattern.v:33: Define or directive not defined: \'`XC\'\nassign Xc = VGAStr_i[`XC];   \n                     ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:33: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nassign Xc = VGAStr_i[`XC];   \n                        ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:37: Define or directive not defined: \'`HS\'\n  RGBStr_o[`HS] <= VGAStr_i[`HS];\n           ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:37: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`HS] <= VGAStr_i[`HS];\n              ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:37: Define or directive not defined: \'`HS\'\n  RGBStr_o[`HS] <= VGAStr_i[`HS];\n                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:38: Define or directive not defined: \'`VS\'\n  RGBStr_o[`VS] <= VGAStr_i[`VS];\n           ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:38: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`VS] <= VGAStr_i[`VS];\n              ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:38: Define or directive not defined: \'`VS\'\n  RGBStr_o[`VS] <= VGAStr_i[`VS];\n                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:39: Define or directive not defined: \'`XC\'\n  RGBStr_o[`XC] <= VGAStr_i[`XC];\n           ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:39: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`XC] <= VGAStr_i[`XC];\n              ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:39: Define or directive not defined: \'`XC\'\n  RGBStr_o[`XC] <= VGAStr_i[`XC];\n                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:40: Define or directive not defined: \'`YC\'\n  RGBStr_o[`YC] <= VGAStr_i[`YC];\n           ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:40: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`YC] <= VGAStr_i[`YC];\n              ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:40: Define or directive not defined: \'`YC\'\n  RGBStr_o[`YC] <= VGAStr_i[`YC];\n                            ^~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:41: Define or directive not defined: \'`Active\'\n  RGBStr_o[`Active] <= VGAStr_i[`Active];\n           ^~~~~~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:41: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`Active] <= VGAStr_i[`Active];\n                  ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:41: Define or directive not defined: \'`Active\'\n  RGBStr_o[`Active] <= VGAStr_i[`Active];\n                                ^~~~~~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:42: Define or directive not defined: \'`Active\'\n  if (VGAStr_i[`Active])\n               ^~~~~~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:42: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  if (VGAStr_i[`Active])\n                      ^\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:43: Define or directive not defined: \'`RGB\'\n   RGBStr_o[`RGB] <= Xc[7:5];   \n            ^~~~\n%Error: data/full_repos/permissive/109394014/examples/PxsColorBarsPattern.v:45: Define or directive not defined: \'`RGB\'\n   RGBStr_o[`RGB] <= Black;\n            ^~~~\n%Error: Exiting due to 22 error(s)\n'
module PxsColorBarsPattern (
            input wire       px_clk,
			input wire [22:0] VGAStr_i,
			output reg [25:0] RGBStr_o
         );


parameter [3:0] Black=3'b000;
parameter [3:0] White=3'b111;

wire [9:0] Xc;

assign Xc = VGAStr_i[`XC];   

always @(posedge px_clk)
begin
		RGBStr_o[`HS] <= VGAStr_i[`HS];
		RGBStr_o[`VS] <= VGAStr_i[`VS];
		RGBStr_o[`XC] <= VGAStr_i[`XC];
		RGBStr_o[`YC] <= VGAStr_i[`YC];
		RGBStr_o[`Active] <= VGAStr_i[`Active];
		if (VGAStr_i[`Active])
			RGBStr_o[`RGB] <= Xc[7:5];
		else
			RGBStr_o[`RGB] <= Black;
end

endmodule
module PxsColorBarsPattern (
            input wire       px_clk,
			input wire [22:0] VGAStr_i,
			output reg [25:0] RGBStr_o
         );



parameter [3:0] Black=3'b000;
parameter [3:0] White=3'b111;

wire [9:0] Xc;

assign Xc = VGAStr_i[`XC];   

always @(posedge px_clk)
begin
		RGBStr_o[`HS] <= VGAStr_i[`HS];
		RGBStr_o[`VS] <= VGAStr_i[`VS];
		RGBStr_o[`XC] <= VGAStr_i[`XC];
		RGBStr_o[`YC] <= VGAStr_i[`YC];
		RGBStr_o[`Active] <= VGAStr_i[`Active];
		if (VGAStr_i[`Active])
			RGBStr_o[`RGB] <= Xc[7:5];
		else
			RGBStr_o[`RGB] <= Black;
end

endmodule