data/full_repos/permissive/120024308/src/LCDController/lcd_controller.v
1: b'%Error: data/full_repos/permissive/120024308/src/LCDController/lcd_controller.v:3: Cannot find include file: init_fsm.v\n `include "init_fsm.v" \n          ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/120024308/src/LCDController,data/full_repos/permissive/120024308/init_fsm.v\n             data/full_repos/permissive/120024308/src/LCDController,data/full_repos/permissive/120024308/init_fsm.v.v\n             data/full_repos/permissive/120024308/src/LCDController,data/full_repos/permissive/120024308/init_fsm.v.sv\n             init_fsm.v\n             init_fsm.v.v\n             init_fsm.v.sv\n             obj_dir/init_fsm.v\n             obj_dir/init_fsm.v.v\n             obj_dir/init_fsm.v.sv\n%Error: data/full_repos/permissive/120024308/src/LCDController/lcd_controller.v:4: Cannot find include file: buffer.v\n `include "buffer.v" \n          ^~~~~~~~~~\n%Error: data/full_repos/permissive/120024308/src/LCDController/lcd_controller.v:5: Cannot find include file: counter.v\n `include "counter.v" \n          ^~~~~~~~~~~\n%Error: data/full_repos/permissive/120024308/src/LCDController/lcd_controller.v:6: Cannot find include file: command_fsm.v\n `include "command_fsm.v" \n          ^~~~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n'
module LCDController(
                     input wire clk,
                     input wire reset,
                     input wire [9:0] buffer_data,
                     input wire req_buff_write,
                     output wire full,
                     output wire [3:0] sf_d,
                     output wire lcd_e,
                     output wire lcd_rs,
                     output wire lcd_rw,
                     output wire sf_ce0
);

   wire [19:0] count;
   wire  [9:0] command;
   wire  [3:0] init_sf_d, cmd_sf_d;
   wire        init_count_reset, cmd_count_reset, count_reset;
   wire        not_empty, req_command;
   wire        init_lcd_e, cmd_lcd_e;
   wire        init_finished;

   assign count_reset = init_count_reset || cmd_count_reset;
   assign sf_d = init_sf_d | cmd_sf_d;
   assign lcd_e = init_lcd_e || cmd_lcd_e;

   Counter Counter(
                   .clk(clk),
                   .reset(count_reset || reset),
                   .count(count)
                   );

   CmdBuffer CmdBuffer(
                    .clk(clk),
                    .reset(reset),
                    .data_in(buffer_data),
                    .req_read(req_command),
                    .req_write(req_buff_write),
                    .data_out(command),
                    .not_empty(not_empty),
                    .full(full)
                    );
   InitFSM InitFSM(
                   .clk(clk),
                   .reset(reset),
                   .count(count),
                   .count_reset(init_count_reset),
                   .finished(init_finished),
                   .sf_d(init_sf_d),
                   .lcd_e(init_lcd_e)
                   );
   CmdFSM CmdFSM(
                 .clk(clk),
                 .reset(reset),
                 .enable(init_finished),
                 .count(count),
                 .count_reset(cmd_count_reset),
                 .buffer(command),
                 .next_command(not_empty),
                 .req_command(req_command),
                 .sf_d(cmd_sf_d),
                 .lcd_e(cmd_lcd_e),
                 .lcd_rs(lcd_rs),
                 .lcd_rw(lcd_rw),
                 .sf_ce0(sf_ce0)
                 );
endmodule
module LCDController(
                     input wire clk,
                     input wire reset,
                     input wire [9:0] buffer_data,
                     input wire req_buff_write,
                     output wire full,
                     output wire [3:0] sf_d,
                     output wire lcd_e,
                     output wire lcd_rs,
                     output wire lcd_rw,
                     output wire sf_ce0
);


   wire [19:0] count;
   wire  [9:0] command;
   wire  [3:0] init_sf_d, cmd_sf_d;
   wire        init_count_reset, cmd_count_reset, count_reset;
   wire        not_empty, req_command;
   wire        init_lcd_e, cmd_lcd_e;
   wire        init_finished;

   assign count_reset = init_count_reset || cmd_count_reset;
   assign sf_d = init_sf_d | cmd_sf_d;
   assign lcd_e = init_lcd_e || cmd_lcd_e;

   Counter Counter(
                   .clk(clk),
                   .reset(count_reset || reset),
                   .count(count)
                   );

   CmdBuffer CmdBuffer(
                    .clk(clk),
                    .reset(reset),
                    .data_in(buffer_data),
                    .req_read(req_command),
                    .req_write(req_buff_write),
                    .data_out(command),
                    .not_empty(not_empty),
                    .full(full)
                    );
   InitFSM InitFSM(
                   .clk(clk),
                   .reset(reset),
                   .count(count),
                   .count_reset(init_count_reset),
                   .finished(init_finished),
                   .sf_d(init_sf_d),
                   .lcd_e(init_lcd_e)
                   );
   CmdFSM CmdFSM(
                 .clk(clk),
                 .reset(reset),
                 .enable(init_finished),
                 .count(count),
                 .count_reset(cmd_count_reset),
                 .buffer(command),
                 .next_command(not_empty),
                 .req_command(req_command),
                 .sf_d(cmd_sf_d),
                 .lcd_e(cmd_lcd_e),
                 .lcd_rs(lcd_rs),
                 .lcd_rw(lcd_rw),
                 .sf_ce0(sf_ce0)
                 );
endmodule