data/full_repos/permissive/40989439/AdaptevaLib/src/i2c/hdl/parallella_i2c.v
1: b"%Error: data/full_repos/permissive/40989439/AdaptevaLib/src/i2c/hdl/parallella_i2c.v:59: Cannot find file containing module: 'IOBUF'\n   IOBUF #(\n   ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/40989439/AdaptevaLib/src/i2c/hdl,data/full_repos/permissive/40989439/IOBUF\n             data/full_repos/permissive/40989439/AdaptevaLib/src/i2c/hdl,data/full_repos/permissive/40989439/IOBUF.v\n             data/full_repos/permissive/40989439/AdaptevaLib/src/i2c/hdl,data/full_repos/permissive/40989439/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: data/full_repos/permissive/40989439/AdaptevaLib/src/i2c/hdl/parallella_i2c.v:71: Cannot find file containing module: 'IOBUF'\n    IOBUF #(\n    ^~~~~\n%Error: Exiting due to 2 error(s)\n"
module parallella_i2c
  (

   I2C_SDA_I, I2C_SCL_I,

   I2C_SDA, I2C_SCL,

   I2C_SDA_O, I2C_SDA_T, I2C_SCL_O, I2C_SCL_T
   );
   
   input  I2C_SDA_O;
   input  I2C_SDA_T;
   output I2C_SDA_I;

   input  I2C_SCL_O;
   input  I2C_SCL_T;
   output I2C_SCL_I;

   inout  I2C_SDA;
   inout  I2C_SCL;
   

`ifdef  PORTABLE
   
   wire   I2C_SDA = I2C_SDA_T ? 1'bZ : I2C_SDA_O;
   wire   I2C_SDA_I = I2C_SDA;
   
   wire   I2C_SCL = I2C_SCL_T ? 1'bZ : I2C_SCL_O;
   wire   I2C_SCL_I = I2C_SCL;
   
`else

  
   IOBUF #(
      .DRIVE(8),
      .IBUF_LOW_PWR("TRUE"),
      .IOSTANDARD("DEFAULT"),
      .SLEW("SLOW")
   ) IOBUF_sda (
      .O(I2C_SDA_I),
      .IO(I2C_SDA),
      .I(I2C_SDA_O),
      .T(I2C_SDA_T)
   );
    
    IOBUF #(
       .DRIVE(8),
       .IBUF_LOW_PWR("TRUE"),
       .IOSTANDARD("DEFAULT"),
       .SLEW("SLOW")
    ) IOBUF_inst (
       .O(I2C_SCL_I),
       .IO(I2C_SCL),
       .I(I2C_SCL_O),
       .T(I2C_SCL_T)
    );
   
`endif
   
endmodule
module parallella_i2c
  (

   I2C_SDA_I, I2C_SCL_I,

   I2C_SDA, I2C_SCL,

   I2C_SDA_O, I2C_SDA_T, I2C_SCL_O, I2C_SCL_T
   );

   
   input  I2C_SDA_O;
   input  I2C_SDA_T;
   output I2C_SDA_I;

   input  I2C_SCL_O;
   input  I2C_SCL_T;
   output I2C_SCL_I;

   inout  I2C_SDA;
   inout  I2C_SCL;
   

`ifdef  PORTABLE
   
   wire   I2C_SDA = I2C_SDA_T ? 1'bZ : I2C_SDA_O;
   wire   I2C_SDA_I = I2C_SDA;
   
   wire   I2C_SCL = I2C_SCL_T ? 1'bZ : I2C_SCL_O;
   wire   I2C_SCL_I = I2C_SCL;
   
`else

  
   IOBUF #(
      .DRIVE(8),
      .IBUF_LOW_PWR("TRUE"),
      .IOSTANDARD("DEFAULT"),
      .SLEW("SLOW")
   ) IOBUF_sda (
      .O(I2C_SDA_I),
      .IO(I2C_SDA),
      .I(I2C_SDA_O),
      .T(I2C_SDA_T)
   );
    
    IOBUF #(
       .DRIVE(8),
       .IBUF_LOW_PWR("TRUE"),
       .IOSTANDARD("DEFAULT"),
       .SLEW("SLOW")
    ) IOBUF_inst (
       .O(I2C_SCL_I),
       .IO(I2C_SCL),
       .I(I2C_SCL_O),
       .T(I2C_SCL_T)
    );
   
`endif
   
endmodule