diff --git a/t1rocketemu/src/TestBench.scala b/t1rocketemu/src/TestBench.scala index 58b506716..fe0ad7667 100644 --- a/t1rocketemu/src/TestBench.scala +++ b/t1rocketemu/src/TestBench.scala @@ -183,7 +183,7 @@ class TestBench(generator: SerializableModuleGenerator[T1RocketTile, T1RocketTil ) ) - when(rocketProbe.waitWen && !rocketProbe.isVector && rocketProbe.waitWaddr =/= 0.U)( // should this judge vector? + when(rocketProbe.waitWen && !rocketProbe.isVector && rocketProbe.waitWaddr =/= 0.U && !rocketProbe.rfWen)( printf( cf"""{"event":"RegWriteWait","idx":${rocketProbe.waitWaddr},"cycle":${simulationTime}}\n""" )