diff --git a/npc/core/src/main/scala/Main.scala b/npc/core/src/main/scala/Main.scala index d58966d..5aa3923 100644 --- a/npc/core/src/main/scala/Main.scala +++ b/npc/core/src/main/scala/Main.scala @@ -71,11 +71,11 @@ class Control(width: Int) extends Module { val reversePrefixSum = dstList.scanLeft(0)(_ + _.getWidth).reverse val slices = reversePrefixSum.zip(reversePrefixSum.tail) val srcList = slices.map(s => out(s._1 - 1, s._2)) - println(dstList) - println(srcList) + // println(dstList) + // println(srcList) srcList - .zip(dstList) + .zip(dstList.reverse) .foreach({ case (src, dst) => dst := src.asTypeOf(dst) })