From b0793d32539b94970cd1b909a453098e3fedc01a Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Wed, 13 Mar 2024 11:43:44 +0800 Subject: [PATCH] =?UTF-8?q?>=20configure(npc)=20=20ysyx=5F22040000=20?= =?UTF-8?q?=E6=9D=8E=E5=BF=83=E6=9D=A8=20=20Linux=20calcite=206.6.19=20#1-?= =?UTF-8?q?NixOS=20SMP=20PREEMPT=5FDYNAMIC=20Fri=20Mar=20=201=2012:35:11?= =?UTF-8?q?=20UTC=202024=20x86=5F64=20GNU/Linux=20=20=2011:43:44=20=20up?= =?UTF-8?q?=20=20=201:19,=20=202=20users,=20=20load=20average:=200.71,=200?= =?UTF-8?q?.92,=200.84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/core/src/main/scala/Main.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) })