From 9b19e7c8cb86bb41071df74cf2ade92f9d809211 Mon Sep 17 00:00:00 2001 From: Jiuyang Liu Date: Fri, 9 Aug 2024 15:32:42 +0800 Subject: [PATCH] fix for rebase --- t1rocketemu/src/TestBench.scala | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/t1rocketemu/src/TestBench.scala b/t1rocketemu/src/TestBench.scala index 58aae85342..d49abc0c1f 100644 --- a/t1rocketemu/src/TestBench.scala +++ b/t1rocketemu/src/TestBench.scala @@ -159,18 +159,16 @@ class TestBench(generator: SerializableModuleGenerator[T1RocketTile, T1RocketTil // probes val t1RocketProbe = probe.read(dut.io.t1RocketProbe) val rocketProbe = t1RocketProbe.rocketProbe.suggestName(s"rocketProbe") - val t1Probe = t1RocketProbe.t1Probe - val lsuProbe = t1Probe.lsuProbe + val t1Probe = t1RocketProbe.t1Probe.suggestName(s"t1Probe") + val lsuProbe = t1Probe.lsuProbe.suggestName(s"t1LSUProbe") val laneProbes = t1Probe.laneProbes.zipWithIndex.map { case (p, idx) => - val wire = Wire(p.cloneType).suggestName(s"lane${idx}Probe") - wire := probe.read(p) + val wire = WireDefault(p).suggestName(s"lane${idx}Probe") wire } val laneVrfProbes = t1Probe.laneProbes.map(_.vrfProbe).zipWithIndex.map { case (p, idx) => - val wire = Wire(p.cloneType).suggestName(s"lane${idx}VrfProbe") - wire := probe.read(p) + val wire = WireDefault(p).suggestName(s"lane${idx}VrfProbe") wire } val storeUnitProbe = t1Probe.lsuProbe.storeUnitProbe.suggestName("storeUnitProbe")