rocketchip: remove obsolete TL1 config
This commit is contained in:
parent
dfc3a0dafb
commit
c82b371354
@ -33,9 +33,6 @@ trait HasCoreplexParameters {
|
|||||||
lazy val cbusConfig = p(CBusConfig)
|
lazy val cbusConfig = p(CBusConfig)
|
||||||
lazy val l1tol2Config = p(L1toL2Config)
|
lazy val l1tol2Config = p(L1toL2Config)
|
||||||
lazy val nBanksPerMemChannel = p(NBanksPerMemoryChannel)
|
lazy val nBanksPerMemChannel = p(NBanksPerMemoryChannel)
|
||||||
lazy val innerParams = p.alterPartial({ case TLId => "L1toL2" })
|
|
||||||
lazy val outerMemParams = p.alterPartial({ case TLId => "L2toMC" })
|
|
||||||
lazy val outerMMIOParams = p.alterPartial({ case TLId => "L2toMMIO" })
|
|
||||||
lazy val globalAddrMap = p(rocketchip.GlobalAddrMap)
|
lazy val globalAddrMap = p(rocketchip.GlobalAddrMap)
|
||||||
lazy val nTiles = p(uncore.devices.NTiles)
|
lazy val nTiles = p(uncore.devices.NTiles)
|
||||||
lazy val nMemChannels = p(NMemoryChannels)
|
lazy val nMemChannels = p(NMemoryChannels)
|
||||||
|
@ -113,32 +113,6 @@ class BaseCoreplexConfig extends Config (
|
|||||||
dataBeats = innerDataBeats,
|
dataBeats = innerDataBeats,
|
||||||
dataBits = site(CacheBlockBytes)*8)
|
dataBits = site(CacheBlockBytes)*8)
|
||||||
}
|
}
|
||||||
case TLKey("L2toMC") =>
|
|
||||||
TileLinkParameters(
|
|
||||||
coherencePolicy = new MEICoherence(
|
|
||||||
new NullRepresentation(site(NBanksPerMemoryChannel))),
|
|
||||||
nManagers = 1,
|
|
||||||
nCachingClients = site(NBanksPerMemoryChannel),
|
|
||||||
nCachelessClients = 0,
|
|
||||||
maxClientXacts = site(NAcquireTransactors) + 2,
|
|
||||||
maxClientsPerPort = site(NBanksPerMemoryChannel),
|
|
||||||
maxManagerXacts = 1,
|
|
||||||
dataBeats = innerDataBeats,
|
|
||||||
dataBits = site(CacheBlockBytes)*8)
|
|
||||||
case TLKey("L2toMMIO") => {
|
|
||||||
TileLinkParameters(
|
|
||||||
coherencePolicy = new MICoherence(
|
|
||||||
new NullRepresentation(site(NBanksPerMemoryChannel))),
|
|
||||||
nManagers = 1,
|
|
||||||
nCachingClients = 0,
|
|
||||||
nCachelessClients = 1,
|
|
||||||
maxClientXacts = 4,
|
|
||||||
maxClientsPerPort = 1,
|
|
||||||
maxManagerXacts = 1,
|
|
||||||
dataBeats = innerDataBeats,
|
|
||||||
dataBits = site(CacheBlockBytes) * 8)
|
|
||||||
}
|
|
||||||
|
|
||||||
case BootROMFile => "./bootrom/bootrom.img"
|
case BootROMFile => "./bootrom/bootrom.img"
|
||||||
case BufferlessBroadcast => false
|
case BufferlessBroadcast => false
|
||||||
case NTiles => 1
|
case NTiles => 1
|
||||||
|
@ -34,12 +34,6 @@ class BasePlatformConfig extends Config(
|
|||||||
addrBits = site(PAddrBits),
|
addrBits = site(PAddrBits),
|
||||||
idBits = site(EdgeIDBits))
|
idBits = site(EdgeIDBits))
|
||||||
case TLEmitMonitors => true
|
case TLEmitMonitors => true
|
||||||
case TLKey("EdgetoSlave") =>
|
|
||||||
site(TLKey("L1toL2")).copy(dataBeats = edgeDataBeats)
|
|
||||||
case TLKey("MCtoEdge") =>
|
|
||||||
site(TLKey("L2toMC")).copy(dataBeats = edgeDataBeats)
|
|
||||||
case TLKey("MMIOtoEdge") =>
|
|
||||||
site(TLKey("L2toMMIO")).copy(dataBeats = edgeDataBeats)
|
|
||||||
case NExtTopInterrupts => 2
|
case NExtTopInterrupts => 2
|
||||||
case SOCBusConfig => site(L1toL2Config)
|
case SOCBusConfig => site(L1toL2Config)
|
||||||
case PeripheryBusConfig => TLBusConfig(beatBytes = 4)
|
case PeripheryBusConfig => TLBusConfig(beatBytes = 4)
|
||||||
|
@ -85,8 +85,6 @@ trait HasPeripheryParameters {
|
|||||||
lazy val nMemAXIChannels = if (tMemChannels == BusType.AXI) nMemChannels else 0
|
lazy val nMemAXIChannels = if (tMemChannels == BusType.AXI) nMemChannels else 0
|
||||||
lazy val nMemAHBChannels = if (tMemChannels == BusType.AHB) nMemChannels else 0
|
lazy val nMemAHBChannels = if (tMemChannels == BusType.AHB) nMemChannels else 0
|
||||||
lazy val nMemTLChannels = if (tMemChannels == BusType.TL) nMemChannels else 0
|
lazy val nMemTLChannels = if (tMemChannels == BusType.TL) nMemChannels else 0
|
||||||
lazy val edgeSlaveParams = p.alterPartial({ case TLId => "EdgetoSlave" })
|
|
||||||
lazy val edgeMemParams = p.alterPartial({ case TLId => "MCtoEdge" })
|
|
||||||
lazy val peripheryBusConfig = p(PeripheryBusConfig)
|
lazy val peripheryBusConfig = p(PeripheryBusConfig)
|
||||||
lazy val socBusConfig = p(SOCBusConfig)
|
lazy val socBusConfig = p(SOCBusConfig)
|
||||||
lazy val cacheBlockBytes = p(CacheBlockBytes)
|
lazy val cacheBlockBytes = p(CacheBlockBytes)
|
||||||
|
Loading…
Reference in New Issue
Block a user