diff --git a/generators/chipyard/src/main/scala/iobinders/IOBinders.scala b/generators/chipyard/src/main/scala/iobinders/IOBinders.scala index 773f3d3919..34be9bb7fd 100644 --- a/generators/chipyard/src/main/scala/iobinders/IOBinders.scala +++ b/generators/chipyard/src/main/scala/iobinders/IOBinders.scala @@ -355,7 +355,7 @@ class WithSerialTLPunchthrough extends OverrideIOBinder({ (system: CanHavePeripheryTLSerial) => { val (ports, cells) = system.serial_tl.zipWithIndex.map({ case (s, id) => val sys = system.asInstanceOf[BaseSubsystem] - val port = IO(s.getWrappedValue.cloneType) + val port = IO(chiselTypeOf(s.getWrappedValue)) port <> s.getWrappedValue (SerialTLPort(port, sys.p(SerialTLKey).get, system.serdesser.get, id), Nil) }).unzip