data/full_repos/permissive/194450802/main.v
1: b"%Error: data/full_repos/permissive/194450802/main.v:260: Cannot find file containing module: 'grid'\n    grid g0(\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/194450802,data/full_repos/permissive/194450802/grid\n             data/full_repos/permissive/194450802,data/full_repos/permissive/194450802/grid.v\n             data/full_repos/permissive/194450802,data/full_repos/permissive/194450802/grid.sv\n             grid\n             grid.v\n             grid.sv\n             obj_dir/grid\n             obj_dir/grid.v\n             obj_dir/grid.sv\n%Error: data/full_repos/permissive/194450802/main.v:405: Cannot find file containing module: 'level_loader'\n    level_loader ll0(\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:417: Cannot find file containing module: 'draw_grid'\n    draw_grid dg0(\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:432: Cannot find file containing module: 'draw_player'\n    draw_player dp0(\n    ^~~~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:449: Cannot find file containing module: 'raytracer'\n    raytracer r0(\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:466: Cannot find file containing module: 'draw_crosshair'\n    draw_crosshair dc0 (.clock(clock),\n    ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:481: Cannot find file containing module: 'player_updater'\n    player_updater pu0 (.clock(clock),\n    ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:500: Cannot find file containing module: 'enemy_updater'\n    enemy_updater eu0 (.clock(clock),\n    ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:511: Cannot find file containing module: 'draw_fpv'\n    draw_fpv dfpv0 (.clock(clock),\n    ^~~~~~~~\n%Error: data/full_repos/permissive/194450802/main.v:551: Cannot find file containing module: 'hex'\n    hex h7(\n    ^~~\n%Error: data/full_repos/permissive/194450802/main.v:555: Cannot find file containing module: 'hex'\n    hex h6(\n    ^~~\n%Error: data/full_repos/permissive/194450802/main.v:561: Cannot find file containing module: 'hex'\n    hex h5(\n    ^~~\n%Error: data/full_repos/permissive/194450802/main.v:565: Cannot find file containing module: 'hex'\n    hex h4(\n    ^~~\n%Error: data/full_repos/permissive/194450802/main.v:571: Cannot find file containing module: 'hex'\n    hex h1(\n    ^~~\n%Error: data/full_repos/permissive/194450802/main.v:574: Cannot find file containing module: 'hex'\n    hex h0(\n    ^~~\n%Error: Exiting due to 15 error(s)\n"
module main(clock, reset,
            SW,
            HEX7, HEX6, HEX5, HEX4, HEX1, HEX0,
            key_press,
            vga_x, vga_y, vga_colour, vga_write);

    input clock;
    input reset;

    input [17:0] SW;

    output [6:0] HEX0, HEX1, HEX4, HEX5, HEX6, HEX7;

    input [7:0] key_press;


    output [7:0] vga_x;
    output [6:0] vga_y;
    output [17:0] vga_colour;
    output vga_write;

    wire reset_player, store_player_pos, increment_level;
    wire [2:0] grid_access;
    wire [1:0] vga_access;
    wire level_loader_start, draw_grid_start, draw_player_start, raytracer_start, player_updater_start, enemy_updater_start, draw_crosshair_start, draw_fpv_start;
    wire level_loader_done, draw_grid_done, draw_player_done, raytracer_done, player_updater_done, enemy_updater_done, draw_crosshair_done, draw_fpv_done;
    _main_fsm mf0(
      .clock(clock),
      .reset(reset),
      .SW(SW),
      .grid_access(grid_access),
      .vga_access(vga_access),
      .level_loader_done(level_loader_done),
      .draw_grid_done(draw_grid_done),
      .draw_player_done(draw_player_done),
      .raytracer_done(raytracer_done),
      .player_updater_done(player_updater_done),
      .enemy_updater_done(enemy_updater_done),
      .draw_crosshair_done(draw_crosshair_done),
      .draw_fpv_done(draw_fpv_done),
      .level_loader_start(level_loader_start),
      .draw_grid_start(draw_grid_start),
      .draw_player_start(draw_player_start),
      .raytracer_start(raytracer_start),
      .player_updater_start(player_updater_start),
      .enemy_updater_start(enemy_updater_start),
      .draw_crosshair_start(draw_crosshair_start),
      .draw_fpv_start(draw_fpv_start),
      .reset_player(reset_player),
      .store_player_pos(store_player_pos),
      .increment_level(increment_level));
    _main_datapath md0(
      .clock(clock),
      .reset(reset),
      .SW(SW),
      .key_press(key_press),
      .grid_access(grid_access),
      .vga_access(vga_access),
      .level_loader_done(level_loader_done),
      .draw_grid_done(draw_grid_done),
      .draw_player_done(draw_player_done),
      .raytracer_done(raytracer_done),
      .player_updater_done(player_updater_done),
      .enemy_updater_done(enemy_updater_done),
      .draw_crosshair_done(draw_crosshair_done),
      .draw_fpv_done(draw_fpv_done),
      .level_loader_start(level_loader_start),
      .draw_grid_start(draw_grid_start),
      .draw_player_start(draw_player_start),
      .raytracer_start(raytracer_start),
      .player_updater_start(player_updater_start),
      .enemy_updater_start(enemy_updater_start),
      .draw_crosshair_start(draw_crosshair_start),
      .draw_fpv_start(draw_fpv_start),
      .vga_x(vga_x),
      .vga_y(vga_y),
      .vga_colour(vga_colour),
      .vga_write(vga_write),
      .HEX7(HEX7),
      .HEX6(HEX6),
      .HEX5(HEX5),
      .HEX4(HEX4),
      .HEX1(HEX1),
      .HEX0(HEX0),
      .reset_player(reset_player),
      .store_player_pos(store_player_pos),
      .increment_level(increment_level));
