data/full_repos/permissive/115920613/rtl/cpu/aholme_6502.v
1: b"%Error: data/full_repos/permissive/115920613/rtl/cpu/aholme_6502.v:16: Cannot find file containing module: 'chip_6502'\n    chip_6502 aholme_cpu (\n    ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/115920613/rtl/cpu,data/full_repos/permissive/115920613/chip_6502\n             data/full_repos/permissive/115920613/rtl/cpu,data/full_repos/permissive/115920613/chip_6502.v\n             data/full_repos/permissive/115920613/rtl/cpu,data/full_repos/permissive/115920613/chip_6502.sv\n             chip_6502\n             chip_6502.v\n             chip_6502.sv\n             obj_dir/chip_6502\n             obj_dir/chip_6502.v\n             obj_dir/chip_6502.sv\n%Error: Exiting due to 1 error(s)\n"
module aholme_6502(
    input clk,
    input enable,
    input reset,
    output [15:0] ab,
    input [7:0] dbi,
    output [7:0] dbo,
    output we,
    input irq,
    input nmi,
    input ready
);

    wire we_c;

    chip_6502 aholme_cpu (
        .clk(clk),
        .phi(clk & enable),
        .res(~reset),
        .so(1'b0),
        .rdy(ready),
        .nmi(nmi_n),
        .irq(irq_n),
        .rw(we_c),
        .dbi(dbi),
        .dbo(dbo),
        .ab(ab)
    );

    assign we = ~we_c;

endmodule
module aholme_6502(
    input clk,
    input enable,
    input reset,
    output [15:0] ab,
    input [7:0] dbi,
    output [7:0] dbo,
    output we,
    input irq,
    input nmi,
    input ready
);


    wire we_c;

    chip_6502 aholme_cpu (
        .clk(clk),
        .phi(clk & enable),
        .res(~reset),
        .so(1'b0),
        .rdy(ready),
        .nmi(nmi_n),
        .irq(irq_n),
        .rw(we_c),
        .dbi(dbi),
        .dbo(dbo),
        .ab(ab)
    );

    assign we = ~we_c;

endmodule