data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v
1: b'%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:19: Cannot find include file: Pxs.vh\n`include "Pxs.vh" \n         ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/109394014/blocks/Videogen,data/full_repos/permissive/109394014/Pxs.vh\n             data/full_repos/permissive/109394014/blocks/Videogen,data/full_repos/permissive/109394014/Pxs.vh.v\n             data/full_repos/permissive/109394014/blocks/Videogen,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/Videogen/PxsColorBarsPattern.v:32: Define or directive not defined: \'`XC\'\nassign Xc = VGAStr_i[`XC];   \n                     ^~~\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:32: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\nassign Xc = VGAStr_i[`XC];   \n                        ^\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:36: Define or directive not defined: \'`VGA\'\n        RGBStr_o[`VGA] <= VGAStr_i[`VGA];\n                 ^~~~\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:36: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n        RGBStr_o[`VGA] <= VGAStr_i[`VGA];\n                     ^\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:36: Define or directive not defined: \'`VGA\'\n        RGBStr_o[`VGA] <= VGAStr_i[`VGA];\n                                   ^~~~\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:37: Define or directive not defined: \'`Active\'\n        if (VGAStr_i[`Active])\n                     ^~~~~~~\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:37: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n        if (VGAStr_i[`Active])\n                            ^\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:38: Define or directive not defined: \'`RGB\'\n            RGBStr_o[`RGB] <= Xc[7:5];   \n                     ^~~~\n%Error: data/full_repos/permissive/109394014/blocks/Videogen/PxsColorBarsPattern.v:40: Define or directive not defined: \'`RGB\'\n            RGBStr_o[`RGB] <= Black;\n                     ^~~~\n%Error: Exiting due to 10 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;

wire [9:0] Xc;

assign Xc = VGAStr_i[`XC];   

always @(posedge px_clk)
begin
        RGBStr_o[`VGA] <= VGAStr_i[`VGA];
        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;

wire [9:0] Xc;

assign Xc = VGAStr_i[`XC];   

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

endmodule