coreplex: MemoryBusParams.beatBytes also based on XLen
This commit is contained in:
parent
b86f4b9bb7
commit
56dae946b6
@ -22,7 +22,7 @@ class BaseCoreplexConfig extends Config ((site, here, up) => {
|
|||||||
// Interconnect parameters
|
// Interconnect parameters
|
||||||
case SystemBusKey => SystemBusParams(beatBytes = site(XLen)/8, blockBytes = site(CacheBlockBytes))
|
case SystemBusKey => SystemBusParams(beatBytes = site(XLen)/8, blockBytes = site(CacheBlockBytes))
|
||||||
case PeripheryBusKey => PeripheryBusParams(beatBytes = site(XLen)/8, blockBytes = site(CacheBlockBytes))
|
case PeripheryBusKey => PeripheryBusParams(beatBytes = site(XLen)/8, blockBytes = site(CacheBlockBytes))
|
||||||
case MemoryBusKey => MemoryBusParams(beatBytes = 8, blockBytes = site(CacheBlockBytes))
|
case MemoryBusKey => MemoryBusParams(beatBytes = site(XLen)/8, blockBytes = site(CacheBlockBytes))
|
||||||
// Additional device Parameters
|
// Additional device Parameters
|
||||||
case ErrorParams => ErrorParams(Seq(AddressSet(0x3000, 0xfff)))
|
case ErrorParams => ErrorParams(Seq(AddressSet(0x3000, 0xfff)))
|
||||||
case BootROMParams => BootROMParams(contentFileName = "./bootrom/bootrom.img")
|
case BootROMParams => BootROMParams(contentFileName = "./bootrom/bootrom.img")
|
||||||
|
Loading…
Reference in New Issue
Block a user