data/full_repos/permissive/194450802/raytracer.v
1: b"%Error: data/full_repos/permissive/194450802/raytracer.v:150: Cannot find file containing module: 'bytian_to_vector'\n    bytian_to_vector btv0 (.bytian(angle),\n    ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/194450802,data/full_repos/permissive/194450802/bytian_to_vector\n             data/full_repos/permissive/194450802,data/full_repos/permissive/194450802/bytian_to_vector.v\n             data/full_repos/permissive/194450802,data/full_repos/permissive/194450802/bytian_to_vector.sv\n             bytian_to_vector\n             bytian_to_vector.v\n             bytian_to_vector.sv\n             obj_dir/bytian_to_vector\n             obj_dir/bytian_to_vector.v\n             obj_dir/bytian_to_vector.sv\n%Error: data/full_repos/permissive/194450802/raytracer.v:156: Cannot find file containing module: 'coordinate_to_grid'\n    coordinate_to_grid ctg0 (.coord_x(pos_x),\n    ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/194450802/raytracer.v:163: Cannot find file containing module: 'coordinate_to_grid'\n    coordinate_to_grid ctg1 (.coord_x(prev_pos_x),\n    ^~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 3 error(s)\n"
module raytracer(clock, reset,
                 start, done,
                 x, y, angle,
                 result_x, result_y, result_dir,
                 grid_x, grid_y, grid_out);

    input clock;
    input reset;


    input start;
    output done;


    input [13:0] x;
    input [12:0] y;
    input [7:0] angle;


    output [5:0] result_x;
    output [4:0] result_y;



    output result_dir;


    output [5:0] grid_x;
    output [4:0] grid_y;
    input [2:0] grid_out;

    wire load_values, go_to_next_pos, on_obstacle;
    _raytracer_fsm rf0 (.clock(clock),
                        .reset(reset),
                        .start(start),
                        .done(done),
                        .load_values(load_values),
                        .go_to_next_pos(go_to_next_pos),
                        .on_obstacle(on_obstacle));
    _raytracer_datapath rd0 (.clock(clock),
                             .reset(reset),
                             .x(x),
                             .y(y),
                             .angle(angle),
                             .grid_x(grid_x),
                             .grid_y(grid_y),
                             .grid_out(grid_out),
                             .result_x(result_x),
                             .result_y(result_y),
                             .result_dir(result_dir),
                             .load_values(load_values),
                             .go_to_next_pos(go_to_next_pos),
                             .on_obstacle(on_obstacle));
endmodule
module raytracer(clock, reset,
                 start, done,
                 x, y, angle,
                 result_x, result_y, result_dir,
                 grid_x, grid_y, grid_out);


    input clock;
    input reset;


    input start;
    output done;


    input [13:0] x;
    input [12:0] y;
    input [7:0] angle;


    output [5:0] result_x;
    output [4:0] result_y;



    output result_dir;


    output [5:0] grid_x;
    output [4:0] grid_y;
    input [2:0] grid_out;

    wire load_values, go_to_next_pos, on_obstacle;
    _raytracer_fsm rf0 (.clock(clock),
                        .reset(reset),
                        .start(start),
                        .done(done),
                        .load_values(load_values),
                        .go_to_next_pos(go_to_next_pos),
                        .on_obstacle(on_obstacle));
    _raytracer_datapath rd0 (.clock(clock),
                             .reset(reset),
                             .x(x),
                             .y(y),
                             .angle(angle),
                             .grid_x(grid_x),
                             .grid_y(grid_y),
                             .grid_out(grid_out),
                             .result_x(result_x),
                             .result_y(result_y),
                             .result_dir(result_dir),
                             .load_values(load_values),
                             .go_to_next_pos(go_to_next_pos),
                             .on_obstacle(on_obstacle));
endmodule