data/full_repos/permissive/210737016/wam_main.v
1: b"%Error: data/full_repos/permissive/210737016/wam_main.v:84: Cannot find file containing module: 'wam_gen'\n    wam_gen sub_gen( .clk_19(clk_19), .clr(clr), .clk_cnt(clk_cnt), .hit(hit), .hrdn(hrdn), .holes(holes) );\n    ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/210737016,data/full_repos/permissive/210737016/wam_gen\n             data/full_repos/permissive/210737016,data/full_repos/permissive/210737016/wam_gen.v\n             data/full_repos/permissive/210737016,data/full_repos/permissive/210737016/wam_gen.sv\n             wam_gen\n             wam_gen.v\n             wam_gen.sv\n             obj_dir/wam_gen\n             obj_dir/wam_gen.v\n             obj_dir/wam_gen.sv\n%Error: data/full_repos/permissive/210737016/wam_main.v:85: Cannot find file containing module: 'wam_hrd'\n    wam_hrd sub_hrd( .clk_19(clk_19), .clr(clr), .lft(lft), .rgt(rgt), .cout0(cout0), .hrdn(hrdn) );\n    ^~~~~~~\n%Error: data/full_repos/permissive/210737016/wam_main.v:88: Cannot find file containing module: 'wam_tap'\n    wam_tap sub_tap( .clk_19(clk_19), .sw(sw), .tap(tap) );\n    ^~~~~~~\n%Error: data/full_repos/permissive/210737016/wam_main.v:89: Cannot find file containing module: 'wam_hit'\n    wam_hit sub_hit( .clk_19(clk_19), .tap(tap), .holes(holes), .hit(hit) );\n    ^~~~~~~\n%Error: data/full_repos/permissive/210737016/wam_main.v:92: Cannot find file containing module: 'wam_scr'\n    wam_scr sub_scr( .clk(clk), .clr(clr), .hit(hit), .num(score), .cout0(cout0) );\n    ^~~~~~~\n%Error: data/full_repos/permissive/210737016/wam_main.v:95: Cannot find file containing module: 'wam_led'\n    wam_led sub_led( .holes(holes), .ld(ld) );\n    ^~~~~~~\n%Error: data/full_repos/permissive/210737016/wam_main.v:96: Cannot find file containing module: 'wam_lst'\n    wam_lst sub_lst( .clk_19(clk_19), .tap(tap), .lft(lft), .rgt(rgt), .cout0(cout0), .lstn(lstn) );\n    ^~~~~~~\n%Error: data/full_repos/permissive/210737016/wam_main.v:97: Cannot find file containing module: 'wam_dis'\n    wam_dis sub_dis( .clk_16(clk_16), .hrdn(hrdn), .score(score), .lstn(lstn), .an(an), .a2g(a2g) );\n    ^~~~~~~\n%Error: Exiting due to 8 error(s)\n"
module wam_m(
    input  wire clk,
    input  wire clr,
    input  wire lft,
    input  wire rgt,
    input  wire pse,
    input  wire [7:0] sw,
    output wire [3:0] an,
    output wire [6:0] a2g,
    output wire [7:0] ld
    );

    reg  [31:0] clk_cnt;
    wire clk_16;
    reg  clk_19;
    reg  pse_flg;

    wire cout0;
    wire lstn;

    wire [3:0]  hrdn;
    wire [7:0]  holes;
    wire [7:0]  tap;
    wire [7:0]  hit;
    wire [11:0] score;


    always @(posedge clk) begin



        clk_cnt = clk_cnt + 1;
        if(clk_cnt[31:28]>15)
            clk_cnt = 0;
    end

    assign clk_16 = clk_cnt[16];


    always @ (posedge pse) begin
        pse_flg = ~pse_flg;
    end

    always @ (posedge clk) begin
        if (!pse_flg)
            clk_19 = clk_cnt[19];
    end


    wam_gen sub_gen( .clk_19(clk_19), .clr(clr), .clk_cnt(clk_cnt), .hit(hit), .hrdn(hrdn), .holes(holes) );
    wam_hrd sub_hrd( .clk_19(clk_19), .clr(clr), .lft(lft), .rgt(rgt), .cout0(cout0), .hrdn(hrdn) );


    wam_tap sub_tap( .clk_19(clk_19), .sw(sw), .tap(tap) );
    wam_hit sub_hit( .clk_19(clk_19), .tap(tap), .holes(holes), .hit(hit) );


    wam_scr sub_scr( .clk(clk), .clr(clr), .hit(hit), .num(score), .cout0(cout0) );


    wam_led sub_led( .holes(holes), .ld(ld) );
    wam_lst sub_lst( .clk_19(clk_19), .tap(tap), .lft(lft), .rgt(rgt), .cout0(cout0), .lstn(lstn) );
    wam_dis sub_dis( .clk_16(clk_16), .hrdn(hrdn), .score(score), .lstn(lstn), .an(an), .a2g(a2g) );
endmodule
module wam_m(
    input  wire clk,
    input  wire clr,
    input  wire lft,
    input  wire rgt,
    input  wire pse,
    input  wire [7:0] sw,
    output wire [3:0] an,
    output wire [6:0] a2g,
    output wire [7:0] ld
    );


    reg  [31:0] clk_cnt;
    wire clk_16;
    reg  clk_19;
    reg  pse_flg;

    wire cout0;
    wire lstn;

    wire [3:0]  hrdn;
    wire [7:0]  holes;
    wire [7:0]  tap;
    wire [7:0]  hit;
    wire [11:0] score;


    always @(posedge clk) begin



        clk_cnt = clk_cnt + 1;
        if(clk_cnt[31:28]>15)
            clk_cnt = 0;
    end

    assign clk_16 = clk_cnt[16];


    always @ (posedge pse) begin
        pse_flg = ~pse_flg;
    end

    always @ (posedge clk) begin
        if (!pse_flg)
            clk_19 = clk_cnt[19];
    end


    wam_gen sub_gen( .clk_19(clk_19), .clr(clr), .clk_cnt(clk_cnt), .hit(hit), .hrdn(hrdn), .holes(holes) );
    wam_hrd sub_hrd( .clk_19(clk_19), .clr(clr), .lft(lft), .rgt(rgt), .cout0(cout0), .hrdn(hrdn) );


    wam_tap sub_tap( .clk_19(clk_19), .sw(sw), .tap(tap) );
    wam_hit sub_hit( .clk_19(clk_19), .tap(tap), .holes(holes), .hit(hit) );


    wam_scr sub_scr( .clk(clk), .clr(clr), .hit(hit), .num(score), .cout0(cout0) );


    wam_led sub_led( .holes(holes), .ld(ld) );
    wam_lst sub_lst( .clk_19(clk_19), .tap(tap), .lft(lft), .rgt(rgt), .cout0(cout0), .lstn(lstn) );
    wam_dis sub_dis( .clk_16(clk_16), .hrdn(hrdn), .score(score), .lstn(lstn), .an(an), .a2g(a2g) );
endmodule