diff --git a/uncore/src/main/scala/network.scala b/uncore/src/main/scala/network.scala index 929f1e43..ea609842 100644 --- a/uncore/src/main/scala/network.scala +++ b/uncore/src/main/scala/network.scala @@ -13,7 +13,7 @@ class PhysicalHeader(n: Int) extends Bundle { class PhysicalNetworkIO[T <: Data](n: Int, dType: T) extends Bundle { val header = new PhysicalHeader(n) - val payload = dType + val payload = dType.cloneType override def cloneType = new PhysicalNetworkIO(n,dType).asInstanceOf[this.type] }