data/full_repos/permissive/43974493/src/input_handler.v
1: b'%Error: data/full_repos/permissive/43974493/src/input_handler.v:9: Cannot find include file: definitions.vh\n`include "definitions.vh" \n         ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/43974493/src,data/full_repos/permissive/43974493/definitions.vh\n             data/full_repos/permissive/43974493/src,data/full_repos/permissive/43974493/definitions.vh.v\n             data/full_repos/permissive/43974493/src,data/full_repos/permissive/43974493/definitions.vh.sv\n             definitions.vh\n             definitions.vh.v\n             definitions.vh.sv\n             obj_dir/definitions.vh\n             obj_dir/definitions.vh.v\n             obj_dir/definitions.vh.sv\n%Error: data/full_repos/permissive/43974493/src/input_handler.v:28: Define or directive not defined: \'`NUM_USER_INPUTS\'\n   output reg [`NUM_USER_INPUTS-1:0] buf_inputs\n               ^~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n'
module input_handler
  (
   input                             clk,
   input [5:0]                       buttons,
   input [7:0]                       switches,
   input [7:0]                       gpio_p6,
   input [7:0]                       gpio_p7,
   input [7:0]                       gpio_p8,
   input [7:0]                       gpio_p9,
   input [11:0]                      snes_0,
   input [11:0]                      snes_1,
   input [11:0]                      snes_2,
   input [11:0]                      snes_3,
   input [11:0]                      snes_4,
   input [11:0]                      snes_5,
   input [11:0]                      snes_6,
   input [11:0]                      snes_7,
   output reg [`NUM_USER_INPUTS-1:0] buf_inputs
   );

   always @ (posedge clk) begin
      buf_inputs <= {
         snes_7, snes_6, snes_5, snes_4,
         snes_3, snes_2, snes_1, snes_0,
         gpio_p9, gpio_p8, gpio_p7, gpio_p6,
         ~switches, ~buttons
      };
   end

endmodule
module input_handler
  (
   input                             clk,
   input [5:0]                       buttons,
   input [7:0]                       switches,
   input [7:0]                       gpio_p6,
   input [7:0]                       gpio_p7,
   input [7:0]                       gpio_p8,
   input [7:0]                       gpio_p9,
   input [11:0]                      snes_0,
   input [11:0]                      snes_1,
   input [11:0]                      snes_2,
   input [11:0]                      snes_3,
   input [11:0]                      snes_4,
   input [11:0]                      snes_5,
   input [11:0]                      snes_6,
   input [11:0]                      snes_7,
   output reg [`NUM_USER_INPUTS-1:0] buf_inputs
   );


   always @ (posedge clk) begin
      buf_inputs <= {
         snes_7, snes_6, snes_5, snes_4,
         snes_3, snes_2, snes_1, snes_0,
         gpio_p9, gpio_p8, gpio_p7, gpio_p6,
         ~switches, ~buttons
      };
   end

endmodule