1
0

diplomacy: guess the LazyModule name from the containing class

This commit is contained in:
Wesley W. Terpstra
2016-10-14 15:11:13 -07:00
committed by mwachs5
parent 4d50733548
commit 67ab27f5a5
4 changed files with 20 additions and 9 deletions

View File

@ -330,9 +330,8 @@ trait PeripheryBootROM extends LazyModule with HasPeripheryParameters {
val address = 0x1000
val size = 0x1000
val rom = LazyModule(new TLROM(address, size, GenerateBootROM(p, address), true, peripheryBusConfig.beatBytes)
{ override def name = "bootrom" })
rom.node := TLFragmenter(peripheryBusConfig.beatBytes, cacheBlockBytes)(peripheryBus.node)
val bootrom = LazyModule(new TLROM(address, size, GenerateBootROM(p, address), true, peripheryBusConfig.beatBytes))
bootrom.node := TLFragmenter(peripheryBusConfig.beatBytes, cacheBlockBytes)(peripheryBus.node)
}
trait PeripheryBootROMBundle {