1
0

By default, use same TileLink width everywhere

When there's no L2 with a wide interface, having wider TileLink
is only disadvantageous.
This commit is contained in:
Andrew Waterman
2016-05-25 18:01:57 -07:00
parent 976d4d3184
commit 3cc236e9c4
7 changed files with 10 additions and 5 deletions

View File

@ -260,6 +260,7 @@ class BaseConfig extends Config (
if (site(BuildRoCC).isEmpty) 1 else site(RoccMaxTaggedMemXacts)),
maxClientsPerPort = if (site(BuildRoCC).isEmpty) 1 else 2,
maxManagerXacts = site(NAcquireTransactors) + 2,
dataBeats = site(MIFDataBeats),
dataBits = site(CacheBlockBytes)*8)
case TLKey("L2toMC") =>
TileLinkParameters(
@ -271,6 +272,7 @@ class BaseConfig extends Config (
maxClientXacts = 1,
maxClientsPerPort = site(NAcquireTransactors) + 2,
maxManagerXacts = 1,
dataBeats = site(MIFDataBeats),
dataBits = site(CacheBlockBytes)*8)
case TLKey("Outermost") => site(TLKey("L2toMC")).copy(
maxClientXacts = site(NAcquireTransactors) + 2,
@ -287,6 +289,7 @@ class BaseConfig extends Config (
maxClientXacts = 4,
maxClientsPerPort = 1,
maxManagerXacts = 1,
dataBeats = site(MIFDataBeats),
dataBits = site(CacheBlockBytes) * 8)
}
case TLKey("MMIO_Outermost") => site(TLKey("L2toMMIO")).copy(dataBeats = site(MIFDataBeats))

View File

@ -23,6 +23,7 @@ class WithGroundTest extends Config(
if (site(BuildRoCC).isEmpty) 1 else site(RoccMaxTaggedMemXacts)),
maxClientsPerPort = 2,
maxManagerXacts = site(NAcquireTransactors) + 2,
dataBeats = site(MIFDataBeats),
dataBits = site(CacheBlockBytes)*8)
case BuildTiles => {
val groundtest = if (site(XLen) == 64)
@ -42,6 +43,7 @@ class WithGroundTest extends Config(
case TohostAddr => BigInt("80001000", 16)
case RoccNCSRs => site(GroundTestCSRs).size
case UseFPU => false
case UseAtomics => true
case _ => throw new CDEMatchError
})