From 6ffd534e01b0148f83fc05b7dc5a85ce4258c9a0 Mon Sep 17 00:00:00 2001 From: singularity Date: Fri, 7 Oct 2022 15:53:36 +0800 Subject: [PATCH] fix: S-interpolator for assert, assume and printf --- generators/tracegen/src/main/scala/Tile.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/tracegen/src/main/scala/Tile.scala b/generators/tracegen/src/main/scala/Tile.scala index 93d3c2c9fc..d83b5b978a 100644 --- a/generators/tracegen/src/main/scala/Tile.scala +++ b/generators/tracegen/src/main/scala/Tile.scala @@ -251,6 +251,6 @@ class BoomTraceGenTileModuleImp(outer: BoomTraceGenTile) status.timeout.bits := 0.U status.error.valid := false.B - assert(!tracegen.io.timeout, s"TraceGen tile ${outer.tileParams.hartId}: request timed out") + assert(!tracegen.io.timeout, cf"TraceGen tile ${outer.tileParams.hartId.toString}: request timed out") }