endmodule
module main(clock, reset,
            SW,
            HEX7, HEX6, HEX5, HEX4, HEX1, HEX0,
            key_press,
            vga_x, vga_y, vga_colour, vga_write);


    input clock;
    input reset;

    input [17:0] SW;

    output [6:0] HEX0, HEX1, HEX4, HEX5, HEX6, HEX7;

    input [7:0] key_press;


    output [7:0] vga_x;
    output [6:0] vga_y;
    output [17:0] vga_colour;
    output vga_write;

    wire reset_player, store_player_pos, increment_level;
    wire [2:0] grid_access;
    wire [1:0] vga_access;
    wire level_loader_start, draw_grid_start, draw_player_start, raytracer_start, player_updater_start, enemy_updater_start, draw_crosshair_start, draw_fpv_start;
    wire level_loader_done, draw_grid_done, draw_player_done, raytracer_done, player_updater_done, enemy_updater_done, draw_crosshair_done, draw_fpv_done;
    _main_fsm mf0(
      .clock(clock),
      .reset(reset),
      .SW(SW),
      .grid_access(grid_access),
      .vga_access(vga_access),
      .level_loader_done(level_loader_done),
      .draw_grid_done(draw_grid_done),
      .draw_player_done(draw_player_done),
      .raytracer_done(raytracer_done),
      .player_updater_done(player_updater_done),
      .enemy_updater_done(enemy_updater_done),
      .draw_crosshair_done(draw_crosshair_done),
      .draw_fpv_done(draw_fpv_done),
      .level_loader_start(level_loader_start),
      .draw_grid_start(draw_grid_start),
      .draw_player_start(draw_player_start),
      .raytracer_start(raytracer_start),
      .player_updater_start(player_updater_start),
      .enemy_updater_start(enemy_updater_start),
      .draw_crosshair_start(draw_crosshair_start),
      .draw_fpv_start(draw_fpv_start),
      .reset_player(reset_player),
      .store_player_pos(store_player_pos),
      .increment_level(increment_level));
    _main_datapath md0(
      .clock(clock),
      .reset(reset),
      .SW(SW),
      .key_press(key_press),
      .grid_access(grid_access),
      .vga_access(vga_access),
      .level_loader_done(level_loader_done),
      .draw_grid_done(draw_grid_done),
      .draw_player_done(draw_player_done),
      .raytracer_done(raytracer_done),
      .player_updater_done(player_updater_done),
      .enemy_updater_done(enemy_updater_done),
      .draw_crosshair_done(draw_crosshair_done),
      .draw_fpv_done(draw_fpv_done),
      .level_loader_start(level_loader_start),
      .draw_grid_start(draw_grid_start),
      .draw_player_start(draw_player_start),
      .raytracer_start(raytracer_start),
      .player_updater_start(player_updater_start),
      .enemy_updater_start(enemy_updater_start),
      .draw_crosshair_start(draw_crosshair_start),
      .draw_fpv_start(draw_fpv_start),
      .vga_x(vga_x),
      .vga_y(vga_y),
      .vga_colour(vga_colour),
      .vga_write(vga_write),
      .HEX7(HEX7),
      .HEX6(HEX6),
      .HEX5(HEX5),
      .HEX4(HEX4),
      .HEX1(HEX1),
      .HEX0(HEX0),
      .reset_player(reset_player),
      .store_player_pos(store_player_pos),
      .increment_level(increment_level));
endmodule