data/full_repos/permissive/136510272/projects/vga640x480/marsohod2.v
None: at end of input
1: b"%Error: data/full_repos/permissive/136510272/projects/vga640x480/marsohod2.v:65: Cannot find file containing module: 'sdram'\nsdram SDRAM(\n^~~~~\n        ... Looked in:\n             data/full_repos/permissive/136510272/projects/vga640x480,data/full_repos/permissive/136510272/sdram\n             data/full_repos/permissive/136510272/projects/vga640x480,data/full_repos/permissive/136510272/sdram.v\n             data/full_repos/permissive/136510272/projects/vga640x480,data/full_repos/permissive/136510272/sdram.sv\n             sdram\n             sdram.v\n             sdram.sv\n             obj_dir/sdram\n             obj_dir/sdram.v\n             obj_dir/sdram.sv\n%Error: data/full_repos/permissive/136510272/projects/vga640x480/marsohod2.v:88: Cannot find file containing module: 'videoadapter'\nvideoadapter VIDEOUT(\n^~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module marsohod2(




    input   wire        clk,


    output  wire [3:0]  led,


    input   wire [1:0]  keys,


    output  wire        adc_clock_20mhz,
    input   wire [7:0]  adc_input,


    output  wire        sdram_clock,
    output  wire [11:0] sdram_addr,
    output  wire [1:0]  sdram_bank,
    inout   wire [15:0] sdram_dq,
    output  wire        sdram_ldqm,
    output  wire        sdram_udqm,
    output  wire        sdram_ras,
    output  wire        sdram_cas,
    output  wire        sdram_we,


    output  wire [4:0]  vga_red,
    output  wire [5:0]  vga_green,
    output  wire [4:0]  vga_blue,
    output  wire        vga_hs,
    output  wire        vga_vs,


    input   wire        ftdi_rx,
    output  wire        ftdi_tx,




    inout   wire [1:0]  usb,


    output  wire        sound_left,
    output  wire        sound_right,


    inout   wire [1:0]  ps2_keyb,
    inout   wire [1:0]  ps2_mouse
);


wire [ 1:0] cmd;
wire [15:0] dr;
wire [15:0] dw;
wire        wren;
wire [21:0] addr;

sdram SDRAM(


    .clock  (clk),
    .sdclk  (sdram_clock),
    .addr   (sdram_addr),
    .bank   (sdram_bank),
    .dq     (sdram_dq),
    .ldqm   (sdram_ldqm),
    .udqm   (sdram_udqm),
    .ras    (sdram_ras),
    .cas    (sdram_cas),
    .we     (sdram_we),
    

    .rden    (rden),
    .wren    (wren),
    .address (addr),
    .data_wr (dw),
    .data_rd (dr),
    .busy    (busy)
);

videoadapter VIDEOUT(

    .clock  (clk),
    .hs     (vga_hs),
    .vs     (vga_vs),
    .r      (vga_red),
    .g      (vga_green),
    .b      (vga_blue),
    

    .busy   (busy),
    .rden   (rden),
    .addr   (addr),
    .dr     (dr),
    
    .wren     (wren),
    .dw       (dw)
);


endmodule
module marsohod2(




    input   wire        clk,


    output  wire [3:0]  led,


    input   wire [1:0]  keys,


    output  wire        adc_clock_20mhz,
    input   wire [7:0]  adc_input,


    output  wire        sdram_clock,
    output  wire [11:0] sdram_addr,
    output  wire [1:0]  sdram_bank,
    inout   wire [15:0] sdram_dq,
    output  wire        sdram_ldqm,
    output  wire        sdram_udqm,
    output  wire        sdram_ras,
    output  wire        sdram_cas,
    output  wire        sdram_we,


    output  wire [4:0]  vga_red,
    output  wire [5:0]  vga_green,
    output  wire [4:0]  vga_blue,
    output  wire        vga_hs,
    output  wire        vga_vs,


    input   wire        ftdi_rx,
    output  wire        ftdi_tx,




    inout   wire [1:0]  usb,


    output  wire        sound_left,
    output  wire        sound_right,


    inout   wire [1:0]  ps2_keyb,
    inout   wire [1:0]  ps2_mouse
);



wire [ 1:0] cmd;
wire [15:0] dr;
wire [15:0] dw;
wire        wren;
wire [21:0] addr;

sdram SDRAM(


    .clock  (clk),
    .sdclk  (sdram_clock),
    .addr   (sdram_addr),
    .bank   (sdram_bank),
    .dq     (sdram_dq),
    .ldqm   (sdram_ldqm),
    .udqm   (sdram_udqm),
    .ras    (sdram_ras),
    .cas    (sdram_cas),
    .we     (sdram_we),
    

    .rden    (rden),
    .wren    (wren),
    .address (addr),
    .data_wr (dw),
    .data_rd (dr),
    .busy    (busy)
);

videoadapter VIDEOUT(

    .clock  (clk),
    .hs     (vga_hs),
    .vs     (vga_vs),
    .r      (vga_red),
    .g      (vga_green),
    .b      (vga_blue),
    

    .busy   (busy),
    .rden   (rden),
    .addr   (addr),
    .dr     (dr),
    
    .wren     (wren),
    .dw       (dw)
);


endmodule