1
0

frontbus: Name the connection.

This commit is contained in:
Megan Wachs 2017-08-30 17:51:30 -07:00
parent c99afe4c66
commit 57d0360c35
2 changed files with 2 additions and 2 deletions

View File

@ -48,6 +48,6 @@ trait HasFrontBus extends HasSystemBus {
val frontbus = new FrontBus(frontbusParams) val frontbus = new FrontBus(frontbusParams)
sbus.fromSyncPorts() := frontbus.toSystemBus sbus.fromSyncPorts(name = Some("FrontBus")) := frontbus.toSystemBus
} }

View File

@ -20,7 +20,7 @@ case object SystemBusParams extends Field[SystemBusParams]
class SystemBus(params: SystemBusParams)(implicit p: Parameters) extends TLBusWrapper(params, "SystemBus") { class SystemBus(params: SystemBusParams)(implicit p: Parameters) extends TLBusWrapper(params, "SystemBus") {
private val master_splitter = LazyModule(new TLSplitter) // Allows cycle-free connection to external networks private val master_splitter = LazyModule(new TLSplitter) // Allows cycle-free connection to external networks
master_splitter.suggestName(s"${busName}_master_TLSplitter"} master_splitter.suggestName(s"${busName}_master_TLSplitter"})
inwardNode :=* master_splitter.node inwardNode :=* master_splitter.node
def busView = master_splitter.node.edgesIn.head def busView = master_splitter.node.edgesIn.head