tilelink: more verbose requires
This commit is contained in:
parent
56dae946b6
commit
e50d14415e
@ -66,8 +66,7 @@ class TLFragmenter(val minSize: Int, val maxSize: Int, val alwaysMin: Boolean =
|
|||||||
require (fifoId.isDefined && managers.map(_.fifoId == fifoId).reduce(_ && _))
|
require (fifoId.isDefined && managers.map(_.fifoId == fifoId).reduce(_ && _))
|
||||||
require (manager.endSinkId <= 1)
|
require (manager.endSinkId <= 1)
|
||||||
|
|
||||||
// We don't support fragmenting to sub-beat accesses
|
require (minSize >= beatBytes, s"We don't support fragmenting ($minSize) to sub-beat ($beatBytes) accesses")
|
||||||
require (minSize >= beatBytes)
|
|
||||||
// We can't support devices which are cached on both sides of us
|
// We can't support devices which are cached on both sides of us
|
||||||
require (!edgeOut.manager.anySupportAcquireB || !edgeIn.client.anySupportProbe)
|
require (!edgeOut.manager.anySupportAcquireB || !edgeIn.client.anySupportProbe)
|
||||||
|
|
||||||
|
@ -30,12 +30,12 @@ case class TLManagerParameters(
|
|||||||
address.foreach { a => require (a.finite) }
|
address.foreach { a => require (a.finite) }
|
||||||
|
|
||||||
address.combinations(2).foreach { case Seq(x,y) => require (!x.overlaps(y), s"$x and $y overlap.") }
|
address.combinations(2).foreach { case Seq(x,y) => require (!x.overlaps(y), s"$x and $y overlap.") }
|
||||||
require (supportsPutFull.contains(supportsPutPartial))
|
require (supportsPutFull.contains(supportsPutPartial), s"PutFull($supportsPutFull) < PutPartial($supportsPutPartial)")
|
||||||
require (supportsPutFull.contains(supportsArithmetic))
|
require (supportsPutFull.contains(supportsArithmetic), s"PutFull($supportsPutFull) < Arithmetic($supportsArithmetic)")
|
||||||
require (supportsPutFull.contains(supportsLogical))
|
require (supportsPutFull.contains(supportsLogical), s"PutFull($supportsPutFull) < Logical($supportsLogical)")
|
||||||
require (supportsGet.contains(supportsArithmetic))
|
require (supportsGet.contains(supportsArithmetic), s"Get($supportsGet) < Arithmetic($supportsArithmetic)")
|
||||||
require (supportsGet.contains(supportsLogical))
|
require (supportsGet.contains(supportsLogical), s"Get($supportsGet) < Logical($supportsLogical)")
|
||||||
require (supportsAcquireB.contains(supportsAcquireT))
|
require (supportsAcquireB.contains(supportsAcquireT), s"AcquireB($supportsAcquireB) < AcquireT($supportsAcquireT)")
|
||||||
|
|
||||||
// Make sure that the regionType agrees with the capabilities
|
// Make sure that the regionType agrees with the capabilities
|
||||||
require (!supportsAcquireB || regionType >= RegionType.UNCACHED) // acquire -> uncached, tracked, cached
|
require (!supportsAcquireB || regionType >= RegionType.UNCACHED) // acquire -> uncached, tracked, cached
|
||||||
|
Loading…
Reference in New Issue
Block a user