data/full_repos/permissive/169155753/source/char_rom/resolution.v
 line:22: before: "videoMode"
1: b'%Error: data/full_repos/permissive/169155753/source/char_rom/resolution.v:2: Cannot find include file: ../defines.v\n`include "../defines.v" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/169155753/source/char_rom,data/full_repos/permissive/169155753/../defines.v\n             data/full_repos/permissive/169155753/source/char_rom,data/full_repos/permissive/169155753/../defines.v.v\n             data/full_repos/permissive/169155753/source/char_rom,data/full_repos/permissive/169155753/../defines.v.sv\n             ../defines.v\n             ../defines.v.v\n             ../defines.v.sv\n             obj_dir/../defines.v\n             obj_dir/../defines.v.v\n             obj_dir/../defines.v.sv\n%Error: data/full_repos/permissive/169155753/source/char_rom/resolution.v:8: Define or directive not defined: \'`RESLINE_SIZE\'\n    output [`RESLINE_SIZE-1:0] q\n            ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/169155753/source/char_rom/resolution.v:11: Define or directive not defined: \'`RESLINE_SIZE\'\n    reg [`RESLINE_SIZE-1:0] q_reg;\n         ^~~~~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n'
module resolution(
    input clock,
    input VideoMode videoMode,
    input [3:0] addr,
    output [`RESLINE_SIZE-1:0] q
);

    reg [`RESLINE_SIZE-1:0] q_reg;

    always @(posedge clock) begin
        case (addr)
            00: q_reg <= 0;
            01: q_reg <= 0;
            02: q_reg <= { 96'b_111111100001000000000000000000000000000000111100000100000000000000000000000100000100000000000000, (videoMode.id[3] ? 32'b_00000000000010000011110000111100 : (videoMode.id[2] ? 32'b_00000000011111100011110000111100 : 32'b_00011000001111000011110000111100)), (videoMode.id[0] ? 8'b_00010000 : 8'b_00000000 ) };
            03: q_reg <= { 96'b_000100000000000000000000000000000000000001000010000100000000000000000000000100000100000000000000, (videoMode.id[3] ? 32'b_00000000000010000100001001000010 : (videoMode.id[2] ? 32'b_00000000000000100100001001000010 : 32'b_00101000010000100100001001000010)), (videoMode.id[0] ? 8'b_00000000 : 8'b_00000000 ) };
            04: q_reg <= { 96'b_000100000000000000000000000000000000000001000000000100000000000000000000000100000100000000000000, (videoMode.id[3] ? 32'b_00000000000110000100001001000010 : (videoMode.id[2] ? 32'b_00000000000000100000001001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00000000 : 8'b_00000000 ) };
            05: q_reg <= { 96'b_000100000011000001101000001110000000000001000000000100000011100001000100001110000111100000000000, (videoMode.id[3] ? 32'b_00000000000110000100001001000110 : (videoMode.id[2] ? 32'b_00000000000001000000001001000110 : 32'b_00001000010001100100001001000110)), (videoMode.id[0] ? 8'b_00110000 : 8'b_01111000 ) };
            06: q_reg <= { 96'b_000100000001000001010100010001000000000000111100000100000100010001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000001010000011110001001010 : (videoMode.id[2] ? 32'b_00000000000001000000001001001010 : 32'b_00001000010010100011110001001010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            07: q_reg <= { 96'b_000100000001000001010100010001000000000000000010000100000100010001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000001010000100001001010010 : (videoMode.id[2] ? 32'b_00000000000010000000001001010010 : 32'b_00001000010100100100001001010010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            08: q_reg <= { 96'b_000100000001000001010100011110000000000000000010000100000111100001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000010010000100001001100010 : (videoMode.id[2] ? 32'b_00000000000010000011110001100010 : 32'b_00001000011000100100001001100010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            09: q_reg <= { 96'b_000100000001000001010100010000000000000000000010000100000100000001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000010010000100001001000010 : (videoMode.id[2] ? 32'b_00000000000100000100000001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            10: q_reg <= { 96'b_000100000001000001010100010000000000000000000010000100000100000001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000011111100100001001000010 : (videoMode.id[2] ? 32'b_00000000000100000100000001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            11: q_reg <= { 96'b_000100000001000001010100010000000000000001000010000100000100000001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000000010000100001001000010 : (videoMode.id[2] ? 32'b_00000000000100000100000001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            12: q_reg <= { 96'b_000100000011100001010100001111000000000000111100000011000011110000111000000011000100010000000000, (videoMode.id[3] ? 32'b_00000000000010000011110000111100 : (videoMode.id[2] ? 32'b_00000000000100000111111000111100 : 32'b_00111110001111000011110000111100)), (videoMode.id[0] ? 8'b_00111000 : 8'b_01111000 ) };
            13: q_reg <= { 128'b_0, (videoMode.id[0] ? 8'b_00000000 : 8'b_01000000 ) };
            14: q_reg <= { 128'b_0, (videoMode.id[0] ? 8'b_00000000 : 8'b_01000000 ) };
            15: q_reg <= { 128'b_0, (videoMode.id[0] ? 8'b_00000000 : 8'b_01000000 ) };
        endcase
    end

    assign q = q_reg;

endmodule
module resolution(
    input clock,
    input VideoMode videoMode,
    input [3:0] addr,
    output [`RESLINE_SIZE-1:0] q
);


    reg [`RESLINE_SIZE-1:0] q_reg;

    always @(posedge clock) begin
        case (addr)
            00: q_reg <= 0;
            01: q_reg <= 0;
            02: q_reg <= { 96'b_111111100001000000000000000000000000000000111100000100000000000000000000000100000100000000000000, (videoMode.id[3] ? 32'b_00000000000010000011110000111100 : (videoMode.id[2] ? 32'b_00000000011111100011110000111100 : 32'b_00011000001111000011110000111100)), (videoMode.id[0] ? 8'b_00010000 : 8'b_00000000 ) };
            03: q_reg <= { 96'b_000100000000000000000000000000000000000001000010000100000000000000000000000100000100000000000000, (videoMode.id[3] ? 32'b_00000000000010000100001001000010 : (videoMode.id[2] ? 32'b_00000000000000100100001001000010 : 32'b_00101000010000100100001001000010)), (videoMode.id[0] ? 8'b_00000000 : 8'b_00000000 ) };
            04: q_reg <= { 96'b_000100000000000000000000000000000000000001000000000100000000000000000000000100000100000000000000, (videoMode.id[3] ? 32'b_00000000000110000100001001000010 : (videoMode.id[2] ? 32'b_00000000000000100000001001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00000000 : 8'b_00000000 ) };
            05: q_reg <= { 96'b_000100000011000001101000001110000000000001000000000100000011100001000100001110000111100000000000, (videoMode.id[3] ? 32'b_00000000000110000100001001000110 : (videoMode.id[2] ? 32'b_00000000000001000000001001000110 : 32'b_00001000010001100100001001000110)), (videoMode.id[0] ? 8'b_00110000 : 8'b_01111000 ) };
            06: q_reg <= { 96'b_000100000001000001010100010001000000000000111100000100000100010001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000001010000011110001001010 : (videoMode.id[2] ? 32'b_00000000000001000000001001001010 : 32'b_00001000010010100011110001001010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            07: q_reg <= { 96'b_000100000001000001010100010001000000000000000010000100000100010001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000001010000100001001010010 : (videoMode.id[2] ? 32'b_00000000000010000000001001010010 : 32'b_00001000010100100100001001010010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            08: q_reg <= { 96'b_000100000001000001010100011110000000000000000010000100000111100001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000010010000100001001100010 : (videoMode.id[2] ? 32'b_00000000000010000011110001100010 : 32'b_00001000011000100100001001100010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            09: q_reg <= { 96'b_000100000001000001010100010000000000000000000010000100000100000001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000010010000100001001000010 : (videoMode.id[2] ? 32'b_00000000000100000100000001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            10: q_reg <= { 96'b_000100000001000001010100010000000000000000000010000100000100000001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000011111100100001001000010 : (videoMode.id[2] ? 32'b_00000000000100000100000001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            11: q_reg <= { 96'b_000100000001000001010100010000000000000001000010000100000100000001000100000100000100010000000000, (videoMode.id[3] ? 32'b_00000000000010000100001001000010 : (videoMode.id[2] ? 32'b_00000000000100000100000001000010 : 32'b_00001000010000100100001001000010)), (videoMode.id[0] ? 8'b_00010000 : 8'b_01000100 ) };
            12: q_reg <= { 96'b_000100000011100001010100001111000000000000111100000011000011110000111000000011000100010000000000, (videoMode.id[3] ? 32'b_00000000000010000011110000111100 : (videoMode.id[2] ? 32'b_00000000000100000111111000111100 : 32'b_00111110001111000011110000111100)), (videoMode.id[0] ? 8'b_00111000 : 8'b_01111000 ) };
            13: q_reg <= { 128'b_0, (videoMode.id[0] ? 8'b_00000000 : 8'b_01000000 ) };
            14: q_reg <= { 128'b_0, (videoMode.id[0] ? 8'b_00000000 : 8'b_01000000 ) };
            15: q_reg <= { 128'b_0, (videoMode.id[0] ? 8'b_00000000 : 8'b_01000000 ) };
        endcase
    end

    assign q = q_reg;

endmodule