data/full_repos/permissive/115920613/rtl/boards/spartan3e_starterkit/apple1_s3e_starterkit_top.v
1: b"%Error: data/full_repos/permissive/115920613/rtl/boards/spartan3e_starterkit/apple1_s3e_starterkit_top.v:68: Cannot find file containing module: 'apple1'\n    apple1 #(\n    ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/115920613/rtl/boards/spartan3e_starterkit,data/full_repos/permissive/115920613/apple1\n             data/full_repos/permissive/115920613/rtl/boards/spartan3e_starterkit,data/full_repos/permissive/115920613/apple1.v\n             data/full_repos/permissive/115920613/rtl/boards/spartan3e_starterkit,data/full_repos/permissive/115920613/apple1.sv\n             apple1\n             apple1.v\n             apple1.sv\n             obj_dir/apple1\n             obj_dir/apple1.v\n             obj_dir/apple1.sv\n%Error: Exiting due to 1 error(s)\n"
module apple1_s3e_starterkit_top #(
    parameter BASIC_FILENAME      = "../../../roms/basic.hex",
    parameter FONT_ROM_FILENAME   = "../../../roms/vga_font_bitreversed.hex",
    parameter RAM_FILENAME        = "../../../roms/ram.hex",
    parameter VRAM_FILENAME       = "../../../roms/vga_vram.bin",
    parameter WOZMON_ROM_FILENAME = "../../../roms/wozmon.hex"
) (    
    input   CLK_50MHZ,


    output  UART_TXD,
    input   UART_RXD,
        
    input   PS2_KBCLK,
    input   PS2_KBDAT,

    input   BUTTON,
    input   SWITCH,

    output  VGA_R,
    output  VGA_G,
    output  VGA_B,
    output  VGA_HS,
    output  VGA_VS    
);



    reg clk25;
    wire [15:0] pc_monitor;

    wire rst_n;    
    assign rst_n = ~BUTTON;


    always @(posedge CLK_50MHZ)
    begin
        clk25 <= ~clk25;
    end    
    


    apple1 #(
        .BASIC_FILENAME (BASIC_FILENAME),
        .FONT_ROM_FILENAME (FONT_ROM_FILENAME),
        .RAM_FILENAME (RAM_FILENAME),
        .VRAM_FILENAME (VRAM_FILENAME),
        .WOZMON_ROM_FILENAME (WOZMON_ROM_FILENAME)
    ) apple1_top(
        .clk25(clk25),
        .rst_n(rst_n),
        .uart_rx(UART_RXD),
        .uart_tx(UART_TXD),

        .ps2_clk(PS2_KBCLK),
        .ps2_din(PS2_KBDAT),
        .ps2_select(SWITCH),
        .vga_h_sync(VGA_HS),
        .vga_v_sync(VGA_VS),
        .vga_red(VGA_R),
        .vga_grn(VGA_G),
        .vga_blu(VGA_B),
        .vga_cls(~rst_n),
        .pc_monitor(pc_monitor)
    );
    
endmodule
module apple1_s3e_starterkit_top #(
    parameter BASIC_FILENAME      = "../../../roms/basic.hex",
    parameter FONT_ROM_FILENAME   = "../../../roms/vga_font_bitreversed.hex",
    parameter RAM_FILENAME        = "../../../roms/ram.hex",
    parameter VRAM_FILENAME       = "../../../roms/vga_vram.bin",
    parameter WOZMON_ROM_FILENAME = "../../../roms/wozmon.hex"
) (    
    input   CLK_50MHZ,


    output  UART_TXD,
    input   UART_RXD,
        
    input   PS2_KBCLK,
    input   PS2_KBDAT,

    input   BUTTON,
    input   SWITCH,

    output  VGA_R,
    output  VGA_G,
    output  VGA_B,
    output  VGA_HS,
    output  VGA_VS    
);




    reg clk25;
    wire [15:0] pc_monitor;

    wire rst_n;    
    assign rst_n = ~BUTTON;


    always @(posedge CLK_50MHZ)
    begin
        clk25 <= ~clk25;
    end    
    


    apple1 #(
        .BASIC_FILENAME (BASIC_FILENAME),
        .FONT_ROM_FILENAME (FONT_ROM_FILENAME),
        .RAM_FILENAME (RAM_FILENAME),
        .VRAM_FILENAME (VRAM_FILENAME),
        .WOZMON_ROM_FILENAME (WOZMON_ROM_FILENAME)
    ) apple1_top(
        .clk25(clk25),
        .rst_n(rst_n),
        .uart_rx(UART_RXD),
        .uart_tx(UART_TXD),

        .ps2_clk(PS2_KBCLK),
        .ps2_din(PS2_KBDAT),
        .ps2_select(SWITCH),
        .vga_h_sync(VGA_HS),
        .vga_v_sync(VGA_VS),
        .vga_red(VGA_R),
        .vga_grn(VGA_G),
        .vga_blu(VGA_B),
        .vga_cls(~rst_n),
        .pc_monitor(pc_monitor)
    );
    
endmodule