> configure(npc)
ysyx_22040000 李心杨 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar 1 12:35:11 UTC 2024 x86_64 GNU/Linux 11:42:19 up 1:18, 2 users, load average: 0.85, 0.93, 0.83
This commit is contained in:
parent
718f180414
commit
4cc3da1f37
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ 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)
|
||||
|
||||
srcList
|
||||
.zip(dstList)
|
||||
|
|
Loading…
Reference in a new issue