From 00086c26e6601fef104623af301caa3facd9b80c Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Thu, 20 Jul 2017 10:53:44 -0700 Subject: [PATCH] i2c: Remove pluralization on the bundle name, i2c not i2cs --- src/main/scala/devices/i2c/I2CPeriphery.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/devices/i2c/I2CPeriphery.scala b/src/main/scala/devices/i2c/I2CPeriphery.scala index c9de71b..6444a39 100644 --- a/src/main/scala/devices/i2c/I2CPeriphery.scala +++ b/src/main/scala/devices/i2c/I2CPeriphery.scala @@ -25,9 +25,9 @@ trait HasPeripheryI2CBundle { trait HasPeripheryI2CModuleImp extends LazyMultiIOModuleImp with HasPeripheryI2CBundle { val outer: HasPeripheryI2C - val i2cs = IO(Vec(outer.i2cParams.size, new I2CPort)) + val i2c = IO(Vec(outer.i2cParams.size, new I2CPort)) - (i2cs zip outer.i2c).foreach { case (io, device) => + (i2c zip outer.i2c).foreach { case (io, device) => io <> device.module.io.port } } -- 2.30.2