data/full_repos/permissive/428611613/cores/axis_gpio_reader_v1_0/axis_gpio_reader.v
1: b"%Error: data/full_repos/permissive/428611613/cores/axis_gpio_reader_v1_0/axis_gpio_reader.v:27: Cannot find file containing module: 'IOBUF'\n    IOBUF gpio_iobuf (.O(int_data_wire[j]), .IO(gpio_data[j]), .I(1'b0), .T(1'b1));\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/428611613/cores/axis_gpio_reader_v1_0,data/full_repos/permissive/428611613/IOBUF\n             data/full_repos/permissive/428611613/cores/axis_gpio_reader_v1_0,data/full_repos/permissive/428611613/IOBUF.v\n             data/full_repos/permissive/428611613/cores/axis_gpio_reader_v1_0,data/full_repos/permissive/428611613/IOBUF.sv\n             IOBUF\n             IOBUF.v\n             IOBUF.sv\n             obj_dir/IOBUF\n             obj_dir/IOBUF.v\n             obj_dir/IOBUF.sv\n%Error: Exiting due to 1 error(s)\n"
module axis_gpio_reader #
(
  parameter integer AXIS_TDATA_WIDTH = 32
)
(

  input  wire                        aclk,

  inout  wire [AXIS_TDATA_WIDTH-1:0] gpio_data,


  output wire [AXIS_TDATA_WIDTH-1:0] m_axis_tdata,
  output wire                        m_axis_tvalid
);

  reg  [AXIS_TDATA_WIDTH-1:0] int_data_reg [1:0];
  wire [AXIS_TDATA_WIDTH-1:0] int_data_wire;

  genvar j;

  generate
  for(j = 0; j < AXIS_TDATA_WIDTH; j = j + 1)
  begin : GPIO
    IOBUF gpio_iobuf (.O(int_data_wire[j]), .IO(gpio_data[j]), .I(1'b0), .T(1'b1));
  end
  endgenerate

  always @(posedge aclk)
  begin
    int_data_reg[0] <= int_data_wire;
    int_data_reg[1] <= int_data_reg[0];
  end

  assign m_axis_tdata = int_data_reg[1];
  assign m_axis_tvalid = 1'b1;

endmodule
module axis_gpio_reader #
(
  parameter integer AXIS_TDATA_WIDTH = 32
)
(

  input  wire                        aclk,

  inout  wire [AXIS_TDATA_WIDTH-1:0] gpio_data,


  output wire [AXIS_TDATA_WIDTH-1:0] m_axis_tdata,
  output wire                        m_axis_tvalid
);


  reg  [AXIS_TDATA_WIDTH-1:0] int_data_reg [1:0];
  wire [AXIS_TDATA_WIDTH-1:0] int_data_wire;

  genvar j;

  generate
  for(j = 0; j < AXIS_TDATA_WIDTH; j = j + 1)
  begin : GPIO
    IOBUF gpio_iobuf (.O(int_data_wire[j]), .IO(gpio_data[j]), .I(1'b0), .T(1'b1));
  end
  endgenerate

  always @(posedge aclk)
  begin
    int_data_reg[0] <= int_data_wire;
    int_data_reg[1] <= int_data_reg[0];
  end

  assign m_axis_tdata = int_data_reg[1];
  assign m_axis_tvalid = 1'b1;

endmodule