From f2d16d49c2c94c7255a0eb9385d2800a1a03bac0 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Tue, 16 May 2017 21:01:58 -0700 Subject: [PATCH] tilelink2: don't widen TLMonitor interface unnecessarily --- src/main/scala/uncore/tilelink2/Monitor.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/uncore/tilelink2/Monitor.scala b/src/main/scala/uncore/tilelink2/Monitor.scala index 05e6905f..0ad17c27 100644 --- a/src/main/scala/uncore/tilelink2/Monitor.scala +++ b/src/main/scala/uncore/tilelink2/Monitor.scala @@ -18,7 +18,7 @@ abstract class TLMonitorBase(args: TLMonitorArgs) extends LazyModule()(args.p) lazy val module = new LazyModuleImp(this) { val edges = args.edge() val io = new Bundle { - val in = Vec(edges.size, new TLBundleSnoop(TLBundleParameters.union(edges.map(_.bundle)))).flip + val in = util.HeterogeneousBag(edges.map(p => new TLBundleSnoop(p.bundle))).flip } (edges zip io.in).foreach { case (e, in) => legalize(in, e, reset) }