Merge pull request #671 from ucb-bar/cork-it
Add a few diplomacy restrictions
This commit is contained in:
commit
37c9ab3459
@ -14,6 +14,7 @@ class TLCacheCork(unsafe: Boolean = false)(implicit p: Parameters) extends LazyM
|
|||||||
val node = TLAdapterNode(
|
val node = TLAdapterNode(
|
||||||
clientFn = { case cp =>
|
clientFn = { case cp =>
|
||||||
cp.copy(clients = cp.clients.map { c => c.copy(
|
cp.copy(clients = cp.clients.map { c => c.copy(
|
||||||
|
supportsProbe = TransferSizes.none,
|
||||||
sourceId = IdRange(c.sourceId.start*2, c.sourceId.end*2))})},
|
sourceId = IdRange(c.sourceId.start*2, c.sourceId.end*2))})},
|
||||||
managerFn = { case mp =>
|
managerFn = { case mp =>
|
||||||
mp.copy(
|
mp.copy(
|
||||||
|
@ -57,6 +57,7 @@ class TLFragmenter(val minSize: Int, val maxSize: Int, val alwaysMin: Boolean =
|
|||||||
val beatBytes = manager.beatBytes
|
val beatBytes = manager.beatBytes
|
||||||
val fifoId = managers(0).fifoId
|
val fifoId = managers(0).fifoId
|
||||||
require (fifoId.isDefined && managers.map(_.fifoId == fifoId).reduce(_ && _))
|
require (fifoId.isDefined && managers.map(_.fifoId == fifoId).reduce(_ && _))
|
||||||
|
require (manager.endSinkId <= 1)
|
||||||
|
|
||||||
// We don't support fragmenting to sub-beat accesses
|
// We don't support fragmenting to sub-beat accesses
|
||||||
require (minSize >= beatBytes)
|
require (minSize >= beatBytes)
|
||||||
|
Loading…
Reference in New Issue
Block a user