From 0a682fb6eff633a638d89c63ce06b786c552b517 Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Tue, 22 Oct 2024 17:55:14 -0700 Subject: [PATCH] tensor: dontTouch TensorDPU io Prevents bits.c from being optimized out and set to Z in TensorCoreDecoupled. --- src/main/scala/radiance/core/TensorDPU.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/radiance/core/TensorDPU.scala b/src/main/scala/radiance/core/TensorDPU.scala index 515b1bf..db98b36 100644 --- a/src/main/scala/radiance/core/TensorDPU.scala +++ b/src/main/scala/radiance/core/TensorDPU.scala @@ -33,6 +33,7 @@ class TensorDotProductUnit(val half: Boolean) extends Module with tile.HasFPUPar val data = Bits((outFLen).W) }) }) + dontTouch(io) // [IEEE] -> recode() -> unbox() -> [Hardfloat] -> box() -> ieee() -> [IEEE] // make sure recoding/uncoding happens only at the edge, not at every