data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v
1: b'%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:24: Cannot find include file: Pxs.vh\n`include "Pxs.vh" \n         ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/109394014/blocks/Overlay,data/full_repos/permissive/109394014/Pxs.vh\n             data/full_repos/permissive/109394014/blocks/Overlay,data/full_repos/permissive/109394014/Pxs.vh.v\n             data/full_repos/permissive/109394014/blocks/Overlay,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/blocks/Overlay/PxsLogoPattern.v:77: Define or directive not defined: \'`HS\'\n  AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];\n          ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:77: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];\n             ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:77: Define or directive not defined: \'`HS\'\n  AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];\n                         ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:77: Define or directive not defined: \'`VS\'\n  AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];\n                                       ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:77: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];\n                                          ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:77: Define or directive not defined: \'`VS\'\n  AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];\n                                                      ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:78: Define or directive not defined: \'`XC\'\n  AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];\n          ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:78: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];\n             ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:78: Define or directive not defined: \'`XC\'\n  AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];\n                         ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:78: Define or directive not defined: \'`YC\'\n  AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];\n                                       ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:78: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];\n                                          ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:78: Define or directive not defined: \'`YC\'\n  AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];\n                                                      ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:79: Define or directive not defined: \'`Active\'\n  AuxStr1[`Active]<=VGAStr_i[`Active];\n          ^~~~~~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:79: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  AuxStr1[`Active]<=VGAStr_i[`Active];\n                 ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:79: Define or directive not defined: \'`Active\'\n  AuxStr1[`Active]<=VGAStr_i[`Active];\n                             ^~~~~~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:85: Define or directive not defined: \'`HS\'\n  RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];\n           ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:85: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];\n              ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:85: Define or directive not defined: \'`HS\'\n  RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];\n                         ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:85: Define or directive not defined: \'`VS\'\n  RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];\n                                        ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:85: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];\n                                           ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:85: Define or directive not defined: \'`VS\'\n  RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];\n                                                      ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:86: Define or directive not defined: \'`XC\'\n  RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];\n           ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:86: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];\n              ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:86: Define or directive not defined: \'`XC\'\n  RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];\n                         ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:86: Define or directive not defined: \'`YC\'\n  RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];\n                                        ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:86: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];\n                                           ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:86: Define or directive not defined: \'`YC\'\n  RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];\n                                                      ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:87: Define or directive not defined: \'`Active\'\n  RGBStr_o[`Active]<=AuxStr1[`Active];\n           ^~~~~~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:87: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  RGBStr_o[`Active]<=AuxStr1[`Active];\n                  ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:87: Define or directive not defined: \'`Active\'\n  RGBStr_o[`Active]<=AuxStr1[`Active];\n                             ^~~~~~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:89: Define or directive not defined: \'`Active\'\n  if(AuxStr1[`Active])\n             ^~~~~~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:89: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n  if(AuxStr1[`Active])\n                    ^\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:90: Define or directive not defined: \'`RGB\'\n   RGBStr_o[`RGB]<= pixel? ink: background;\n            ^~~~\n%Error: data/full_repos/permissive/109394014/blocks/Overlay/PxsLogoPattern.v:92: Define or directive not defined: \'`RGB\'\n   RGBStr_o[`RGB]<=black;\n            ^~~~\n%Error: Exiting due to 35 error(s)\n'
module PxsLogoPattern (
                input wire        px_clk,
                input wire [22:0] VGAStr_i,
                output reg [25:0] RGBStr_o
               );

`define addy 8:3   	
`define addx 18:13	

`define addy2 9:4   
`define addx2 19:14	


	parameter FILE_LOGO = "darthvaderlogo.list";

   

    parameter width_logo = 64; 
    parameter height_logo = 64;
	

	reg  [0:0] logo [width_logo*height_logo-1:0];
	

    parameter [2:0] black = 3'b000;
    parameter [2:0] blue  = 3'b001;
    parameter [2:0] green = 3'b010;
    parameter [2:0] white = 3'b111;
    parameter [2:0] pink = 3'b101;	
    parameter ink = black;
    parameter background = white;

	parameter [9:0] VISIBLECOLS = 640;
	parameter [9:0] VISIBLEROWS = 480;

	wire [13:0] addr;
	reg [9:0] x_img, y_img;
	reg [22:0] AuxStr1;
	reg pixel;
	

	initial
    begin
		if (FILE_LOGO) $readmemh(FILE_LOGO, logo);
    end


	assign addr={VGAStr_i[`addy],VGAStr_i[`addx]};

	always @(posedge px_clk)
    begin
		AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];
		AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];
		AuxStr1[`Active]<=VGAStr_i[`Active];
		pixel <= logo [addr];
	end

	always @(posedge px_clk)
    begin
		RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];
		RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];
		RGBStr_o[`Active]<=AuxStr1[`Active];

		if(AuxStr1[`Active])
			RGBStr_o[`RGB]<= pixel? ink: background;
		else
			RGBStr_o[`RGB]<=black;
	end
	

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


`define addy 8:3   	
`define addx 18:13	

`define addy2 9:4   
`define addx2 19:14	


	parameter FILE_LOGO = "darthvaderlogo.list";

   

    parameter width_logo = 64; 
    parameter height_logo = 64;
	

	reg  [0:0] logo [width_logo*height_logo-1:0];
	

    parameter [2:0] black = 3'b000;
    parameter [2:0] blue  = 3'b001;
    parameter [2:0] green = 3'b010;
    parameter [2:0] white = 3'b111;
    parameter [2:0] pink = 3'b101;	
    parameter ink = black;
    parameter background = white;

	parameter [9:0] VISIBLECOLS = 640;
	parameter [9:0] VISIBLEROWS = 480;

	wire [13:0] addr;
	reg [9:0] x_img, y_img;
	reg [22:0] AuxStr1;
	reg pixel;
	

	initial
    begin
		if (FILE_LOGO) $readmemh(FILE_LOGO, logo);
    end


	assign addr={VGAStr_i[`addy],VGAStr_i[`addx]};

	always @(posedge px_clk)
    begin
		AuxStr1[`HS]<=VGAStr_i[`HS]; AuxStr1[`VS]<=VGAStr_i[`VS];
		AuxStr1[`XC]<=VGAStr_i[`XC]; AuxStr1[`YC]<=VGAStr_i[`YC];
		AuxStr1[`Active]<=VGAStr_i[`Active];
		pixel <= logo [addr];
	end

	always @(posedge px_clk)
    begin
		RGBStr_o[`HS]<=AuxStr1[`HS]; RGBStr_o[`VS]<=AuxStr1[`VS];
		RGBStr_o[`XC]<=AuxStr1[`XC]; RGBStr_o[`YC]<=AuxStr1[`YC];
		RGBStr_o[`Active]<=AuxStr1[`Active];

		if(AuxStr1[`Active])
			RGBStr_o[`RGB]<= pixel? ink: background;
		else
			RGBStr_o[`RGB]<=black;
	end
	

	
endmodule