Make it possible to adjust the type of pad controls used,
[sifive-blocks.git] / src / main / scala / devices / i2c / I2CPeriphery.scala
index 94bbadd886d24e131c0876945a3e6ecb327ec9ad..b67a071f087d03050c18b7015460dcc4d8286c69 100644 (file)
@@ -21,12 +21,6 @@ trait HasPeripheryI2C extends HasSystemNetworks {
 
 trait HasPeripheryI2CBundle {
   val i2cs: Vec[I2CPort]
-
-  def I2CtoGPIOPins(syncStages: Int = 0): Seq[I2CPinsIO] = i2cs.map { i =>
-    val pins = Module(new I2CGPIOPort(syncStages))
-    pins.io.i2c <> i
-    pins.io.pins
-  }
 }
 
 trait HasPeripheryI2CModuleImp extends LazyMultiIOModuleImp with HasPeripheryI2CBundle {