data/full_repos/permissive/137261528/vga01/top_static_800x600.v
1: b"%Error: data/full_repos/permissive/137261528/vga01/top_static_800x600.v:29: Cannot find file containing module: 'vga800x600'\n    vga800x600 display (\n    ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/137261528/vga01,data/full_repos/permissive/137261528/vga800x600\n             data/full_repos/permissive/137261528/vga01,data/full_repos/permissive/137261528/vga800x600.v\n             data/full_repos/permissive/137261528/vga01,data/full_repos/permissive/137261528/vga800x600.sv\n             vga800x600\n             vga800x600.v\n             vga800x600.sv\n             obj_dir/vga800x600\n             obj_dir/vga800x600.v\n             obj_dir/vga800x600.sv\n%Error: Exiting due to 1 error(s)\n"
module top(
    input wire CLK,
    input wire RST_BTN,
    output wire VGA_HS_O,
    output wire VGA_VS_O,
    output wire [3:0] VGA_R,
    output wire [3:0] VGA_G,
    output wire [3:0] VGA_B
    );

    wire rst = ~RST_BTN;



    reg [15:0] cnt;
    reg pix_stb;
    always @(posedge CLK)
        {pix_stb, cnt} <= cnt + 16'h6666;

    wire [10:0] x;
    wire  [9:0] y;

    vga800x600 display (
        .i_clk(CLK),
        .i_pix_stb(pix_stb),
        .i_rst(rst),
        .o_hs(VGA_HS_O), 
        .o_vs(VGA_VS_O), 
        .o_x(x), 
        .o_y(y)
    );


    wire sq_a, sq_b, sq_c, sq_d, sq_e, sq_f;
    assign sq_a = ((x > 120) & (y >  20) & (x < 280) & (y < 180)) ? 1 : 0;
    assign sq_b = ((x > 200) & (y > 100) & (x < 360) & (y < 260)) ? 1 : 0;
    assign sq_c = ((x > 280) & (y > 180) & (x < 440) & (y < 340)) ? 1 : 0;
    assign sq_d = ((x > 360) & (y > 260) & (x < 520) & (y < 420)) ? 1 : 0;
    assign sq_e = ((x > 440) & (y > 340) & (x < 600) & (y < 500)) ? 1 : 0;
    assign sq_f = ((x > 520) & (y > 420) & (x < 680) & (y < 580)) ? 1 : 0;

    assign VGA_R[3] = sq_b | sq_e;
    assign VGA_G[3] = sq_a | sq_d;
    assign VGA_B[3] = sq_c | sq_f;
endmodule
module top(
    input wire CLK,
    input wire RST_BTN,
    output wire VGA_HS_O,
    output wire VGA_VS_O,
    output wire [3:0] VGA_R,
    output wire [3:0] VGA_G,
    output wire [3:0] VGA_B
    );


    wire rst = ~RST_BTN;



    reg [15:0] cnt;
    reg pix_stb;
    always @(posedge CLK)
        {pix_stb, cnt} <= cnt + 16'h6666;

    wire [10:0] x;
    wire  [9:0] y;

    vga800x600 display (
        .i_clk(CLK),
        .i_pix_stb(pix_stb),
        .i_rst(rst),
        .o_hs(VGA_HS_O), 
        .o_vs(VGA_VS_O), 
        .o_x(x), 
        .o_y(y)
    );


    wire sq_a, sq_b, sq_c, sq_d, sq_e, sq_f;
    assign sq_a = ((x > 120) & (y >  20) & (x < 280) & (y < 180)) ? 1 : 0;
    assign sq_b = ((x > 200) & (y > 100) & (x < 360) & (y < 260)) ? 1 : 0;
    assign sq_c = ((x > 280) & (y > 180) & (x < 440) & (y < 340)) ? 1 : 0;
    assign sq_d = ((x > 360) & (y > 260) & (x < 520) & (y < 420)) ? 1 : 0;
    assign sq_e = ((x > 440) & (y > 340) & (x < 600) & (y < 500)) ? 1 : 0;
    assign sq_f = ((x > 520) & (y > 420) & (x < 680) & (y < 580)) ? 1 : 0;

    assign VGA_R[3] = sq_b | sq_e;
    assign VGA_G[3] = sq_a | sq_d;
    assign VGA_B[3] = sq_c | sq_f;
endmodule