diff --git a/t1/src/package.scala b/t1/src/package.scala index 4ed30b20d..292d5db53 100644 --- a/t1/src/package.scala +++ b/t1/src/package.scala @@ -217,8 +217,7 @@ package object rtl { // 处理vfu val vfuResponse: Seq[ValidIO[VFUResponseToSlot]] = parameter.genVec.zipWithIndex.map { case ((gen, slotVec), vfuIndex) => // vfu 模块 - // TODO: SerializableModuleGenerator should support D/I - val vfu: VFUModule = Module(gen.module()) + val vfu: Instance[VFUModule] = gen.instance() vfu.suggestName(gen.parameter.decodeField.name) // vfu request distributor val distributor: Option[Instance[Distributor[SlotRequestToVFU, VFUResponseToSlot]]] = Option.when(gen.parameter.NeedSplit)(