diplomacy: change API to auto-create node bundles => cross-module refs

This commit is contained in:
Wesley W. Terpstra committed 2017-09-22 15:01:39 -07:00
1 parent 53f6999ea8
commit 9217baf9d4
86 files changed
+575 -933

No files matched your search

+2 -2
View File
@@ -16,9 +16,9 @@ abstract class TLMonitorBase(args: TLMonitorArgs) extends MonitorBase()(args.sou
lazy val module = new LazyModuleImp(this) {
val edges = args.edge()
val io = new Bundle {
val io = IO(new Bundle {
val in = HeterogeneousBag(edges.map(p => new TLBundleSnoop(p.bundle))).flip
}
})
(edges zip io.in).foreach { case (e, in) => legalize(in, e, reset) }
}