data/full_repos/permissive/163728837/src/map_rom.v
None: at end of input
1: b'%Error: data/full_repos/permissive/163728837/src/map_rom.v:10: Cannot find include file: map.rom\n`include "map.rom" \n         ^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/163728837/src,data/full_repos/permissive/163728837/map.rom\n             data/full_repos/permissive/163728837/src,data/full_repos/permissive/163728837/map.rom.v\n             data/full_repos/permissive/163728837/src,data/full_repos/permissive/163728837/map.rom.sv\n             map.rom\n             map.rom.v\n             map.rom.sv\n             obj_dir/map.rom\n             obj_dir/map.rom.v\n             obj_dir/map.rom.sv\n%Error: Exiting due to 1 error(s)\n'
module map_rom (
    input [7:0] x,
    input [7:0] y,
    output reg [3:0] point
    );

reg [3:0] map [23:0][23:0];

initial begin
`include "map.rom"
end

always @(*) begin
    if (x < 24 && y < 24)
        point = map[x][y];
    else
        point = 4'd1;
end

endmodule
module map_rom (
    input [7:0] x,
    input [7:0] y,
    output reg [3:0] point
    );


reg [3:0] map [23:0][23:0];

initial begin
`include "map.rom"
end

always @(*) begin
    if (x < 24 && y < 24)
        point = map[x][y];
    else
        point = 4'd1;
end

endmodule