coreplex: buses are now LazyModules with LazyScope

This commit is contained in:
Wesley W. Terpstra committed 2017-09-26 14:58:56 -07:00
1 parent da40573a64
commit 31a934bec0
5 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ trait HasSystemBus extends HasInterruptBus {
private val sbusParams = p(SystemBusKey)
val sbusBeatBytes = sbusParams.beatBytes
val sbus = new SystemBus(sbusParams)
val sbus = LazyModule(new SystemBus(sbusParams))
def sharedMemoryTLEdge: TLEdge = sbus.busView
def paddrBits: Int = sbus.busView.bundle.addressBits