data/full_repos/permissive/133571498/dance/top.v
1: b"%Error: data/full_repos/permissive/133571498/dance/top.v:10: Cannot find file containing module: 'div'\n    div div (\n    ^~~\n        ... Looked in:\n             data/full_repos/permissive/133571498/dance,data/full_repos/permissive/133571498/div\n             data/full_repos/permissive/133571498/dance,data/full_repos/permissive/133571498/div.v\n             data/full_repos/permissive/133571498/dance,data/full_repos/permissive/133571498/div.sv\n             div\n             div.v\n             div.sv\n             obj_dir/div\n             obj_dir/div.v\n             obj_dir/div.sv\n%Error: data/full_repos/permissive/133571498/dance/top.v:17: Cannot find file containing module: 'pc'\n    pc pc (\n    ^~\n%Error: data/full_repos/permissive/133571498/dance/top.v:27: Cannot find file containing module: 'mem'\n    mem mem (\n    ^~~\n%Error: Exiting due to 3 error(s)\n"
module top (
    input clock, reset,
    output [4:0] led
);

    wire slow_clock;
    wire [3:0] addr;

    `ifndef SIM
    div div (
        .clock (clock),
        .reset (reset),
        .slow_clock (slow_clock)
    );
    `endif

    pc pc (
        `ifdef SIM
        .clock (clock),
        `else
        .clock (slow_clock),
        `endif
        .reset (reset),
        .count (addr)
    );

    mem mem (
        `ifdef SIM
        .clock (clock),
        `else
        .clock (slow_clock),
        `endif
        .addr (addr),
        .num (led)
    );

endmodule
module top (
    input clock, reset,
    output [4:0] led
);


    wire slow_clock;
    wire [3:0] addr;

    `ifndef SIM
    div div (
        .clock (clock),
        .reset (reset),
        .slow_clock (slow_clock)
    );
    `endif

    pc pc (
        `ifdef SIM
        .clock (clock),
        `else
        .clock (slow_clock),
        `endif
        .reset (reset),
        .count (addr)
    );

    mem mem (
        `ifdef SIM
        .clock (clock),
        `else
        .clock (slow_clock),
        `endif
        .addr (addr),
        .num (led)
    );

endmodule